Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

Resource Profile: AthenaCondition - Mappings

Active as of 2022-03-01

Mappings for the athena-condition-profile resource profile.

Mappings for athenaFlow (http://unknown.org/athenaFlow)

AthenaCondition
ConditionFHIRR4_CONDITIONVIEW
   idMakeId("PROBLEM",%RESOURCEID%)
   meta
      versionIdMakeId(%SPRID%)
      lastUpdated%WHENUPDATED%
      security
      security (SENSITIVECHART)CheckSensitive(%SENSITIVECHART%)
      security (CONFABBR)
         systemgetSiteCodeSystem("ConfidentialDocument")
         code%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   identifierMakeIdentifier("U",getSiteSystem("ProblemId"),%RESOURCEID%)
   clinicalStatusMapConceptCode("active",%STOPREASON%,"CLINICALSTATUS")
   verificationStatusMapConcept(%VSTOPREASON%,"VERIFICATIONSTATUS",true)
   categoryMapConcept(%CATEGORY%,"CONDITIONCATEGORY")
   code
      coding
      coding (SNOMEDCODE)
         codeasCodeType(%SNOMEDCODE%,true)
      coding (ICD10CODE)
         codeasCodeType(%ICD10CODE%,true)
      coding (ICD9CODE)
         codeasCodeType(%ICD9CODE%,true)
      coding (CODE)
         codeasCodeType(%CODE%,true)
      text%DESCRIPTION%
   subjectMakeReference("PERSON",%PID%,"Patient")
   encounterMakeReference("DOCUMENT",%SDID%,"Encounter")
   onset[x]%ONSETDATE% | %APROXONSETDATE%
   abatement[x]%STOPDATE% | %APROXSTOPDATE%
   recordedDate%WHENCREATED%
   recorderMakeReference("USR",%CREATOR%,%USRID%,"Practitioner")
   asserterMakeReference("USR",%SIGNER%,"Practitioner")
   notemakeAnnotation(%ANNOTATE%)

Mappings for athenaPractice (http://unknown.org/athenaPractice)

AthenaCondition
ConditionFHIRR4_CONDITIONVIEW
   idMakeId("PROBLEM",%RESOURCEID%)
   meta
      versionIdMakeId(%SPRID%)
      lastUpdated%WHENUPDATED%
      security
      security (SENSITIVECHART)CheckSensitive(%SENSITIVECHART%)
      security (CONFABBR)
         systemgetSiteCodeSystem("ConfidentialDocument")
         code%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   identifierMakeIdentifier("U",getSiteSystem("ProblemId"),%RESOURCEID%)
   clinicalStatusMapConceptCode("active",%STOPREASON%,"CLINICALSTATUS")
   verificationStatusMapConcept(%VSTOPREASON%,"VERIFICATIONSTATUS",true)
   categoryMapConcept(%CATEGORY%,"CONDITIONCATEGORY")
   code
      coding
      coding (SNOMEDCODE)
         codeasCodeType(%SNOMEDCODE%,true)
      coding (ICD10CODE)
         codeasCodeType(%ICD10CODE%,true)
      coding (ICD9CODE)
         codeasCodeType(%ICD9CODE%,true)
      coding (CODE)
         codeasCodeType(%CODE%,true)
      text%DESCRIPTION%
   subjectMakeReference("PERSON",%PID%,"Patient")
   encounterMakeReference("DOCUMENT",%SDID%,"Encounter")
   onset[x]%ONSETDATE% | %APROXONSETDATE%
   abatement[x]%STOPDATE% | %APROXSTOPDATE%
   recordedDate%WHENCREATED%
   recorderMakeReference("USR",%CREATOR%,%USRID%,"Practitioner")
   asserterMakeReference("USR",%SIGNER%,"Practitioner")
   notemakeAnnotation(%ANNOTATE%)

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

AthenaCondition
ConditionEvent
   identifierEvent.identifier
   clinicalStatusEvent.status
   verificationStatusEvent.status
   codeEvent.code
   subjectEvent.subject
   encounterEvent.context
   onset[x]Event.occurrence[x]
   evidence
      codeEvent.reasonCode
   noteEvent.note

Mappings for SNOMED CT Concept Domain Binding (http://snomed.info/conceptdomain)

AthenaCondition
Condition< 243796009 |Situation with explicit context| : 246090004 |Associated finding| = ( ( < 404684003 |Clinical finding| MINUS ( << 420134006 |Propensity to adverse reactions| OR << 473010000 |Hypersensitivity condition| OR << 79899007 |Drug interaction| OR << 69449002 |Drug action| OR << 441742003 |Evaluation finding| OR << 307824009 |Administrative status| OR << 385356007 |Tumor stage finding|)) OR < 272379006 |Event|)
   clinicalStatus< 303105007 |Disease phases|
   verificationStatus< 410514004 |Finding context value|
   category< 404684003 |Clinical finding|
   severity< 272141005 |Severities|
   codecode 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS << 420134006 |Propensity to adverse reactions| MINUS << 473010000 |Hypersensitivity condition| MINUS << 79899007 |Drug interaction| MINUS << 69449002 |Drug action| MINUS << 441742003 |Evaluation finding| MINUS << 307824009 |Administrative status| MINUS << 385356007 |Tumor stage finding|) OR < 413350009 |Finding with explicit context| OR < 272379006 |Event|
   bodySite< 442083009 |Anatomical or acquired body structure|
   stage
      summary< 254291000 |Staging and scales|
   evidence
      code< 404684003 |Clinical finding|

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

AthenaCondition
ConditionPPR message
   meta
      security
      security (SENSITIVECHART)
      security (CONFABBR)
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
   clinicalStatusPRB-14
   verificationStatusPRB-13
   category'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message
   severityPRB-26 / ABS-3
   codePRB-3
      codingC*E.1-8, C*E.10-22
      coding (SNOMEDCODE)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (ICD10CODE)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (ICD9CODE)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (CODE)C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   subjectPID-3
   encounterPV1-19 (+PV1-54)
   onset[x]PRB-16
   recordedDateREL-11
   asserterREL-7.1 identifier + REL-7.12 type code
   stage
      summaryPRB-14
   noteNTE child of PRB

Mappings for RIM Mapping (http://hl7.org/v3)

AthenaCondition
ConditionEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]
   meta
      idn/a
      extensionn/a
      security
      security (SENSITIVECHART)
      security (CONFABBR)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   clinicalStatusObservation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="clinicalStatus", moodCode=EVN].value
   verificationStatusObservation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code="verificationStatus", moodCode=EVN].value
   category.code
   severityCan be pre/post-coordinated into value. Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="severity"].value
   code.value
      idn/a
      extensionn/a
      codingunion(., ./translation)
      coding (SNOMEDCODE)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (ICD10CODE)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (ICD9CODE)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      coding (CODE)union(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   bodySite.targetBodySiteCode
   subject.participation[typeCode=SBJ].role[classCode=PAT]
   encounter.inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
   onset[x].effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at onset"].value
   abatement[x].effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at remission"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed
   recordedDate.participation[typeCode=AUT].time
   recorder.participation[typeCode=AUT].role
   asserter.participation[typeCode=INF].role
   stage./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="stage/grade"]
      idn/a
      extensionn/a
      modifierExtensionN/A
      summary.value
      assessment.self
      type./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="stage type"]
   evidence.outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]
      idn/a
      extensionn/a
      modifierExtensionN/A
      code[code="diagnosis"].value
      detail.self
   note.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

AthenaCondition
Condition
   identifierFiveWs.identifier
   clinicalStatusFiveWs.status
   verificationStatusFiveWs.status
   categoryFiveWs.class
   severityFiveWs.grade
   codeFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   onset[x]FiveWs.init
   abatement[x]FiveWs.done[x]
   recordedDateFiveWs.recorded
   recorderFiveWs.author
   asserterFiveWs.source
   evidence
      codeFiveWs.why[x]
      detailFiveWs.why[x]

Mappings for SNOMED CT Attribute Binding (http://snomed.org/attributebinding)

AthenaCondition
Condition
   verificationStatus408729009
   severity246112005
   code246090004
   bodySite363698007