R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example Library/composition-example (Turtle)

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

Zika Virus Management Library

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

[a fhir:Library ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "composition-example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example of a library used as a composition of other artifacts.\n    </div>"
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "Zika Artifacts" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "ZikaArtifacts"] ; # 
  fhir:title [ fhir:v "Zika Artifacts"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:code [ fhir:v "asset-collection" ]
     ] )
  ] ; # 
  fhir:date [ fhir:v "2017-03-10"^^xsd:date] ; # 
  fhir:description [ fhir:v "Artifacts required for implementation of Zika Virus Management"] ; # 
  fhir:topic ( [
     fhir:text [ fhir:v "Zika Virus Management" ]
  ] ) ; # 
  fhir:relatedArtifact ( [
     fhir:type [ fhir:v "composed-of" ] ;
     fhir:resource [
       fhir:v "http://example.org/fhir/ActivityDefinition/administer-zika-virus-exposure-assessment"^^xsd:anyURI ;
       fhir:link <http://example.org/fhir/ActivityDefinition/administer-zika-virus-exposure-assessment>
     ]
  ] [
     fhir:type [ fhir:v "composed-of" ] ;
     fhir:resource [
       fhir:v "http://example.org/fhir/ActivityDefinition/order-serum-zika-dengue-virus-igm"^^xsd:anyURI ;
       fhir:link <http://example.org/fhir/ActivityDefinition/order-serum-zika-dengue-virus-igm>
     ]
  ] [
     fhir:type [ fhir:v "composed-of" ] ;
     fhir:resource [
       fhir:v "http://example.org/fhir/ActivityDefinition/provide-mosquito-prevention-advice"^^xsd:anyURI ;
       fhir:link <http://example.org/fhir/ActivityDefinition/provide-mosquito-prevention-advice>
     ]
  ] [
     fhir:type [ fhir:v "composed-of" ] ;
     fhir:resource [
       fhir:v "http://example.org/fhir/Library/zika-virus-intervention-logic"^^xsd:anyURI ;
       fhir:link <http://example.org/fhir/Library/zika-virus-intervention-logic>
     ]
  ] [
     fhir:type [ fhir:v "composed-of" ] ;
     fhir:resource [
       fhir:v "http://example.org/fhir/PlanDefinition/zika-virus-intervention"^^xsd:anyURI ;
       fhir:link <http://example.org/fhir/PlanDefinition/zika-virus-intervention>
     ]
  ] [
     fhir:type [ fhir:v "composed-of" ] ;
     fhir:resource [
       fhir:v "http://hl7.org/fhir/Questionnaire/zika-virus-exposure-assessment"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/Questionnaire/zika-virus-exposure-assessment>
     ]
  ] [
     fhir:type [ fhir:v "derived-from" ] ;
     fhir:document [
       fhir:url [ fhir:v "https://www.cdc.gov/mmwr/volumes/65/wr/mm6539e1.htm?s_cid=mm6539e1_w"^^xsd:anyURI ]
     ]
  ] )] . # 

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


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.