CPG Example
0.1.0 - CI Build International flag

CPG Example, published by Clinical Quality Framework. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/cpg-example/ and changes regularly. See the Directory of published versions

: null (Bundle) - TTL Representation

Raw ttl | Download


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

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

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "getdiagnoses-return"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
    ( fhir:resource [
a fhir:RequestGroup ;
fhir:id [ fhir:v "getdiagnoses-return" ] ;
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"RequestGroup_getdiagnoses-return\"> </a><p class=\"res-header-id\"><b>Generated Narrative: RequestGroup getdiagnoses-return</b></p><a name=\"getdiagnoses-return\"> </a><a name=\"hcgetdiagnoses-return\"> </a><a name=\"getdiagnoses-return-en-US\"> </a><p><b>status</b>: Active</p><p><b>intent</b>: Proposal</p><p><b>subject</b>: <a href=\"Bundle-getdiagnoses-data.html#Patient_X\">Bundle: type = collection</a></p><blockquote><p><b>action</b></p><p><b>textEquivalent</b>: Potential diagnosis of Pulmonary Embolism</p><p><b>resource</b>: <a href=\"Bundle-getdiagnoses-return.html#Task_propose-pulmonary-embolism\">Bundle: type = collection</a></p></blockquote><blockquote><p><b>action</b></p><p><b>textEquivalent</b>: Potential diagnosis of Acute Coronary Syndrome</p><p><b>resource</b>: <a href=\"Bundle-getdiagnoses-return.html#Task_propose-acute-coronary-syndrome\">Bundle: type = collection</a></p></blockquote><blockquote><p><b>action</b></p><p><b>textEquivalent</b>: Potential diagnosis of Pneumothorax</p><p><b>resource</b>: <a href=\"Bundle-getdiagnoses-return.html#Task_propose-pneumothorax\">Bundle: type = collection</a></p></blockquote></div>"       ] ;
fhir:status [ fhir:v "active" ] ;
fhir:intent [ fhir:v "proposal" ] ;
fhir:subject [
fhir:reference [ fhir:v "Patient/X" ]       ] ;
      ( fhir:action [
fhir:textEquivalent [ fhir:v "Potential diagnosis of Pulmonary Embolism" ] ;
fhir:resource [
fhir:reference [ fhir:v "Task/propose-pulmonary-embolism" ]         ]       ] [
fhir:textEquivalent [ fhir:v "Potential diagnosis of Acute Coronary Syndrome" ] ;
fhir:resource [
fhir:reference [ fhir:v "Task/propose-acute-coronary-syndrome" ]         ]       ] [
fhir:textEquivalent [ fhir:v "Potential diagnosis of Pneumothorax" ] ;
fhir:resource [
fhir:reference [ fhir:v "Task/propose-pneumothorax" ]         ]       ] )     ] )
  ] [
    ( fhir:resource [
a fhir:Task ;
fhir:id [ fhir:v "propose-pulmonary-embolism" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-proposediagnosistask"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-proposediagnosistask>         ] [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task>         ] )       ] ;
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_propose-pulmonary-embolism\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task propose-pulmonary-embolism</b></p><a name=\"propose-pulmonary-embolism\"> </a><a name=\"hcpropose-pulmonary-embolism\"> </a><a name=\"propose-pulmonary-embolism-en-US\"> </a><p><b>status</b>: Requested</p><p><b>intent</b>: proposal</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs propose-diagnosis}\">Propose a diagnosis</span></p><p><b>for</b>: <a href=\"Bundle-getdiagnoses-data.html#Patient_X\">Bundle: type = collection</a></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs propose-diagnosis}\">Propose a diagnosis</span></td><td><a href=\"#hcpropose-pulmonary-embolism/proposed-diagnosis\">Condition Pulmonary embolism</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Condition  #proposed-diagnosis</b></p><a name=\"propose-pulmonary-embolism/proposed-diagnosis\"> </a><a name=\"hcpropose-pulmonary-embolism/proposed-diagnosis\"> </a><a name=\"propose-pulmonary-embolism/proposed-diagnosis-en-US\"> </a><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-ver-status provisional}\">Provisional</span></p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-category problem-list-item}\">Problem List Item</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct XXXXXX}\">Pulmonary embolism</span></p><p><b>subject</b>: <a href=\"Bundle-getdiagnoses-data.html#Patient_X\">Bundle: type = collection</a></p><p><b>onset</b>: 2024-10-13</p></blockquote></div>"       ] ;
      ( fhir:contained [
a fhir:Condition ;
fhir:id [ fhir:v "proposed-diagnosis" ] ;
fhir:meta [
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-condition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-condition>           ] )         ] ;
fhir:clinicalStatus [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ]           ] )         ] ;
fhir:verificationStatus [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ] ;
fhir:code [ fhir:v "provisional" ]           ] )         ] ;
        ( fhir:category [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "problem-list-item" ]           ] )         ] ) ;
