Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R4B R4

Extension-valueset-expression.xml

Example Immunization/reaction (Turtle)

Maturity Level : N/A
Vocabulary Responsible Owner: Public Health Work Group Standards Status : Informative Compartments : Patient , Practitioner
Raw

Raw Turtle (+ also see XML Turtle/RDF Format Specification )

expression Example of Immunization with a Reaction

<?xml version="1.0" encoding="UTF-8"?>
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

#  Authored by Joginder Madra 

<http://hl7.org/fhir/Immunization/reaction> a fhir:Immunization ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "reaction"] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:vaccineCode [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/sid/cvx"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/sid/cvx>
       ] ;
       fhir:code [ fhir:v "175" ]
     ] ) ;
     fhir:text [ fhir:v "Rabies - IM Diploid cell culture" ]
  ] ; # 
  fhir:manufacturer [
     fhir:reference [
       fhir:l <http://hl7.org/fhir/Organization/hl7> ;
       fhir:reference [ fhir:v "Organization/hl7" ]
     ]
  ] ; # 
  fhir:lotNumber [ fhir:v "PPL909K"] ; # 
  fhir:expirationDate [ fhir:v "2023-01-21"^^xsd:date] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://hl7.org/fhir/Encounter/example> ;
     fhir:reference [ fhir:v "Encounter/example" ]
  ] ; # 
  fhir:occurrence [
     a fhir:DateTime ;
     fhir:v "2021-09-12"^^xsd:date
  ] ; # 
  fhir:primarySource [ fhir:v true] ; # 
  fhir:location [
     fhir:l <http://hl7.org/fhir/Location/1> ;
     fhir:reference [ fhir:v "Location/1" ]
  ] ; # 
  fhir:site [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActSite"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActSite>
       ] ;
       fhir:code [ fhir:v "LA" ] ;
       fhir:display [ fhir:v "left arm" ]
     ] )
  ] ; # 
  fhir:route [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration>
       ] ;
       fhir:code [ fhir:v "IM" ] ;
       fhir:display [ fhir:v "Injection, intramuscular" ]
     ] )
  ] ; # 
  fhir:doseQuantity [
     fhir:value [ fhir:v "5"^^xsd:decimal ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "mg" ]
  ] ; # 
  fhir:performer ( [
     fhir:function [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0443"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0443>
         ] ;
         fhir:code [ fhir:v "OP" ]
       ] )
     ] ;
     fhir:actor [
       fhir:l <http://hl7.org/fhir/Practitioner/example> ;
       fhir:reference [ fhir:v "Practitioner/example" ]
     ]
  ] [
     fhir:function [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0443"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0443>
         ] ;
         fhir:code [ fhir:v "AP" ]
       ] )
     ] ;
     fhir:actor [
       fhir:l <http://hl7.org/fhir/Practitioner/example> ;
       fhir:reference [ fhir:v "Practitioner/example" ]
     ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Notes on adminstration of vaccine" ]
  ] ) ; # 
  fhir:reason ( [
     fhir:reference [
       fhir:l <http://hl7.org/fhir/Observation/example> ;
       fhir:reference [ fhir:v "Observation/example" ]
     ]
  ] ) ; # 
  fhir:isSubpotent [ fhir:v false] ; # 
  fhir:reaction ( [
     fhir:date [ fhir:v "2021-09-12"^^xsd:date ] ;
     fhir:manifestation [
       fhir:reference [
         fhir:l <http://hl7.org/fhir/Observation/example2> ;
         fhir:reference [ fhir:v "Observation/example2" ]
       ]
     ] ;
     fhir:reported [ fhir:v false ]
  ] ) . # 

<http://hl7.org/fhir/Organization/hl7> a fhir:Organization .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Encounter/example> a fhir:Encounter .

<http://hl7.org/fhir/Location/1> a fhir:Location .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

<http://hl7.org/fhir/Observation/example> a fhir:Observation .

<http://hl7.org/fhir/Observation/example2> a fhir:Observation .

# -------------------------------------------------------------------------------------




  
  
    
  
  
    
  
  
  
  
  
  
  
  An expression that provides an alternative definition of the content of the value set.
   There are two different ways to use this expression extension: If both an expression and
   a compose element is present, the compose is understood the make the same statement as
   the expression. If there is no compose, the expression is the only definition of the value
   set, and the value set can only be processed by a server that understands the expression
   syntax, it that is computable.
  
  
    
    
    
  
  
  
  
    
    
  
  
  
  
  
    
      
      
      An expression that provides an alternative definition of the content of the value set.
       There are two different ways to use this expression extension: If both an expression and
       a compose element is present, the compose is understood the make the same statement as
       the expression. If there is no compose, the expression is the only definition of the value
       set, and the value set can only be processed by a server that understands the expression
       syntax, it that is computable.
      The expression may be a reference or the actual expression, and ss expected to be a computable
       format (use the [rules-text extension](extension-valueset-rules-text.html) for a non-computable
       description).
      
      
      
        
        
        
      
      
      
        
        
        
        
        
        
      
      
        
        
        
        
        
        
      
      
    
    
      
      
      
      Unique id for the element within a resource (for internal references). This may be any
       string value that does not contain spaces.
      
      
      
        
        
        
      
      
        
          
        
        
      
      
      
      
        
        
      
    
    
      
      
        
          
          
        
        
        
      
      
      
      
      
      
        
        
        
      
      
        
      
      
        
        
        
        
        
        
      
      
        
        
        
        
        
        
      
      
      
    
    
      
      
      
      
      The definition may point directly to a computable or human-readable definition of the
       extensibility codes, or it may be a logical URI as declared in some other specification.
       The definition SHALL be a URI for the Structure Definition defining the extension.
      
      
      
        
        
        
      
      
        
          
        
        
      
      
      
      
      
        
        
      
    
    
      
      
      Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://
      hl7.org/fhir/extensibility.html) for a list).
      
      
      
        
        
        
      
      
        
      
      
        
        
        
        
        
        
      
      
      
      
        
        
      
    
  
  
    
      
      
      An expression that provides an alternative definition of the content of the value set.
       There are two different ways to use this expression extension: If both an expression and
       a compose element is present, the compose is understood the make the same statement as
       the expression. If there is no compose, the expression is the only definition of the value
       set, and the value set can only be processed by a server that understands the expression
       syntax, it that is computable.
      The expression may be a reference or the actual expression, and ss expected to be a computable
       format (use the [rules-text extension](extension-valueset-rules-text.html) for a non-computable
       description).
      
      
    
    
      
      
    
    
      
      
    
    
      
      
      
        
      
    
  
</
StructureDefinition
>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.