All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hl7.resource.AllergyIntolerance.yml Maven / Gradle / Ivy

Go to download

FHIR converter is a Java based library that enables converting Hl7v2 messages to FHIR resources

There is a newer version: 1.0.19
Show newest version
#
# (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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy