Versions Compared

Key

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

...

FHIR R4 field

openIMIS field

notes

mapping status

identifier

tblItems.ItemID / tblItems.ItemUUID / tblItems.ItemCode

mapped

code.coding

tblItems.ItemCode

The code of the medication. Duplicated in identifier.

mapped

code.text

tblItems.ItemName

The name of the medication.

mapped

form

tblItems.ItemPackage

string part: “tables”, “pieces”, etc.

mapped as whole package

amount

tblItems.ItemPackage

integer part: 1000, 100, etc

If not possible to split then keep only form field

ItemPackage was not split because not all notations in the demo database are uniformly entered. For instance row 145 and 151.

Also there are some misspellings like in row 43.

not mapped but possible

see notes

frequency

tblItems.ItemFrequency

mapped as extension.valueInteger: integer

mapped

extension.unitPrice

tblItems.ItemPrice

mapped as Money
openIMIS extension to Medication
url=unitPrice, valueMoney.value as tblItems.ItemPrice
valueMoney.currency to be identified

mapped

extension.useContext.code

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

extension
see UsageContext

not mapped

extension.useContext.valueCodeableConcept.text

one of:

  • tblItems.ItemPatCat decomposed in “gender” and “age”

  • tblItems.ItemCareType 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

not mapped

extension.topic

  • tblItems.ItemType

extension for DefinitionTopic

mapped

...

Expand
titleExample JSON representation of content
Code Block
languagejson
{
    "resourceType": "Medication",
    "code": {
        "coding": [
            {
                "code": "0001"
            }
        ],
        "text": "ACETYLSALICYLIC ACID (ASPIRIN)  TABS 300MG"
    },
    "extension": [
        {
            "url": "unitPrice",
            "valueMoney": {
                "currency": "$",
                "value": 10.0
            }
        },
        {
            "url": "frequency",
            "valueInteger": 0
        },
        {
            "url": "topic",
            "valueCodeableConcept": {
                "coding": [
                    {
                        "code": "DefinitionTopic",
                        "system": "http://terminology.hl7.org/CodeSystem/definition-topic"
                    }
                ],
                "text": "D"
            }
        },
        {
            "url": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    "gender"
                ],
                "text": "M"
            }
        },
        {
            "url": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    "gender"
                ],
                "text": "F"
            }
        },
        {
            "url": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    "age"
                ],
                "text": "A"
            }
        },
        {
            "url": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    "age"
                ],
                "text": "K"
            }
        },
        {
            "url": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    "venue"
                ],
                "text": "O"
            }
        }
    ],
    "form": "1000 TABLETS",
    "id": "92F1654E-290D-4BEE-93B8-2639685ACEB3",
    "identifier": [
        {
            "type": {
                "coding": [
                    {
                        "code": "UUID",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "92F1654E-290D-4BEE-93B8-2639685ACEB3"
        },
        {
            "type": {
                "coding": [
                    {
                        "code": "IC",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "0001"
        }
    ]
}

...