Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4

Bundle-references.json

Example Bundle/bundle-references (JSON)

Maturity Level : N/A
Responsible Owner: FHIR Infrastructure Work Group Standards Status : Informative Compartments : Not linked to any No defined compartments

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

An example bundle that demonstrates various reference resolution paths

{
  "resourceType": "Bundle",
  "id": "bundle-references",
  "type": "collection",
  "entry": [
    {
      "fullUrl": "http://example.org/fhir/Patient/23",
      "resource": {
        "resourceType": "Patient",
        "id": "23",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 23</p><p><b>identifier</b>: 1234567</p></div>"
        },
        "identifier": [
          {
            "system": "http://example.org/ids",
            "value": "1234567"
          }
        ]
      }
    },
    {
      "fullUrl": "urn:uuid:04121321-4af5-424c-a0e1-ed3aab1c349d",
      "resource": {
        "resourceType": "Patient",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p></div>"
        }
      }
    },
    {
      "fullUrl": "http://example.org/fhir/Observation/123",
      "resource": {
        "resourceType": "Observation",
        "id": "123",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 123</p><p><b>status</b>: final</p><p><b>code</b>: Glucose [Moles/volume] in Blood <span>(Details : {LOINC code '15074-8' = 'Glucose [Moles/volume] in Blood', given as 'Glucose [Moles/volume] in Blood'})</span></p><p><b>subject</b>: <a>Patient/23</a></p></div>"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "15074-8",
              "display": "Glucose [Moles/volume] in Blood"
            }
          ]
        },
        "subject": {
          "reference": "Patient/23"
        }
      }
    },
    {
      "fullUrl": "http://example.org/fhir/Observation/124",
      "resource": {
        "resourceType": "Observation",
        "id": "124",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 124</p><p><b>status</b>: final</p><p><b>code</b>: Glucose [Moles/volume] in Blood <span>(Details : {LOINC code '15074-8' = 'Glucose [Moles/volume] in Blood', given as 'Glucose [Moles/volume] in Blood'})</span></p><p><b>subject</b>: <a>http://example.org/fhir/Patient/23</a></p></div>"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "15074-8",
              "display": "Glucose [Moles/volume] in Blood"
            }
          ]
        },
        "subject": {
          "reference": "http://example.org/fhir/Patient/23"
        }

  "resourceType" : "Bundle",
  "id" : "bundle-references",
  "type" : "collection",
  "entry" : [{
    "fullUrl" : "http://example.org/fhir/Patient/23",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "23",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient 23</b></p><a name=\"23\"> </a><a name=\"hc23\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Anonymous Patient (no stated gender), DoB Unknown ( http://example.org/ids#1234567)</p><hr/></div>"
      },
      "identifier" : [{
        "system" : "http://example.org/ids",
        "value" : "1234567"
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:04121321-4af5-424c-a0e1-ed3aab1c349d",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "temp",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient temp</b></p><a name=\"temp\"> </a><a name=\"hctemp\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Anonymous Patient (no stated gender), DoB Unknown</p><hr/></div>"

      }
    },
    {
      "fullUrl": "http://example.org/fhir/Observation/12",
      "resource": {
        "resourceType": "Observation",
        "id": "12",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 12</p><p><b>status</b>: final</p><p><b>code</b>: Glucose [Moles/volume] in Blood <span>(Details : {LOINC code '15074-8' = 'Glucose [Moles/volume] in Blood', given as 'Glucose [Moles/volume] in Blood'})</span></p><p><b>subject</b>: <a>urn:uuid:04121321-4af5-424c-a0e1-ed3aab1c349d</a></p></div>"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "15074-8",
              "display": "Glucose [Moles/volume] in Blood"
            }
          ]
        },
        "subject": {
          "reference": "urn:uuid:04121321-4af5-424c-a0e1-ed3aab1c349d"
        }

    }
  },
  {
    "fullUrl" : "http://example.org/fhir/Observation/123",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "123",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation 123</b></p><a name=\"123\"> </a><a name=\"hc123\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 15074-8}\">Glucose [Moles/volume] in Blood</span></p><p><b>subject</b>: <a href=\"broken-link.html\">Patient/23</a></p></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "15074-8",
          "display" : "Glucose [Moles/volume] in Blood"
        }]
      },
      "subject" : {
        "reference" : "Patient/23"

      }
    },
    {
      "fullUrl": "http://example.org/fhir/Observation/14",
      "resource": {
        "resourceType": "Observation",
        "id": "14",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 14</p><p><b>status</b>: final</p><p><b>code</b>: Glucose [Moles/volume] in Blood <span>(Details : {LOINC code '15074-8' = 'Glucose [Moles/volume] in Blood', given as 'Glucose [Moles/volume] in Blood'})</span></p><p><b>subject</b>: <a>http://example.org/fhir-2/Patient/1</a></p></div>"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "15074-8",
              "display": "Glucose [Moles/volume] in Blood"
            }
          ]
        },
        "subject": {
          "reference": "http://example.org/fhir-2/Patient/1"
        }

    }
  },
  {
    "fullUrl" : "http://example.org/fhir/Observation/124",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "124",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation 124</b></p><a name=\"124\"> </a><a name=\"hc124\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 15074-8}\">Glucose [Moles/volume] in Blood</span></p><p><b>subject</b>: <a href=\"broken-link.html\">http://example.org/fhir/Patient/23</a></p></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "15074-8",
          "display" : "Glucose [Moles/volume] in Blood"
        }]
      },
      "subject" : {
        "reference" : "http://example.org/fhir/Patient/23"

      }
    },
    {
      "fullUrl": "http://example.org/fhir-2/Observation/14",
      "resource": {
        "resourceType": "Observation",
        "id": "14",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 14</p><p><b>status</b>: final</p><p><b>code</b>: Glucose [Moles/volume] in Blood <span>(Details : {LOINC code '15074-8' = 'Glucose [Moles/volume] in Blood', given as 'Glucose [Moles/volume] in Blood'})</span></p><p><b>subject</b>: <a>Patient/23</a></p></div>"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "15074-8",
              "display": "Glucose [Moles/volume] in Blood"
            }
          ]
        },
        "subject": {
          "reference": "Patient/23"
        }

    }
  },
  {
    "fullUrl" : "http://example.org/fhir/Observation/12",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "12",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation 12</b></p><a name=\"12\"> </a><a name=\"hc12\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 15074-8}\">Glucose [Moles/volume] in Blood</span></p><p><b>subject</b>: <a href=\"broken-link.html\">urn:uuid:04121321-4af5-424c-a0e1-ed3aab1c349d</a></p></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "15074-8",
          "display" : "Glucose [Moles/volume] in Blood"
        }]
      },
      "subject" : {
        "reference" : "urn:uuid:04121321-4af5-424c-a0e1-ed3aab1c349d"

      }
    },
    {
      "fullUrl": "http://example.org/fhir/Patient/45",
      "resource": {
        "resourceType": "Patient",
        "id": "45",
        "meta": {
          "versionId": "1"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 45</p><p><b>meta</b>: </p><p><b>name</b>: Name 1</p></div>"
        },
        "name": [
          {
            "text": "Name 1"
          }
        ]

    }
  },
  {
    "fullUrl" : "http://example.org/fhir/Observation/14",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "14",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation 14</b></p><a name=\"14\"> </a><a name=\"hc14\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 15074-8}\">Glucose [Moles/volume] in Blood</span></p><p><b>subject</b>: <a href=\"broken-link.html\">http://example.org/fhir-2/Patient/1</a></p></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "15074-8",
          "display" : "Glucose [Moles/volume] in Blood"
        }]
      },
      "subject" : {
        "reference" : "http://example.org/fhir-2/Patient/1"

      }
    },
    {
      "fullUrl": "http://example.org/fhir/Patient/45",
      "resource": {
        "resourceType": "Patient",
        "id": "45",
        "meta": {
          "versionId": "2"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 45</p><p><b>meta</b>: </p><p><b>name</b>: Name 2</p></div>"
        },
        "name": [
          {
            "text": "Name 2"
          }
        ]

    }
  },
  {
    "fullUrl" : "http://example.org/fhir-2/Observation/14",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "14",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation 14</b></p><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 15074-8}\">Glucose [Moles/volume] in Blood</span></p><p><b>subject</b>: <a href=\"broken-link.html\">Patient/23</a></p></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "15074-8",
          "display" : "Glucose [Moles/volume] in Blood"
        }]
      },
      "subject" : {
        "reference" : "Patient/23"

      }
    },
    {
      "fullUrl": "http://example.org/fhir/Observation/47",
      "resource": {
        "resourceType": "Observation",
        "id": "47",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 47</p><p><b>status</b>: final</p><p><b>code</b>: Glucose [Moles/volume] in Blood <span>(Details : {LOINC code '15074-8' = 'Glucose [Moles/volume] in Blood', given as 'Glucose [Moles/volume] in Blood'})</span></p><p><b>subject</b>: <a>Patient/45/_history/2</a></p></div>"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "15074-8",
              "display": "Glucose [Moles/volume] in Blood"
            }
          ]
        },
        "subject": {
          "reference": "Patient/45/_history/2"
        }

    }
  },
  {
    "fullUrl" : "http://example.org/fhir/Patient/45",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "45",
      "meta" : {
        "versionId" : "1"
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient 45</b></p><a name=\"45\"> </a><a name=\"hc45\"> </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\">version: 1</p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Name 1 (no stated gender), DoB Unknown</p><hr/></div>"
      },
      "name" : [{
        "text" : "Name 1"
      }]
    }
  },
  {
    "fullUrl" : "http://example.org/fhir/Patient/45",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "45",
      "meta" : {
        "versionId" : "2"
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient 45</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\">version: 2</p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Name 2 (no stated gender), DoB Unknown</p><hr/></div>"
      },
      "name" : [{
        "text" : "Name 2"
      }]
    }
  },
  {
    "fullUrl" : "http://example.org/fhir/Observation/47",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "47",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation 47</b></p><a name=\"47\"> </a><a name=\"hc47\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 15074-8}\">Glucose [Moles/volume] in Blood</span></p><p><b>subject</b>: <a href=\"broken-link.html\">Patient/45</a></p></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "15074-8",
          "display" : "Glucose [Moles/volume] in Blood"
        }]
      },
      "subject" : {
        "reference" : "Patient/45/_history/2"

      }
    },
    {
      "fullUrl": "http://example.org/fhir/Observation/48",
      "resource": {
        "resourceType": "Observation",
        "id": "48",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: 48</p><p><b>status</b>: final</p><p><b>code</b>: Glucose [Moles/volume] in Blood <span>(Details : {LOINC code '15074-8' = 'Glucose [Moles/volume] in Blood', given as 'Glucose [Moles/volume] in Blood'})</span></p><p><b>subject</b>: </p></div>"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "15074-8",
              "display": "Glucose [Moles/volume] in Blood"
            }
          ]
        },
        "subject": {
          "identifier": {
            "system": "http://example.org/ids",
            "value": "1234567"
          }

    }
  },
  {
    "fullUrl" : "http://example.org/fhir/Observation/48",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "48",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation 48</b></p><a name=\"48\"> </a><a name=\"hc48\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 15074-8}\">Glucose [Moles/volume] in Blood</span></p><p><b>subject</b>: Identifier: <code>http://example.org/ids</code>/1234567</p></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "15074-8",
          "display" : "Glucose [Moles/volume] in Blood"
        }]
      },
      "subject" : {
        "identifier" : {
          "system" : "http://example.org/ids",
          "value" : "1234567"

        }
      }
    }
  ]

  }]

}

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.