@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Library/library-cms146-example> a fhir:Library ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "library-cms146-example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Id: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">Library/library-cms146-example</td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Identifier: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <b>value: </b>\n                  \n            <span>CMS146</span>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Version: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">2.0.0</td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Title: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">Appropriate Testing for Children with Pharyngitis</td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Type: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-right: 25px;\">\n                  \n            <span>\n                     \n              <span>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code: </b>\n                           \n                  <span>logic-library</span>\n                        \n                </span>\n                     \n              </span>\n                  \n            </span>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Status: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">draft</td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Description: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">Logic for CMS 146: Appropriate Testing for Children with Pharyngitis</td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Related: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr style=\"vertical-align: top;\">\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <p style=\"margin-bottom: 5px;\">\n                     \n              <b>type: </b>\n                     \n              <span>depends-on</span>\n                  \n            </p>\n                  \n            <p style=\"margin-bottom: 5px;\">\n                     \n              <b>Resource: </b>\n                     \n              <br/>\n                     \n              <span>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>reference: </b>\n                           \n                  <span>http://hl7.org/fhir/Library/library-quick-model-definition</span>\n                        \n                </span>\n                     \n              </span>\n                  \n            </p>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Data Requirements: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <div>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>type: </b>\n                        \n                <span>Patient</span>\n                     \n              </p>\n                  \n            </div>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Data Requirements: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <div>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>type: </b>\n                        \n                <span>Condition</span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>category</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code:</b>\n                           \n                  <span>diagnosis</span>\n                        \n                </span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>clinicalStatus</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code:</b>\n                           \n                  <span>confirmed</span>\n                        \n                </span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>code</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>valueset: </b>\n                           \n                  <span>2.16.840.1.113883.3.464.1003.102.12.1011</span>\n                        \n                </span>\n                     \n              </p>\n                  \n            </div>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Data Requirements: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <div>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>type: </b>\n                        \n                <span>Condition</span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>category</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code:</b>\n                           \n                  <span>diagnosis</span>\n                        \n                </span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>clinicalStatus</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code:</b>\n                           \n                  <span>confirmed</span>\n                        \n                </span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>code</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>valueset: </b>\n                           \n                  <span>2.16.840.1.113883.3.464.1003.102.12.1012</span>\n                        \n                </span>\n                     \n              </p>\n                  \n            </div>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Data Requirements: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <div>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>type: </b>\n                        \n                <span>Encounter</span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>status</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code:</b>\n                           \n                  <span>finished</span>\n                        \n                </span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>class</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code:</b>\n                           \n                  <span>ambulatory</span>\n                        \n                </span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>type</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>valueset: </b>\n                           \n                  <span>2.16.840.1.113883.3.464.1003.101.12.1061</span>\n                        \n                </span>\n                     \n              </p>\n                  \n            </div>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Data Requirements: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <div>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>type: </b>\n                        \n                <span>DiagnosticReport</span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>diagnosis</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>valueset: </b>\n                           \n                  <span>2.16.840.1.113883.3.464.1003.198.12.1012</span>\n                        \n                </span>\n                     \n              </p>\n                  \n            </div>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Data Requirements: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <div>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>type: </b>\n                        \n                <span>Medication</span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>code</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>valueset: </b>\n                           \n                  <span>2.16.840.1.113883.3.464.1003.196.12.1001</span>\n                        \n                </span>\n                     \n              </p>\n                  \n            </div>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Data Requirements: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <div>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>type: </b>\n                        \n                <span>MedicationRequest</span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>status</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code:</b>\n                           \n                  <span>active</span>\n                        \n                </span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>medication.code</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>valueset: </b>\n                           \n                  <span>2.16.840.1.113883.3.464.1003.196.12.1001</span>\n                        \n                </span>\n                     \n              </p>\n                  \n            </div>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Data Requirements: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <div>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>type: </b>\n                        \n                <span>MedicationStatement</span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>status</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code:</b>\n                           \n                  <span>completed</span>\n                        \n                </span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>medication.code</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>valueset: </b>\n                           \n                  <span>2.16.840.1.113883.3.464.1003.196.12.1001</span>\n                        \n                </span>\n                     \n              </p>\n                  \n            </div>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Content: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <p style=\"margin-bottom: 5px;\">\n                     \n              <b>type: </b>\n                     \n              <span>text/cql</span>\n                  \n            </p>\n                  \n            <p style=\"margin-bottom: 5px;\">\n                     \n              <b>url: </b>\n                     \n              <span>library-cms146-example-content.cql</span>\n                  \n            </p>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n      \n    </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:url [
     fhir:v "http://hl7.org/fhir/Library/library-cms146-example"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/Library/library-cms146-example>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.17.2" ]
  ] [
     fhir:use [ fhir:v "official" ] ;
     fhir:value [ fhir:v "CMS146" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:name [ fhir:v "CMS146"] ; # 
  fhir:title [ fhir:v "CMS146: Appropriate Testing for Children with Pharyngitis"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:code [ fhir:v "logic-library" ]
     ] )
  ] ; # 
  fhir:date [ fhir:v "2015-07-22"^^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 "Logic for CMS 146: Appropriate Testing for Children with Pharyngitis"] ; # 
  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 "3"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "a" ]
       ] ;
       fhir:high [
         fhir:value [ fhir:v "18"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "a" ]
       ]
     ]
  ] ) ; # 
  fhir:relatedArtifact ( [
     fhir:type [ fhir:v "depends-on" ] ;
     fhir:resource [
       fhir:v "http://hl7.org/fhir/Library/library-quick-model-definition"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/Library/library-quick-model-definition>
     ]
  ] ) ; # 
  fhir:dataRequirement ( [
     fhir:type [ fhir:v "Patient" ]
  ] [
     fhir:type [ fhir:v "Condition" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "category" ] ;
       fhir:code ( [
         fhir:code [ fhir:v "diagnosis" ]
       ] )
     ] [
       fhir:path [ fhir:v "clinicalStatus" ] ;
       fhir:code ( [
         fhir:code [ fhir:v "confirmed" ]
       ] )
     ] [
       fhir:path [ fhir:v "code" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.16.840.1.113883.3.464.1003.102.12.1011"^^xsd:anyURI ;
         fhir:l <urn:oid:2.16.840.1.113883.3.464.1003.102.12.1011>
       ]
     ] )
  ] [
     fhir:type [ fhir:v "Condition" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "category" ] ;
       fhir:code ( [
         fhir:code [ fhir:v "diagnosis" ]
       ] )
     ] [
       fhir:path [ fhir:v "clinicalStatus" ] ;
       fhir:code ( [
         fhir:code [ fhir:v "confirmed" ]
       ] )
     ] [
       fhir:path [ fhir:v "code" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.16.840.1.113883.3.464.1003.102.12.1012"^^xsd:anyURI ;
         fhir:l <urn:oid:2.16.840.1.113883.3.464.1003.102.12.1012>
       ]
     ] )
  ] [
     fhir:type [ fhir:v "Encounter" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "status" ] ;
       fhir:code ( [
         fhir:code [ fhir:v "finished" ]
       ] )
     ] [
       fhir:path [ fhir:v "class" ] ;
       fhir:code ( [
         fhir:code [ fhir:v "ambulatory" ]
       ] )
     ] [
       fhir:path [ fhir:v "type" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.16.840.1.113883.3.464.1003.101.12.1061"^^xsd:anyURI ;
         fhir:l <urn:oid:2.16.840.1.113883.3.464.1003.101.12.1061>
       ]
     ] )
  ] [
     fhir:type [ fhir:v "DiagnosticReport" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "diagnosis" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.16.840.1.113883.3.464.1003.198.12.1012"^^xsd:anyURI ;
         fhir:l <urn:oid:2.16.840.1.113883.3.464.1003.198.12.1012>
       ]
     ] )
  ] [
     fhir:type [ fhir:v "Medication" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "code" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.16.840.1.113883.3.464.1003.196.12.1001"^^xsd:anyURI ;
         fhir:l <urn:oid:2.16.840.1.113883.3.464.1003.196.12.1001>
       ]
     ] )
  ] [
     fhir:type [ fhir:v "MedicationRequest" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "status" ] ;
       fhir:code ( [
         fhir:code [ fhir:v "active" ]
       ] )
     ] [
       fhir:path [ fhir:v "medication.code" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.16.840.1.113883.3.464.1003.196.12.1001"^^xsd:anyURI ;
         fhir:l <urn:oid:2.16.840.1.113883.3.464.1003.196.12.1001>
       ]
     ] )
  ] [
     fhir:type [ fhir:v "MedicationStatement" ] ;
     fhir:codeFilter ( [
       fhir:path [ fhir:v "status" ] ;
       fhir:code ( [
         fhir:code [ fhir:v "completed" ]
       ] )
     ] [
       fhir:path [ fhir:v "medication.code" ] ;
       fhir:valueSet [
         fhir:v "urn:oid:2.16.840.1.113883.3.464.1003.196.12.1001"^^xsd:anyURI ;
         fhir:l <urn:oid:2.16.840.1.113883.3.464.1003.196.12.1001>
       ]
     ] )
  ] ) ; # 
  fhir:content ( [
     fhir:contentType [ fhir:v "text/cql" ] ;
     fhir:data [ fhir:v "[encoded data, 5976 characters]"^^xsd:base64Binary ]
  ] [
     fhir:contentType [ fhir:v "application/elm+xml" ] ;
     fhir:data [ fhir:v "[encoded data, 77328 characters]"^^xsd:base64Binary ]
  ] ) . # 

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

