{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Location",
  "name": "Location",
  "title": "API Framework location",
  "status": "active",
  "experimental": false,
  "date": "2019-09-03",
  "description": "Dedalus API Framework core profile for Location",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.meta",
        "path": "Location.meta",
        "type": [
          {
            "code": "Meta",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Meta-ForCommonConformance"
          }
        ]
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Location.status",
        "path": "Location.status",
        "mustSupport": true
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "mustSupport": true
      },
      {
        "id": "Location.description",
        "path": "Location.description",
        "mustSupport": true
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "mustSupport": true
      },
      {
        "id": "Location.type.coding",
        "path": "Location.type.coding",
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.system",
        "path": "Location.type.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.code",
        "path": "Location.type.coding.code",
        "min": 1
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "mustSupport": true
      },
      {
        "id": "Location.physicalType.coding.system",
        "path": "Location.physicalType.coding.system",
        "min": 1
      },
      {
        "id": "Location.physicalType.coding.code",
        "path": "Location.physicalType.coding.code",
        "min": 1
      },
      {
        "id": "Location.position",
        "path": "Location.position",
        "mustSupport": true
      },
      {
        "id": "Location.position.longitude",
        "path": "Location.position.longitude",
        "mustSupport": true
      },
      {
        "id": "Location.position.latitude",
        "path": "Location.position.latitude",
        "mustSupport": true
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Organization"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Location.partOf",
        "path": "Location.partOf",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Location",
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Location.endpoint",
        "path": "Location.endpoint",
        "mustSupport": true
      }
    ]
  }
}