@prefix fhir: <http://hl7.org/fhir/> .
@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Library/zika-virus-intervention-logic> a fhir:Library ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "zika-virus-intervention-logic"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Zika Virus Intervention Logic</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "cds"
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:value [ fhir:v "zika-virus-intervention-logic" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "ZikaVirusInterventionLogic"] ; # 
  fhir:title [ fhir:v "Zika Virus Intervention Logic"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:code [ fhir:v "logic-library" ]
     ] )
  ] ; # 
  fhir:date [ fhir:v "2016-11-14"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Decision support logic for managing zika virus infection"] ; # 
  fhir:useContext ( [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "age" ]
     ] ;
     fhir:value [
       a fhir:Range ;
       fhir:low [
         fhir:value [ fhir:v "12"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "a" ]
       ]
     ]
  ] [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "user" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a sct:309343006 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "309343006" ] ;
         fhir:display [ fhir:v "Physician" ]
       ] )
     ]
  ] ) ; # 
  fhir:topic ( [
     fhir:text [ fhir:v "Zika Virus Management" ]
  ] ) ; # 
  fhir:relatedArtifact ( [
     fhir:type [ fhir:v "depends-on" ] ;
     fhir:resource [
       fhir:v "http://example.org/fhir/Library/fhir-model-definition"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/Library/fhir-model-definition>
     ]
  ] [
     fhir:type [ fhir:v "depends-on" ] ;
     fhir:resource [
       fhir:v "http://hl7.org/fhir/ValueSet/zika-affected-area"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/ValueSet/zika-affected-area>
     ]
  ] ) ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "Patient" ] ;
     fhir:use [ fhir:v "in" ] ;
     fhir:type [ fhir:v "Patient" ]
  ] [
     fhir:name [ fhir:v "Current Encounter" ] ;
     fhir:use [ fhir:v "in" ] ;
     fhir:type [ fhir:v "Encounter" ]
  ] ) ; # 
  fhir:dataRequirement ( [
     fhir:type [ fhir:v "Condition" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "code" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.999.0.1.2.3"^^xsd:anyURI ;
         fhir:l <urn:oid:2.999.0.1.2.3>
       ]
     ] )
  ] [
     fhir:type [ fhir:v "Observation" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "code" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.999.0.1.2.3"^^xsd:anyURI ;
         fhir:l <urn:oid:2.999.0.1.2.3>
       ]
     ] )
  ] [
     fhir:type [ fhir:v "Condition" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "code" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.16.840.1.114222.4.11.7459"^^xsd:anyURI ;
         fhir:l <urn:oid:2.16.840.1.114222.4.11.7459>
       ]
     ] )
  ] ) ; # 
  fhir:content ( [
     fhir:contentType [ fhir:v "text/cql" ] ;
     fhir:data [ fhir:v "[encoded data, 10852 characters]"^^xsd:base64Binary ] ;
     fhir:url [
       fhir:v "library-zika-virus-intervention-logic-content.cql"^^xsd:anyURI ;
       fhir:l fhir:library-zika-virus-intervention-logic-content.cql
     ] ;
     fhir:title [ fhir:v "Zika Virus Intervention Logic" ]
  ] ) . # 

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

