This table shows how OpenMRS Allergy object is mapped to FHIR AllergyIntollerance.
OpenMRS Class: Allergy
OpenMRS field | DB field | FHIR field |
---|---|---|
patient : openmrs.Patient | patient_id : INT(11) | patient : Reference |
severity : Concept | severity_concept_id : INT(11) | criticality : AllergyIntoleranceCriticality |
codedAllergen : Concept | coded_allergen : INT(11) | code : CodeableConcept |
nonCodedAllergen : String | non_coded_allergen : varchar(255) | code.text : String |
allergen.allergenType : AlergenType | allergen_type : varchar(50) | category : AllergyIntoleranceCategory |
comment : String | comment : varchar(1024) | note : List<Annotation> |
uuid : String | uuid : char(38) | id : IdType |