@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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://fhir.org/guides/onc/us-quality-core/BodyStructure/example> a fhir:BodyStructure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-bodystructure" ;
       fhir:index 0 ;
       fhir:link <http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-bodystructure>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: BodyStructure example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-quality-core-bodystructure.html\">US Quality Core BodyStructure</a></p></div><p><b>identifier</b>: 12345</p><p><b>active</b>: true</p><p><b>morphology</b>: <span title=\"Codes:{http://snomed.info/sct 4147007}\">Splenic mass</span></p><p><b>location</b>: <span title=\"Codes:{http://snomed.info/sct 78961009}\">Splenic mass</span></p><p><b>description</b>: 7 cm maximum diameter</p><h3>Images</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>application/dicom</td><td><a href=\"http://imaging.acme.com/wado/server?requestType=WADO&amp;amp;wado_details\">http://imaging.acme.com/wado/server?requestType=WADO&amp;amp;wado_details</a></td></tr></table><p><b>patient</b>: <a href=\"Patient-example.html\">Jim Chalmers  Male, DoB: 1974-12-25 ( Social Security number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p></div>"
  ] ;
  fhir:BodyStructure.identifier [
     fhir:index 0 ;
     fhir:Identifier.value [ fhir:value "12345" ]
  ] ;
  fhir:BodyStructure.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:BodyStructure.morphology [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:4147007 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "4147007" ] ;
       fhir:Coding.display [ fhir:value "Mass (morphologic abnormality)" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Splenic mass" ]
  ] ;
  fhir:BodyStructure.location [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:78961009 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "78961009" ] ;
       fhir:Coding.display [ fhir:value "Splenic structure (body structure)" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Splenic mass" ]
  ] ;
  fhir:BodyStructure.description [ fhir:value "7 cm maximum diameter"] ;
  fhir:BodyStructure.image [
     fhir:index 0 ;
     fhir:Attachment.contentType [ fhir:value "application/dicom" ] ;
     fhir:Attachment.url [ fhir:value "http://imaging.acme.com/wado/server?requestType=WADO&amp;wado_details" ]
  ] ;
  fhir:BodyStructure.patient [
     fhir:link <http://fhir.org/guides/onc/us-quality-core/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.org/guides/onc/us-quality-core/BodyStructure/example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

