Release 4 R6 Ballot (1st Full Ballot)

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU v6.0.0-ballot4: Release 6 Ballot (1st Full Ballot) (see Ballot Notes ) in it's permanent home (it will always be available at this URL). ). 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 for published versions R4

Bodystructure-example-tumor.ttl

Example BodyStructure/tumor (Turtle)

Maturity Level : N/A
Responsible Owner: Orders and Observations Work Group Standards Status : Informative Compartments : 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 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://hl7.org/fhir/BodyStructure/tumor> 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 with Details</b></p><p><b>id</b>: tumor</p><p><b>identifier</b>: 12345</p><p><b>morphology</b>: Splenic mass <span>(Details : {SNOMED CT code '4147007' = 'Mass', given as 'Mass (morphologic abnormality)'})</span></p><p><b>location</b>: Spleen <span>(Details : {SNOMED CT code '78961009' = 'Spleen', given as 'Splenic structure (body structure)'})</span></p><p><b>description</b>: 7 cm maximum diameter</p><p><b>image</b>: </p><p><b>patient</b>: <a>Patient/example</a></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.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 "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:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

#  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 


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

<http://hl7.org/fhir/BodyStructure/tumor> a fhir:BodyStructure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "tumor"] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://goodhealth.org/bodystructure/identifiers"^^xsd:anyURI ;
       fhir:l <http://goodhealth.org/bodystructure/identifiers>
     ] ;
     fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:includedStructure ( [
     fhir:structure [
       fhir:coding ( [
         a sct:78961009 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "78961009" ] ;
         fhir:display [ fhir:v "Splenic structure (body structure)" ]
       ] ) ;
       fhir:text [ fhir:v "Spleen" ]
     ]
  ] ) ; # 
  fhir:description [ fhir:v "7 cm maximum diameter"] ; # 
  fhir:image ( [
     fhir:contentType [ fhir:v "application/dicom" ] ; #     The actual image could be anywhere. This is a WADO example using a ficitious url   
     fhir:url [
       fhir:v "http://imaging.acme.com/wado/server?requestType=WADO&amp;wado_details"^^xsd:anyURI ;
       fhir:l <http://imaging.acme.com/wado/server?requestType=WADO&amp;wado_details>
     ]
  ] ) ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] . # 


<http://hl7.org/fhir/BodyStructure/tumor.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/BodyStructure/tumor.ttl> .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .


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


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.