{
  "resourceType": "StructureDefinition",
  "id": "fmc-location-profile",
  "url": "http://fkcfhir.org/fhir/StructureDefinition/fmc-location-profile",
  "name": "FreseniusLocation",
  "title": "Fresenius Location Profile",
  "status": "active",
  "description": "This profile sets minimum expectations for the Location resource",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "base": {
          "path": "Location.identifier",
          "min": 1,
          "max": "*"
        },
        "mustSupport": true
      },
      {
        "id": "Location.identifier:LOCIdentifier",
        "path": "Location.identifier",
        "sliceName": "LOCIdentifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Location.identifier:LOCIdentifier.type",
        "path": "Location.identifier.type",
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0203"
        }
      },
      {
        "id": "Location.identifier:LOCIdentifier.system",
        "path": "Location.identifier.system",
        "min": 1,
        "patternUri": "urn:oid:2.16.840.1.113883.3.7418.5.1"
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "short": "Name of the Fresenius Location"
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://fkcfhir.org/fhir/ValueSet/fmc-location-type-vs"
        }
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "short": "Reference to Organization",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fkcfhir.org/fhir/StructureDefinition/fmc-organization-profile"
            ]
          }
        ]
      }
    ]
  }
}