Primary care data acquisition API
0.2.0 - ci-build

Primary care data acquisition API, published by Health New Zealand. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/tewhatuora/fhir-primary-care-acquisition/ and changes regularly. See the Directory of published versions

Resource Profile: PrimaryCareCondition - Mappings

Draft as of 2024-12-06

Mappings for the PrimaryCareCondition resource profile.

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

PrimaryCareCondition
ConditionEvent
   identifierEvent.identifier
   identifier (HealthRecordKey)Event.identifier
   clinicalStatusEvent.status
   verificationStatusEvent.status
   codeEvent.code
   subjectEvent.subject
   onset[x]Event.occurrence[x]
   evidence
      codeEvent.reasonCode
   noteEvent.note

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

PrimaryCareCondition
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|
   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|
   evidence
      code< 404684003 |Clinical finding|

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

PrimaryCareCondition
ConditionPPR message
   identifier
   identifier (HealthRecordKey)
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   clinicalStatusPRB-14
   verificationStatusPRB-13
   category'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message
   codePRB-3
   subjectPID-3
   onset[x]PRB-16
   asserterREL-7.1 identifier + REL-7.12 type code
   noteNTE child of PRB

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

PrimaryCareCondition
ConditionEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]
   textAct.text?
   identifier.id
   identifier (HealthRecordKey).id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   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
   code.value
   subject.participation[typeCode=SBJ].role[classCode=PAT]
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   onset[x].effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at onset"].value
   asserter.participation[typeCode=INF].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   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)

PrimaryCareCondition
Condition
   identifierFiveWs.identifier
   identifier (HealthRecordKey)FiveWs.identifier
   clinicalStatusFiveWs.status
   verificationStatusFiveWs.status
   categoryFiveWs.class
   codeFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   onset[x]FiveWs.init
   asserterFiveWs.source
   evidence
      codeFiveWs.why[x]
      detailFiveWs.why[x]

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

PrimaryCareCondition
Condition
   verificationStatus408729009
   code246090004