@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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://cancerscreeningcds.github.io/crcsm-cds/Bundle/SallySimpson> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "SallySimpson"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:resource ( [
       a fhir:Patient ;
       fhir:id [ fhir:v "SallySimpson" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_SallySimpson\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient SallySimpson</b></p><a name=\"SallySimpson\"> </a><a name=\"hcSallySimpson\"> </a><a name=\"SallySimpson-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Sally Simpson  Female, DoB: 1970-03-19 ( Medical Record Number: 631-344-898)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity.  The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.\">US Core Ethnicity Extension:</td><td colspan=\"3\"><ul><li>text: Not Hispanic or Latino</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race.  The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.\">US Core Race Extension:</td><td colspan=\"3\"><ul><li>text: White</li></ul></td></tr></table></div>"^^rdf:XMLLiteral
       ] ;
       fhir:extension ( [
         fhir:extension ( [
           fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
           fhir:value [
             a fhir:string ;
             fhir:v "White"
           ]
         ] ) ;
         fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"^^xsd:anyURI ]
       ] [
         fhir:extension ( [
           fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
           fhir:value [
             a fhir:string ;
             fhir:v "Not Hispanic or Latino"
           ]
         ] ) ;
         fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"^^xsd:anyURI ]
       ] ) ;
       fhir:identifier ( [
         fhir:type [
           fhir:coding ( [
             fhir:code [ fhir:v "MR" ] ;
             fhir:display [ fhir:v "Medical Record Number" ]
           ] )
         ] ;
         fhir:value [ fhir:v "631-344-898" ]
       ] ) ;
       fhir:name ( [
         fhir:family [ fhir:v "Simpson" ] ;
         fhir:given ( [ fhir:v "Sally" ] )
       ] ) ;
       fhir:gender [ fhir:v "female" ] ;
       fhir:birthDate [ fhir:v "1970-03-19"^^xsd:date ]
     ] )
  ] [
     fhir:resource ( [
       a fhir:DiagnosticReport ;
       fhir:id [ fhir:v "fit-report-neg-1" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_fit-report-neg-1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport fit-report-neg-1</b></p><a name=\"fit-report-neg-1\"> </a><a name=\"hcfit-report-neg-1\"> </a><a name=\"fit-report-neg-1-en-US\"> </a><h2><span title=\"Codes:{http://loinc.org 29771-3}\">Hemoglobin.gastrointestinal.lower [Presence] in Stool by Immunoassay</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>Not done yet</td></tr><tr><td>When For</td><td>2020-01-15 00:00:00+0000</td></tr></table><p><b>Report Details</b></p><p><b>Coded Conclusions:</b></p><ul><li><span title=\"Codes:{http://snomed.info/sct 260385009}\">Negative (qualifier value)</span></li></ul></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "final" ] ;
       fhir:code [
         fhir:coding ( [
           a loinc:29771-3 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "29771-3" ] ;
           fhir:display [ fhir:v "Hemoglobin.gastrointestinal.lower [Presence] in Stool by Immunoassay" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/SallySimpson> ;
         fhir:reference [ fhir:v "Patient/SallySimpson" ]
       ] ;
       fhir:effective [
         a fhir:dateTime ;
         fhir:v "2020-01-15T00:00:00.000Z"^^xsd:dateTime
       ] ;
       fhir:conclusionCode ( [
         fhir:coding ( [
           a sct:260385009 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "260385009" ] ;
           fhir:display [ fhir:v "Negative (qualifier value)" ]
         ] )
       ] )
     ] )
  ] [
     fhir:resource ( [
       a fhir:DiagnosticReport ;
       fhir:id [ fhir:v "fit-report-neg-2" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_fit-report-neg-2\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport fit-report-neg-2</b></p><a name=\"fit-report-neg-2\"> </a><a name=\"hcfit-report-neg-2\"> </a><a name=\"fit-report-neg-2-en-US\"> </a><h2><span title=\"Codes:{http://loinc.org 29771-3}\">Hemoglobin.gastrointestinal.lower [Presence] in Stool by Immunoassay</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>Not done yet</td></tr><tr><td>When For</td><td>2021-01-30 00:00:00+0000</td></tr></table><p><b>Report Details</b></p><p><b>Coded Conclusions:</b></p><ul><li><span title=\"Codes:{http://snomed.info/sct 260385009}\">Negative (qualifier value)</span></li></ul></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "final" ] ;
       fhir:code [
         fhir:coding ( [
           a loinc:29771-3 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "29771-3" ] ;
           fhir:display [ fhir:v "Hemoglobin.gastrointestinal.lower [Presence] in Stool by Immunoassay" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/SallySimpson> ;
         fhir:reference [ fhir:v "Patient/SallySimpson" ]
       ] ;
       fhir:effective [
         a fhir:dateTime ;
         fhir:v "2021-01-30T00:00:00.000Z"^^xsd:dateTime
       ] ;
       fhir:conclusionCode ( [
         fhir:coding ( [
           a sct:260385009 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "260385009" ] ;
           fhir:display [ fhir:v "Negative (qualifier value)" ]
         ] )
       ] )
     ] )
  ] [
     fhir:resource ( [
       a fhir:DiagnosticReport ;
       fhir:id [ fhir:v "fit-report-neg-3" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_fit-report-neg-3\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport fit-report-neg-3</b></p><a name=\"fit-report-neg-3\"> </a><a name=\"hcfit-report-neg-3\"> </a><a name=\"fit-report-neg-3-en-US\"> </a><h2><span title=\"Codes:{http://loinc.org 29771-3}\">Hemoglobin.gastrointestinal.lower [Presence] in Stool by Immunoassay</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>Not done yet</td></tr><tr><td>When For</td><td>2022-03-02 00:00:00+0000</td></tr></table><p><b>Report Details</b></p><p><b>Coded Conclusions:</b></p><ul><li><span title=\"Codes:{http://snomed.info/sct 260385009}\">Negative (qualifier value)</span></li></ul></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "final" ] ;
       fhir:code [
         fhir:coding ( [
           a loinc:29771-3 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "29771-3" ] ;
           fhir:display [ fhir:v "Hemoglobin.gastrointestinal.lower [Presence] in Stool by Immunoassay" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/SallySimpson> ;
         fhir:reference [ fhir:v "Patient/SallySimpson" ]
       ] ;
       fhir:effective [
         a fhir:dateTime ;
         fhir:v "2022-03-02T00:00:00.000Z"^^xsd:dateTime
       ] ;
       fhir:conclusionCode ( [
         fhir:coding ( [
           a sct:260385009 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "260385009" ] ;
           fhir:display [ fhir:v "Negative (qualifier value)" ]
         ] )
       ] )
     ] )
  ] [
     fhir:resource ( [
       a fhir:DiagnosticReport ;
       fhir:id [ fhir:v "fit-report-neg-4" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_fit-report-neg-4\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport fit-report-neg-4</b></p><a name=\"fit-report-neg-4\"> </a><a name=\"hcfit-report-neg-4\"> </a><a name=\"fit-report-neg-4-en-US\"> </a><h2><span title=\"Codes:{http://loinc.org 29771-3}\">Hemoglobin.gastrointestinal.lower [Presence] in Stool by Immunoassay</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>Not done yet</td></tr><tr><td>When For</td><td>2023-02-27 00:00:00+0000</td></tr></table><p><b>Report Details</b></p><p><b>Coded Conclusions:</b></p><ul><li><span title=\"Codes:{http://snomed.info/sct 260385009}\">Negative (qualifier value)</span></li></ul></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "final" ] ;
       fhir:code [
         fhir:coding ( [
           a loinc:29771-3 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "29771-3" ] ;
           fhir:display [ fhir:v "Hemoglobin.gastrointestinal.lower [Presence] in Stool by Immunoassay" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/SallySimpson> ;
         fhir:reference [ fhir:v "Patient/SallySimpson" ]
       ] ;
       fhir:effective [
         a fhir:dateTime ;
         fhir:v "2023-02-27T00:00:00.000Z"^^xsd:dateTime
       ] ;
       fhir:conclusionCode ( [
         fhir:coding ( [
           a sct:260385009 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "260385009" ] ;
           fhir:display [ fhir:v "Negative (qualifier value)" ]
         ] )
       ] )
     ] )
  ] [
     fhir:resource ( [
       a fhir:Observation ;
       fhir:id [ fhir:v "d63b330b-d91c-48ec-b17b-9b679bd02a55" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_d63b330b-d91c-48ec-b17b-9b679bd02a55\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation d63b330b-d91c-48ec-b17b-9b679bd02a55</b></p><a name=\"d63b330b-d91c-48ec-b17b-9b679bd02a55\"> </a><a name=\"hcd63b330b-d91c-48ec-b17b-9b679bd02a55\"> </a><a name=\"d63b330b-d91c-48ec-b17b-9b679bd02a55-en-US\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/screening-observation-code-system ColorectalSymptoms}\">New or worsening colorectal symptoms</span></p><p><b>subject</b>: <a href=\"Bundle-SallySimpson.html#Patient_SallySimpson\">Bundle: type = collection</a></p><p><b>effective</b>: 2024-12-10 00:00:00+0000</p><p><b>value</b>: true</p></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "final" ] ;
       fhir:code [
         fhir:coding ( [
           fhir:system [ fhir:v "http://cancerscreeningcds.github.io/crcsm-cds/CodeSystem/screening-observation-code-system"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "ColorectalSymptoms" ] ;
           fhir:display [ fhir:v "New or worsening colorectal symptoms" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/SallySimpson> ;
         fhir:reference [ fhir:v "Patient/SallySimpson" ]
       ] ;
       fhir:effective [
         a fhir:dateTime ;
         fhir:v "2024-12-10T00:00:00.000Z"^^xsd:dateTime
       ] ;
       fhir:value [
         a fhir:boolean ;
         fhir:v "true"^^xsd:boolean
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

