{
  "resourceType": "StructureDefinition",
  "id": "hspc-genencounter-departedByTransportation",
  "url": "http://fhir.org/guides/hspc/StructureDefinition/hspc-genencounter-departedByTransportation",
  "version": "2.0.0",
  "name": "Departed by Transportation",
  "title": "Departed by Transportation",
  "status": "draft",
  "date": "2017-06-11",
  "publisher": "HSPC",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://healthcaresoa.org"
        }
      ]
    }
  ],
  "description": "The means by which the patient departed.",
  "fhirVersion": "3.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Encounter"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension:departedbytransportation",
        "path": "Extension",
        "sliceName": "departedByTransportation",
        "definition": "The means by which the patient departed.",
        "min": 0,
        "max": "1",
        "isModifier": false
      },
      {
        "id": "Extension:departedbytransportation.extension:confidentiality",
        "path": "Extension.extension",
        "sliceName": "confidentiality",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension:departedbytransportation.extension:confidentiality.value[x]",
        "path": "Extension.extension.value[x]",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "The set of values that describe the level of confidentiality for the patient encounter.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v2-0907"
          }
        }
      },
      {
        "id": "Extension:departedbytransportation.extension:transportationdescription",
        "path": "Extension.extension",
        "sliceName": "transportationDescription",
        "definition": "The identifying information that refers to the data for the chief complaint.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension:departedbytransportation.extension:transportationdescription.value[x]",
        "path": "Extension.extension.value[x]",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
          }
        ]
      },
      {
        "id": "Extension:departedbytransportation.extension:transportpriority",
        "path": "Extension.extension",
        "sliceName": "transportPriority",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension:departedbytransportation.extension:transportpriority.value[x]",
        "path": "Extension.extension.value[x]",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "A set of codes that describe the urgency level.",
          "valueSetReference": {
            "reference": "ValueSet/transportPriority"
          }
        }
      },
      {
        "id": "Extension:departedbytransportation.extension:period",
        "path": "Extension.extension",
        "sliceName": "period",
        "definition": "A timeframe for an event or act.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension:departedbytransportation.extension:period.value[x]",
        "path": "Extension.extension.value[x]",
        "type": [
          {
            "code": "Period",
            "profile": "http://hl7.org/fhir/StructureDefinition/Period"
          }
        ]
      },
      {
        "id": "Extension:departedbytransportation.url",
        "path": "Extension.url",
        "fixedUri": "http://fhir.org/guides/hspc/StructureDefinition/hspc-genencounter-departedByTransportation"
      },
      {
        "id": "Extension:departedbytransportation.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
          }
        ]
      }
    ]
  }
}