Mappings for the athena-medstatement-profile resource profile.
AthenaMedicationStatement |
MedicationStatement | FHIRR4_MEDICATIONSTATEMENTVIEW |
id | %MEDICATEGROUPID% |
meta | |
versionId | %RESOURCEID% |
lastUpdated | %WHENUPDATED% |
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-medstatement-extension-rxnorm") |
extension (medcategory) | |
value[x] | %MEDCATEGORY% |
identifier | MakeIdentifier("U",getSiteIdSystem("ExtMedication"),%EXTMEDICATEID%) |
status | IsActiveOrMapCode(%STOPDATE%,"active",%STOPREASON%,"MEDSTOPREASON") |
medication[x] | MakeMedicationReference("MEDINFO",%DDID%,"Medication",%DESCRIPTION%,%NDCNUM%) |
subject | MakeReference("PATIENT",%PID%,"Patient") |
context | MakeReference("MEDICATE",%SDID%,"Encounter") |
effective[x] | MakePeriod(%STARTDATE%,%STOPDATE%) |
dateAsserted | %WHENCREATED% |
informationSource | MakeReference("USR",%CREATOR%,"Practitioner") |
derivedFrom | MakeReferenceList("PRESCRIB",%PTID%,"MedicationRequest") |
reasonReference | MakeReference("PRESCRIB",%PROBID%,"Condition") |
note | makeAnnotation(%COMMENTS%) |
dosage | |
text | %INSTRUCTIONS% |
timing | MakeTiming(%PERIOD%,%PERIOD_UNIT%) |
route | MapConcept(%ROUTE%,"MEDICATIONROUTE") |
doseAndRate | |
dose[x] | MakeNonZeroQuantity(%DOSE%,%DOSE_UNIT%) |
AthenaMedicationStatement |
MedicationStatement | FHIRR4_MEDICATIONSTATEMENTVIEW |
id | %MEDICATEGROUPID% |
meta | |
versionId | %RESOURCEID% |
lastUpdated | %WHENUPDATED% |
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-medstatement-extension-rxnorm") |
extension (medcategory) | |
value[x] | %MEDCATEGORY% |
identifier | MakeIdentifier("U",getSiteIdSystem("ExtMedication"),%EXTMEDICATEID%) |
status | IsActiveOrMapCode(%STOPDATE%,"active",%STOPREASON%,"MEDSTOPREASON") |
medication[x] | MakeMedicationReference("MEDINFO",%DDID%,"Medication",%DESCRIPTION%,%NDCNUM%) |
subject | MakeReference("PATIENT",%PID%,"Patient") |
context | MakeReference("MEDICATE",%SDID%,"Encounter") |
effective[x] | MakePeriod(%STARTDATE%,%STOPDATE%) |
dateAsserted | %WHENCREATED% |
informationSource | MakeReference("USR",%CREATOR%,"Practitioner") |
derivedFrom | MakeReferenceList("PRESCRIB",%PTID%,"MedicationRequest") |
reasonReference | MakeReference("PRESCRIB",%PROBID%,"Condition") |
note | makeAnnotation(%COMMENTS%) |
dosage | |
text | %INSTRUCTIONS% |
timing | MakeTiming(%PERIOD%,%PERIOD_UNIT%) |
route | MapConcept(%ROUTE%,"MEDICATIONROUTE") |
doseAndRate | |
dose[x] | MakeNonZeroQuantity(%DOSE%,%DOSE_UNIT%) |
AthenaMedicationStatement |
MedicationStatement | 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 |
extension (rxnorm) | |
extension (medcategory) | |
id | n/a |
extension | n/a |
url | N/A |
value[x] | N/A |
modifierExtension | N/A |
identifier | .id |
basedOn | .outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP] |
partOf | .outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS,moodCode=EVN] |
status | .statusCode |
statusReason | .inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde |
category | .inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication usage"].value |
medication[x] | .participation[typeCode=CSM].role[classCode=ADMM or MANU] |
subject | .participation[typeCode=SBJ].role[classCode=PAT] |
context | .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code="type of encounter or episode"] |
effective[x] | .effectiveTime |
dateAsserted | .participation[typeCode=AUT].time |
informationSource | .participation[typeCode=INF].role[classCode=PAT, or codes for Practioner or Related Person (if PAT is the informer, then syntax for self-reported =true) |
derivedFrom | .outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN] |
reasonCode | .reasonCode |
reasonReference | .outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="reason for use"].value |
note | .inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value |
dosage | refer dosageInstruction mapping |
id | n/a |
extension | n/a |
modifierExtension | N/A |
sequence | .text |
text | .text |
additionalInstruction | .text |
patientInstruction | .text |
timing | .effectiveTime |
asNeeded[x] | .outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code="as needed"].value=boolean or codable concept |
site | .approachSiteCode |
route | .routeCode |
method | .doseQuantity |
doseAndRate | |
id | n/a |
extension | n/a |
dose[x] | .doseQuantity |
rate[x] | .rateQuantity |
maxDosePerPeriod | .maxDoseQuantity |
maxDosePerAdministration | not supported |
maxDosePerLifetime | not supported |