Mappings for the  Profile.
  
  
  
 | PrescribeIT® List - Allergies | 
 | List | Act[classCode<ORG,moodCode=EVN] |  
 |    text | Act.text? |  
 |       id | n/a |  
 |       extension | n/a |  
 |       status | N/A |  
 |       div | N/A |  
 |    contained | N/A |  
 |    extension | N/A |  
 |    modifierExtension | N/A |  
 |    identifier | .id |  
 |    mode | .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value |  
 |    code | .code |  
 |       id | n/a |  
 |       extension | n/a |  
 |       coding | union(., ./translation) |  
 |       coding (HL7Code) | union(., ./translation) |  
 |          id | n/a |  
 |          extension | n/a |  
 |          system | ./codeSystem |  
 |          version | ./codeSystemVersion |  
 |          code | ./code |  
 |          display | CV.displayName |  
 |          userSelected | CD.codingRationale |  
 |       text | ./originalText[mediaType/code="text/plain"]/data |  
 |    subject | .participation[typeCode<SUB].role (and sometimes .player) |  
 |    encounter | inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN] |  
 |    date | .participation[typeCode<AUT].time[type=TS] |  
 |    source | .participation[typeCode<AUT].role[classCode=REL].player[classCode=PSN,determinerCode=INST] or .participation[typeCode<AUT].role[classCode=REL].player[classCode=DEV,determinerCode=INST] |  
 |    orderedBy | .outboundRelationship[typeCode=COMP].sequenceNumber > 1 |  
 |    entry | .outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ] |  
 |       id | n/a |  
 |       extension | n/a |  
 |       modifierExtension | N/A |  
 |       flag | .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value |  
 |       deleted | added: .updateMode=("A","AR")  retained: .updateMode="NC"  updated: .updateMode="R"  deleted: .updateMode="D" |  
 |       date | .availabilityTime |  
 |       item | .target or .role or .role.entity |  
 |    emptyReason | .inboundRelationship[typeCode=SUBJ,code<{ListEmptyReason}].value[type=CD] |