STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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-example.ttl

Raw Turtle, JSON-LD

Chlamydia Screening Common 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/example> a fhir:Library;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Chlamydia Screening Common Library</div>"
  ];
  fhir:Library.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.value [ fhir:value "ChalmydiaScreening_Common" ]
  ];
  fhir:Library.version [ fhir:value "2.0.0"];
  fhir:Library.title [ fhir:value "Chlamydia Screening Common Library"];
  fhir:Library.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "logic-library" ]
     ]
  ];
  fhir:Library.status [ fhir:value "draft"];
  fhir:Library.date [ fhir:value "2015-07-22"^^xsd:date];
  fhir:Library.description [ fhir:value "Common Logic for adherence to Chlamydia Screening guidelines"];
  fhir:Library.topic [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "Chlamydia Screening" ]
  ];
  fhir:Library.relatedArtifact [
     fhir:index 0;
     fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
     fhir:RelatedArtifact.resource [
       fhir:link <http://hl7.org/fhir/Library/library-quick-model-definition>;
       fhir:Reference.reference [ fhir:value "Library/library-quick-model-definition" ]
     ]
  ];
  fhir:Library.dataRequirement [
     fhir:index 0;
     fhir:DataRequirement.type [ fhir:value "Condition" ];
     fhir:DataRequirement.codeFilter [
       fhir:index 0;
       fhir:DataRequirement.codeFilter.path [ fhir:value "code" ];
       fhir:DataRequirement.codeFilter.valueSetString [ fhir:value "Other Female Reproductive Conditions" ]
     ]
  ];
  fhir:Library.content [
     fhir:index 0;
     fhir:Attachment.contentType [ fhir:value "text/cql" ];
     fhir:Attachment.url [ fhir:value "http://cqlrepository.org/ChlamydiaScreening_Common.cql" ]
  ] .

<http://hl7.org/fhir/Library/library-quick-model-definition> a fhir:Library .

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


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.