QI-Core Implementation Guide
4.1.1 - STU 4.1.1 US

This page is part of the Quality Improvement Core Framework (v4.1.1: STU 4) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: BodyStructure example - TTL Representation

Raw ttl | Download


@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 "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-bodystructure";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-bodystructure>     ]
  ];
  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 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 \"example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-bodystructure.html\">QICoreBodyStructure</a></p></div><p><b>identifier</b>: id: 12345</p><p><b>active</b>: true</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 \"Mass (morphologic abnormality)\")</span></p><p><b>location</b>: Splenic mass <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#78961009 \"Splenic structure (body structure)\")</span></p><p><b>description</b>: 7 cm maximum diameter</p><p><b>patient</b>: <a href=\"Patient-example.html\">Patient/example</a> \" 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.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:Reference.reference [ fhir:value "Patient/example" ]
  ].

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

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