0.1.1 - ci-build

This page is part of the MatchSync Implementation Guide (v0.1.1: Release Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: MSPrimaryDiagnosis - Mappings

Draft as of 2024-12-02

Mappings for the msdiagnosis resource profile.

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

MSPrimaryDiagnosis
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)

MSPrimaryDiagnosis
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)

MSPrimaryDiagnosis
ConditionPPR message
   meta
      security
      security (TransplantCenter)
         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
   subjectPID-3
   encounterPV1-19 (+PV1-54)
   onset[x]PRB-16
   recordedDateREL-11
   asserterREL-7.1 identifier + REL-7.12 type code
   stage
      summaryPRB-14
         codingC*E.1-8, C*E.10-22
         coding (NMDPDiseaseStage)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
   noteNTE child of PRB

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

MSPrimaryDiagnosis
ConditionEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]
   meta
      idn/a
      extensionn/a
      security
      security (TransplantCenter)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
   textAct.text?
   containedN/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
   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
         idn/a
         extensionn/a
         codingunion(., ./translation)
         coding (NMDPDiseaseStage)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         text./originalText[mediaType/code="text/plain"]/data
      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)

MSPrimaryDiagnosis
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)

MSPrimaryDiagnosis
Condition
   verificationStatus408729009
   severity246112005
   code246090004
   bodySite363698007