{
  "resourceType": "StructureDefinition",
  "id": "shr-action-RequestedContext-extension",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR RequestedContext Extension</b></p>\n  <p>An order for something to take place.</p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.action.RequestedContext"
    }
  ],
  "version": "0.0.1",
  "name": "SHR RequestedContext Extension",
  "title": "SHR RequestedContext Extension",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "An order for something to take place.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "*"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension:requestedcontext",
        "path": "Extension",
        "short": "SHR RequestedContext Extension",
        "definition": "An order for something to take place.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Extension:requestedcontext.extension:reason",
        "path": "Extension.extension",
        "sliceName": "reason",
        "definition": "The justification for an action or non-action, conclusion, opinion, etc.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:status",
        "path": "Extension.extension",
        "sliceName": "status",
        "definition": "Position in workflow.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-Status-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:status.value[x]",
        "path": "Extension.extension.value[x]",
        "binding": {
          "strength": "preferred",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/request-status"
          }
        }
      },
      {
        "id": "Extension:requestedcontext.extension:requestintent",
        "path": "Extension.extension",
        "sliceName": "requestintent",
        "definition": "Indicates the level of authority/intentionality associated with the request and where the request fits into the workflow chain.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestIntent-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:expectedperformancetime",
        "path": "Extension.extension",
        "sliceName": "expectedperformancetime",
        "definition": "When an action should be done. If the action is a series or recurs (e.g. daily blood sugar testing in the morning) then a Timing can be used to describe the periodicity.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedPerformanceTime-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:expectedperformertype",
        "path": "Extension.extension",
        "sliceName": "expectedperformertype",
        "definition": "What type of party should carry out the testing.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedPerformerType-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:expectedperformer",
        "path": "Extension.extension",
        "sliceName": "expectedperformer",
        "definition": "Who should carry out the tests. For example, the patient or caregiver.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedPerformer-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:expectedmethod",
        "path": "Extension.extension",
        "sliceName": "expectedmethod",
        "definition": "The method that should be used to carry out the action.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-ExpectedMethod-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:priority",
        "path": "Extension.extension",
        "sliceName": "priority",
        "definition": "An indication of the importance of an action.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:priority.value[x]",
        "path": "Extension.extension.value[x]",
        "binding": {
          "strength": "preferred",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/request-priority"
          }
        }
      },
      {
        "id": "Extension:requestedcontext.extension:performerinstructions",
        "path": "Extension.extension",
        "sliceName": "performerinstructions",
        "definition": "Information for the performer of the test, if needed.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-PerformerInstructions-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:patientinstructions",
        "path": "Extension.extension",
        "sliceName": "patientinstructions",
        "definition": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-PatientInstructions-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.extension:communicationmethod",
        "path": "Extension.extension",
        "sliceName": "communicationmethod",
        "definition": "This is the method the provider used to communicate. Examples include: Written, Telephoned, Verbal, Electronically Entered, Policy, Service Correction, Duplicate, etc. 'Code indicating the origin of the prescription.' - NCPDP Telecommunication (Field 419-DJ, Data Dictionary 201104). Possible values include: Written; Telephone; Electronic; Facsimile; Pharmacy; Not Known.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-CommunicationMethod-extension"
          }
        ]
      },
      {
        "id": "Extension:requestedcontext.url",
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-RequestedContext-extension"
      },
      {
        "id": "Extension:requestedcontext.value[x]",
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0"
      }
    ]
  }
}