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

there is a 0..* relation on identifier

InsureeID / CHFID / passport is mapped

RelatedPerson

FamilyID

not 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

RelatedPerson.RelationshipIsHead

tblInsuree.relationship → tblRelations.relation

mapped

telecom

Phone / Email

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

mapped

photo

PhotoID

not mapped

photo.creation

PhotoDate

not mapped

managingOrganization

HFID

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

...

Code Block
languagejson
{
    "resourceType": "Patient",
    "address": [
        {
            "text": "",
            "type": "physical",
            "use": "home"
        },
        {
            "text": "0.0 0.0",
            "type": "both",
            "use": "home"
        }
    ],
    "birthDate": "19701974-0106-0411",
    "contact": [
        {
            "relationship": [
                {
                    "coding": [
                        {
                            "code": "relatedPerson"
                        }
                    ],
                    "text": false"Son/Daughter"
                }
            ]
        }
    ],
    "extension": [
        {
            "url": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960069653/FHIR+extension+isHead",
            "valueBoolean": false
        },
        {
            "url": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960331779/FHIR+extension+registrationDate",
            "valueString": "20202018-0503-22T0827T06:5244:0614.687000533000"
        },
        {
            "url": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960495619/FHIR+extension+Location",
            "valueString": "R1D1M1V1"
        },
        {
            "url": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960331788/FHIR+extension+Education",
            "valueString": ""
        },
        {
            "url": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960135203/FHIE+extension+Profession",
            "valueString": ""
        },
    ],
   {     "gender": "female",
       "urlid": "povertyStatus0DAC3D8A-3A7C-42B4-97B4-3F3968D4B35C",
            "valueBoolean": false
        }
    ],
    "gender": "male",
    "id": "A608DAEE-ED8A-42BE-B6E6-B309707205D9",
    "identifier": [
        {
            "type": {
                "coding": [
                    {
                        "code": "UUID","identifier": [
           {
            "system": "https://hl7.org/fhir/valueset-identifier-type.html"
            ": {
       }         "coding": [
      ]             },  {
          "use": "usual",             "valuecode": "A608DAEE-ED8A-42BE-B6E6-B309707205D9"
     UUID",
  },         {             "typesystem": {"https://hl7.org/fhir/valueset-identifier-type.html"
                "coding": [   }
                ]
{            },
            "codeuse": "SBusual",
            "value": "0DAC3D8A-3A7C-42B4-97B4-3F3968D4B35C"
        },
       "system": "https://hl7.org/fhir/valueset-identifier-type.html" {
            "type": {
      }          "coding": [
     ]             },  {
          "use": "usual",             "valuecode": "111111119SB",
           },          {   "system": "https://hl7.org/fhir/valueset-identifier-type.html"
         "type": {           }
         "coding": [      ]
            },
 {           "use": "usual",
            "codevalue": "PPN",070707092"
        },
        {
            "systemtype": "https://hl7.org/fhir/valueset-identifier-type.html"{
                "coding": [
  }                 ] {
           },             "usecode": "usualPPN",
       
    "value": ""         }     ],     "namesystem": ["https://hl7.org/fhir/valueset-identifier-type.html"
        {            }
"family": "Manth",
            "given": [   ]
            },
"Roger"             ]"use": "usual",
            "usevalue": "usual"
        }
    ],
    "telecomname": [
        {
            "systemfamily": "phoneMacintyre",
            "usegiven": "home",[
            "value": ""   "Adele"
     },         {],
            "systemuse": "email",usual"
        }
     ],
    "usetelecom": "home",[
        {
   "value": "        "system": "phone",
            "use": "home",
            "value": ""
        },
        {
            "system": "email",
            "use": "home",
                "value": ""
        }
    ]
}