Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example BodyStructure/tumor (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw Turtle (+ also see Turtle/RDF Format Specification)

This example demonstrates using the bodystructure resource to identify a specific tumor or lesion that will have multiple observations and/or procedures performed on it over time

@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 -------------------------------------------------------------------

[a fhir:BodyStructure;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "tumor"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: BodyStructure</b><a name=\"tumor\"> </a></p><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\">Resource BodyStructure &quot;tumor&quot; </p></div><p><b>identifier</b>: id: 12345</p><p><b>morphology</b>: Splenic mass <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#4147007 &quot;Mass (morphologic abnormality)&quot;)</span></p><h3>IncludedStructures</h3><table class=\"grid\"><tr><td>-</td><td><b>Structure</b></td></tr><tr><td>*</td><td>Spleen <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#78961009 &quot;Splenic structure (body structure)&quot;)</span></td></tr></table><p><b>description</b>: 7 cm maximum diameter</p><h3>Images</h3><table class=\"grid\"><tr><td>-</td><td><b>ContentType</b></td><td><b>Url</b></td></tr><tr><td>*</td><td><span title=\"    The actual image could be anywhere. This is a WADO example using a ficitious url   \">application/dicom</span></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\">Patient/example</a> &quot;Peter CHALMERS&quot;</p></div>"
  ];
  fhir:BodyStructure.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://goodhealth.org/bodystructure/identifiers" ];
     fhir:Identifier.value [ fhir:value "12345" ]
  ];
  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.includedStructure [
     fhir:index 0;
     fhir:BodyStructure.includedStructure.structure [
       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 "Spleen" ]
     ]
  ];
  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:Reference.reference [ fhir:value "Patient/example" ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.