Mappings for the athena-procedure-profile resource profile.
| AthenaProcedure |
| Procedure | FHIRR4_PROCEDUREVIEW |
| id | %RESOURCEID% |
| meta | |
| versionId | MakeId(%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%) |
| basedOn | MakeReference("ORDERS",%RESOURCEID%,"ServiceRequest") |
| status | MapCode(%DSTATUS%,"PROCEDURESTATUS") |
| statusReason | MakeTextConcept(%CANCELREASON%) |
| code | MakeOrderCodeConcept(%CODE%, %DESCRIPTION%,%SYSTEM%,%MODIFIERCODES%) |
| subject | MakeReference("PERSON",%PID%,"Patient") |
| encounter | MakeReference("DOCUMENT",%SDID%,"Encounter") |
| performed[x] | %COMPLETED_DT% |
| performer | |
| actor | MakeReference("USR",%PERFORMER%,"Practitioner") |
| reasonReference | MakeReference("PROBLEM",%SPRID%,"Condition") |
| note | makeAnnotation(%CLINCOMMENTS%) |
| AthenaProcedure |
| Procedure | FHIRR4_PROCEDUREVIEW |
| id | %RESOURCEID% |
| meta | |
| versionId | MakeId(%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%) |
| basedOn | MakeReference("ORDERS",%RESOURCEID%,"ServiceRequest") |
| status | MapCode(%DSTATUS%,"PROCEDURESTATUS") |
| statusReason | MakeTextConcept(%CANCELREASON%) |
| code | MakeOrderCodeConcept(%CODE%, %DESCRIPTION%,%SYSTEM%,%MODIFIERCODES%) |
| subject | MakeReference("PERSON",%PID%,"Patient") |
| encounter | MakeReference("DOCUMENT",%SDID%,"Encounter") |
| performed[x] | %COMPLETED_DT% |
| performer | |
| actor | MakeReference("USR",%PERFORMER%,"Practitioner") |
| reasonReference | MakeReference("PROBLEM",%SPRID%,"Condition") |
| note | makeAnnotation(%CLINCOMMENTS%) |
| AthenaProcedure |
| Procedure | Entity. Role, or Act, Procedure[moodCode=EVN] |
| 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 | .id |
| instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target |
| instantiatesUri | .outboundRelationship[typeCode=DEFN].target |
| basedOn | .outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code |
| partOf | .inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN] |
| status | statusCode |
| statusReason | .reason.Observation.value |
| category | .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code |
| code | .code |
| subject | .participation[typeCode=SBJ].role |
| encounter | .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN] |
| performed[x] | .effectiveTime |
| recorder | .participation[typeCode=AUT].role |
| asserter | .participation[typeCode=INF].role |
| performer | .participation[typeCode=PRF] |
| id | n/a |
| extension | n/a |
| modifierExtension | N/A |
| function | .functionCode |
| actor | .role |
| onBehalfOf | .scoper |
| location | .participation[typeCode=LOC].role[classCode=SDLOC] |
| reasonCode | .reasonCode |
| reasonReference | .reasonCode |
| bodySite | .targetSiteCode |
| outcome | .outboundRelationship[typeCode=OUT].target.text |
| report | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN] |
| complication | .outboundRelationship[typeCode=OUTC].target[classCode=OBS, code="complication", moodCode=EVN].value |
| complicationDetail | .outboundRelationship[typeCode=OUTC].target[classCode=OBS, code="complication", moodCode=EVN].value |
| followUp | .outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code |
| note | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value |
| focalDevice | .participation[typeCode=DEV].role[classCode=MANU] |
| id | n/a |
| extension | n/a |
| modifierExtension | N/A |
| action | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="procedure device action"].value=:procedure device action codes |
| manipulated | .participation[typeCode=DEV].role[classCode=SDLOC] |
| usedReference | .participation[typeCode=DEV].role[classCode=MANU] or
.participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance) |
| usedCode | participation[typeCode=Dev].role[classCode=MANU] |
| AthenaProcedure |
| Procedure | |
| 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 | Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4 |
| code | OBR-44/OBR-45 |
| subject | PID-3 |
| encounter | PV1-19 |
| performed[x] | OBR-7 |
| performer | |
| function | Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25 |
| actor | ORC-19/PRT-5 |
| bodySite | OBX-20 |
| note | NTE |