<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Location-my-core" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2024-11-19T08:37:22.1135381+00:00" />
  </meta>
  <url value="http://fhir.hie.moh.gov.my/StructureDefinition/Location-my-core" />
  <version value="1.0.0" />
  <name value="LocationMyCore" />
  <title value="Location (MY Core)" />
  <status value="active" />
  <experimental value="false" />
  <date value="2024-03-13T01:41:41.3395961+00:00" />
  <publisher value="Malaysia MOH - HIE Steering Committee" />
  <description value="Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated." />
  <copyright value="Used by permission of HL7 International, all rights reserved Creative Commons License" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Location" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Location" />
  <derivation value="constraint" />
  <differential>
    <element id="Location.extension:audit">
      <path value="Location.extension" />
      <sliceName value="audit" />
      <short value="Extension of the individual who recorded and updated the date" />
      <definition value="Extension of the individual who recorded and updated the date" />
      <comment value="Record audit on individual who recorded and updated the data" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Location.extension:encounter">
      <path value="Location.extension" />
      <sliceName value="encounter" />
      <short value="Extension to reference a currently active Encounter at the Location" />
      <definition value="Extension to reference a currently active Encounter at the Location" />
      <type>
        <code value="Extension" />
        <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/location-encounter-my-core" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Location.status">
      <path value="Location.status" />
      <min value="1" />
    </element>
    <element id="Location.name">
      <path value="Location.name" />
      <min value="1" />
    </element>
    <element id="Location.type">
      <path value="Location.type" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/location-type-my-core" />
      </binding>
    </element>
    <element id="Location.address">
      <path value="Location.address" />
      <type>
        <code value="Address" />
        <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/Address-my-core" />
      </type>
    </element>
    <element id="Location.address.extension:state">
      <path value="Location.address.extension" />
      <sliceName value="state" />
      <short value="Extension to store address state in a Codeable Concept" />
      <definition value="Extension to store address state in a Codeable Concept" />
    </element>
    <element id="Location.address.extension:district">
      <path value="Location.address.extension" />
      <sliceName value="district" />
      <short value="Extension to store district address in the form of a Codeable Concept" />
      <definition value="Extension to store district address in the form of a Codeable Concept" />
    </element>
    <element id="Location.address.extension:division">
      <path value="Location.address.extension" />
      <sliceName value="division" />
      <short value="Extension to store address division (For Sabah | Sarawak) value" />
      <definition value="Extension to store address division (For Sabah | Sarawak) value" />
    </element>
    <element id="Location.address.extension:subDivision">
      <path value="Location.address.extension" />
      <sliceName value="subDivision" />
      <short value="Extension to store address sub division (for Sabah | Sarawak) value" />
      <definition value="Extension to store address sub division (for Sabah | Sarawak) value" />
    </element>
    <element id="Location.managingOrganization">
      <path value="Location.managingOrganization" />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>