FHIR Release 3 (STU) CI-Build

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0 . For a full list Continuous Integration Build of available versions, see FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions . Page versions: R4B R4 R3 R2

Content Detailed Descriptions Mappings XML JSON

Example Observation/heart-rate (Turtle)

Extension: expirationDate   Maturity Level : 1
Vocabulary Responsible Owner: Orders and Observations Work Group Standards Status : Informative Use Context Compartments : Any Device , Encounter , Group , Patient , Practitioner , RelatedPerson
URL for this extension: http://hl7.org/fhir/StructureDefinition/valueset-expirationDate

Summary Name Flags Card. Type Description & Constraints extension 0..1 date Raw Turtle URL = http://hl7.org/fhir/StructureDefinition/valueset-expirationDate expirationDate: The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value SHALL present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date. Use on element: ValueSet Documentation for this format (+ also see Turtle/RDF Format Specification Full Structure )

Name Flags Card. Type Description & Constraints extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/valueset-expirationDate expirationDate: The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value SHALL present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date. Use on element: ValueSet url 1..1 uri "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate" valueDate 0..1 date Value of extension Documentation for this format

XML Template Simple Heart Rate Example

<!-- expirationDate -->
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Observation/heart-rate> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "heart-rate"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/vitalsigns"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/vitalsigns>
     ] )
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/observation-category>
       ] ;
       fhir:code [ fhir:v "vital-signs" ] ;
       fhir:display [ fhir:v "Vital Signs" ]
     ] ) ;
     fhir:text [ fhir:v "Vital Signs" ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:8867-4 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "8867-4" ] ;
       fhir:display [ fhir:v "Heart rate" ]
     ] ) ;
     fhir:text [ fhir:v "Heart rate" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "1999-07-02"^^xsd:date
  ] ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "44"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "beats/minute" ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "/min" ]
  ] . # 

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

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



< xmlns="http://hl7.org/fhir"
     url="" >
  <!-- from Element: 
 <
</extension>
JSON
Template
  
{ // 
  // from Element: 
    "
    ],
    " 
    "
  }

Summary Name Flags Card. Type Description & Constraints extension 0..1 date URL = http://hl7.org/fhir/StructureDefinition/valueset-expirationDate expirationDate: The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value SHALL present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date. Use on element: ValueSet Documentation for this format Full Structure Name Flags Card. Type Description & Constraints extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/valueset-expirationDate expirationDate: The date when the value set version is no longer expected to be used Usage note: every effort has been made to create new content. This is the first date-time when ensure that the value set version becomes Inactive, so this value SHALL present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC examples are correct and useful, but they are not a normative part of the Expiration Date. Use on element: ValueSet url 1..1 uri "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate" valueDate 0..1 date Value of extension Documentation for this format XML Template <!-- expirationDate --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: < </extension> JSON Template { // // from Element: " ], " " }   Constraints specification.

ele-1 : All FHIR elements must have a @value or children (xpath: @value|f:*|h:div ) ext-1 : Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) )