QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide - Downloaded Version 7.0.2 See the Directory of published versions

## : BodyStructure example - TTL Representation

Page standards status: Informative

Raw ttl | Download

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

     a fhir:BodyStructure ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "example"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-bodystructure"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-bodystructure>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div [ fhir:v "<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-qicore-bodystructure.html\">QICore BodyStructure</a></p></div><p><b>identifier</b>: <code>http://example.org/bodystructure/identifiers</code>/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 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></p></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "http://example.org/bodystructure/identifiers"^^xsd:anyURI ;
    fhir:l <http://example.org/bodystructure/identifiers>     ] ;
    fhir:value [ fhir:v "12345" ]
      ] ) ; #
      fhir:active [ fhir:v true] ; #
      fhir:morphology [
        ( fhir:coding [
    a sct:4147007 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>       ] ;
    fhir:code [ fhir:v "4147007" ] ;
    fhir:display [ fhir:v "Mass (morphologic abnormality)" ]     ] ) ;
    fhir:text [ fhir:v "Splenic mass" ]
      ] ; #
      fhir:location [
        ( 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 "Splenic mass" ]
      ] ; #
      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 fhir:Patient/example ;
    fhir:reference [ fhir:v "Patient/example" ]
      ] . #