hl7.resource.AllergyIntolerance.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
#
# SPDX-License-Identifier: Apache-2.0
#
---
resourceType: AllergyIntolerance
id:
type: STRING
valueOf: 'UUID.randomUUID()'
expressionType: JEXL
identifier:
valueOf: datatype/Identifier
generateList: true
expressionType: resource
vars:
system: SYSTEM_URL, $sys
value: BUILD_IDENTIFIER_FROM_CWE, AL1.3
constants:
sys: "urn:id:extID"
clinicalStatus:
valueOf: datatype/CodeableConcept_var
generateList: true
expressionType: resource
constants:
system: 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'
code: 'active'
display: 'Active'
verificationStatus:
valueOf: datatype/CodeableConcept_var
generateList: true
expressionType: resource
constants:
system: 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification'
code: 'confirmed'
display: 'Confirmed'
category:
type: ALLERGY_INTOLERANCE_CATEGORY
generateList: true
valueOf: AL1.2
expressionType: HL7Spec
criticality:
type: ALLERGY_INTOLERANCE_CRITICALITY
valueOf: AL1.4
expressionType: HL7Spec
code:
valueOf: datatype/CodeableConcept
generateList: true
expressionType: resource
specs: AL1.3
onsetDateTime:
type: DATE_TIME
valueOf: AL1.6
expressionType: HL7Spec
patient:
valueOf: datatype/Reference
expressionType: resource
specs: $Patient
reaction:
valueOf: secondary/Reaction
expressionType: resource
specs: AL1.5