fhir:code [
          ( fhir:coding [
a sct:XXXXXX ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "XXXXXX" ] ;
fhir:display [ fhir:v "Pulmonary embolism" ]           ] ) ;
fhir:text [ fhir:v "Pulmonary embolism" ]         ] ;
fhir:subject [
fhir:reference [ fhir:v "Patient/X" ]         ] ;
fhir:onset [ fhir:v "2024-10-13"^^xsd:date ]       ] ) ;
fhir:status [ fhir:v "requested" ] ;
fhir:intent [ fhir:v "proposal" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "propose-diagnosis" ] ;
fhir:display [ fhir:v "Propose a diagnosis" ]         ] )       ] ;
fhir:for [
fhir:reference [ fhir:v "Patient/X" ]       ] ;
      ( fhir:input [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "propose-diagnosis" ] ;
fhir:display [ fhir:v "Propose a diagnosis" ]           ] )         ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "#proposed-diagnosis" ]         ]       ] )     ] )
  ] [
    ( fhir:resource [
a fhir:Task ;
fhir:id [ fhir:v "propose-acute-coronary-syndrome" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-proposediagnosistask"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-proposediagnosistask>         ] [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task>         ] )       ] ;
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_propose-acute-coronary-syndrome\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task propose-acute-coronary-syndrome</b></p><a name=\"propose-acute-coronary-syndrome\"> </a><a name=\"hcpropose-acute-coronary-syndrome\"> </a><a name=\"propose-acute-coronary-syndrome-en-US\"> </a><p><b>status</b>: Requested</p><p><b>intent</b>: proposal</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs propose-diagnosis}\">Propose a diagnosis</span></p><p><b>for</b>: <a href=\"Bundle-getdiagnoses-data.html#Patient_X\">Bundle: type = collection</a></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs propose-diagnosis}\">Propose a diagnosis</span></td><td><a href=\"#hcpropose-acute-coronary-syndrome/proposed-diagnosis\">Condition Acute coronary syndrome</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Condition  #proposed-diagnosis</b></p><a name=\"propose-acute-coronary-syndrome/proposed-diagnosis\"> </a><a name=\"hcpropose-acute-coronary-syndrome/proposed-diagnosis\"> </a><a name=\"propose-acute-coronary-syndrome/proposed-diagnosis-en-US\"> </a><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-ver-status provisional}\">Provisional</span></p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-category problem-list-item}\">Problem List Item</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct XXXXXX}\">Acute coronary syndrome</span></p><p><b>subject</b>: <a href=\"Bundle-getdiagnoses-data.html#Patient_X\">Bundle: type = collection</a></p><p><b>onset</b>: 2024-10-13</p></blockquote></div>"       ] ;
      ( fhir:contained [
a fhir:Condition ;
fhir:id [ fhir:v "proposed-diagnosis" ] ;
fhir:meta [
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-condition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-condition>           ] )         ] ;
fhir:clinicalStatus [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ]           ] )         ] ;
fhir:verificationStatus [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ] ;
fhir:code [ fhir:v "provisional" ]           ] )         ] ;
        ( fhir:category [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "problem-list-item" ]           ] )         ] ) ;
