@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/bcsm-cds/Bundle/inc-AgeAtLeast18_MostRecentAgeValue_yes> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "inc-AgeAtLeast18_MostRecentAgeValue_yes"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:resource ( [
       a fhir:Patient ;
       fhir:id [ fhir:v "19b29760-90e3-425d-a54d-047dd3404993" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_19b29760-90e3-425d-a54d-047dd3404993\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient 19b29760-90e3-425d-a54d-047dd3404993</b></p><a name=\"19b29760-90e3-425d-a54d-047dd3404993\"> </a><a name=\"hc19b29760-90e3-425d-a54d-047dd3404993\"> </a><a name=\"19b29760-90e3-425d-a54d-047dd3404993-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Joanne Smith  Female, DoB Unknown</p><hr/></div>"^^rdf:XMLLiteral
       ] ;
       fhir:name ( [
         fhir:family [ fhir:v "Smith" ] ;
         fhir:given ( [ fhir:v "Joanne" ] )
       ] ) ;
       fhir:gender [ fhir:v "female" ]
     ] )
  ] [
     fhir:resource ( [
       a fhir:Observation ;
       fhir:id [ fhir:v "4349f396-82a6-4ab5-a56e-999abed858f9" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_4349f396-82a6-4ab5-a56e-999abed858f9\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation 4349f396-82a6-4ab5-a56e-999abed858f9</b></p><a name=\"4349f396-82a6-4ab5-a56e-999abed858f9\"> </a><a name=\"hc4349f396-82a6-4ab5-a56e-999abed858f9\"> </a><a name=\"4349f396-82a6-4ab5-a56e-999abed858f9-en-US\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 30525-0}\">Age</span></p><p><b>subject</b>: <a href=\"Bundle-inc-AgeAtLeast18_MostRecentAgeValue_yes.html#Patient_19b29760-90e3-425d-a54d-047dd3404993\">Bundle: type = collection</a></p><p><b>effective</b>: 2024-12-10 00:00:00+0000</p><p><b>value</b>: 18 years</p></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "final" ] ;
       fhir:code [
         fhir:coding ( [
           a loinc:30525-0 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "30525-0" ] ;
           fhir:display [ fhir:v "Age" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/Patient/19b29760-90e3-425d-a54d-047dd3404993> ;
         fhir:reference [ fhir:v "Patient/19b29760-90e3-425d-a54d-047dd3404993" ]
       ] ;
       fhir:effective [
         a fhir:dateTime ;
         fhir:v "2024-12-10T00:00:00.0Z"^^xsd:dateTime
       ] ;
       fhir:value [
         a fhir:Quantity ;
         fhir:value [ fhir:v "18"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

