MyHealtheVet PHR FHIR API
0.3.9-current - ci-build United States of America flag

MyHealtheVet PHR FHIR API, published by VA Digital Services. This guide is not an authorized publication; it is the continuous build for version 0.3.9-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/department-of-veterans-affairs/mhv-fhir-phr-mapping/ and changes regularly. See the Directory of published versions

Resource Profile: MHVchTest - Mappings

Page standards status: Trial-use Maturity Level: 1

Mappings for the VA.MHV.PHR.chTest resource profile.

Mappings for HDR labTests to mhv-fhir-phr (labTestPromises.labTests)

MHVchTest
ObservationHDR labTests
   basedOnServiceRequest (labTestPromises.orderedTestCode)
   status~observationStatus map with VF-ChemistryResult-ObservationStatus()
   category`laboratory`
   codetestIdentifier
      codingtestIdentifier.code
      texttestIdentifier.displayText
   subjectpatient
   effective[x] (effectiveDateTime)ConvertDate(labTestPromises.specimen.specimenTakenDate)
   issuedConvertDate(labTestPromises.reportCompleDate.literal)
   performerGetOrganization(performingOrganization)
   value[x] (valueQuantity)observatonValue when quantity
   value[x] (valueString)observationValue when string or no units
   interpretation
      coding
         system`http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation`
         code`.L`, `LL`, `H`, `HH`, or `A`
      textvalueInterpretation
   notelabCommentEvents
   specimenSpecimen (labTestPromises.specimen)
   referenceRangereferenceRange

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

MHVchTest
ObservationEvent
   basedOnEvent.basedOn
   statusEvent.status
   codeEvent.code
   subjectEvent.subject
   effective[x]Event.occurrence[x]
   effective[x] (effectiveDateTime)Event.occurrence[x]
   performerEvent.performer.actor

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

MHVchTest
Observation< 363787002 |Observable entity|
   status< 445584004 |Report by finality status|
   code< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|
   value[x]< 441742003 |Evaluation finding|
   value[x] (valueQuantity)< 441742003 |Evaluation finding|
   value[x] (valueString)< 441742003 |Evaluation finding|
   interpretation< 260245000 |Findings values|
   specimen< 123038009 |Specimen|
   referenceRange

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

MHVchTest
ObservationOBX
   basedOnORC
   statusOBX-11
   codeOBX-3
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   subjectPID-3
   effective[x]OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)
   effective[x] (effectiveDateTime)OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)
   issuedOBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)
   performerOBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'
   value[x]OBX.2, OBX.5, OBX.6
   value[x] (valueQuantity)OBX.2, OBX.5, OBX.6
   value[x] (valueString)OBX.2, OBX.5, OBX.6
   interpretationOBX-8
      codingC*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.3 (partner NTE to OBX, or sometimes another (child?) OBX)
   specimenSPM segment
   referenceRangeOBX.7
      textOBX-7

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

MHVchTest
ObservationEntity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   basedOn.inboundRelationship[typeCode=COMP].source[moodCode=EVN]
   statusstatus Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of "revise"
   category.outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
   category (Laboratory).outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
   codecode
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   subjectparticipation[typeCode=RTGT]
   effective[x]effectiveTime
   effective[x] (effectiveDateTime)effectiveTime
   issuedparticipation[typeCode=AUT].time
   performerparticipation[typeCode=PRF]
   value[x]value
   value[x] (valueQuantity)value
   value[x] (valueString)value
   interpretationinterpretationCode
      idn/a
      extensionn/a
      codingunion(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   notesubjectOf.observationEvent[code="annotation"].value
   specimenparticipation[typeCode=SPC].specimen
   referenceRangeoutboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]
      idn/a
      extensionn/a
      modifierExtensionN/A
      textvalue:ST

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

MHVchTest
Observation
   statusFiveWs.status
   categoryFiveWs.class
   category (Laboratory)FiveWs.class
   codeFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   effective[x]FiveWs.done[x]
   effective[x] (effectiveDateTime)FiveWs.done[x]
   issuedFiveWs.recorded
   performerFiveWs.actor

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

MHVchTest
Observation
   code116680003 |Is a|
   value[x]363714003 |Interprets|
   value[x] (valueQuantity)363714003 |Interprets|
   value[x] (valueString)363714003 |Interprets|
   interpretation363713009 |Has interpretation|
   specimen704319004 |Inherent in|