{
  "resourceType": "StructureDefinition",
  "id": "a4cd08b3-b8f1-4a89-bcb9-12fd7c1da8fa",
  "meta": {
    "lastUpdated": "2023-03-06T11:14:20.3941529+00:00"
  },
  "url": "https://simplifier.net/winningtest/ward-profile",
  "name": "Ward",
  "title": "病区",
  "status": "draft",
  "date": "2023-03-06T11:14:26.362902+00:00",
  "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": "https://simplifier.net/winningtest/location-profile",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Location.identifier:locationId",
        "path": "Location.identifier",
        "sliceName": "locationId",
        "max": "1"
      },
      {
        "id": "Location.identifier:locationId.use",
        "path": "Location.identifier.use",
        "max": "0"
      },
      {
        "id": "Location.identifier:locationId.type",
        "path": "Location.identifier.type",
        "max": "0"
      },
      {
        "id": "Location.identifier:locationId.system",
        "path": "Location.identifier.system",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.3971"
      },
      {
        "id": "Location.identifier:locationId.period",
        "path": "Location.identifier.period",
        "max": "0"
      },
      {
        "id": "Location.identifier:locationId.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.alias",
        "path": "Location.alias",
        "max": "0"
      },
      {
        "id": "Location.description",
        "path": "Location.description",
        "max": "0"
      },
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "fixedCode": "instance"
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "max": "0"
      },
      {
        "id": "Location.telecom",
        "path": "Location.telecom",
        "max": "0"
      },
      {
        "id": "Location.address",
        "path": "Location.address",
        "max": "0"
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "min": 1,
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
              "version": "4.0.1",
              "code": "wa",
              "display": "Ward"
            }
          ],
          "text": "病区"
        }
      },
      {
        "id": "Location.position",
        "path": "Location.position",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "short": "责任科室",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/department-profile"
            ]
          }
        ]
      },
      {
        "id": "Location.managingOrganization.extension",
        "path": "Location.managingOrganization.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Location.managingOrganization.extension:managingCareTeam",
        "path": "Location.managingOrganization.extension",
        "sliceName": "managingCareTeam",
        "short": "责任诊疗组",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-managing-care-team"
            ]
          }
        ]
      },
      {
        "id": "Location.managingOrganization.extension:managingPractitionerRole",
        "path": "Location.managingOrganization.extension",
        "sliceName": "managingPractitionerRole",
        "short": "责任医疗人员",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-managing-care-team"
            ]
          }
        ]
      },
      {
        "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"
      }
    ]
  }
}