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

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

mapped

name

tblHF.HFName

mapped

category

tblHF.HFLevel

type.coding contains one of ['H', ‘C', 'D']

type.text is one of ['hospital’, ‘hospital center’, ‘dispensary’]

mapped

type

tblHF.HFCareType

type.coding contains one of ['I', ‘O', 'B']

type.text is one of ['in-patient’, ‘out-patient’, ‘both’]

mapped

specialty

tblHF.HFSublevel

link to tblHFSublevel:

  • coding.code as HFSublevel (id)

  • text as HFSublevelDesc

mapped

location

tblHF.LocationId

reference to Location/UUID

mapped

extraDetails

tblHF.HFAddress

mapped

telecom

tblHF.Phone / tblHF.Fax / tblHF.eMail

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

mapped

program

tblHF.LegalForm

link to tblLegalForms:

  • coding.code as LegalFormCode (id)

  • text as LegalForms

mapped

coverageArea

list of [reference tblLocation]

all tblLocations->tblHFCatchment->tblHF with ValidityTo=null

mapped

...

Code Block
http://localhost:8000/api_fhir_R4r4/HealthcareService?identifier=[HFCode]

...

  • POST - not available

  • GET - by default return list of all available resources. To fetch information about a specific object you should add the UUID key to URL for instance:

    Code Block
    http://localhost:8000/api_fhir_R4r4/HealthcareService/[UUID]
  • UPDATE - not available

  • DELETE - not available

...

Code Block
languagejson
{
    "resourceType": "HealthcareService",
    "category": [
        {
            "coding": [
                {
                    "code": "HOSPH",
                    "system": "http://hl7.org/fhir/v3/ServiceDeliveryLocationRoleType/vs.html"
                }
            ],
            "text": "hospitalHospital"
        }
    ],
    "coverageArea": [
        {
            "reference": "Location/BEE392F1-07D8-482F-B601-6C8BBA0BF2A9"
        },
        {
            "reference": "Location/7D0E1238-F0DA-43D0-A0AF-FE3B344284CA"
        }
    ],
    "extraDetails": {
        "text": "Lantern Road 21\r\nP.O.Box 3425",
        "type": "physical",
        "use": "home"
    },
    "id": "FABA2038-0E24-4557-B1BD-08584C48FA0D",
    "identifier": [
        {
            "type": {
                "coding": [
                    {
                        "code": "UUID",
                        "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"
        }
    ],
    "location": [
        {
            "reference": "Location/C341D6E0-6E86-4259-AEA4-6C90449B85EE"
        }
    ],
    "name": "Jambero District Hospital",
    "program": [
        {
            "coding": [
                {
                    "code": "G"
                }
            ],
            "text": "Government"
        }
    ],
    "type": [
        {
            "coding": [
                {
                    "code": "B",
                    "system": "http://hl7.org/fhir/valueset-service-type.html"
                }
            ],
            "text": "bothBoth"
        }
    ]
}