@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/ColinCarlson> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ColinCarlson"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:resource ( [
       a fhir:Patient ;
       fhir:id [ fhir:v "ColinCarlson" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_ColinCarlson\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient ColinCarlson</b></p><a name=\"ColinCarlson\"> </a><a name=\"hcColinCarlson\"> </a><a name=\"ColinCarlson-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Colin Carlson  Male, DoB: 1970-06-19 ( Medical Record Number: 345-120-897)</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 "345-120-897" ]
       ] ) ;
       fhir:name ( [
         fhir:family [ fhir:v "Carlson" ] ;
         fhir:given ( [ fhir:v "Colin" ] )
       ] ) ;
       fhir:gender [ fhir:v "male" ] ;
       fhir:birthDate [ fhir:v "1970-06-19"^^xsd:date ]
     ] )
  ] [
     fhir:resource ( [
       a fhir:Condition ;
       fhir:id [ fhir:v "colorectal-cancer" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_colorectal-cancer\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Condition colorectal-cancer</b></p><a name=\"colorectal-cancer\"> </a><a name=\"hccolorectal-cancer\"> </a><a name=\"colorectal-cancer-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 confirmed}\">Confirmed</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 363406005}\">Malignant neoplasm of colon (disorder)</span></p><p><b>subject</b>: <a href=\"Bundle-ColinCarlson.html#Patient_ColinCarlson\">Bundle: type = collection</a></p><p><b>onset</b>: 2024-10-01</p></div>"^^rdf:XMLLiteral
       ] ;
       fhir:clinicalStatus [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "active" ] ;
           fhir:display [ 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 "confirmed" ] ;
           fhir:display [ fhir:v "Confirmed" ]
         ] )
       ] ;
       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:display [ fhir:v "Problem List Item" ]
         ] )
       ] ) ;
       fhir:code [
         fhir:coding ( [
           a sct:363406005 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "363406005" ] ;
           fhir:display [ fhir:v "Malignant neoplasm of colon (disorder)" ]
         ] ) ;
         fhir:text [ fhir:v "Malignant neoplasm of colon (disorder)" ]
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/ColinCarlson> ;
         fhir:reference [ fhir:v "Patient/ColinCarlson" ]
       ] ;
       fhir:onset [
         a fhir:dateTime ;
         fhir:v "2024-10-01"^^xsd:date
       ]
     ] )
  ] [
     fhir:resource ( [
       a fhir:DiagnosticReport ;
       fhir:id [ fhir:v "colonoscopy-report-malignant" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_colonoscopy-report-malignant\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport colonoscopy-report-malignant</b></p><a name=\"colonoscopy-report-malignant\"> </a><a name=\"hccolonoscopy-report-malignant\"> </a><a name=\"colonoscopy-report-malignant-en-US\"> </a><h2><span title=\"Codes:{http://loinc.org 18746-8}\">Colonoscopy study</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>Not done yet</td></tr><tr><td>When For</td><td>2024-09-02</td></tr></table><p><b>Report Details</b></p><p><b>Coded Conclusions:</b></p><ul><li><span title=\"Codes:{http://snomed.info/sct 1259398000}\">Primary carcinoma of cecum (disorder)</span></li></ul></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "final" ] ;
       fhir:code [
         fhir:coding ( [
           a loinc:18746-8 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "18746-8" ] ;
           fhir:display [ fhir:v "Colonoscopy study" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/ColinCarlson> ;
         fhir:reference [ fhir:v "Patient/ColinCarlson" ]
       ] ;
       fhir:effective [
         a fhir:dateTime ;
         fhir:v "2024-09-02"^^xsd:date
       ] ;
       fhir:conclusionCode ( [
         fhir:coding ( [
           a sct:1259398000 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "1259398000" ] ;
           fhir:display [ fhir:v "Primary carcinoma of cecum (disorder)" ]
         ] )
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

