{
  "resourceType" : "Bundle",
  "id" : "match-response-example",
  "type" : "searchset",
  "timestamp" : "2024-01-10T14:35:00Z",
  "total" : 1,
  "link" : [{
    "relation" : "self",
    "url" : "http://example.org/fhir/Patient/$match"
  }],
  "entry" : [{
    "fullUrl" : "http://example.org/fhir/Patient/deceased-patient-example",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "deceased-patient-example",
      "meta" : {
        "profile" : ["https://onyxhealth.io/fhir/fodder/StructureDefinition/fodder-deceased-patient"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_deceased-patient-example\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient deceased-patient-example</b></p><a name=\"deceased-patient-example\"> </a><a name=\"hcdeceased-patient-example\"> </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-fodder-deceased-patient.html\">FODDER Deceased Patient Profile</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">John Doe (official) Male, DoB: 1950-03-15 ( Social Security number)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known status of Patient\">Deceased:</td><td colspan=\"3\">2024-01-10 14:30:00+0000</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">Springfield IL 62701 (home)</td></tr></table></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "SS"
          }]
        },
        "system" : "http://hl7.org/fhir/sid/us-ssn",
        "value" : "123-45-6789"
      }],
      "name" : [{
        "use" : "official",
        "family" : "Doe",
        "given" : ["John"]
      }],
      "gender" : "male",
      "birthDate" : "1950-03-15",
      "deceasedDateTime" : "2024-01-10T14:30:00Z",
      "address" : [{
        "use" : "home",
        "city" : "Springfield",
        "state" : "IL",
        "postalCode" : "62701"
      }]
    },
    "search" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/match-grade",
        "valueCode" : "certain"
      }],
      "mode" : "match",
      "score" : 0.95
    }
  },
  {
    "fullUrl" : "http://example.org/fhir/DocumentReference/death-record-example",
    "resource" : {
      "resourceType" : "DocumentReference",
      "id" : "death-record-example",
      "meta" : {
        "profile" : ["https://onyxhealth.io/fhir/fodder/StructureDefinition/fodder-death-record-document-reference"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_death-record-example\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference death-record-example</b></p><a name=\"death-record-example\"> </a><a name=\"hcdeath-record-example\"> </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-fodder-death-record-document-reference.html\">FODDER Death Record Document Reference</a></p></div><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 64297-5}\">Death certificate</span></p><p><b>subject</b>: <a href=\"Patient-deceased-patient-example.html\">John Doe (official) Male, DoB: 1950-03-15 ( Social Security number)</a></p><p><b>date</b>: 2024-01-10 14:35:00+0000</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><a href=\"http://example.org/fhir/Binary/death-record-deceased-patient-example\">http://example.org/fhir/Binary/death-record-deceased-patient-example</a></td><td>Fact of Death Record - John Doe</td><td>2024-01-10</td></tr></table></blockquote></div>"
      },
      "status" : "current",
      "type" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "64297-5",
          "display" : "Death certificate"
        }]
      },
      "subject" : {
        "reference" : "Patient/deceased-patient-example"
      },
      "date" : "2024-01-10T14:35:00Z",
      "content" : [{
        "attachment" : {
          "contentType" : "application/pdf",
          "url" : "http://example.org/fhir/Binary/death-record-deceased-patient-example",
          "title" : "Fact of Death Record - John Doe",
          "creation" : "2024-01-10"
        }
      }]
    },
    "search" : {
      "mode" : "include"
    }
  }]
}