AL1-6 is allergy onset, not reaction onset
LisaWellman opened this issue · comments
Describe the bug
AL1-6 should map to AllergyIntolerance.onsetDateTime, not AllergyIntolerance.reaction.onset
To Reproduce
Convert any AL1 message with a value in AL1-6
Expected behavior
AL1-6 should be placed in AllergyIntolerance.onsetDateTime
Additional context
Although http://hl7.org/fhir/R4/allergyintolerance-mappings.html indicates AL1-6 is AllergyIntolerance.reaction.onset, this seems to be incorrect according to the HL7 description.
From https://hl7-definition.caristix.com/v2/HL7v2.6/Fields/AL1.6
AL1.6 - Identification Date
This field contains the date that the allergy was identified.
In Release 1.0.9