Mappings for the athena-observation-profile resource profile.
| Name | athenaFlow | athenaPractice | Workflow Pattern | SNOMED CT Concept Domain Binding | HL7 v2 Mapping | RIM Mapping | FiveWs Pattern Mapping | SNOMED CT Attribute Binding |
 Observation |
FHIRR4_OBSERVATIONVIEW |
FHIRR4_OBSERVATIONVIEW |
Event |
< 363787002 |Observable entity| |
OBX |
- Observation[classCode=OBS
- moodCode=EVN]
|
|
|
  id |
- MakeIdWithPrefix(%RESOURCEID%
- %ID_PREFIX%)
|
- MakeIdWithPrefix(%RESOURCEID%
- %ID_PREFIX%)
|
|
|
|
|
|
|
  meta |
|
|
|
|
|
|
|
|
   id |
|
|
|
|
|
n/a |
|
|
   extension |
|
|
|
|
|
n/a |
|
|
   versionId |
- MakeIdWithPrefix(%RESOURCEID%
- %ID_PREFIX%)
|
- MakeIdWithPrefix(%RESOURCEID%
- %ID_PREFIX%)
|
|
|
|
|
|
|
   lastUpdated |
%WHENUPDATED% |
%WHENUPDATED% |
|
|
|
|
|
|
   source |
|
|
|
|
|
|
|
|
   Slices for profile |
|
|
|
|
|
|
|
|
    profile:HL7 TravelHistory Profile |
