Mappings for the athena-medstatement-profile resource profile.
| Name | athenaFlow | athenaPractice | Workflow Pattern | RIM Mapping | FiveWs Pattern Mapping | HL7 v2 Mapping |
 MedicationStatement |
FHIRR4_MEDICATIONSTATEMENTVIEW |
FHIRR4_MEDICATIONSTATEMENTVIEW |
Event |
SubstanceAdministration |
|
|
  id |
%MEDICATEGROUPID% |
%MEDICATEGROUPID% |
|
|
|
|
  meta |
|
|
|
|
|
|
   id |
|
|
|
n/a |
|
|
   extension |
|
|
|
n/a |
|
|
   versionId |
%RESOURCEID% |
%RESOURCEID% |
|
|
|
|
   lastUpdated |
%WHENUPDATED% |
%WHENUPDATED% |
|
|
|
|
   source |
|
|
|
|
|
|
   Slices for profile |
|
|
|
|
|
|
    profile:athena-medstatement-profile |
|
|
|
|
|
|
   Slices for security |
|
|
|
|
|
|
    security:SENSITIVECHART |
CheckSensitive(%SENSITIVECHART%) |
CheckSensitive(%SENSITIVECHART%) |
|
|
|
|
    security:CONFABBR |
|
|
|
|
|
|
     id |
|
|
|
n/a |
|
|
     extension |
|
|
|
n/a |
|
|
     system |
getSiteCodeSystem("ConfidentialDocument") |
getSiteCodeSystem("ConfidentialDocument") |
|
./codeSystem |
|
C*E.3 |
     version |
|
|
|
./codeSystemVersion |
|
C*E.7 |
     code |
%CONFABBR% |
%CONFABBR% |
|
./code |
|
C*E.1 |
     display |
|
|
|
CV.displayName |
|
C*E.2 - but note this is not well followed |
     userSelected |
|
|
|
CD.codingRationale |
|
Sometimes implied by being first |
   tag |
MakeChangeTagList(%CHANGE%) |
MakeChangeTagList(%CHANGE%) |
|
|
|
|
  implicitRules |
|
|
|
|
|
|
  language |
|
|
|
|
|
|
  text |
|
|
|
Act.text? |
|
|
  contained |
|
|
|
N/A |
|
|
  Slices for extension |
|
|
|
|
|
|
   extension:ndc |
|
|
|
|
|
|
    id |
|
|
|
n/a |
|
|
    extension |
|
|
|
n/a |
|
|
    url |
|
|
|
N/A |
|
|
    value[x] |
- MakeConcept(%NDCNUM%
- //hl7.org/fhir/sid/ndc"
- null)
|
- MakeConcept(%NDCNUM%
- //hl7.org/fhir/sid/ndc"
- null)
|
|
N/A |
|
|
   extension:ddid |
|
|
|
|
|
|
    id |
|
|
|
n/a |
|
|
    extension |
|
|
|
n/a |
|
|
    url |
|
|
|
N/A |
|
|
    value[x] |
- MakeConcept(%DDID%
- //docs.wolterskluwercdi.com/codesystems/ddid"
- null)
|
- MakeConcept(%DDID%
- //docs.wolterskluwercdi.com/codesystems/ddid"
- null)
|
|
N/A |
|
|
   extension:rxnorm |
- MakeRxnormExtensionList(%RXNORM%
- //www.nlm.nih.gov/research/umls/rxnorm"
- null
- //docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medstatement-extension-rxnorm")
|
- MakeRxnormExtensionList(%RXNORM%
- //www.nlm.nih.gov/research/umls/rxnorm"
- null
- //docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medstatement-extension-rxnorm")
|
|
|
|
|
   extension:medcategory |
|
|
|
|
|
|
    id |
|
|
|
n/a |
|
|
    extension |
|
|
|
n/a |
|
|
    url |
|
|
|
N/A |
|
|
    value[x] |
%MEDCATEGORY% |
%MEDCATEGORY% |
|
N/A |
|
|
  modifierExtension |
|
|
|
N/A |
|
|
  identifier |
- MakeIdentifier("U"
- getSiteIdSystem("ExtMedication")
- %EXTMEDICATEID%)
|
- MakeIdentifier("U"
- getSiteIdSystem("ExtMedication")
- %EXTMEDICATEID%)
|
Event.identifier |
.id |
FiveWs.identifier |
|
  basedOn |
|
|
Event.basedOn |
- .outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS
- moodCode=RQO orPLAN or PRP]
|
|
|
  partOf |
|
|
Event.partOf |
- .outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS
- moodCode=EVN]
|
|
|
  status |
- IsActiveOrMapCode(%STOPDATE%
- "active"
- %STOPREASON%
- "MEDSTOPREASON")
|
- IsActiveOrMapCode(%STOPDATE%
- "active"
- %STOPREASON%
- "MEDSTOPREASON")
|
Event.status |
.statusCode |
FiveWs.status |
|
  statusReason |
