<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="vn-core-location" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2021-05-19T09:18:30.876+00:00" />
  </meta>
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml" />
  </text>
  <url value="http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-location" />
  <version value="1.0.0" />
  <name value="VNCoreLocation" />
  <title value="Location Profile - VN Core R4" />
  <status value="draft" />
  <date value="2021-05-19T09:18:28.778251+00:00" />
  <publisher value="Cục Công nghệ thông tin - Bộ Y tế" />
  <description value="Thông tin mô tả về giường/phòng thuộc khoa phòng/cơ sở khám, chữa bệnh." />
  <purpose value="TODO: add note" />
  <copyright value="Bộ Y tế Việt Nam" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Location" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Location" />
  <derivation value="constraint" />
  <differential>
    <element id="Location.identifier">
      <path value="Location.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="Location.status">
      <path value="Location.status" />
      <mustSupport value="true" />
    </element>
    <element id="Location.operationalStatus">
      <path value="Location.operationalStatus" />
      <type>
        <code value="Coding" />
        <profile value="http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-coding" />
      </type>
    </element>
    <element id="Location.name">
      <path value="Location.name" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Location.description">
      <path value="Location.description" />
      <mustSupport value="true" />
    </element>
    <element id="Location.type">
      <path value="Location.type" />
      <mustSupport value="true" />
    </element>
    <element id="Location.telecom">
      <path value="Location.telecom" />
      <mustSupport value="true" />
    </element>
    <element id="Location.address">
      <path value="Location.address" />
      <type>
        <code value="Address" />
        <profile value="http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-address" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Location.physicalType">
      <path value="Location.physicalType" />
      <min value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Location.managingOrganization">
      <path value="Location.managingOrganization" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-provider" />
        <targetProfile value="http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-healthcare-department" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Location.partOf">
      <path value="Location.partOf" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
        <targetProfile value="http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-location" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Location.hoursOfOperation">
      <path value="Location.hoursOfOperation" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>