@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/bcsm-cds/Bundle/JustineWallace_brca1> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "JustineWallace_brca1"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:resource ( [
       a fhir:Patient ;
       fhir:id [ fhir:v "JustineWallace" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_JustineWallace\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient JustineWallace</b></p><a name=\"JustineWallace\"> </a><a name=\"hcJustineWallace\"> </a><a name=\"JustineWallace-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Justine39 Wallace91  Female, DoB: 1979-01-24 ( Medical Record Number: 123-345-567)</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 "123-345-567" ]
       ] ) ;
       fhir:name ( [
         fhir:family [ fhir:v "Wallace91" ] ;
         fhir:given ( [ fhir:v "Justine39" ] )
       ] ) ;
       fhir:gender [ fhir:v "female" ] ;
       fhir:birthDate [ fhir:v "1979-01-24"^^xsd:date ]
     ] )
  ] [
     fhir:resource ( [
       a fhir:Condition ;
       fhir:id [ fhir:v "9f955680-803d-4560-90a9-f56040436a85" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_9f955680-803d-4560-90a9-f56040436a85\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Condition 9f955680-803d-4560-90a9-f56040436a85</b></p><a name=\"9f955680-803d-4560-90a9-f56040436a85\"> </a><a name=\"hc9f955680-803d-4560-90a9-f56040436a85\"> </a><a name=\"9f955680-803d-4560-90a9-f56040436a85-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>code</b>: <span title=\"Codes:{http://snomed.info/sct 412734009}\">BRCA1 gene mutation detected (finding)</span></p><p><b>subject</b>: <a href=\"Bundle-JustineWallace_brca1.html#Patient_JustineWallace\">Bundle: type = collection</a></p><p><b>onset</b>: 2023-05-04</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:code [
         fhir:coding ( [
           a sct:412734009 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "412734009" ] ;
           fhir:display [ fhir:v "BRCA1 gene mutation detected (finding)" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/Patient/JustineWallace> ;
         fhir:reference [ fhir:v "Patient/JustineWallace" ]
       ] ;
       fhir:onset [
         a fhir:dateTime ;
         fhir:v "2023-05-04"^^xsd:date
       ]
     ] )
  ] [
     fhir:resource ( [
       a fhir:DiagnosticReport ;
       fhir:id [ fhir:v "mammogram-2024-birads-2" ] ;
       fhir:text [
         fhir:status [ fhir:v "generated" ] ;
         fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DiagnosticReport_mammogram-2024-birads-2\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport mammogram-2024-birads-2</b></p><a name=\"mammogram-2024-birads-2\"> </a><a name=\"hcmammogram-2024-birads-2\"> </a><a name=\"mammogram-2024-birads-2-en-US\"> </a><h2><span title=\"Codes:{http://loinc.org 24606-6}\">Screening mammogram</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>Not done yet</td></tr><tr><td>When For</td><td>2023-05-04 10: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 397141009}\">Mammography assessment (Category 2) - Benign finding (finding)</span></li></ul></div>"^^rdf:XMLLiteral
       ] ;
       fhir:status [ fhir:v "final" ] ;
       fhir:code [
         fhir:coding ( [
           a loinc:24606-6 ;
           fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "24606-6" ] ;
           fhir:display [ fhir:v "Screening mammogram" ]
         ] )
       ] ;
       fhir:subject [
         fhir:link <http://cancerscreeningcds.github.io/bcsm-cds/Patient/JustineWallace> ;
         fhir:reference [ fhir:v "Patient/JustineWallace" ]
       ] ;
       fhir:effective [
         a fhir:dateTime ;
         fhir:v "2023-05-04T10:00:00.000Z"^^xsd:dateTime
       ] ;
       fhir:conclusionCode ( [
         fhir:coding ( [
           a sct:397141009 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "397141009" ] ;
           fhir:display [ fhir:v "Mammography assessment (Category 2) - Benign finding (finding)" ]
         ] )
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

