@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://cancerscreeningcds.github.io/crcsm-cds/Bundle/FollowUp_PollyStuart> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "FollowUp_PollyStuart"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/CarePlan/137"^^xsd:anyURI ] ;
     fhir:resource ( <http://cancerscreeningcds.github.io/crcsm-cds/CarePlan/137> )
  ] [
     fhir:fullUrl [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/RequestGroup/138"^^xsd:anyURI ] ;
     fhir:resource ( <http://cancerscreeningcds.github.io/crcsm-cds/RequestGroup/138> )
  ] [
     fhir:fullUrl [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/ServiceRequest/139"^^xsd:anyURI ] ;
     fhir:resource ( <http://cancerscreeningcds.github.io/crcsm-cds/ServiceRequest/139> )
  ] ) . # 

<http://cancerscreeningcds.github.io/crcsm-cds/CarePlan/137> a fhir:CarePlan ;
  fhir:id [ fhir:v "137"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"CarePlan_137\"> </a><p class=\"res-header-id\"><b>Generated Narrative: CarePlan 137</b></p><a name=\"137\"> </a><a name=\"hc137\"> </a><a name=\"137-en-US\"> </a><p><b>instantiatesCanonical</b>: <a href=\"PlanDefinition-flow-FollowUp.html\">Follow Up</a></p><p><b>status</b>: Draft</p><p><b>intent</b>: Proposal</p><p><b>subject</b>: <a href=\"Bundle-PollyStuart.html#Patient_PollyStuart\">Polly Stuart</a></p><p><b>created</b>: 2024-12-10 00:00:00+0000</p><h3>Activities</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Bundle-DecisionToScreen_HankCarlson.html#RequestGroup_138\">Bundle: type = collection</a></td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:instantiatesCanonical ( [
     fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/PlanDefinition/flow-FollowUp"^^xsd:anyURI ;
     fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/PlanDefinition/flow-FollowUp>
  ] ) ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:subject [
     fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/PollyStuart> ;
     fhir:reference [ fhir:v "Patient/PollyStuart" ] ;
     fhir:display [ fhir:v "Polly Stuart" ]
  ] ; # 
  fhir:created [ fhir:v "2024-12-10T00:00:00.0Z"^^xsd:dateTime] ; # 
  fhir:activity ( [
     fhir:reference [
       fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/RequestGroup/138> ;
       fhir:reference [ fhir:v "RequestGroup/138" ]
     ]
  ] ) . # 

<http://cancerscreeningcds.github.io/crcsm-cds/RequestGroup/138> a fhir:RequestGroup ;
  fhir:id [ fhir:v "138"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"RequestGroup_138\"> </a><p class=\"res-header-id\"><b>Generated Narrative: RequestGroup 138</b></p><a name=\"138\"> </a><a name=\"hc138\"> </a><a name=\"138-en-US\"> </a><p><b>instantiatesCanonical</b>: <a href=\"PlanDefinition-flow-FollowUp.html\">Follow Up</a></p><p><b>status</b>: Draft</p><p><b>intent</b>: Proposal</p><p><b>subject</b>: <a href=\"Bundle-PollyStuart.html#Patient_PollyStuart\">Polly Stuart</a></p><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>FollowupColonoscopyPolypResult</blockquote><p><b>io/crcsm-cds/StructureDefinition/csm-recommendation-flag</b>: <span title=\"Codes:{http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/recommendation-flag-code-system overdue}\">Overdue</span></p><p><b>title</b>: Follow-up with endoscopist for recommendation</p><p><b>description</b>: Follow-up with endoscopist to determine appropriate interval for next screening/surveillance colonoscopy.</p><p><b>code</b>: <span title=\"Codes:{http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/plan-definition-action-code-system endoscopistrecs}\">Follow-up with endoscopist for recommendations</span></p><p><b>timing</b>: Events: 2024-02-18 00:00:00+0000 </p><p><b>resource</b>: <a href=\"Bundle-DecisionToScreen_HankCarlson.html#ServiceRequest_139\">Bundle: type = collection</a></p></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:instantiatesCanonical ( [
     fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/PlanDefinition/flow-FollowUp"^^xsd:anyURI ;
     fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/PlanDefinition/flow-FollowUp>
  ] ) ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:subject [
     fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/PollyStuart> ;
     fhir:reference [ fhir:v "Patient/PollyStuart" ] ;
     fhir:display [ fhir:v "Polly Stuart" ]
  ] ; # 
  fhir:action ( [
     fhir:id [ fhir:v "FollowupColonoscopyPolypResult" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/StructureDefinition/csm-recommendation-flag"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/recommendation-flag-code-system"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "overdue" ] ;
           fhir:display [ fhir:v "Overdue" ]
         ] )
       ]
     ] ) ;
     fhir:title [ fhir:v "Follow-up with endoscopist for recommendation" ] ;
     fhir:description [ fhir:v "Follow-up with endoscopist to determine appropriate interval for next screening/surveillance colonoscopy." ] ;
     fhir:code ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/plan-definition-action-code-system"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "endoscopistrecs" ] ;
         fhir:display [ fhir:v "Follow-up with endoscopist for recommendations" ]
       ] )
     ] ) ;
     fhir:timing [
       a fhir:Timing ;
       fhir:event ( [ fhir:v "2024-02-18T00:00:00.000+00:00"^^xsd:dateTime ] )
     ] ;
     fhir:resource [
       fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/ServiceRequest/139> ;
       fhir:reference [ fhir:v "ServiceRequest/139" ]
     ]
  ] ) . # 

<http://cancerscreeningcds.github.io/crcsm-cds/ServiceRequest/139> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "139"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_139\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest 139</b></p><a name=\"139\"> </a><a name=\"hc139\"> </a><a name=\"139-en-US\"> </a><p><b>basedOn</b>: <a href=\"ActivityDefinition-ColorectalCancerScreeningServiceRequest.html\">Colorectal Cancer Screening Service Request</a></p><p><b>status</b>: option</p><p><b>intent</b>: Proposal</p><p><b>code</b>: <span title=\"Codes:{http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/plan-definition-action-code-system endoscopistrecs}\">Follow-up with endoscopist for recommendations</span></p><p><b>subject</b>: <a href=\"Bundle-PollyStuart.html#Patient_PollyStuart\">Polly Stuart</a></p><p><b>occurrence</b>: 2024-02-18 00:00:00+0000</p><p><b>reasonCode</b>: <span title=\"Codes:{http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/colonoscopy-result-observation-code-system missingrec}\">Missing endoscopist recommendation for potentially precancerous polyp finding</span></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:basedOn ( [
     fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/ActivityDefinition/ColorectalCancerScreeningServiceRequest> ;
     fhir:reference [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/ActivityDefinition/ColorectalCancerScreeningServiceRequest" ]
  ] ) ; # 
  fhir:status [ fhir:v "option"] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/plan-definition-action-code-system"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "endoscopistrecs" ] ;
       fhir:display [ fhir:v "Follow-up with endoscopist for recommendations" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/PollyStuart> ;
     fhir:reference [ fhir:v "Patient/PollyStuart" ] ;
     fhir:display [ fhir:v "Polly Stuart" ]
  ] ; # 
  fhir:occurrence [
     a fhir:dateTime ;
     fhir:v "2024-02-18T00:00:00.000+00:00"^^xsd:dateTime
  ] ; # 
  fhir:reasonCode ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/colonoscopy-result-observation-code-system"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "missingrec" ] ;
       fhir:display [ fhir:v "Missing endoscopist recommendation for potentially precancerous polyp finding" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

