hl7.resource.Observation_ImmunizationReaction.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hl7v2-fhir-converter Show documentation
Show all versions of hl7v2-fhir-converter Show documentation
FHIR converter is a Java based library that enables converting Hl7v2 messages to FHIR resources
#
# (C) Copyright IBM Corp. 2020, 2021
#
# SPDX-License-Identifier: Apache-2.0
#
# This is a simplified version of Observation that we use to get the Observation from Immunization.Reaction.Detail
#
#Observation resource
---
resourceType: Observation
id:
type: STRING
valueOf: 'UUID.randomUUID()'
expressionType: JEXL
identifier:
valueOf: datatype/Identifier_Observation
generateList: true
expressionType: resource
vars:
obx3: BUILD_IDENTIFIER_FROM_CWE, OBX.5
fillpla: STRING, ORC.3.1 | OBR.3.1 | ORC.2.1 | OBR.2.1 | MSH.7
constants:
sys: "urn:id:extID"
joinChar: '-'
status:
type: OBSERVATION_STATUS
default: unknown
expressionType: HL7Spec
code:
valueOf: datatype/CodeableConcept
expressionType: resource
required: true
specs: OBX.5
subject:
valueOf: datatype/Reference
expressionType: resource
specs: $Patient
encounter:
valueOf: datatype/Reference
expressionType: resource
specs: $Encounter