@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://cancerscreeningcds.github.io/crcsm-cds/Bundle/eve-pendingFlexSig_act-testpending> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "eve-pendingFlexSig_act-testpending"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:resource ( [
       a fhir:Patient ;
       fhir:id [ fhir:v "a391bd43-2ad6-4575-8eb9-dfe442db810e" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_a391bd43-2ad6-4575-8eb9-dfe442db810e\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient a391bd43-2ad6-4575-8eb9-dfe442db810e</b></p><a name=\"a391bd43-2ad6-4575-8eb9-dfe442db810e\"> </a><a name=\"hca391bd43-2ad6-4575-8eb9-dfe442db810e\"> </a><a name=\"a391bd43-2ad6-4575-8eb9-dfe442db810e-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Joanne Smith  Other, DoB: 1971-01-01</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"A code classifying the person's sex assigned at birth  as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).\"><a href=\"http://hl7.org/fhir/us/core/STU3.1/StructureDefinition-us-core-birthsex.html\">US Core Birth Sex Extension</a></td><td colspan=\"3\">F</td></tr></table></div>"^^rdf:XMLLiteral
       ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:code ;
           fhir:v "F"
         ]
       ] ) ;
       fhir:name ( [
         fhir:family [ fhir:v "Smith" ] ;
         fhir:given ( [ fhir:v "Joanne" ] )
       ] ) ;
       fhir:gender [ fhir:v "other" ] ;
       fhir:birthDate [ fhir:v "1971-01-01"^^xsd:date ]
     ] )
  ] [
     fhir:resource ( [
       a fhir:ServiceRequest ;
       fhir:id [ fhir:v "6594b1c2-1b2c-45bd-a6a9-b8b8fc39cdeb" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_6594b1c2-1b2c-45bd-a6a9-b8b8fc39cdeb\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest 6594b1c2-1b2c-45bd-a6a9-b8b8fc39cdeb</b></p><a name=\"6594b1c2-1b2c-45bd-a6a9-b8b8fc39cdeb\"> </a><a name=\"hc6594b1c2-1b2c-45bd-a6a9-b8b8fc39cdeb\"> </a><a name=\"6594b1c2-1b2c-45bd-a6a9-b8b8fc39cdeb-en-US\"> </a><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>doNotPerform</b>: false</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 18753-4}\">Flexible sigmoidoscopy study</span></p><p><b>occurrence</b>: 2024-10-02 00:00:00+0000</p></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "completed" ] ;
       fhir:intent [ fhir:v "order" ] ;
       fhir:doNotPerform [ fhir:v "false"^^xsd:boolean ] ;
       fhir:code [
         fhir:coding ( [
           a loinc:18753-4 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "18753-4" ] ;
           fhir:display [ fhir:v "Flexible sigmoidoscopy study" ]
         ] )
       ] ;
       fhir:occurrence [
         a fhir:dateTime ;
         fhir:v "2024-10-02T00:00:00.000Z"^^xsd:dateTime
       ]
     ] )
  ] [
     fhir:resource ( [
       a fhir:DiagnosticReport ;
       fhir:id [ fhir:v "f4d65259-b878-41be-8abd-1d005ae53bef" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_f4d65259-b878-41be-8abd-1d005ae53bef\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport f4d65259-b878-41be-8abd-1d005ae53bef</b></p><a name=\"f4d65259-b878-41be-8abd-1d005ae53bef\"> </a><a name=\"hcf4d65259-b878-41be-8abd-1d005ae53bef\"> </a><a name=\"f4d65259-b878-41be-8abd-1d005ae53bef-en-US\"> </a><h2><span title=\"Codes:{http://loinc.org 18753-4}\">Flexible sigmoidoscopy study</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>Not done yet</td></tr><tr><td>When For</td><td>2024-10-01 10:00:00+0000</td></tr></table><p><b>Report Details</b></p></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "final" ] ;
       fhir:code [
         fhir:coding ( [
           a loinc:18753-4 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "18753-4" ] ;
           fhir:display [ fhir:v "Flexible sigmoidoscopy study" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/crcsm-cds/Patient/a391bd43-2ad6-4575-8eb9-dfe442db810e> ;
         fhir:reference [ fhir:v "Patient/a391bd43-2ad6-4575-8eb9-dfe442db810e" ]
       ] ;
       fhir:effective [
         a fhir:dateTime ;
         fhir:v "2024-10-01T10:00:00.000Z"^^xsd:dateTime
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

