FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Bundle/bodystructure-lesion-evolution (Turtle)

Responsible Owner: FHIR Infrastructure Work GroupStandards Status: InformativeCompartments: No defined compartments

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

This bundle demonstrates predecessor relationships between BodyStructure resources when liver lesions merge and subsequently split.

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

# This example demonstrates predecessor relationships when lesions merge and subsequently split.

<http://hl7.org/fhir/Bundle/bodystructure-lesion-evolution> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "bodystructure-lesion-evolution"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "http://example.org/fhir/BodyStructure/liver-lesion-l1"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/BodyStructure/liver-lesion-l1>
     ] ;
     fhir:resource ( <http://example.org/fhir/BodyStructure/liver-lesion-l1> )
  ] [
     fhir:fullUrl [
       fhir:v "http://example.org/fhir/BodyStructure/liver-lesion-l2"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/BodyStructure/liver-lesion-l2>
     ] ;
     fhir:resource ( <http://example.org/fhir/BodyStructure/liver-lesion-l2> )
  ] [
     fhir:fullUrl [
       fhir:v "http://example.org/fhir/BodyStructure/merged-liver-lesion"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/BodyStructure/merged-liver-lesion>
     ] ;
     fhir:resource ( <http://example.org/fhir/BodyStructure/merged-liver-lesion> )
  ] [
     fhir:fullUrl [
       fhir:v "http://example.org/fhir/BodyStructure/split-liver-lesion-l4"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/BodyStructure/split-liver-lesion-l4>
     ] ;
     fhir:resource ( <http://example.org/fhir/BodyStructure/split-liver-lesion-l4> )
  ] [
     fhir:fullUrl [
       fhir:v "http://example.org/fhir/BodyStructure/split-liver-lesion-l5"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/BodyStructure/split-liver-lesion-l5>
     ] ;
     fhir:resource ( <http://example.org/fhir/BodyStructure/split-liver-lesion-l5> )
  ] ) . # 

<http://example.org/fhir/BodyStructure/liver-lesion-l1> a fhir:BodyStructure ;
  fhir:id [ fhir:v "liver-lesion-l1"] ; # 
  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 liver-lesion-l1</b></p><a name=\"liver-lesion-l1\"> </a><a name=\"hcliver-lesion-l1\"> </a><p><b>identifier</b>: <code>http://example.org/fhir/bodystructure-identifiers</code>/L1</p><h3>IncludedStructures</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Structure</b></td><td><b>Morphology</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 10200004}\">Liver structure</span></td><td><span title=\"Codes:{http://snomed.info/sct 4147007}\">Mass (morphologic abnormality)</span></td></tr></table><p><b>description</b>: </p><div><p>First liver lesion before merging.</p>\n</div></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/fhir/bodystructure-identifiers"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/bodystructure-identifiers>
     ] ;
     fhir:value [ fhir:v "L1" ]
  ] ) ; # 
  fhir:includedStructure ( [
     fhir:structure [
       a sct:10200004 ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "10200004" ] ;
         fhir:display [ fhir:v "Liver structure" ]
       ] )
     ] ;
     fhir:morphology ( [
       a sct:4147007 ;
       fhir:coding ( [
         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:description [ fhir:v "First liver lesion before merging."] . # 

<http://example.org/fhir/BodyStructure/liver-lesion-l2> a fhir:BodyStructure ;
  fhir:id [ fhir:v "liver-lesion-l2"] ; # 
  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 liver-lesion-l2</b></p><a name=\"liver-lesion-l2\"> </a><a name=\"hcliver-lesion-l2\"> </a><p><b>identifier</b>: <code>http://example.org/fhir/bodystructure-identifiers</code>/L2</p><h3>IncludedStructures</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Structure</b></td><td><b>Morphology</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 10200004}\">Liver structure</span></td><td><span title=\"Codes:{http://snomed.info/sct 4147007}\">Mass (morphologic abnormality)</span></td></tr></table><p><b>description</b>: </p><div><p>Second liver lesion before merging.</p>\n</div></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/fhir/bodystructure-identifiers"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/bodystructure-identifiers>
     ] ;
     fhir:value [ fhir:v "L2" ]
  ] ) ; # 
  fhir:includedStructure ( [
     fhir:structure [
       a sct:10200004 ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "10200004" ] ;
         fhir:display [ fhir:v "Liver structure" ]
       ] )
     ] ;
     fhir:morphology ( [
       a sct:4147007 ;
       fhir:coding ( [
         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:description [ fhir:v "Second liver lesion before merging."] . # 

<http://example.org/fhir/BodyStructure/merged-liver-lesion> a fhir:BodyStructure ;
  fhir:id [ fhir:v "merged-liver-lesion"] ; # 
  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 merged-liver-lesion</b></p><a name=\"merged-liver-lesion\"> </a><a name=\"hcmerged-liver-lesion\"> </a><p><b>identifier</b>: <code>http://example.org/fhir/bodystructure-identifiers</code>/L3</p><blockquote><p><b>includedStructure</b></p><p><b>structure</b>: <span title=\"Codes:{http://snomed.info/sct 10200004}\">Liver structure</span></p><p><b>morphology</b>: <span title=\"Codes:{http://snomed.info/sct 4147007}\">Mass (morphologic abnormality)</span></p><blockquote><p><b>related</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/bodystructure-relationship-type predecessor}\">Predecessor</span></p><p><b>reference</b>: <a href=\"broken-link.html\">BodyStructure/liver-lesion-l1</a></p></blockquote><blockquote><p><b>related</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/bodystructure-relationship-type predecessor}\">Predecessor</span></p><p><b>reference</b>: <a href=\"broken-link.html\">BodyStructure/liver-lesion-l2</a></p></blockquote></blockquote><p><b>description</b>: </p><div><p>Liver lesion formed by the merging of lesions L1 and L2.</p>\n</div></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/fhir/bodystructure-identifiers"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/bodystructure-identifiers>
     ] ;
     fhir:value [ fhir:v "L3" ]
  ] ) ; # 
  fhir:includedStructure ( [
     fhir:structure [
       a sct:10200004 ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "10200004" ] ;
         fhir:display [ fhir:v "Liver structure" ]
       ] )
     ] ;
     fhir:morphology ( [
       a sct:4147007 ;
       fhir:coding ( [
         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:related ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/bodystructure-relationship-type"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/bodystructure-relationship-type>
           ] ;
           fhir:code [ fhir:v "predecessor" ] ;
           fhir:display [ fhir:v "Predecessor" ]
         ] )
       ] ;
       fhir:reference [
         fhir:l <http://hl7.org/fhir/BodyStructure/liver-lesion-l1> ;
         fhir:reference [ fhir:v "BodyStructure/liver-lesion-l1" ]
       ]
     ] [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/bodystructure-relationship-type"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/bodystructure-relationship-type>
           ] ;
           fhir:code [ fhir:v "predecessor" ] ;
           fhir:display [ fhir:v "Predecessor" ]
         ] )
       ] ;
       fhir:reference [
         fhir:l <http://hl7.org/fhir/BodyStructure/liver-lesion-l2> ;
         fhir:reference [ fhir:v "BodyStructure/liver-lesion-l2" ]
       ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Liver lesion formed by the merging of lesions L1 and L2."] . # 

<http://hl7.org/fhir/BodyStructure/liver-lesion-l1> a fhir:BodyStructure .

<http://hl7.org/fhir/BodyStructure/liver-lesion-l2> a fhir:BodyStructure .

<http://example.org/fhir/BodyStructure/split-liver-lesion-l4> a fhir:BodyStructure ;
  fhir:id [ fhir:v "split-liver-lesion-l4"] ; # 
  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 split-liver-lesion-l4</b></p><a name=\"split-liver-lesion-l4\"> </a><a name=\"hcsplit-liver-lesion-l4\"> </a><p><b>identifier</b>: <code>http://example.org/fhir/bodystructure-identifiers</code>/L4</p><blockquote><p><b>includedStructure</b></p><p><b>structure</b>: <span title=\"Codes:{http://snomed.info/sct 10200004}\">Liver structure</span></p><p><b>morphology</b>: <span title=\"Codes:{http://snomed.info/sct 4147007}\">Mass (morphologic abnormality)</span></p><h3>Relateds</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/bodystructure-relationship-type predecessor}\">Predecessor</span></td><td><a href=\"broken-link.html\">BodyStructure/merged-liver-lesion</a></td></tr></table></blockquote><p><b>description</b>: </p><div><p>First lesion produced when merged lesion L3 split.</p>\n</div></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/fhir/bodystructure-identifiers"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/bodystructure-identifiers>
     ] ;
     fhir:value [ fhir:v "L4" ]
  ] ) ; # 
  fhir:includedStructure ( [
     fhir:structure [
       a sct:10200004 ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "10200004" ] ;
         fhir:display [ fhir:v "Liver structure" ]
       ] )
     ] ;
     fhir:morphology ( [
       a sct:4147007 ;
       fhir:coding ( [
         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:related ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/bodystructure-relationship-type"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/bodystructure-relationship-type>
           ] ;
           fhir:code [ fhir:v "predecessor" ] ;
           fhir:display [ fhir:v "Predecessor" ]
         ] )
       ] ;
       fhir:reference [
         fhir:l <http://hl7.org/fhir/BodyStructure/merged-liver-lesion> ;
         fhir:reference [ fhir:v "BodyStructure/merged-liver-lesion" ]
       ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "First lesion produced when merged lesion L3 split."] . # 

