{
  "resourceType": "StructureDefinition",
  "id": "EMSUnit",
  "url": "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/EMSUnit/v1",
  "version": "0.4",
  "name": "EMSUnit",
  "status": "active",
  "date": "2024-01-10T14:02:01.1873929+00:00",
  "description": "This resource is used to gather information about the individual means of transport such as ambulance or helicopter. \r\nThe profile is based on the Location resource.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.id",
        "path": "Location.id",
        "max": "0"
      },
      {
        "id": "Location.meta",
        "path": "Location.meta"
      },
      {
        "id": "Location.meta.id",
        "path": "Location.meta.id",
        "max": "0"
      },
      {
        "id": "Location.meta.versionId",
        "path": "Location.meta.versionId",
        "min": 1
      },
      {
        "id": "Location.meta.lastUpdated",
        "path": "Location.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "Location.meta.source",
        "path": "Location.meta.source",
        "max": "0"
      },
      {
        "id": "Location.meta.profile",
        "path": "Location.meta.profile",
        "max": "0"
      },
      {
        "id": "Location.meta.security",
        "path": "Location.meta.security",
        "max": "0"
      },
      {
        "id": "Location.meta.tag",
        "path": "Location.meta.tag",
        "max": "0"
      },
      {
        "id": "Location.implicitRules",
        "path": "Location.implicitRules",
        "max": "0"
      },
      {
        "id": "Location.language",
        "path": "Location.language",
        "max": "0"
      },
      {
        "id": "Location.text",
        "path": "Location.text",
        "max": "0"
      },
      {
        "id": "Location.contained",
        "path": "Location.contained",
        "max": "0"
      },
      {
        "id": "Location.extension:operator",
        "path": "Location.extension",
        "sliceName": "operator",
        "definition": "Operator owning the EMS Unit.",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Operator/v1"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Location.extension:operator.value[x]",
        "path": "Location.extension.value[x]",
        "definition": "Operator of the EMS Unit."
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "definition": "An identifier for the EMS Unit.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.identifier.use",
        "path": "Location.identifier.use",
        "max": "0"
      },
      {
        "id": "Location.identifier.type",
        "path": "Location.identifier.type",
        "max": "0"
      },
      {
        "id": "Location.identifier.system",
        "path": "Location.identifier.system",
        "definition": "Namespace for the identifier value.",
        "min": 1,
        "fixedUri": "http://amphisystems.com/amphi/taskdomaini"
      },
      {
        "id": "Location.identifier.value",
        "path": "Location.identifier.value",
        "definition": "Unique value - ambulance id.",
        "min": 1
      },
      {
        "id": "Location.identifier.period",
        "path": "Location.identifier.period",
        "max": "0"
      },
      {
        "id": "Location.identifier.assigner",
        "path": "Location.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Location.status",
        "path": "Location.status",
        "max": "0"
      },
      {
        "id": "Location.operationalStatus",
        "path": "Location.operationalStatus",
        "max": "0"
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "definition": "Name of the EMS Unit as used by humans."
      },
      {
        "id": "Location.alias",
        "path": "Location.alias",
        "max": "0"
      },
      {
        "id": "Location.description",
        "path": "Location.description",
        "max": "0"
      },
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "definition": "Indicates whether a resource instance represents a specific location or a class of locations.\r\n\r\nThis means that the location is a specific instance of an EMS Unit, e.g. 'Vehicle 3103' and not just an EMS Unit in general.",
        "min": 1,
        "fixedCode": "instance"
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "definition": "Type of function performed - type of EMS Unit.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.type.coding",
        "path": "Location.type.coding",
        "definition": "Code defined by a terminology system.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.type.coding.system",
        "path": "Location.type.coding.system",
        "definition": "Identity of the terminology system.\r\n\r\nIf the EMS Unit is of the type of Ambulance: http://terminology.hl7.org/CodeSystem/v3-RoleCode\r\n\r\nIf it is other than Ambulance: http://amphisystems.com/amphi/emsunittype",
        "min": 1
      },
      {
        "id": "Location.type.coding.version",
        "path": "Location.type.coding.version",
        "max": "0"
      },
      {
        "id": "Location.type.coding.code",
        "path": "Location.type.coding.code",
        "definition": "Code defined by the system.",
        "min": 1
      },
      {
        "id": "Location.type.coding.userSelected",
        "path": "Location.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Location.type.text",
        "path": "Location.type.text",
        "max": "0"
      },
      {
        "id": "Location.telecom",
        "path": "Location.telecom",
        "definition": "Contact details of the EMS Unit.",
        "max": "1"
      },
      {
        "id": "Location.telecom.system",
        "path": "Location.telecom.system",
        "definition": "Type of telecom.",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Location.telecom.value",
        "path": "Location.telecom.value",
        "definition": "Phone number.",
        "min": 1
      },
      {
        "id": "Location.telecom.use",
        "path": "Location.telecom.use",
        "max": "0"
      },
      {
        "id": "Location.telecom.rank",
        "path": "Location.telecom.rank",
        "max": "0"
      },
      {
        "id": "Location.telecom.period",
        "path": "Location.telecom.period",
        "max": "0"
      },
      {
        "id": "Location.address",
        "path": "Location.address",
        "max": "0"
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "definition": "Physical form of the EMS Unit.",
        "min": 1
      },
      {
        "id": "Location.physicalType.coding",
        "path": "Location.physicalType.coding",
        "definition": "Code defined by a terminology system.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.physicalType.coding.system",
        "path": "Location.physicalType.coding.system",
        "definition": "Identity of the terminology system.",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/location-physical-type"
      },
      {
        "id": "Location.physicalType.coding.version",
        "path": "Location.physicalType.coding.version",
        "max": "0"
      },
      {
        "id": "Location.physicalType.coding.code",
        "path": "Location.physicalType.coding.code",
        "definition": "Code defined by the system.",
        "min": 1,
        "fixedCode": "ve"
      },
      {
        "id": "Location.physicalType.coding.userSelected",
        "path": "Location.physicalType.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Location.physicalType.text",
        "path": "Location.physicalType.text",
        "max": "0"
      },
      {
        "id": "Location.position",
        "path": "Location.position",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "definition": "Organization responsible for provisioning and upkeep.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Organization/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Location.managingOrganization.reference",
        "path": "Location.managingOrganization.reference",
        "definition": "Literal reference to the organization resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "Location.managingOrganization.type",
        "path": "Location.managingOrganization.type",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization.identifier",
        "path": "Location.managingOrganization.identifier",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization.display",
        "path": "Location.managingOrganization.display",
        "max": "0"
      },
      {
        "id": "Location.partOf",
        "path": "Location.partOf",
        "max": "0"
      },
      {
        "id": "Location.hoursOfOperation",
        "path": "Location.hoursOfOperation",
        "max": "0"
      },
      {
        "id": "Location.availabilityExceptions",
        "path": "Location.availabilityExceptions",
        "max": "0"
      },
      {
        "id": "Location.endpoint",
        "path": "Location.endpoint",
        "max": "0"
      }
    ]
  }
}