Versions Compared

Key

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

...

FHIR R4 field

openIMIS field

notes

mapping status

identifier

tblServices.ServiceID / tblServices.ServiceUUID / tblServices.ServCode

mapped

status

string “active”

mandatory => only valid services are managed

mapped

date

tblServices.ValidityFrom

the last date changed

mapped

name

tblServices.ServCode

the code of the medical service.

mapped

title

tblServices.ServName

the name of the medical service.

mapped

useContext.code

one of [“gender”, “age”, “workflow”, “venue”]

see UsageContext

mapped

useContext.valueCodeableConcept.text

one of:

  • tblServices.ServPatCat decomposed in “gender” and “age”

  • tblServices.ServCategory for “workflow” code

  • tblServices.ServCareType for “venue” code

if multiple values per code then duplicate the code for each value: ex. service available for man and women “gender” code

“gender” and “age” codes can be found twice

tblServices.ServPatCat is binary codded: Kids*8+Adults*4+Womens*2+Mens

mapped

topic

tblServices.ServType

extension for DefinitionTopic

mapped

code

tblServices.ServCode and tblServices.ServName

can replace name and title linked to SNOMED CT

mapped - but not sure if it is correct

unitPrice

tblServices.ServPrice

mapped as Money
openIMIS extension to ActivityDefinition

mapped

...

Configuration key

Description

Default value

default_audit_user_id

default value which will be used for 'audit_user_id' field

"default_audit_user_id": 1,

R4_fhir_identifier_type_config

configuration of system and codes used to represent the specific types of identifiers

"R4_fhir_identifier_type_config":{
"system":"https://hl7.org/fhir/valueset-identifier-type.html",
"fhir_code_for_imis_db_id_type":"ACSN",
"fhir_code_for_imis_chfid_type":"SB",
"fhir_code_for_imis_passport_type":"PPN",
"fhir_code_for_imis_facility_id_type":"FI",
"fhir_code_for_imis_claim_admin_code_type":"FILL",
"fhir_code_for_imis_claim_code_type":"MR",

},

R4_fhir_issue_type_config

configuration of system and codes used to represent the specific types of operation outcome

"R4_fhir_issue_type_config":{
"fhir_code_for_exception":"exception",
"fhir_code_for_not_found":"not-found",
"fhir_code_for_informational":"informational"
},

Example JSON representation of content:

Code Block
languagejson
{
    "resourceType": "ActivityDefinition",
    "date": "2017-01-01T00:00:00",
    "extension": [
        {
            "valueUnitPrice": 21000.0
        }
    ],
    "id": "DE60CA2F-D2D8-4F4E-9F08-F3F718A6FB77",
    "identifier": [
        {
            "type": {
                "coding": [
                    {
                        "code": "ACSN",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "DE60CA2F-D2D8-4F4E-9F08-F3F718A6FB77"
        },
        {
            "type": {
                "coding": [
                    {
                        "code": "ACSN",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "M1"
        }
    ],
    "name": "M1",
    "status": "active",
    "title": "OBG Cervical Cerclage - Shrodikar",
    "topic": {
      "coding": [
        {"system": "http://hl7.org/fhir/ValueSet/definition-topic",
        "code": "DefinitionTopic"}
      ],
      "text": "C"
    }
        
    ],
    "useContext": [
        {
            "coding": [
                {
                    "code": "gender"
                }
            ],
            "valueCodeableConcept": {
               "text": "M"
            }  
        },
        {
            "coding": [
                {
                    "code": "gender"
                }
            ],
            "valueCodeableConcept": {
                "M""text": "F"
            }  ]
        },
        {
            "coding": [
                {
                    "code": "age"
                }
            ],
            "valueCodeableConcept": {
                "text": "A"
            }  
        },
        {
            "coding": [
                {
                    "code": "K"age"
                }
            ],
            "valueCodeableConcept": {
  "A             "text": "K"
            ]}  
        },
        {
            "coding": [
                {
                    "code": "workflow"
                }
            ],
            "textvalueCodeableConcept": "S"
        },
        {
            "coding": [
                {
                    "code": "venue"
                }
            ],
            "textvalueCodeableConcept": "B"
        }
    ]
}