Mappings for the profile-referral-request resource profile.
  
  
  
 | ReferralRequest | 
 | ServiceRequest | ORC |  
 |    identifier | ORC.2, ORC.3, RF1-6 / RF1-11, |  
 |    instantiatesCanonical | Varies by domain |  
 |    instantiatesUri | Varies by domain |  
 |    basedOn | ORC.8 (plus others) |  
 |    replaces | Handled by message location of ORC (ORC.1=RO or RU) |  
 |    requisition | ORC.4 |  
 |    status | ORC.5,RF1-1 |  
 |    intent | N/A |  
 |    category | RF1-5 |  
 |    priority | TQ1.9, RF1-2 |  
 |    code | PR1-3 / OBR-4  (varies by domain) |  
 |    orderDetail | NTE |  
 |    quantity[x] | NTE |  
 |    subject | PID |  
 |    encounter | PV1 |  
 |    occurrence[x] | TQ1/TQ2, OBR-7/OBR-8 |  
 |    authoredOn | ORC.9,  RF1-7 / RF1-9 |  
 |    requester | ORC.12, PRT |  
 |    performerType | PRT, RF!-3 |  
 |    performer | PRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT |  
 |    performer (Department) | PRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT |  
 |    performer (Hospital) | PRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT |  
 |    reasonCode | ORC.16, RF1-10 |  
 |    reasonReference | ORC.16 |  
 |    insurance | IN1/IN2 |  
 |    supportingInfo | Accompanying segments |  
 |    specimen | SPM |  
 |    bodySite | SPM |  
 |    note | NTE |  
 |    patientInstruction | NTE |  
 |    relevantHistory | N/A |  
 | ReferralRequest | 
 | ServiceRequest | Entity. Role, or Act, Act[moodCode<=INT] |  
 |    text | Act.text? |  
 |    contained | N/A |  
 |    extension | N/A |  
 |    modifierExtension | N/A |  
 |    identifier | .identifier |  
 |    instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target |  
 |    instantiatesUri | .outboundRelationship[typeCode=DEFN].target |  
 |    basedOn | .outboundRelationship[typeCode=FLFS].target |  
 |    replaces | .outboundRelationship[typeCode=RPLC].target |  
 |    requisition | .inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier |  
 |    status | .status |  
 |    intent | .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere) |  
 |    category | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="INT"].code |  
 |    priority | .priorityCode |  
 |    doNotPerform | .actionNegationInd |  
 |    code | .code |  
 |    orderDetail | .code |  
 |    quantity[x] | .quantity |  
 |    subject | .participation[typeCode=SBJ].role |  
 |    encounter | .inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN] |  
 |    occurrence[x] | .effectiveTime |  
 |    asNeeded[x] | boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code="Assertion"].value |  
 |    authoredOn | .participation[typeCode=AUT].time |  
 |    requester | .participation[typeCode=AUT].role |  
 |    performerType | .participation[typeCode=PRF].role[scoper.determinerCode=KIND].code |  
 |    performer | .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE] |  
 |    performer (Department) | .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE] |  
 |    performer (Hospital) | .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE] |  
 |    locationCode | .participation[typeCode=LOC].role[scoper.determinerCode=KIND].code |  
 |    locationReference | .participation[typeCode=LOC].role[scoper.determinerCode=INSTANCE] |  
 |    reasonCode | .reasonCode |  
 |    reasonReference | .outboundRelationship[typeCode=RSON].target |  
 |    insurance | .outboundRelationship[typeCode=COVBY].target |  
 |    supportingInfo | .outboundRelationship[typeCode=PERT].target |  
 |    specimen | .participation[typeCode=SPC].role |  
 |    bodySite | targetSiteCode |  
 |    note | .inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST] |  
 |    patientInstruction | .text |  
 |    relevantHistory | .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN] |