Mappings for the athena-servicerequest-profile resource profile.
AthenaServiceRequest |
ServiceRequest | FHIRR4_SERVICEREQUESTVIEW |
id | %ORDGROUPID% |
meta | |
versionId | %ORDERID% |
lastUpdated | %DB_UPDATED_DATE% |
security | |
security (SENSITIVECHART) | CheckSensitive(%SENSITIVECHART%) |
security (CONFABBR) | |
system | getSiteCodeSystem("ConfidentialDocument") |
code | %CONFABBR% |
security (LOCATION) | |
system | getSiteCodeSystem("Location") |
code | %LOCATIONID% |
security (CONFTYPEID) | |
system | getSiteCodeSystem("ConfTypeId") |
code | %CONFTYPEID% |
tag | MakeChangeTagSwitchList(%CHANGE%) |
identifier | MakeIdentifier("U",getSiteSystem("ORDERNUM"),%ORDERNUM%) |
status | MapCode(%STATUS%,"SERVICEREQUESTSTATUS") |
intent | %INTENT% |
category | MapConcept(%ORDERTYPE%,"SERVICEREQUESTCATEGORY") |
priority | MapCode(%PRIORITY%,"SERVICEREQUESTPRIORITY") |
code | MapOrderCodeConcept(%CODE%,%DESCRIPTION%,%SYSTEM%) |
subject | MakeReference("PERSON",%PID%,"Patient") |
encounter | MakeReference("DOCUMENT",%SDID%,"Encounter") |
occurrence[x] | %ORDERDATE% |
requester | MakeReference("USR",%ORDERER%,"Practitioner") |
performer | MakeReference("SERVPROV",%SERVPROVID%,"Practitioner") |
reasonCode | MakeTextConcept(%REASON%) |
supportingInfo | MakeReferenceList("PROBLEM",%SPRID%,"Condition") |
note | makeAnnotation(%COMMENTS%) |
AthenaServiceRequest |
ServiceRequest | FHIRR4_SERVICEREQUESTVIEW |
id | %ORDGROUPID% |
meta | |
versionId | %ORDERID% |
lastUpdated | %DB_UPDATED_DATE% |
security | |
security (SENSITIVECHART) | CheckSensitive(%SENSITIVECHART%) |
security (CONFABBR) | |
system | getSiteCodeSystem("ConfidentialDocument") |
code | %CONFABBR% |
security (LOCATION) | |
system | getSiteCodeSystem("Location") |
code | %LOCATIONID% |
security (CONFTYPEID) | |
system | getSiteCodeSystem("ConfTypeId") |
code | %CONFTYPEID% |
tag | MakeChangeTagSwitchList(%CHANGE%) |
identifier | MakeIdentifier("U",getSiteSystem("ORDERNUM"),%ORDERNUM%) |
status | MapCode(%STATUS%,"SERVICEREQUESTSTATUS") |
intent | %INTENT% |
category | MapConcept(%ORDERTYPE%,"SERVICEREQUESTCATEGORY") |
priority | MapCode(%PRIORITY%,"SERVICEREQUESTPRIORITY") |
code | MapOrderCodeConcept(%CODE%,%DESCRIPTION%,%SYSTEM%) |
subject | MakeReference("PERSON",%PID%,"Patient") |
encounter | MakeReference("DOCUMENT",%SDID%,"Encounter") |
occurrence[x] | %ORDERDATE% |
requester | MakeReference("USR",%ORDERER%,"Practitioner") |
performer | MakeReference("SERVPROV",%SERVPROVID%,"Practitioner") |
reasonCode | MakeTextConcept(%REASON%) |
supportingInfo | MakeReferenceList("PROBLEM",%SPRID%,"Condition") |
note | makeAnnotation(%COMMENTS%) |
AthenaServiceRequest |
ServiceRequest | ORC |
meta | |
security | |
security (SENSITIVECHART) | |
security (CONFABBR) | |
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 |
security (LOCATION) | |
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 |
security (CONFTYPEID) | |
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 |
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 |
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 |
AthenaServiceRequest |
ServiceRequest | Entity. Role, or Act, Act[moodCode<=INT] |
meta | |
id | n/a |
extension | n/a |
security | |
security (SENSITIVECHART) | |
security (CONFABBR) | |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
security (LOCATION) | |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
security (CONFTYPEID) | |
id | n/a |
extension | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
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] |
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] |