|
|
Event.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
|
FiveWs.class |
|
  medication[x] |
- MakeMedicationReference("MEDINFO"
- %DDID%
- "Medication"
- %DESCRIPTION%
- %NDCNUM%)
|
- MakeMedicationReference("MEDINFO"
- %DDID%
- "Medication"
- %DESCRIPTION%
- %NDCNUM%)
|
Event.code |
.participation[typeCode=CSM].role[classCode=ADMM or MANU] |
FiveWs.what[x] |
|
  subject |
- MakeReference("PATIENT"
- %PID%
- "Patient")
|
- MakeReference("PATIENT"
- %PID%
- "Patient")
|
Event.subject |
.participation[typeCode=SBJ].role[classCode=PAT] |
FiveWs.subject |
PID-3-Patient ID List |
  context |
- MakeReference("MEDICATE"
- %SDID%
- "Encounter")
|
- MakeReference("MEDICATE"
- %SDID%
- "Encounter")
|
Event.context |
- .inboundRelationship[typeCode=COMP].source[classCode=ENC
- moodCode=EVN
- code="type of encounter or episode"]
|
|
|
  effective[x] |
- MakePeriod(%STARTDATE%
- %STOPDATE%)
|
- MakePeriod(%STARTDATE%
- %STOPDATE%)
|
Event.occurrence[x] |
.effectiveTime |
FiveWs.done[x] |
|
  dateAsserted |
%WHENCREATED% |
%WHENCREATED% |
|
.participation[typeCode=AUT].time |
FiveWs.recorded |
|
  informationSource |
- MakeReference("USR"
- %CREATOR%
- "Practitioner")
|
- MakeReference("USR"
- %CREATOR%
- "Practitioner")
|
|
- .participation[typeCode=INF].role[classCode=PAT
- or codes for Practioner or Related Person (if PAT is the informer
- then syntax for self-reported =true)
|
FiveWs.source |
|
  derivedFrom |
- MakeReferenceList("PRESCRIB"
- %PTID%
- "MedicationRequest")
|
- MakeReferenceList("PRESCRIB"
- %PTID%
- "MedicationRequest")
|
|
- .outboundRelationship[typeCode=SPRT]/target[classCode=ACT
- moodCode=EVN]
|
|
|
  reasonCode |
|
|
Event.reasonCode |
.reasonCode |
FiveWs.why[x] |
|
  reasonReference |
- MakeReference("PRESCRIB"
- %PROBID%
- "Condition")
|
- MakeReference("PRESCRIB"
- %PROBID%
- "Condition")
|
Event.reasonReference |
- .outboundRelationship[typeCode=RSON]/target[classCode=OBS
- moodCode=EVN
- code="reason for use"].value
|
FiveWs.why[x] |
|
  note |
makeAnnotation(%COMMENTS%) |
makeAnnotation(%COMMENTS%) |
Event.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 |
|
TQ1-1 |
   text |
%INSTRUCTIONS% |
%INSTRUCTIONS% |
|
.text |
|
RXO-6; RXE-21 |
   additionalInstruction |
|
|
|
.text |
|
RXO-7 |
   patientInstruction |
|
|
|
.text |
|
RXO-7 |
   timing |
- MakeMedicateTiming(%FREQUENCY%
- %PERIOD%
- %PERIODUNIT%)
|
- MakeMedicateTiming(%FREQUENCY%
- %PERIOD%
- %PERIODUNIT%)
|
|
.effectiveTime |
|
|
   asNeeded[x] |
|
|
|
- .outboundRelationship[typeCode=PRCN].target[classCode=OBS
- moodCode=EVN
- code="as needed"].value=boolean or codable concept
|
|
TQ1-9 |
   site |
|
|
|
.approachSiteCode |
|
RXR-2 |
   route |
- MapConcept(%ROUTE%
- "MEDICATIONROUTE")
|
- MapConcept(%ROUTE%
- "MEDICATIONROUTE")
|
|
.routeCode |
|
RXR-1 |
   method |
|
|
|
.doseQuantity |
|
RXR-4 |
   doseAndRate |
|
|
|
|
|
TQ1-2 |
    id |
|
|
|
n/a |
|
|
    extension |
|
|
|
n/a |
|
|
    type |
|
|
|
|
|
RXO-21; RXE-23 |
    dose[x] |
- MakeNonZeroQuantity(%DOSE%
- %DOSE_UNIT%)
|
- MakeNonZeroQuantity(%DOSE%
- %DOSE_UNIT%)
|
|
.doseQuantity |
|
|
    rate[x] |
|
|
|
.rateQuantity |
|
|
   maxDosePerPeriod |
|
|
|
.maxDoseQuantity |
|
|
   maxDosePerAdministration |
|
|
|
not supported |
|
|
   maxDosePerLifetime |
|
|
|
not supported |
|
|
Documentation for this format |