FHIR R4 - Medication
FHIR R4 Resource - Medication
openIMIS tables mapped - tblItems
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 | mapped |
extension.useContext.code | one of [“gender”, “age”, “venue”] | extension | mapped |
extension.useContext.valueCodeableConcept.text | one of:
| 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 |
extension.topic |
| extension for DefinitionTopic | mapped |
Other information might be required to map from tblItems through extensions based on future requirements.