Mappings for the NIMAllergyIntoleranceInvestigation resource profile.
  
  
  
 | NIMAllergyIntoleranceInvestigation | 
 | DiagnosticReport | ORU -> OBR |  
 |    identifier | OBR-51/ for globally unique filler ID  - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id -  OBR-2(if present)+OBR-3+OBR-4 |  
 |    basedOn | ORC? OBR-2/3? |  
 |    status | OBR-25 (not 1:1 mapping) |  
 |    category | OBR-24 |  
 |    code | OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel) |  
 |    subject | PID-3 (no HL7 v2 mapping for Group or Device) |  
 |    encounter | PV1-19 |  
 |    effective[x] | OBR-7 |  
 |    effective[x] (effectivePeriod) | OBR-7 |  
 |    issued | OBR-22 |  
 |    performer | PRT-8 (where this PRT-4-Participation = "PO") |  
 |    resultsInterpreter | OBR-32, PRT-8 (where this PRT-4-Participation = "PI") |  
 |    specimen | SPM |  
 |    result | OBXs |  
 |    result (pricktest) | OBXs |  
 |    result (provokationstest) | OBXs |  
 |    result (eliminationstest) | OBXs |  
 |    result (bildanalys) | OBXs |  
 |    result (laboratorietest) | OBXs |  
 |    media | OBX? |  
 |    conclusion | OBX |  
 |    conclusionCode | OBX |  
 |    presentedForm | OBX |  
 | NIMAllergyIntoleranceInvestigation | 
 | DiagnosticReport | Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN] |  
 |    text | Act.text? |  
 |    contained | N/A |  
 |    extension | N/A |  
 |    modifierExtension | N/A |  
 |    identifier | id |  
 |    basedOn | outboundRelationship[typeCode=FLFS].target |  
 |    status | statusCode  Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type "revise" |  
 |    category | inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code |  
 |    code | code |  
 |    subject | participation[typeCode=SBJ] |  
 |    encounter | inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN] |  
 |    effective[x] | effectiveTime |  
 |    effective[x] (effectivePeriod) | effectiveTime |  
 |    issued | participation[typeCode=VRF or AUT].time |  
 |    performer | .participation[typeCode=PRF] |  
 |    resultsInterpreter | .participation[typeCode=PRF] |  
 |    specimen | participation[typeCode=SBJ] |  
 |    result | outboundRelationship[typeCode=COMP].target |  
 |    result (pricktest) | outboundRelationship[typeCode=COMP].target |  
 |    result (provokationstest) | outboundRelationship[typeCode=COMP].target |  
 |    result (eliminationstest) | outboundRelationship[typeCode=COMP].target |  
 |    result (bildanalys) | outboundRelationship[typeCode=COMP].target |  
 |    result (laboratorietest) | outboundRelationship[typeCode=COMP].target |  
 |    imagingStudy | outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN] |  
 |    media | outboundRelationship[typeCode=COMP].target |  
 |       id | n/a |  
 |       extension | n/a |  
 |       modifierExtension | N/A |  
 |       comment | .inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="annotation"].value |  
 |       link | .value.reference |  
 |    conclusion | inboundRelationship[typeCode="SPRT"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST) |  
 |    conclusionCode | inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD) |  
 |    presentedForm | text (type=ED) |