Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FHIR R4 field

openIMIS field

Notes

mapping status

identifier

tblHF.HfId / tblHF.HFCode / tblHF.HfUUID /
tblLocations.LocationId / tblLocations.LocationCode / tblLocations.LocationUUID

Reference to FHIR Location from other resources is done through UUID field

HfId, HFCode and HfUUID mapped
LocationId, LocationCode and LocationUUID not mapped

name

tblHF.HFName /
tblLocatons.LocationName

HFName mapped
LocationName not mapped

type

tblHF.HFLevel

only for HF
type.coding contains one of ['H', ‘C', 'D']
type.text is one of ['hospital’, ‘hospital center’, ‘dispensary’]

HFLevel mapped → to be checked

physicalType

tblLocations.LocationType / “H“

type.coding contains one of ['R', ‘D', ‘W’, ‘V’, ‘H’]
type.text is one of ['region', ‘district’, ‘ward’, ‘village’, 'hospital’]

not mapped

address

tblHF.HFAddress

only for HF

mapped

partOf

tblLocations.ParentLocationId → tblLocations.LocationUUID

Reference to the parent location. Regions don’t have a parent.
Composition structure: Region → District → Ward → Village → HF

not mapped

telecom

tblHF.Phone / tblHF.Fax / tblHF.eMail

telecom field contains values that are being mapped for Phone, Fax and Email fields

mapped

...

Example JSON representation of content:

Code Block
languagejson
{
     "resourceType": "Location",
    "address": {
        "text":"HfAddress "Lantern Road 21\r\nP.O.Box 3425",
        "type": "physical",
        "use": "home"
    },
    "id": "FABA2038-0E24-4557-B1BD-08584C48FA0D, C341D6E0-6E86-4259-AEA4-6C90449B85EE",
    "identifier": [
        {
            "type": {
                "coding": [
                    {
                        "code": "ACSN",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "FABA2038-0E24-4557-B1BD-08584C48FA0D"
        },
        {
            "type": {
                "coding": [
                    {
                        "code": "FI",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "JMHOS001"
        },
        {
            "type": {
                "coding": [
                    {
                        "code": "ACSN",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value":"11" "C341D6E0-6E86-4259-AEA4-6C90449B85EE"
        },
        {
            "type": {
                "coding": [
                    {
                        "code": "FI",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "hfcodeR1D2"
        }
    ],
    "name":"hfName", "Jambero District Hospital, Jambero",
    "partOf": {
        "reference": "Location/8ACF51CF-EB6D-44DB-AED5-75412408E791"
    },
    "physicalType": {
        "coding": [
            {
                "code": "D",
                "system": "http://terminology.hl7.org/CodeSystem/location-physical-type.html"
            }
        ],
        "text": "district"
    },
    "telecom": [
        {
            "system": "phone",
            "use": "home",
            "value": "hfPhone"
        },
        {
            "system": "fax",
            "use": "home",
            "value": "hfFax"
        },
        {
            "system": "email",
            "use": "home",
            "value": "hfMail"
        }
    ],
    "type": [
        {
            "coding": [
                {
                    "code": "PCH",
                    "system": "httpshttp://hl7.org/fhir/v3/ServiceDeliveryLocationRoleType/vs.html"
                }
            ],
            "text": "hospital"
        }
    ]
}