Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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

Library-composition-example.ttl

Example Library/composition-example (Turtle)

Clinical Decision Support Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any No 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 -------------------------------------------------------------------

<http://hl7.org/fhir/Library/composition-example> 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 "ActivityDefinition/administer-zika-virus-exposure-assessment";
       fhir:link <http://hl7.org/fhir/ActivityDefinition/administer-zika-virus-exposure-assessment>

[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:index 1;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "ActivityDefinition/order-serum-zika-dengue-virus-igm";
       fhir:link <http://hl7.org/fhir/ActivityDefinition/order-serum-zika-dengue-virus-igm>

  ] [
     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:index 2;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "ActivityDefinition/provide-mosquito-prevention-advice";
       fhir:link <http://hl7.org/fhir/ActivityDefinition/provide-mosquito-prevention-advice>

  ] [
     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:index 3;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "Library/zika-virus-intervention-logic";
       fhir:link <http://hl7.org/fhir/Library/zika-virus-intervention-logic>

  ] [
     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:index 4;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "PlanDefinition/zika-virus-intervention";
       fhir:link <http://hl7.org/fhir/PlanDefinition/zika-virus-intervention>

  ] [
     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:index 5;
     fhir:RelatedArtifact.type [ fhir:value "composed-of" ];
     fhir:RelatedArtifact.resource [
       fhir:value "Questionnaire/zika-virus-exposure-assessment";

  ] [
     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:index 6;
     fhir:RelatedArtifact.type [ fhir:value "derived-from" ];
     fhir:RelatedArtifact.url [ fhir:value "https://www.cdc.gov/mmwr/volumes/65/wr/mm6539e1.htm?s_cid=mm6539e1_w" ]
  ] .

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

<http://hl7.org/fhir/Library/composition-example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Library/composition-example.ttl> .

  ] [
     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.