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