Versions Compared

Key

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

...

FHIR R4 field

openIMIS field

Notes

Mapping status

identifier

InsureeID / CHFID / passport / TypeOfId / InsureeUUID

there is a 0..* relation on identifier

InsureeID / CHFID / passport / InsureeUUID is mapped

name

LastName / OtherNames

name field contains values that are being mapped for both LastName and OtherNames fields

mapped

birthDate

DOB

mapped

gender

Gender

mapped

maritalStatus

Marital

mapped

telecom

Phone / Email

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

mapped

photo.url

tblInsuree.PhotoID → tblPhotos.PhotoFolder + PhotoFileName

Should include the base URL

not mapped

photocreation

tblInsuree.PhotoID → tblPhotos.PhotoDate

not mapped

generalPractitioner

HFID

reference/HeathcareService

not mapped

address

CurrentAddress / GeoLocation

The patient can contain multiple addresses

mapped

povertyStatus

tblInsuree → tblFamilies → Poverty

Extension valueBoolean

If Poverty from tblFamilies is “None” nothing is returned and the field is empty, else it’s “True” or “False”

mapped

link.other

link to tblInsuree.FamilyId → tblFamilies.InsureeId → tblInsurees.InsureeUUID

reference Patient/UUID
UUID is head of the family

not mapped

link.type

tblInsuree.relationship → tblRelations.relation

not mapped

Endpoint specification

...

Code Block
languagejson
{
    "resourceType": "Patient",
    "address": [
        {
            "text": "",
            "type": "physical",
            "use": "home"
        },
        {
            "text": "0.0 0.0",
            "type": "both",
            "use": "home"
        }
    ],
    "birthDate": "19741952-0605-1107",
    "contactextension": [
        {
            "relationshipurl": ["https://openimis.atlassian.net/wiki/spaces/OP/pages/960069653/FHIR+extension+isHead",
            "valueBoolean": false
  {      },
        {
     "coding": [      "url": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960331779/FHIR+extension+registrationDate",
            "valueString": "2018-03-27T06:44:02.833000"
   {     },
        {
              "codeurl": "relatedPerson"
  https://openimis.atlassian.net/wiki/spaces/OP/pages/960495619/FHIR+extension+Location",
            "valueString": "R1D1M1V1"
        },
        {
           ],
                    "text"url": "Son/Daughter"https://openimis.atlassian.net/wiki/spaces/OP/pages/960331788/FHIR+extension+Education",
                }"valueString": ""
            ]
        }
    ],
    "extension": [         {
            "url": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960069653960135203/FHIRFHIE+extension+isHeadProfession",
            "valueBooleanvalueString": false""
        },
    ],
   { "gender": "female",
    "id": "3A16BEDC-3E51-459F-B89C-889EB2FE8E6F",
    "urlidentifier": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960331779/FHIR+extension+registrationDate", [
        {
            "type": {
                "valueStringcoding": "2018-03-27T06:44:14.533000" [
           },         {
             "url": "           "code": "UUID",
                        "system": "https://openimishl7.atlassian.netorg/wiki/spaces/OP/pages/960495619/FHIR+extension+Location",
 fhir/valueset-identifier-type.html"
                    }
          "valueString": "R1D1M1V1"     ]
   },         {},
            "urluse": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960331788/FHIR+extension+Educationusual",
            "value"valueString": ": "3A16BEDC-3E51-459F-B89C-889EB2FE8E6F"
        },
        {
            "urltype": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960135203/FHIE+extension+Profession",{
            "valueString": ""   "coding": [
    }
    ],     "gender": "female",     "id": "0DAC3D8A-3A7C-42B4-97B4-3F3968D4B35C",   {
 "identifier": [         {             "typecode": { "SB",
                        "system"coding: "https: [//hl7.org/fhir/valueset-identifier-type.html"
                    }
   {             ]
           "code": "UUID", },
            "use": "usual",
            "systemvalue": "https://hl7.org/fhir/valueset-identifier-type.html070707081"
        },
        {
  }          "type": {
     ]             },
   "coding": [
        "use": "usual",           {
 "value": "0DAC3D8A-3A7C-42B4-97B4-3F3968D4B35C"         },         {    "code": "PPN",
       "type": {                 "coding": ["system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    {}
                ]
       "code": "SB",            },
            "systemuse": "https://hl7.org/fhir/valueset-identifier-type.html"usual",
            "value": ""
      }  }
    ],
         ]"link": [
        {
   },         "other": {
  "use": "usual",             "valuereference": "070707092Patient/18BC40A1-A1AB-47AB-9BC0-9F3C0A7B1BDF"
        },         {},
            "type": {"Spouse"
        }
    ],
    "codingmaritalStatus": [{
              "coding": [
     {        {
                "code": "PPNM",
       
                "system": "httpshttp://hl7.org/fhir/valueset-identifiermarital-typestatus.html"
       
            }
        ]
    },
  ]  "name": [
         },{
            "usefamily": "usualMacintyre",
            "valuegiven": ""[
        }     ],   "Jane"
  "name": [         {],
            "familyuse": "Macintyreusual",
        }
   "given": [ ],
    "photo": [
        {
 "Adele"             ]"creation": "2018-03-27",
            "useurl": "usualImages\\Updated\\070707081_E00001_20180327_0.0_0.0.jpg"
        }
    ],
    "telecom": [
        {
            "system": "phone",
            "use": "home",
            "value": ""
        },
        {
            "system": "email",
            "use": "home",
            "value": ""
        }
    ]
}