Mappings for the athena-medicationadmin-profile resource profile.
AthenaMedicationAdministration |
MedicationAdministration | FHIRR4_MEDICATIONADMINISTRATIONVIEW |
id | %MEDADMINGROUPID% |
meta | |
versionId | %MEDADMINISTRATIONID% |
lastUpdated | %DB_UPDATED_DATE% |
security | |
security (SENSITIVECHART) | CheckSensitive(%SENSITIVECHART%) |
security (CONFABBR) | |
system | getSiteCodeSystem("ConfidentialDocument") |
code | %CONFABBR% |
tag | MakeChangeTagList(%CHANGE%) |
extension | |
extension (ndc) | |
value[x] | MakeConcept(%NDCNUM%,"http://hl7.org/fhir/sid/ndc",null) |
extension (ddid) | |
value[x] | MakeConcept(%DDID%,"http://docs.wolterskluwercdi.com/codesystems/ddid",null) |
extension (rxnorm) | MakeRxnormExtensionList(%RXNORM%,"http://www.nlm.nih.gov/research/umls/rxnorm",null,"https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationadmin-extension-rxnorm") |
identifier | MakeIdentifier("U",getSiteSystem("MedicationAdministrationId"),%MEDADMINGROUPID%) |
status | MapMedAdminStatus(%STOPDATETIME%,%INACTIVE%,%FILEDINERROR%,%REASONREMOVED%,"in-progress","MedicationAdministrationStatus") |
medication[x] | MakeReference("MEDINFO",%DDID%,"Medication", %PRODUCTNAME%) |
subject | MakeReference("PATIENT",%PID%,"Patient") |
context | MakeReference("DOCUMENT",%SDID%,"Encounter") |
effective[x] | MakePeriod(%STARTDATETIME%,%STOPDATETIME%) |
performer | |
actor | MakeReference("USR",%ADMINISTEREDBYPVID%,"Practitioner") |
reasonCode | MakeTextConcept(%PRIMARYDIAGNOSIS%) |
request | MakeReference("MEDADMINREQUEST",%MEDADMINREQUESTID%,"MedicationRequest","MedicationAdministration") |
note | makeAnnotation(%ADMINCOMMENTS%) |
dosage | |
site | MakeConcept(%SITECODE%,"http://hl7.org/fhir/v3/ActSite",%SITE%) |
route | MakeConcept(%ROUTECODE%,"http://ncimeta.nci.nih.gov",%ROUTE%) |
dose | MakeNonZeroQuantity(%ADMINDOSE%,%ADMINUNITS%) |
AthenaMedicationAdministration |
MedicationAdministration | FHIRR4_MEDICATIONADMINISTRATIONVIEW |
id | %MEDADMINGROUPID% |
meta | |
versionId | %MEDADMINISTRATIONID% |
lastUpdated | %DB_UPDATED_DATE% |
security | |
security (SENSITIVECHART) | CheckSensitive(%SENSITIVECHART%) |
security (CONFABBR) | |
system | getSiteCodeSystem("ConfidentialDocument") |
code | %CONFABBR% |
tag | MakeChangeTagList(%CHANGE%) |
extension | |
extension (ndc) | |
value[x] | MakeConcept(%NDCNUM%,"http://hl7.org/fhir/sid/ndc",null) |
extension (ddid) | |
value[x] | MakeConcept(%DDID%,"http://docs.wolterskluwercdi.com/codesystems/ddid",null) |
extension (rxnorm) | MakeRxnormExtensionList(%RXNORM%,"http://www.nlm.nih.gov/research/umls/rxnorm",null,"https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationadmin-extension-rxnorm") |
identifier | MakeIdentifier("U",getSiteSystem("MedicationAdministrationId"),%MEDADMINGROUPID%) |
status | MapMedAdminStatus(%STOPDATETIME%,%INACTIVE%,%FILEDINERROR%,%REASONREMOVED%,"in-progress","MedicationAdministrationStatus") |
medication[x] | MakeReference("MEDINFO",%DDID%,"Medication", %PRODUCTNAME%) |
subject | MakeReference("PATIENT",%PID%,"Patient") |
context | MakeReference("DOCUMENT",%SDID%,"Encounter") |
effective[x] | MakePeriod(%STARTDATETIME%,%STOPDATETIME%) |
performer | |
actor | MakeReference("USR",%ADMINISTEREDBYPVID%,"Practitioner") |
reasonCode | MakeTextConcept(%PRIMARYDIAGNOSIS%) |
request | MakeReference("MEDADMINREQUEST",%MEDADMINREQUESTID%,"MedicationRequest","MedicationAdministration") |
note | makeAnnotation(%ADMINCOMMENTS%) |
dosage | |
site | MakeConcept(%SITECODE%,"http://hl7.org/fhir/v3/ActSite",%SITE%) |
route | MakeConcept(%ROUTECODE%,"http://ncimeta.nci.nih.gov",%ROUTE%) |
dose | MakeNonZeroQuantity(%ADMINDOSE%,%ADMINUNITS%) |
AthenaMedicationAdministration |
MedicationAdministration | Entity. Role, or Act, SubstanceAdministration |
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 |
text | Act.text? |
contained | N/A |
extension | |
extension (ndc) | |
id | n/a |
extension | n/a |
url | N/A |
value[x] | N/A |
extension (ddid) | |
id | n/a |
extension | n/a |
url | N/A |
value[x] | N/A |
modifierExtension | N/A |
identifier | .id |
instantiates | .outboundRelationship[typeCode=DEFN].target[classCode=unspecified] |
partOf | .outboundRelationship[typeCode=COMP]/target[classCode=SBADM or PROC,moodCode=EVN] |
status | .statusCode |
statusReason | .outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="reason not given"].value |
category | .inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication usage"].value |
medication[x] | .participation[typeCode=CSM].role[classCode=ADMM] |
subject | .participation[typeCode=SBJ].role[classCode=PAT] |
context | .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code="type of encounter or episode"] |
supportingInformation | .outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)] |
effective[x] | .effectiveTime |
performer | .participation[typeCode=PRF] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
function | participation[typeCode=PRF].functionCode |
actor | .role |
reasonCode | .reasonCode |
reasonReference | .outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="reason for use ASSERTION"].value |
request | InFullfillmentOf->SubstanceAdministration |
device | device->Access OR device->AssignedDevice |
note | .inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value |
dosage | component->SubstanceAdministrationEvent |
id | n/a |
extension | n/a |
modifierExtension | N/A |
text | .text |
site | .approachSiteCode |
route | .routeCode |
method | .methodCode |
dose | .doseQuantity |
rate[x] | .rateQuantity |
eventHistory | .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN] |
AthenaMedicationAdministration |
MedicationAdministration | |
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 |
status | RXA-20-Completion Status |
statusReason | RXA-9-Administration Notes / RXA-18 Substance/Treatment Refusal Reason |
medication[x] | RXA-5-Administered Code |
subject | PID-3-Patient ID List |
context | PV1-19-Visit Number |
effective[x] | RXA-3-Date/Time Start of Administration / RXA-4-Date/Time End of Administration |
performer | RXA-10-Administering Provider / PRT-5-Participation Person: PRT-4-Participation='AP' (RXA-10 is deprecated) |
reasonCode | RXE-27 Give Indication |
request | ORC-2-Placer Order Number / ORC-3-Filler Order Number |
device | PRT-10 Participation Device / RXR-3 Administrative Device |
dosage | |
site | RXR-2 Administration Site / RXR-6 Administration Site Modifier |
route | RXR-1-Route |
method | RXR-4-Administration Method |
dose | RXA-6 Administered Amount / RXA-7 Administered Units |
rate[x] | RXA-12-Administered Per (Time Unit) |