fhir:code [
          ( fhir:coding [
a sct:XXXXXX ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "XXXXXX" ] ;
fhir:display [ fhir:v "Acute coronary syndrome" ]           ] ) ;
fhir:text [ fhir:v "Acute coronary syndrome" ]         ] ;
fhir:subject [
fhir:reference [ fhir:v "Patient/X" ]         ] ;
fhir:onset [ fhir:v "2024-10-13"^^xsd:date ]       ] ) ;
fhir:status [ fhir:v "requested" ] ;
fhir:intent [ fhir:v "proposal" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "propose-diagnosis" ] ;
fhir:display [ fhir:v "Propose a diagnosis" ]         ] )       ] ;
fhir:for [
fhir:reference [ fhir:v "Patient/X" ]       ] ;
      ( fhir:input [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "propose-diagnosis" ] ;
fhir:display [ fhir:v "Propose a diagnosis" ]           ] )         ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "#proposed-diagnosis" ]         ]       ] )     ] )
  ] [
    ( fhir:resource [
a fhir:Task ;
fhir:id [ fhir:v "propose-pneumothorax" ] ;
fhir:meta [
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-proposediagnosistask"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-proposediagnosistask>         ] [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task>         ] )       ] ;
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_propose-pneumothorax\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task propose-pneumothorax</b></p><a name=\"propose-pneumothorax\"> </a><a name=\"hcpropose-pneumothorax\"> </a><a name=\"propose-pneumothorax-en-US\"> </a><p><b>status</b>: Requested</p><p><b>intent</b>: proposal</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs propose-diagnosis}\">Propose a diagnosis</span></p><p><b>for</b>: <a href=\"Bundle-getdiagnoses-data.html#Patient_X\">Bundle: type = collection</a></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs propose-diagnosis}\">Propose a diagnosis</span></td><td><a href=\"#hcpropose-pneumothorax/proposed-diagnosis\">Condition Pneumothorax</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Condition  #proposed-diagnosis</b></p><a name=\"propose-pneumothorax/proposed-diagnosis\"> </a><a name=\"hcpropose-pneumothorax/proposed-diagnosis\"> </a><a name=\"propose-pneumothorax/proposed-diagnosis-en-US\"> </a><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-ver-status provisional}\">Provisional</span></p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-category problem-list-item}\">Problem List Item</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct XXXXXX}\">Pneumothorax</span></p><p><b>subject</b>: <a href=\"Bundle-getdiagnoses-data.html#Patient_X\">Bundle: type = collection</a></p><p><b>onset</b>: 2024-10-13</p></blockquote></div>"       ] ;
      ( fhir:contained [
a fhir:Condition ;
fhir:id [ fhir:v "proposed-diagnosis" ] ;
fhir:meta [
          ( fhir:profile [
fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-condition"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-condition>           ] )         ] ;
fhir:clinicalStatus [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ]           ] )         ] ;
fhir:verificationStatus [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ] ;
fhir:code [ fhir:v "provisional" ]           ] )         ] ;
        ( fhir:category [
          ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "problem-list-item" ]           ] )         ] ) ;
fhir:code [
          ( fhir:coding [
a sct:XXXXXX ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "XXXXXX" ] ;
fhir:display [ fhir:v "Pneumothorax" ]           ] ) ;
fhir:text [ fhir:v "Pneumothorax" ]         ] ;
fhir:subject [
fhir:reference [ fhir:v "Patient/X" ]         ] ;
fhir:onset [ fhir:v "2024-10-13"^^xsd:date ]       ] ) ;
fhir:status [ fhir:v "requested" ] ;
fhir:intent [ fhir:v "proposal" ] ;
fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "propose-diagnosis" ] ;
fhir:display [ fhir:v "Propose a diagnosis" ]         ] )       ] ;
fhir:for [
fhir:reference [ fhir:v "Patient/X" ]       ] ;
      ( fhir:input [
fhir:type [
          ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "propose-diagnosis" ] ;
fhir:display [ fhir:v "Propose a diagnosis" ]           ] )         ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "#proposed-diagnosis" ]         ]       ] )     ] )
  ] ) . #