@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/bcsm-cds/Bundle/FollowupScreeningResult_eve-biopsyresult_malignant_act-oncreferral> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "FollowupScreeningResult_eve-biopsyresult_malignant_act-oncreferral"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/CarePlan/345"^^xsd:anyURI ] ;
     fhir:resource ( <http://cancerscreeningcds.github.io/bcsm-cds/CarePlan/345> )
  ] [
     fhir:fullUrl [ fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/RequestGroup/346"^^xsd:anyURI ] ;
     fhir:resource ( <http://cancerscreeningcds.github.io/bcsm-cds/RequestGroup/346> )
  ] [
     fhir:fullUrl [ fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/ServiceRequest/347"^^xsd:anyURI ] ;
     fhir:resource ( <http://cancerscreeningcds.github.io/bcsm-cds/ServiceRequest/347> )
  ] ) . # 

<http://cancerscreeningcds.github.io/bcsm-cds/CarePlan/345> a fhir:CarePlan ;
  fhir:id [ fhir:v "345"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"CarePlan_345\"> </a><p class=\"res-header-id\"><b>Generated Narrative: CarePlan 345</b></p><a name=\"345\"> </a><a name=\"hc345\"> </a><a name=\"345-en-US\"> </a><p><b>instantiatesCanonical</b>: <a href=\"PlanDefinition-flow-FollowupScreeningResult.html\">Followup Screening Result</a></p><p><b>status</b>: Draft</p><p><b>intent</b>: Proposal</p><p><b>subject</b>: <a href=\"Bundle-eve-Age45to54_act-acsavgrecs45_act-uspstfavgrecs.html#Patient_defaultPatient\">Jane Doe</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-FollowupScreeningResult_eve-biopsyresult_malignant_act-oncreferral.html#RequestGroup_346\">Bundle: type = collection</a></td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:instantiatesCanonical ( [
     fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/PlanDefinition/flow-FollowupScreeningResult"^^xsd:anyURI ;
     fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/PlanDefinition/flow-FollowupScreeningResult>
  ] ) ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:subject [
     fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/Patient/defaultPatient> ;
     fhir:reference [ fhir:v "Patient/defaultPatient" ] ;
     fhir:display [ fhir:v "Jane Doe" ]
  ] ; # 
  fhir:created [ fhir:v "2024-12-10T00:00:00.0Z"^^xsd:dateTime] ; # 
  fhir:activity ( [
     fhir:reference [
       fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/RequestGroup/346> ;
       fhir:reference [ fhir:v "RequestGroup/346" ]
     ]
  ] ) . # 

<http://cancerscreeningcds.github.io/bcsm-cds/RequestGroup/346> a fhir:RequestGroup ;
  fhir:id [ fhir:v "346"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"RequestGroup_346\"> </a><p class=\"res-header-id\"><b>Generated Narrative: RequestGroup 346</b></p><a name=\"346\"> </a><a name=\"hc346\"> </a><a name=\"346-en-US\"> </a><p><b>instantiatesCanonical</b>: <a href=\"PlanDefinition-flow-FollowupScreeningResult.html\">Followup Screening Result</a></p><p><b>status</b>: Draft</p><p><b>intent</b>: Proposal</p><p><b>subject</b>: <a href=\"Bundle-eve-Age45to54_act-acsavgrecs45_act-uspstfavgrecs.html#Patient_defaultPatient\">Jane Doe</a></p><blockquote><p><b>action</b></p><blockquote><p><b>id</b></p>FollowupMalignantBiopsyResult</blockquote><p><b>Recommendation Flag Extension</b>: <span title=\"Codes:{http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/recommendation-flag-code-system due}\">Due</span></p><p><b>title</b>: Refer to breast cancer specialist</p><p><b>description</b>: Referral to breast surgery or medical oncology as appropriate.</p><p><b>code</b>: <span title=\"Codes:{http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/plan-definition-action-code-system oncreferral}\">Oncologic referral</span></p><p><b>timing</b>: Events: 2024-10-01 10:00:00+0000 </p><p><b>resource</b>: <a href=\"Bundle-FollowupScreeningResult_eve-biopsyresult_malignant_act-oncreferral.html#ServiceRequest_347\">Bundle: type = collection</a></p></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:instantiatesCanonical ( [
     fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/PlanDefinition/flow-FollowupScreeningResult"^^xsd:anyURI ;
     fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/PlanDefinition/flow-FollowupScreeningResult>
  ] ) ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:subject [
     fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/Patient/defaultPatient> ;
     fhir:reference [ fhir:v "Patient/defaultPatient" ] ;
     fhir:display [ fhir:v "Jane Doe" ]
  ] ; # 
  fhir:action ( [
     fhir:id [ fhir:v "FollowupMalignantBiopsyResult" ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/StructureDefinition/csm-recommendation-flag"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/recommendation-flag-code-system"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "due" ] ;
           fhir:display [ fhir:v "Due" ]
         ] )
       ]
     ] ) ;
     fhir:title [ fhir:v "Refer to breast cancer specialist" ] ;
     fhir:description [ fhir:v "Referral to breast surgery or medical oncology as appropriate." ] ;
     fhir:code ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/plan-definition-action-code-system"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "oncreferral" ] ;
         fhir:display [ fhir:v "Oncologic referral" ]
       ] )
     ] ) ;
     fhir:timing [
       a fhir:Timing ;
       fhir:event ( [ fhir:v "2024-10-01T10:00:00.000+00:00"^^xsd:dateTime ] )
     ] ;
     fhir:resource [
       fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/ServiceRequest/347> ;
       fhir:reference [ fhir:v "ServiceRequest/347" ]
     ]
  ] ) . # 

<http://cancerscreeningcds.github.io/bcsm-cds/ServiceRequest/347> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "347"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_347\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest 347</b></p><a name=\"347\"> </a><a name=\"hc347\"> </a><a name=\"347-en-US\"> </a><p><b>basedOn</b>: <a href=\"ActivityDefinition-BreastCancerScreeningServiceRequest.html\">Breast 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/bcsm-cds/CodeSystem/plan-definition-action-code-system oncreferral}\">Oncologic referral</span></p><p><b>subject</b>: <a href=\"Bundle-eve-Age45to54_act-acsavgrecs45_act-uspstfavgrecs.html#Patient_defaultPatient\">Jane Doe</a></p><p><b>occurrence</b>: 2024-10-01 10:00:00+0000</p><p><b>reasonCode</b>: <span title=\"Codes:{http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/biopsy-result-observation-code-system Malignant}\">Malignant breast finding</span></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:basedOn ( [
     fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/ActivityDefinition/BreastCancerScreeningServiceRequest> ;
     fhir:reference [ fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/ActivityDefinition/BreastCancerScreeningServiceRequest" ]
  ] ) ; # 
  fhir:status [ fhir:v "option"] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/plan-definition-action-code-system"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "oncreferral" ] ;
       fhir:display [ fhir:v "Oncologic referral" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/Patient/defaultPatient> ;
     fhir:reference [ fhir:v "Patient/defaultPatient" ] ;
     fhir:display [ fhir:v "Jane Doe" ]
  ] ; # 
  fhir:occurrence [
     a fhir:dateTime ;
     fhir:v "2024-10-01T10:00:00.000+00:00"^^xsd:dateTime
  ] ; # 
  fhir:reasonCode ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://cancerscreeningcds.github.io/bcsm-cds/CodeSystem/biopsy-result-observation-code-system"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "Malignant" ] ;
       fhir:display [ fhir:v "Malignant breast finding" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