- IfEqual(%RESOURCETYPE%
- //hl7.org/fhir/us/ecr/StructureDefinition/travel-history-observation")
|
- IfEqual(%RESOURCETYPE%
- //hl7.org/fhir/us/ecr/StructureDefinition/travel-history-observation")
|
|
|
|
|
|
|
    profile:Athena Allergy Profile |
|
|
|
|
|
|
|
|
    profile:US Core Observation Lab Profile |
- IfEqual(MapLabCoding(r.HG_GROUPID.getBigDecimal(rs)
- r.HDID.getBigDecimal(rs)
- "OBSHIERGRPSTOCATEGORY") != null ? MapLabCoding(r.HG_GROUPID.getBigDecimal(rs)
- r.HDID.getBigDecimal(rs)
- null
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab")
|
- IfEqual(MapLabCoding(r.HG_GROUPID.getBigDecimal(rs)
- r.HDID.getBigDecimal(rs)
- "OBSHIERGRPSTOCATEGORY") != null ? MapLabCoding(r.HG_GROUPID.getBigDecimal(rs)
- r.HDID.getBigDecimal(rs)
- null
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab")
|
|
|
|
|
|
|
    profile:US Core Pediatric BMI For Age Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age")
|
|
|
|
|
|
|
    profile:US Core Pulse Oximetry Profile |
- %HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry")
|
- %HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry")
|
|
|
|
|
|
|
    profile:US Core Pediatric Head Occipital-frontal Circumference Percentile Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile")
|
|
|
|
|
|
|
    profile:US Core Pediatric Weight For Height Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height")
|
|
|
|
|
|
|
    profile:US Core Smokingstatus Profile |
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "72166-2")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus")
|
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "72166-2")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus")
|
|
|
|
|
|
|
    profile:US Core Blood Pressure Profile |
- IfEqual(getParentHdid(%HDID%)
- //hl7.org/fhir/StructureDefinition/bp")
|
- IfEqual(getParentHdid(%HDID%)
- //hl7.org/fhir/StructureDefinition/bp")
|
|
|
|
|
|
|
    profile:US Core Disability Status Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation")
|
|
|
|
|
|
|
    profile:US Core FOODWORRY Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation")
|
|
|
|
|
|
|
    profile:US Core FOODRANOUT Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation")
|
|
|
|
|
|
|
    profile:US Core Observation sdoh Assessment |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment")
|
|
|
|
|
|
|
    profile:US Core Observation Screening Assessment |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
    profile:US Core BMI Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-bmi")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-bmi")
|
|
|
|
|
|
|
    profile:US Core Body Height Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-body-height")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-body-height")
|
|
|
|
|
|
|
    profile:US Core Body Weight Profile |
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "3141-9")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight")
|
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "3141-9")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight")
|
|
|
|
|
|
|
    profile:US Core Body Temperature Profile |
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "8310-5")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature")
|
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "8310-5")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature")
|
|
|
|
|
|
|
    profile:US Core Heart Rate Profile |
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "8867-4")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate")
|
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "8867-4")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate")
|
|
|
|
|
|
|
    profile:US Core Respiratory Rate Profile |
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "9279-1")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate")
|
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "9279-1")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate")
|
|
|
|
|
|
|
    profile:US Core Observation Clinical Result Profile |
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "3024-7")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result")
|
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "3024-7")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result")
|
|
|
|
|
|
|
    profile:US Core Observation Occupation Profile |
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "11341-5")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation")
|
- IfEqual(hasLoincId(r.HDID.getBigDecimal(rs)
- "11341-5")
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation")
|
|
|
|
|
|
|
    profile:US Core Observation Pregnancy Intent Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent")
|
|
|
|
|
|
|
    profile:US Core Observation Pregnancy Status Profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus")
|
|
|
|
|
|
|
    profile:US Core Observation Sexual Orientation Profile |
|
|
|
|
|
|
|
|
   profile |
- IfEqual(getParentHdid(%HDID%)
- //hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure")
|
- IfEqual(getParentHdid(%HDID%)
- //hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   profile |
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
- IfEqual(%HDID%
- //hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment")
|
|
|
|
|
|
|
   Slices for security |
|
|
|
|
|
|
|
|
    security:SENSITIVECHART |
- CheckSensitive(%SENSITIVECHART%
- %RESOURCETYPE%)
|
- CheckSensitive(%SENSITIVECHART%
- %RESOURCETYPE%)
|
|
|
|
|
|
|
    security:CONFABBR |
|
|
|
|
|
|
|
|
     id |
|
|
|
|
|
n/a |
|
|
     extension |
|
|
|
|
|
n/a |
|
|
     system |
getSiteCodeSystem("ConfidentialDocument") |
getSiteCodeSystem("ConfidentialDocument") |
|
|
C*E.3 |
./codeSystem |
|
|
     version |
|
|
|
|
C*E.7 |
./codeSystemVersion |
|
|
     code |
%CONFABBR% |
%CONFABBR% |
|
|
C*E.1 |
./code |
|
|
     display |
|
|
|
|
C*E.2 - but note this is not well followed |
CV.displayName |
|
|
     userSelected |
|
|
|
|
Sometimes implied by being first |
CD.codingRationale |
|
|
   tag |
MakeChangeTagList(%CHANGE%) |
MakeChangeTagList(%CHANGE%) |
|
|
|
|
|
|
  implicitRules |
|
|
|
|
|
|
|
|
  language |
|
|
|
|
|
|
|
|
  text |
|
|
|
|
|
Act.text? |
|
|
  contained |
|
|
|
|
|
N/A |
|
|
  Slices for extension |
|
|
|
|
|
|
|
|
   extension:ExactCodeDesctiption |
|
|
|
|
|
|
|
|
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    url |
|
|
|
|
|
N/A |
|
|
    value[x] |
- IfEqual( %OBSTYPE%
- :MakeObservationValue
- %HDID%
- %OBSVALUE%)
|
- IfEqual( %OBSTYPE%
- :MakeObservationValue
- %HDID%
- %OBSVALUE%)
|
|
|
|
N/A |
|
|
  modifierExtension |
|
|
|
|
|
N/A |
|
|
  identifier |
- MakeIdentifier("U"
- getSiteSystem("ObservationId")
- %RESOURCEID%)
|
- MakeIdentifier("U"
- getSiteSystem("ObservationId")
- %RESOURCEID%)
|
Event.identifier |
|
1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4. |
id |
FiveWs.identifier |
|
  basedOn |
|
|
Event.basedOn |
|
ORC |
.inboundRelationship[typeCode=COMP].source[moodCode=EVN] |
|
|
  partOf |
|
|
Event.partOf |
|
Varies by domain |
.outboundRelationship[typeCode=FLFS].target |
|
|
  status |
- MapCode(%STATE%
- "OBSSTATUS"
- %RESOURCETYPE%)
|
- MapCode(%STATE%
- "OBSSTATUS"
- %RESOURCETYPE%)
|
Event.status |
< 445584004 |Report by finality status| |
OBX-11 |
status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of "revise" |
FiveWs.status |
|
  Slices for category |
|
|
|
|
|
- .outboundRelationship[typeCode="COMP].target[classCode="LIST"
- moodCode="EVN"].code
|
FiveWs.class |
|
   category:FHIRCATEGORY |
|
|
|
|
|
- .outboundRelationship[typeCode="COMP].target[classCode="LIST"
- moodCode="EVN"].code
|
FiveWs.class |
|
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    coding |
- MakeObservationCategoryList(%HDID%
- "FSVIEWTOCATEGORY")
|
- MakeObservationCategoryList(%HDID%
- "FSVIEWTOCATEGORY")
|
|
|
|
|
|
|
    text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
   category:PANELCATEGORY |
|
|
|
|
|
- .outboundRelationship[typeCode="COMP].target[classCode="LIST"
- moodCode="EVN"].code
|
FiveWs.class |
|
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    coding |
- MakeCodingWithSystem(%LOP_CODE%
- getMapLabOrderPanelSystem(%LOP_CODETYPE%
- "OIDTOURL")
- %LOP_NAME%
- %ID_PREFIX%)
|
- MakeCodingWithSystem(%LOP_CODE%
- getMapLabOrderPanelSystem(%LOP_CODETYPE%
- "OIDTOURL")
- %LOP_NAME%
- %ID_PREFIX%)
|
|
|
|
|
|
|
    text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
   category:HG_GROUPID |
|
|
|
|
|
- .outboundRelationship[typeCode="COMP].target[classCode="LIST"
- moodCode="EVN"].code
|
FiveWs.class |
|
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    coding |
- MakeCodingWithSystem(%HG_GROUPID%
- getSiteCodeSystem("HIERGRPS")
- %HG_GROUPNAME%
- %ID_PREFIX%)
|
- MakeCodingWithSystem(%HG_GROUPID%
- getSiteCodeSystem("HIERGRPS")
- %HG_GROUPNAME%
- %ID_PREFIX%)
|
|
|
|
|
|
|
    text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
  code |
|
|
Event.code |
< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure| |
OBX-3 |
code |
FiveWs.what[x] |
116680003 |Is a| |
   id |
|
|
|
|
|
n/a |
|
|
   extension |
|
|
|
|
|
n/a |
|
|
   coding |
|
|
|
|
|
|
|
|
   coding |
- MakeObservationCodingList(%HDID%
- %OBSHEAD_DESCRIPTION%)
|
- MakeObservationCodingList(%HDID%
- %OBSHEAD_DESCRIPTION%)
|
|
|
|
|
|
|
   coding |
- MakeRecentCoding(%HDID%
- getSiteCodeSystem("HDID")
- %NAME%
- %RESOURCETYPE%)
|
- MakeRecentCoding(%HDID%
- getSiteCodeSystem("HDID")
- %NAME%
- %RESOURCETYPE%)
|
|
|
|
|
|
|
   coding |
- MakeCodingList(%C1_CODE%
- %C1_CODING_SYSTEM_NAME%
- %C1_DESCRIPTION%
- "OIDTOURL"
- "")
|
- MakeCodingList(%C1_CODE%
- %C1_CODING_SYSTEM_NAME%
- %C1_DESCRIPTION%
- "OIDTOURL"
- "")
|
|
|
|
|
|
|
   coding |
- MakeCodingList(%C2_CODE%
- %C2_CODING_SYSTEM_NAME%
- %C2_DESCRIPTION%
- "OIDTOURL"
- "")
|
- MakeCodingList(%C2_CODE%
- %C2_CODING_SYSTEM_NAME%
- %C2_DESCRIPTION%
- "OIDTOURL"
- "")
|
|
|
|
|
|
|
   text |
- makeCodingText(%OBSHEAD_DESCRIPTION%
- %RESOURCETYPE%)
|
- makeCodingText(%OBSHEAD_DESCRIPTION%
- %RESOURCETYPE%)
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
  subject |
- MakeReference("PERSON"
- %PID%
- "Patient")
|
- MakeReference("PERSON"
- %PID%
- "Patient")
|
Event.subject |
|
PID-3 |
participation[typeCode=RTGT] |
FiveWs.subject |
|
  focus |
|
|
|
|
OBX-3 |
participation[typeCode=SBJ] |
FiveWs.subject |
|
  encounter |
- MakeReference("DOCUMENT"
- %SDID%
- "Encounter")
|
- MakeReference("DOCUMENT"
- %SDID%
- "Encounter")
|
Event.context |
|
PV1 |
- inboundRelationship[typeCode=COMP].source[classCode=ENC
- moodCode=EVN]
|
FiveWs.context |
|
  effective[x] |
- IfNotContains(%ID_PREFIX%
- "occupation").Then(asDateTimeType(%OBSDATE%
- %RESOURCETYPE%
- %ID_PREFIX%)) | IfContains(%ID_PREFIX%
- "occupation").Then(MakePeriod(%OBSDATE%
- null
- %ID_PREFIX%))
|
- IfNotContains(%ID_PREFIX%
- "occupation").Then(asDateTimeType(%OBSDATE%
- %RESOURCETYPE%
- %ID_PREFIX%)) | IfContains(%ID_PREFIX%
- "occupation").Then(MakePeriod(%OBSDATE%
- null
- %ID_PREFIX%))
|
Event.occurrence[x] |
|
- OBX-14
- and/or OBX-19 after v2.4 (depends on who observation made)
|
effectiveTime |
FiveWs.done[x] |
|
  issued |
- makeIssued(%WHENUPDATED%
- %RESOURCETYPE%)
|
- makeIssued(%WHENUPDATED%
- %RESOURCETYPE%)
|
|
|
- OBR.22 (or MSH.7)
- or perhaps OBX-19 (depends on who observation made)
|
participation[typeCode=AUT].time |
FiveWs.recorded |
|
  Slices for performer |
|
|
Event.performer.actor |
|
- OBX.15 / (Practitioner) OBX-16
- PRT-4='RO' / (Device) OBX-18
- PRT-4='EQUIP' / (Organization) OBX-23
- PRT-4='PO'
|
participation[typeCode=PRF] |
FiveWs.actor |
|
   performer:PractitionerPerformer |
- MakeReference("USR"
- %CREATOR%
- %USRID%
- "Practitioner")
|
- MakeReference("USR"
- %CREATOR%
- %USRID%
- "Practitioner")
|
Event.performer.actor |
|
- OBX.15 / (Practitioner) OBX-16
- PRT-4='RO' / (Device) OBX-18
- PRT-4='EQUIP' / (Organization) OBX-23
- PRT-4='PO'
|
participation[typeCode=PRF] |
FiveWs.actor |
|
   performer:OrganizationPerformer |
- MakeLabReference(%SDID%
- %C1_CODE%
- %C2_CODE%
- %RESOURCETYPE%)
|
- MakeLabReference(%SDID%
- %C1_CODE%
- %C2_CODE%
- %RESOURCETYPE%)
|
Event.performer.actor |
|
- OBX.15 / (Practitioner) OBX-16
- PRT-4='RO' / (Device) OBX-18
- PRT-4='EQUIP' / (Organization) OBX-23
- PRT-4='PO'
|
participation[typeCode=PRF] |
FiveWs.actor |
|
  value[x] |
- IfEqual( %OBSTYPE%
- :MakeQuantity
- %OBSVALUE%
- %UNIT%
- %HDID%) |
IfNotEqual(%OBSTYPE%
- "N").Then(MakeObservation(%HDID%
- %OBSVALUE%
- %C1_CODE%
- %C1_CODING_SYSTEM_NAME%
- %C1_DESCRIPTION%
- %DESCRIPTION%
- %ID_PREFIX%)) | MakeValueString(%OBSVALUE%
- %HDID%)
|
- IfEqual( %OBSTYPE%
- :MakeQuantity
- %OBSVALUE%
- %UNIT%
- %HDID%) |
IfNotEqual(%OBSTYPE%
- "N").Then(MakeObservation(%HDID%
- %OBSVALUE%
- %C1_CODE%
- %C1_CODING_SYSTEM_NAME%
- %C1_DESCRIPTION%
- %DESCRIPTION%
- %ID_PREFIX%)) | MakeValueString(%OBSVALUE%
- %HDID%)
|
|
< 441742003 |Evaluation finding| |
|
value |
|
363714003 |Interprets| |
  dataAbsentReason |
- MakeObservationConcept("unknown"
- //terminology.hl7.org/CodeSystem/data-absent-reason"
- "Unknown"
- %HDID%)
|
- MakeObservationConcept("unknown"
- //terminology.hl7.org/CodeSystem/data-absent-reason"
- "Unknown"
- %HDID%)
|
|
|
N/A |
value.nullFlavor |
|
|
  interpretation |
- MapConcept(%ABNORMAL%
- "OBSABNORMAL")
|
- MapConcept(%ABNORMAL%
- "OBSABNORMAL")
|
|
< 260245000 |Findings values| |
OBX-8 |
interpretationCode |
|
363713009 |Has interpretation| |
  note |
makeAnnotation(%DESCRIPTION%) |
makeAnnotation(%DESCRIPTION%) |
|
|
- NTE.3 (partner NTE to OBX
- or sometimes another (child?) OBX)
|
subjectOf.observationEvent[code="annotation"].value |
|
|
  bodySite |
|
|
|
< 123037004 |Body structure| |
OBX-20 |
targetSiteCode |
|
718497002 |Inherent location| |
  method |
|
|
|
|
OBX-17 |
methodCode |
|
|
  specimen |
- MakeReference("LabResultSpecimen"
- %LABRESULTSPECIMENID%
- "Specimen")
|
- MakeReference("LabResultSpecimen"
- %LABRESULTSPECIMENID%
- "Specimen")
|
|
< 123038009 |Specimen| |
SPM segment |
participation[typeCode=SPC].specimen |
|
704319004 |Inherent in| |
  device |
|
|
|
< 49062001 |Device| |
OBX-17 / PRT -10 |
participation[typeCode=DEV] |
|
424226004 |Using device| |
  referenceRange |
|
|
|
|
OBX.7 |
- outboundRelationship[typeCode=REFV]/target[classCode=OBS
- moodCode=EVN]
|
|
|
   id |
|
|
|
|
|
n/a |
|
|
   extension |
|
|
|
|
|
n/a |
|
|
   modifierExtension |
|
|
|
|
|
N/A |
|
|
   low |
|
|
|
|
OBX-7 |
IVL_PQ.low |
|
|
   high |
|
|
|
|
OBX-7 |
IVL_PQ.high |
|
|
   type |
|
|
|
< 260245000 |Findings values| OR
< 365860008 |General clinical state finding|
OR
< 250171008 |Clinical history or observation findings| OR
< 415229000 |Racial group| OR
< 365400002 |Finding of puberty stage| OR
< 443938003 |Procedure carried out on subject| |
OBX-10 |
interpretationCode |
|
|
   appliesTo |
|
|
|
< 260245000 |Findings values| OR
< 365860008 |General clinical state finding|
OR
< 250171008 |Clinical history or observation findings| OR
< 415229000 |Racial group| OR
< 365400002 |Finding of puberty stage| OR
< 443938003 |Procedure carried out on subject| |
OBX-10 |
interpretationCode |
|
|
   age |
|
|
|
|
|
outboundRelationship[typeCode=PRCN].targetObservationCriterion[code="age"].value |
|
|
   text |
%RANGE% |
%RANGE% |
|
|
OBX-7 |
ST |
|
|
  hasMember |
- MakeReferenceList(%HDID%
- %OBSVALUE%
- "Observation");
|
- MakeReferenceList(%HDID%
- %OBSVALUE%
- "Observation")
|
|
|
Relationships established by OBX-4 usage |
outBoundRelationship |
|
|
  derivedFrom |
- MakeReferenceForHVSDerivedFrom(%HDID%
- %RESOURCEID%
- "Observation")
|
- MakeReferenceForHVSDerivedFrom(%HDID%
- %RESOURCEID%
- "Observation")
|
|
|
Relationships established by OBX-4 usage |
.targetObservation |
|
|
  component |
|
|
|
|
containment by OBX-4? |
outBoundRelationship[typeCode=COMP] |
|
|
   component:All Slices |
|
|
|
|
|
|
|
|
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    modifierExtension |
|
|
|
|
|
N/A |
|
|
    code |
|
|
|
< 363787002 |Observable entity| OR
< 386053000 |Evaluation procedure| |
OBX-3 |
code |
FiveWs.what[x] |
|
     id |
|
|
|
|
|
n/a |
|
|
     extension |
|
|
|
|
|
n/a |
|
|
     coding |
- MakeObservationComponentCodingList(%HDID%
- %OBSHEAD_DESCRIPTION%
- %HDID%
- getSiteCodeSystem("HDID")
- %NAME%)
|
- MakeObservationComponentCodingList(%HDID%
- %OBSHEAD_DESCRIPTION%
- %HDID%
- getSiteCodeSystem("HDID")
- %NAME%)
|
|
|
|
|
|
|
     text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
    value[x] |
- IfEqual( %OBSTYPE%
- "N").Then(MakeComponentQuantity(%OBSVALUE%
- %UNIT%
- %HDID%
- %SDID%
- %PID%
- %OBSDATE%))
|
- IfEqual( %OBSTYPE%
- "N").Then(MakeComponentQuantity(%OBSVALUE%
- %UNIT%
- %HDID%
- %SDID%
- %PID%
- %OBSDATE%))
|
|
363714003 |Interprets| < 441742003 |Evaluation finding| |
|
value |
|
363714003 |Interprets| |
    dataAbsentReason |
- MakeObservationComponentDataAbsentConcept(%OBSVALUE%
- %UNIT%
- %HDID%
- %SDID%
- %PID%
- %OBSDATE%)
|
- MakeObservationComponentDataAbsentConcept(%OBSVALUE%
- %UNIT%
- %HDID%
- %SDID%
- %PID%
- %OBSDATE%)
|
|
|
N/A |
value.nullFlavor |
|
|
    interpretation |
|
|
|
< 260245000 |Findings values| |
OBX-8 |
interpretationCode |
|
363713009 |Has interpretation| |
    referenceRange |
|
|
|
|
OBX.7 |
- outboundRelationship[typeCode=REFV]/target[classCode=OBS
- moodCode=EVN]
|
|
|
  component |
|
|
|
|
containment by OBX-4? |
outBoundRelationship[typeCode=COMP] |
|
|
   id |
|
|
|
|
|
n/a |
|
|
   Slices for extension |
|
|
|
|
|
n/a |
|
|
    extension:ADDRESSEXTENSION |
|
|
|
|
|
|
|
|
     id |
|
|
|
|
|
n/a |
|
|
     extension |
|
|
|
|
|
n/a |
|
|
     url |
|
|
|
|
|
N/A |
|
|
     value[x] |
- makeExtensionTravelAdress(%RESOURCETYPE%
- %C1_DESCRIPTION%)
|
- makeExtensionTravelAdress(%RESOURCETYPE%
- %C1_DESCRIPTION%)
|
|
|
|
N/A |
|
|
   modifierExtension |
|
|
|
|
|
N/A |
|
|
   code |
|
|
|
< 363787002 |Observable entity| OR
< 386053000 |Evaluation procedure| |
OBX-3 |
code |
FiveWs.what[x] |
|
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    coding |
- IfEqual(%RESOURCETYPE%
- "TravelHistory").Then(MapCoding(%RESOURCETYPE%
- "LOCATION"))
|
- IfEqual(%RESOURCETYPE%
- "TravelHistory").Then(MapCoding(%RESOURCETYPE%
- "LOCATION"))
|
|
|
|
|
|
|
    text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
   value[x] |
|
|
|
363714003 |Interprets| < 441742003 |Evaluation finding| |
|
value |
|
363714003 |Interprets| |
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    coding |
- MakeCodingWithSystem(%RESOURCETYPE%
- %C1_DESCRIPTION%)
|
- MakeCodingWithSystem(%RESOURCETYPE%
- %C1_DESCRIPTION%)
|
|
|
|
|
|
|
    text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
   dataAbsentReason |
|
|
|
|
N/A |
value.nullFlavor |
|
|
   interpretation |
|
|
|
< 260245000 |Findings values| |
OBX-8 |
interpretationCode |
|
363713009 |Has interpretation| |
   referenceRange |
|
|
|
|
OBX.7 |
- outboundRelationship[typeCode=REFV]/target[classCode=OBS
- moodCode=EVN]
|
|
|
  component |
|
|
|
|
containment by OBX-4? |
outBoundRelationship[typeCode=COMP] |
|
|
   id |
|
|
|
|
|
n/a |
|
|
   extension |
|
|
|
|
|
n/a |
|
|
   modifierExtension |
|
|
|
|
|
N/A |
|
|
   code |
|
|
|
< 363787002 |Observable entity| OR
< 386053000 |Evaluation procedure| |
OBX-3 |
code |
FiveWs.what[x] |
|
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    coding |
- MakeCodingWithSystem("86188-0"
- //loinc.org"
- "History of Occupation Industry"
- %ID_PREFIX%
- %C2_CODE%)
|
- MakeCodingWithSystem("86188-0"
- //loinc.org"
- "History of Occupation Industry"
- %ID_PREFIX%
- %C2_CODE%)
|
|
|
|
|
|
|
    text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
   value[x] |
|
|
|
363714003 |Interprets| < 441742003 |Evaluation finding| |
|
value |
|
363714003 |Interprets| |
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    coding |
- IfEqual(%ID_PREFIX%
- "occupation").Then(MakeCodingWithSystem(%C2_CODE%
- %C2_CODING_SYSTEM_NAME%
- %C2_DESCRIPTION%))
|
- IfEqual(%ID_PREFIX%
- "occupation").Then(MakeCodingWithSystem(%C2_CODE%
- %C2_CODING_SYSTEM_NAME%
- %C2_DESCRIPTION%))
|
|
|
|
|
|
|
    text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
   dataAbsentReason |
|
|
|
|
N/A |
value.nullFlavor |
|
|
   interpretation |
|
|
|
< 260245000 |Findings values| |
OBX-8 |
interpretationCode |
|
363713009 |Has interpretation| |
   referenceRange |
|
|
|
|
OBX.7 |
- outboundRelationship[typeCode=REFV]/target[classCode=OBS
- moodCode=EVN]
|
|
|
  component |
|
|
|
|
containment by OBX-4? |
outBoundRelationship[typeCode=COMP] |
|
|
   id |
|
|
|
|
|
n/a |
|
|
   extension |
|
|
|
|
|
n/a |
|
|
   modifierExtension |
|
|
|
|
|
N/A |
|
|
   code |
|
|
|
< 363787002 |Observable entity| OR
< 386053000 |Evaluation procedure| |
OBX-3 |
code |
FiveWs.what[x] |
|
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    coding |
- IfEqual(%RESOURCETYPE%
- "TravelHistory").Then(MapCoding(%RESOURCETYPE%
- "PURPOSE"))
|
- IfEqual(%RESOURCETYPE%
- "TravelHistory").Then(MapCoding(%RESOURCETYPE%
- "PURPOSE"))
|
|
|
|
|
|
|
    text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
   value[x] |
|
|
|
363714003 |Interprets| < 441742003 |Evaluation finding| |
|
value |
|
363714003 |Interprets| |
    id |
|
|
|
|
|
n/a |
|
|
    extension |
|
|
|
|
|
n/a |
|
|
    coding |
- IfEqual(%RESOURCETYPE%
- "TravelHistory").Then(MakeCodingWithSystem(%C2_CODE%
- %C2_CODING_SYSTEM_NAME%
- %C2_DESCRIPTION%))
|
- IfEqual(%RESOURCETYPE%
- "TravelHistory").Then(MakeCodingWithSystem(%C2_CODE%
- %C2_CODING_SYSTEM_NAME%
- %C2_DESCRIPTION%))
|
|
|
|
|
|
|
    text |
|
|
|
|
C*E.9. But note many systems use C*E.2 for this |
./originalText[mediaType/code="text/plain"]/data |
|
|
   dataAbsentReason |
|
|
|
|
N/A |
value.nullFlavor |
|
|
   interpretation |
|
|
|
< 260245000 |Findings values| |
OBX-8 |
interpretationCode |
|
363713009 |Has interpretation| |
   referenceRange |
|
|
|
|
OBX.7 |
- outboundRelationship[typeCode=REFV]/target[classCode=OBS
- moodCode=EVN]
|
|
|
Documentation for this format |