This page is part of the FHIR Specification (v5.0.0-snapshot1: Release 5 Snapshot #1). 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
| Orders and Observations Work Group | Maturity Level: N/A | 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 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</b></p><div><p>Resource "tumor" </p></div><p><b>identifier</b>: id: 12345</p><p><b>morphology</b>: Splenic mass <span> (<a>SNOMED CT</a>#4147007 "Mass (morphologic abnormality)")</span></p><h3>IncludedStructures</h3><table><tr><td>-</td><td><b>Structure</b></td></tr><tr><td>*</td><td>Spleen <span> (<a>SNOMED CT</a>#78961009 "Splenic structure (body structure)")</span></td></tr></table><p><b>description</b>: 7 cm maximum diameter</p><p><b>patient</b>: <a>Patient/example</a> "Peter CHALMERS"</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&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 .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/BodyStructure/tumor.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/BodyStructure/tumor.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.