Details
-
Sub-task
-
Status: Closed
-
Must
-
Resolution: Fixed
-
None
-
None
-
High
Description
Complete a fully fleshed out FHIR AllergyIntolerance Resource mapper that is fully validated by the HAPI Validator.
The structure of this resource can be seen at: http://hl7-fhir.github.io/allergyintolerance.html
Update:
I took some time to figure out the mappings between the OpenMRS allergy table and the FHIR allergy resource. This is what I came up with.
{
"resourceType" : "AllergyIntolerance",
"identifier" : allergy.uuid
"recordedDate" : allergy.date_created
"recorder" : Leave blank for now
"patient" :
"reporter" : Leave blank for now
Source of the information about the allergy
"substance" :OpenMRS doesn’t record
"status" : OpenMRS doesn’t record
"criticality" : allergy.serverity_concept_id
"type" : "OpenMRS doesn’t record
"category" : allergy.allergen_type
"lastOccurence" : "OpenMRS doesn’t record
"comment" : allergy.comment
"event" : [
]
}