Mappings for the Profile.
| ElectronicReferralMn |
| ServiceRequest | ORC |
| identifier | ORC.2, ORC.3, RF1-6 / RF1-11, |
| use | N/A |
| type | CX.5 |
| system | CX.4 / EI-2-4 |
| value | CX.1 / EI.1 |
| period | CX.7 + CX.8 |
| assigner | CX.4 / (CX.4,CX.9,CX.10) |
| identifier (e-refeferral-number) | ORC.2, ORC.3, RF1-6 / RF1-11, |
| use | N/A |
| type | CX.5 |
| coding | C*E.1-8, C*E.10-22 |
| system | C*E.3 |
| version | C*E.7 |
| code | C*E.1 |
| display | C*E.2 - but note this is not well followed |
| userSelected | Sometimes implied by being first |
| text | C*E.9. But note many systems use C*E.2 for this |
| system | CX.4 / EI-2-4 |
| value | CX.1 / EI.1 |
| period | CX.7 + CX.8 |
| assigner | CX.4 / (CX.4,CX.9,CX.10) |
| status | ORC.5,RF1-1 |
| intent | N/A |
| category | RF1-5 |
| coding | C*E.1-8, C*E.10-22 |
| text | C*E.9. But note many systems use C*E.2 for this |
| priority | TQ1.9, RF1-2 |
| subject | PID |
| encounter | PV1 |
| authoredOn | ORC.9, RF1-7 / RF1-9 |
| requester | ORC.12, PRT |
| performer | PRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT |
| reasonCode | ORC.16, RF1-10 |
| ElectronicReferralMn |
| ServiceRequest | Entity. Role, or Act, Act[moodCode<=INT] |
| text | Act.text? |
| contained | N/A |
| extension | |
| extension (hc-id) | N/A |
| id | n/a |
| url | N/A |
| value[x] | N/A |
| value[x] (valueString) | N/A |
| modifierExtension | N/A |
| identifier | .identifier |
| id | n/a |
| extension | n/a |
| use | Role.code or implied by context |
| type | Role.code or implied by context |
| system | II.root or Role.id.root |
| value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
| period | Role.effectiveTime or implied by context |
| assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
| identifier (e-refeferral-number) | .identifier |
| id | n/a |
| extension | n/a |
| use | Role.code or implied by context |
| type | Role.code or implied by context |
| id | n/a |
| extension | n/a |
| coding | 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 |
| system | II.root or Role.id.root |
| value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
| period | Role.effectiveTime or implied by context |
| assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
| status | .status |
| intent | .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere) |
| category | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="INT"].code |
| id | n/a |
| extension | |
| extension (category-details) | |
| extension | |
| extension (reason-detail) | n/a |
| url | N/A |
| value[x] | N/A |
| value[x] (valueCoding) | N/A |
| extension (comment) | n/a |
| url | N/A |
| value[x] | N/A |
| value[x] (valueString) | N/A |
| url | N/A |
| coding | union(., ./translation) |
| text | ./originalText[mediaType/code="text/plain"]/data |
| priority | .priorityCode |
| subject | .participation[typeCode=SBJ].role |
| encounter | .inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN] |
| authoredOn | .participation[typeCode=AUT].time |
| requester | .participation[typeCode=AUT].role |
| performer | .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE] |
| reasonCode | .reasonCode |