Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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:Resource.id [ fhir:value "composition-example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example of a library used as a composition of other artifacts.\n    </div>"
  ];
  fhir:Library.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://example.org" ];
     fhir:Identifier.value [ fhir:value "Zika Artifacts" ]
  ];
  fhir:Library.version [ fhir:value "1.0.0"];
  fhir:Library.title [ fhir:value "Zika Artifacts"];
  fhir:Library.status [ fhir:value "draft"];
  fhir:Library.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "asset-collection" ]
     ]
  ];
  fhir:Library.date [ fhir:value "2017-03-10"^^xsd:date];
  fhir:Library.description [ fhir:value "Artifacts required for implementation of Zika Virus Management"];
  fhir:Library.topic [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "Zika Virus Management" ]
  ];
  fhir:Library.relatedArtifact [
     fhir:index 0;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "http://example.org/fhir/ActivityDefinition/administer-zika-virus-exposure-assessment";
       fhir:link <http://example.org/fhir/ActivityDefinition/administer-zika-virus-exposure-assessment>
     ]
  ], [
     fhir:index 1;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "http://example.org/fhir/ActivityDefinition/order-serum-zika-dengue-virus-igm";
       fhir:link <http://example.org/fhir/ActivityDefinition/order-serum-zika-dengue-virus-igm>
     ]
  ], [
     fhir:index 2;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "http://example.org/fhir/ActivityDefinition/provide-mosquito-prevention-advice";
       fhir:link <http://example.org/fhir/ActivityDefinition/provide-mosquito-prevention-advice>
     ]
  ], [
     fhir:index 3;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "http://example.org/fhir/Library/zika-virus-intervention-logic";
       fhir:link <http://example.org/fhir/Library/zika-virus-intervention-logic>
     ]
  ], [
     fhir:index 4;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "http://example.org/fhir/PlanDefinition/zika-virus-intervention";
       fhir:link <http://example.org/fhir/PlanDefinition/zika-virus-intervention>
     ]
  ], [
     fhir:index 5;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "http://hl7.org/fhir/Questionnaire/zika-virus-exposure-assessment";
       fhir:link <http://hl7.org/fhir/Questionnaire/zika-virus-exposure-assessment>
     ]
  ], [
     fhir:index 6;
     fhir:RelatedArtifact.type [ fhir:value "derived-from" ];
     fhir:RelatedArtifact.document [
       fhir:Attachment.url [ fhir:value "https://www.cdc.gov/mmwr/volumes/65/wr/mm6539e1.htm?s_cid=mm6539e1_w" ]
     ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

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


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.