<http://hl7.org/fhir/BodyStructure/merged-liver-lesion> a fhir:BodyStructure .

<http://example.org/fhir/BodyStructure/split-liver-lesion-l5> a fhir:BodyStructure ;
  fhir:id [ fhir:v "split-liver-lesion-l5"] ; # 
  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 split-liver-lesion-l5</b></p><a name=\"split-liver-lesion-l5\"> </a><a name=\"hcsplit-liver-lesion-l5\"> </a><p><b>identifier</b>: <code>http://example.org/fhir/bodystructure-identifiers</code>/L5</p><blockquote><p><b>includedStructure</b></p><p><b>structure</b>: <span title=\"Codes:{http://snomed.info/sct 10200004}\">Liver structure</span></p><p><b>morphology</b>: <span title=\"Codes:{http://snomed.info/sct 4147007}\">Mass (morphologic abnormality)</span></p><h3>Relateds</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/bodystructure-relationship-type predecessor}\">Predecessor</span></td><td><a href=\"broken-link.html\">BodyStructure/merged-liver-lesion</a></td></tr></table></blockquote><p><b>description</b>: </p><div><p>Second lesion produced when merged lesion L3 split.</p>\n</div></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/fhir/bodystructure-identifiers"^^xsd:anyURI ;
       fhir:l <http://example.org/fhir/bodystructure-identifiers>
     ] ;
     fhir:value [ fhir:v "L5" ]
  ] ) ; # 
  fhir:includedStructure ( [
     fhir:structure [
       a sct:10200004 ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "10200004" ] ;
         fhir:display [ fhir:v "Liver structure" ]
       ] )
     ] ;
     fhir:morphology ( [
       a sct:4147007 ;
       fhir:coding ( [
         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:related ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/bodystructure-relationship-type"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/bodystructure-relationship-type>
           ] ;
           fhir:code [ fhir:v "predecessor" ] ;
           fhir:display [ fhir:v "Predecessor" ]
         ] )
       ] ;
       fhir:reference [
         fhir:l <http://hl7.org/fhir/BodyStructure/merged-liver-lesion> ;
         fhir:reference [ fhir:v "BodyStructure/merged-liver-lesion" ]
       ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Second lesion produced when merged lesion L3 split."] . # 

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


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.