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

Link to gender_codes configuration key

not mapped (warning)

maritalStatus

Marital

maritalStatus.text in [Married, Single, Divorced, Widowed, Not specified] (warning)

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

mapped

photocreation

tblInsuree.PhotoID → tblPhotos.PhotoDate

mapped

generalPractitioner

HFID

reference/HeathcareService

mapped

address

CurrentAddress / GeoLocation

The patient can contain multiple addresses

mapped

link.other

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

reference Patient/UUID
UUID is head of the family

mapped

link.type

tblInsuree.relationship → tblRelations.relation

mapped

extension.isHead

tblInsuree.IsHead

url: isHead
type: valueBoolean

mapped

extension.registrationDate

tblInsuree.ValidityFrom

url: registrationDate
type: valueDateTime

not mapped (warning)

extension.locationCode

link to tblInsuree.FamilyId → tblFamilies.LocationId→ tblLocations.LocationUUID

url: locationCode
type: valueReference

not mapped (warning)

extension.educationCode.valueCoding.code
extension.educationCode.valueCoding.display

tblInsuree.Education → tblEducations.EducationId
tblInsuree.Education → tblEducations.Education

utl: educationCode
type: valueCoding

not mapped (warning)

extension.professionCode.valueCoding.code
extension.professionCode.valueCoding.display

tblInsuree.Profession → tblProfessions.ProfessionId
tblInsuree.Profession → tblProfessions.Profession

utl: professionCode
type: valueCoding

not mapped (warning)

extension.povertyStatus

tblInsuree → tblFamilies → Poverty

url: povertyStatus
type: valueBoolean

mapped (update url) (warning)

Endpoint specification

Example of endpoint URL

...

Code Block
languagejson
{
    "resourceType": "Patient",
    "address": [
        {
            "text": "5 Tsoka",
            "type": "physical",
            "use": "home"
        },
        {
       ],
    "textbirthDate": "0.0 0.01987-01-07",
    "extension": [
       "type": "both", {
            "useurl": "home"https://openimis.atlassian.net/wiki/spaces/OP/pages/960069653/isHead",
        }     ],"valueBoolean": true
    "birthDate": "1952-05-07",     "extension": [},
        {
            "url": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960069653/FHIR+extension+isHead960331779/registrationDate",
            "valueBooleanvalueDateTime": false
"2020-05-13T06:21:37.810000"
        },
        {
            "url": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960331779/FHIR+extension+registrationDate960495619/locationCode",
            "valueStringvalueReference": "2018-03-27T06:44:02.833000" {
          },      "reference": "Location/BEE392F1-07D8-482F-B601-6C8BBA0BF2A9"
 {           }
 "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+EducationeducationCode",
            "valueStringvalueCoding": ""
{
       },         {"code": 3,
                "urldisplay": "https://openimis.atlassian.net/wiki/spaces/OP/pages/960135203/FHIE+extension+Profession",Secondary school"
            }
"valueString": ""       },
 }     ],  {
  "gender": "female",     "id    "url": "3A16BEDC-3E51-459F-B89C-889EB2FE8E6F",https://openimis.atlassian.net/wiki/spaces/OP/pages/960135203/professionCode",
       "identifier": [    "valueCoding": {
   {             "typecode": {3,
                "codingdisplay": ["Self Employee"
            }
      {  },
        {
             "codeurl": "UUIDhttps://openimis.atlassian.net/wiki/spaces/OP/pages/1556643849/povertyStatus",
            "valueBoolean": true
        }
    ],
    "systemgender": "https://hl7.org/fhir/valueset-identifier-type.html"M",
    "id": "01EEDC6C-436C-465F-86C2-6FF68644D751",
    "identifier": [
        }{
            "type": {
  ]             }, "coding":  [
         "use": "usual",          {
  "value": "3A16BEDC-3E51-459F-B89C-889EB2FE8E6F"         },         {   "code": "UUID",
        "type": {               "system":  "coding": ["https://hl7.org/fhir/valueset-identifier-type.html"
                    }
   {             ]
           "code": "SB", },
            "use": "usual",
            "systemvalue": "https://hl7.org/fhir/valueset-identifier-type.html01EEDC6C-436C-465F-86C2-6FF68644D751"
        },
        {
  }          "type": {
     ]           "coding": [
 },             "use": "usual",     {
       "value": "070707081"         },       "code": "SB",
{             "type": {           "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                "coding": [   }
                ]
{            },
            "codeuse": "PPNusual",
            "value": "6561"
        },
    "system": "https://hl7.org/fhir/valueset-identifier-type.html"    {
            "type": {
      }          "coding": [
     ]             },  {
          "use": "usual",             "valuecode": "PPN"
 ,
      }     ],     "link": [       "system":  {"https://hl7.org/fhir/valueset-identifier-type.html"
                  "other": { }
               "reference": "Patient/18BC40A1-A1AB-47AB-9BC0-9F3C0A7B1BDF" ]
            },
            "typeuse": "Spouseusual",
        }     ],"value": "6561"
    "maritalStatus":     }
    ],
    "maritalStatus": {
        "coding": [
            {
                "code": "M",
                "system": "http://hl7.org/fhir/valueset-marital-status.html"
            }
        ],
        "text": "Married"
    },
    "name": [
        {
            "family": "MacintyreBanda",
            "given": [
                "JaneJames"
            ],
            "use": "usual"
        }
    ],
    "photo": [
        {
            "creation": "20181900-0301-2701",
            "url": "Images\\Updated\\070707081_E00001_20180327_0.0_0.0.jpg"
        }
    ],
    "telecom": [
        {
            "system": "phone",
            "use": "home",
            "value": ""
        },
        {
            "system": "email",
  }     ],     "telecomuse": ["home",
         {   "value": "         "system": "phone",                "use": "home",             "value": ""         },         {             "system": "email",             "use": "home",             "value": ""
        }
    ]
}