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 (JSON)

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

Raw JSON (canonical form + also see JSON Format Specification)

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

{
  "resourceType" : "Bundle",
  "id" : "bodystructure-lesion-evolution",
  "type" : "collection",
  "entry" : [{
    "fullUrl" : "http://example.org/fhir/BodyStructure/liver-lesion-l1",
    "resource" : {
      "resourceType" : "BodyStructure",
      "id" : "liver-lesion-l1",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "identifier" : [{
        "system" : "http://example.org/fhir/bodystructure-identifiers",
        "value" : "L1"
      }],
      "includedStructure" : [{
        "structure" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "10200004",
            "display" : "Liver structure"
          }]
        },
        "morphology" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "4147007",
            "display" : "Mass (morphologic abnormality)"
          }]
        }]
      }],
      "description" : "First liver lesion before merging."
    }
  },
  {
    "fullUrl" : "http://example.org/fhir/BodyStructure/liver-lesion-l2",
    "resource" : {
      "resourceType" : "BodyStructure",
      "id" : "liver-lesion-l2",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "identifier" : [{
        "system" : "http://example.org/fhir/bodystructure-identifiers",
        "value" : "L2"
      }],
      "includedStructure" : [{
        "structure" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "10200004",
            "display" : "Liver structure"
          }]
        },
        "morphology" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "4147007",
            "display" : "Mass (morphologic abnormality)"
          }]
        }]
      }],
      "description" : "Second liver lesion before merging."
    }
  },
  {
    "fullUrl" : "http://example.org/fhir/BodyStructure/merged-liver-lesion",
    "resource" : {
      "resourceType" : "BodyStructure",
      "id" : "merged-liver-lesion",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "identifier" : [{
        "system" : "http://example.org/fhir/bodystructure-identifiers",
        "value" : "L3"
      }],
      "includedStructure" : [{
        "structure" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "10200004",
            "display" : "Liver structure"
          }]
        },
        "morphology" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "4147007",
            "display" : "Mass (morphologic abnormality)"
          }]
        }],
        "related" : [{
          "type" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/bodystructure-relationship-type",
              "code" : "predecessor",
              "display" : "Predecessor"
            }]
          },
          "reference" : {
            "reference" : "BodyStructure/liver-lesion-l1"
          }
        },
        {
          "type" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/bodystructure-relationship-type",
              "code" : "predecessor",
              "display" : "Predecessor"
            }]
          },
          "reference" : {
            "reference" : "BodyStructure/liver-lesion-l2"
          }
        }]
      }],
      "description" : "Liver lesion formed by the merging of lesions L1 and L2."
    }
  },
  {
    "fullUrl" : "http://example.org/fhir/BodyStructure/split-liver-lesion-l4",
    "resource" : {
      "resourceType" : "BodyStructure",
      "id" : "split-liver-lesion-l4",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "identifier" : [{
        "system" : "http://example.org/fhir/bodystructure-identifiers",
        "value" : "L4"
      }],
      "includedStructure" : [{
        "structure" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "10200004",
            "display" : "Liver structure"
          }]
        },
        "morphology" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "4147007",
            "display" : "Mass (morphologic abnormality)"
          }]
        }],
        "related" : [{
          "type" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/bodystructure-relationship-type",
              "code" : "predecessor",
              "display" : "Predecessor"
            }]
          },
          "reference" : {
            "reference" : "BodyStructure/merged-liver-lesion"
          }
        }]
      }],
      "description" : "First lesion produced when merged lesion L3 split."
    }
  },
  {
    "fullUrl" : "http://example.org/fhir/BodyStructure/split-liver-lesion-l5",
    "resource" : {
      "resourceType" : "BodyStructure",
      "id" : "split-liver-lesion-l5",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "identifier" : [{
        "system" : "http://example.org/fhir/bodystructure-identifiers",
        "value" : "L5"
      }],
      "includedStructure" : [{
        "structure" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "10200004",
            "display" : "Liver structure"
          }]
        },
        "morphology" : [{
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "4147007",
            "display" : "Mass (morphologic abnormality)"
          }]
        }],
        "related" : [{
          "type" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/bodystructure-relationship-type",
              "code" : "predecessor",
              "display" : "Predecessor"
            }]
          },
          "reference" : {
            "reference" : "BodyStructure/merged-liver-lesion"
          }
        }]
      }],
      "description" : "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.