{
  "resourceType": "Bundle",
  "id": "bundle-request-transaction-complex",
  "meta": {
    "lastUpdated": "2025-03-20T00:00:00Z",
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  },
  "type": "transaction",
  "entry": [
    {
      "fullUrl": "urn:uuid:a008e191-0dfa-3ab3-b035-49d7d2e69cb4",
      "resource": {
        "resourceType": "Practitioner",
        "id": "a008e191-0dfa-3ab3-b035-49d7d2e69cb4",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp class\u003d\"res-header-id\"\u003e\u003cb\u003eGenerated Narrative: Practitioner a008e191-0dfa-3ab3-b035-49d7d2e69cb4\u003c/b\u003e\u003c/p\u003e\u003ca name\u003d\"a008e191-0dfa-3ab3-b035-49d7d2e69cb4\"\u003e \u003c/a\u003e\u003ca name\u003d\"hca008e191-0dfa-3ab3-b035-49d7d2e69cb4\"\u003e \u003c/a\u003e\u003cp\u003e\u003cb\u003eidentifier\u003c/b\u003e: \u003ca href\u003d\"http://terminology.hl7.org/7.2.0/NamingSystem-npi.html\" title\u003d\"National Provider Identifier\"\u003eUnited States National Provider Identifier\u003c/a\u003e/9999947796\u003c/p\u003e\u003cp\u003e\u003cb\u003eactive\u003c/b\u003e: true\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: Francisco472 Gusikowski974 \u003c/p\u003e\u003cp\u003e\u003cb\u003etelecom\u003c/b\u003e: \u003ca href\u003d\"mailto:Francisco472.Gusikowski974@example.com\"\u003eFrancisco472.Gusikowski974@example.com\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003egender\u003c/b\u003e: Female\u003c/p\u003e\u003cp\u003e\u003cb\u003eaddress\u003c/b\u003e: 8 SHIPWAY PL # C-8 CHARLESTOWN MA 021294301 US \u003c/p\u003e\u003c/div\u003e"
        },
        "identifier": [
          {
            "system": "http://hl7.org/fhir/sid/us-npi",
            "value": "9999947796"
          }
        ],
        "active": true,
        "name": [
          {
            "family": "Gusikowski974",
            "given": [
              "Francisco472"
            ],
            "prefix": [
              "Dr."
            ]
          }
        ],
        "telecom": [
          {
            "system": "email",
            "value": "Francisco472.Gusikowski974@example.com",
            "use": "work"
          }
        ],
        "gender": "female",
        "address": [
          {
            "line": [
              "8 SHIPWAY PL # C-8"
            ],
            "city": "CHARLESTOWN",
            "state": "MA",
            "postalCode": "021294301",
            "country": "US"
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Practitioner",
        "ifNoneExist": "identifier\u003dhttp://hl7.org/fhir/sid/us-npi|9999947796"
      }
    },
    {
      "fullUrl": "urn:uuid:dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91",
      "resource": {
        "resourceType": "Patient",
        "id": "dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eGenerated by\n                       \u003ca href\u003d\"https://github.com/synthetichealth/synthea\"\u003eSynthea\u003c/a\u003e.Version identifier: 2cc0a62\n .   Person seed: 3380232822616628959  Population seed: 1730906375349\n          \n                   \u003c/div\u003e"
        },
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
            "valueString": "Lolita963 Batz141"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
            "valueAddress": {
              "city": "Orleans",
              "state": "Massachusetts",
              "country": "US"
            }
          }
        ],
        "identifier": [
          {
            "system": "https://github.com/synthetichealth/synthea",
            "value": "dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91"
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "MR",
                  "display": "Medical Record Number"
                }
              ],
              "text": "Medical Record Number"
            },
            "system": "http://hospital.smarthealthit.org",
            "value": "dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91"
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "DL",
                  "display": "Driver\u0027s license number"
                }
              ],
              "text": "Driver\u0027s license number"
            },
            "system": "urn:oid:2.16.840.1.113883.4.3.25",
            "value": "S99943196"
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "PPN",
                  "display": "Passport Number"
                }
              ],
              "text": "Passport Number"
            },
            "system": "http://hl7.org/fhir/sid/passport-USA",
            "value": "X74265284X"
          }
        ],
        "name": [
          {
            "use": "official",
            "family": "Balistreri607",
            "given": [
              "Ada662",
              "Sari509"
            ],
            "prefix": [
              "Mrs."
            ]
          },
          {
            "use": "maiden",
            "family": "D\u0027Amore443",
            "given": [
              "Ada662",
              "Sari509"
            ],
            "prefix": [
              "Mrs."
            ]
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "555-428-1241",
            "use": "home"
          }
        ],
        "gender": "female",
        "birthDate": "1959-08-01",
        "address": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/geolocation",
                "extension": [
                  {
                    "url": "latitude",
                    "valueDecimal": 42.38579955468066
                  },
                  {
                    "url": "longitude",
                    "valueDecimal": -71.05781519988905
                  }
                ]
              }
            ],
            "line": [
              "315 Simonis Parade"
            ],
            "city": "Somerville",
            "state": "MA",
            "postalCode": "02138",
            "country": "US"
          }
        ],
        "maritalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
              "code": "M",
              "display": "Married"
            }
          ],
          "text": "Married"
        },
        "multipleBirthBoolean": false,
        "communication": [
          {
            "language": {
              "coding": [
                {
                  "system": "urn:ietf:bcp:47",
                  "code": "en-US",
                  "display": "English (United States)"
                }
              ],
              "text": "English (United States)"
            }
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Patient"
      }
    },
    {
      "fullUrl": "urn:uuid:eaeb9228-4420-5e9c-b217-4c1a98ff9fe0",
      "resource": {
        "resourceType": "Encounter",
        "id": "eaeb9228-4420-5e9c-b217-4c1a98ff9fe0",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp class\u003d\"res-header-id\"\u003e\u003cb\u003eGenerated Narrative: Encounter eaeb9228-4420-5e9c-b217-4c1a98ff9fe0\u003c/b\u003e\u003c/p\u003e\u003ca name\u003d\"eaeb9228-4420-5e9c-b217-4c1a98ff9fe0\"\u003e \u003c/a\u003e\u003ca name\u003d\"hceaeb9228-4420-5e9c-b217-4c1a98ff9fe0\"\u003e \u003c/a\u003e\u003cp\u003e\u003cb\u003eidentifier\u003c/b\u003e: \u003ccode\u003ehttps://github.com/synthetichealth/synthea\u003c/code\u003e/eaeb9228-4420-5e9c-b217-4c1a98ff9fe0 (use: official, )\u003c/p\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: Completed\u003c/p\u003e\u003cp\u003e\u003cb\u003eclass\u003c/b\u003e: \u003cspan title\u003d\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode AMB}\"\u003eambulatory\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: \u003cspan title\u003d\"Codes:{http://snomed.info/sct 162673000}\"\u003eGeneral examination of patient (procedure)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003esubject\u003c/b\u003e: \u003ca href\u003d\"broken-link.html\"\u003eMrs. Ada662 Sari509 Balistreri607\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eserviceProvider\u003c/b\u003e: \u003ca href\u003d\"broken-link.html\"\u003eGood Health Clinic\u003c/a\u003e\u003c/p\u003e\u003ch3\u003eParticipants\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd style\u003d\"display: none\"\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003ePeriod\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eActor\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd style\u003d\"display: none\"\u003e*\u003c/td\u003e\u003ctd\u003e\u003cspan title\u003d\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PPRF}\"\u003eprimary performer\u003c/span\u003e\u003c/td\u003e\u003ctd\u003e2015-09-05T21:57:47Z --\u0026gt; 2015-09-05T22:48:16Z\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"broken-link.html\"\u003eDr. Francisco472 Gusikowski974\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/div\u003e"
        },
        "identifier": [
          {
            "use": "official",
            "system": "https://github.com/synthetichealth/synthea",
            "value": "eaeb9228-4420-5e9c-b217-4c1a98ff9fe0"
          }
        ],
        "status": "completed",
        "class": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                "code": "AMB",
                "display": "ambulatory"
              }
            ]
          }
        ],
        "type": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "162673000",
                "display": "General examination of patient (procedure)"
              }
            ],
            "text": "General examination of patient (procedure)"
          }
        ],
        "subject": {
          "reference": "urn:uuid:dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91",
          "display": "Mrs. Ada662 Sari509 Balistreri607"
        },
        "serviceProvider": {
          "reference": "Organization?identifier\u003durn:ietf:rfc:3986|urn:oid:2.16.840.1.113883.19.5",
          "display": "Good Health Clinic"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF",
                    "display": "primary performer"
                  }
                ],
                "text": "primary performer"
              }
            ],
            "period": {
              "start": "2015-09-05T21:57:47+00:00",
              "end": "2015-09-05T22:48:16+00:00"
            },
            "actor": {
              "reference": "Practitioner?identifier\u003dhttp://hl7.org/fhir/sid/us-npi|9999947796",
              "display": "Dr. Francisco472 Gusikowski974"
            }
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Encounter"
      }
    },
    {
      "fullUrl": "urn:uuid:f5030c53-c71d-9dd6-a85f-6647c09c34b4",
      "resource": {
        "resourceType": "Observation",
        "id": "f5030c53-c71d-9dd6-a85f-6647c09c34b4",
        "text": {
          "status": "generated",
          "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp class\u003d\"res-header-id\"\u003e\u003cb\u003eGenerated Narrative: Observation f5030c53-c71d-9dd6-a85f-6647c09c34b4\u003c/b\u003e\u003c/p\u003e\u003ca name\u003d\"f5030c53-c71d-9dd6-a85f-6647c09c34b4\"\u003e \u003c/a\u003e\u003ca name\u003d\"hcf5030c53-c71d-9dd6-a85f-6647c09c34b4\"\u003e \u003c/a\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: Final\u003c/p\u003e\u003cp\u003e\u003cb\u003ecategory\u003c/b\u003e: \u003cspan title\u003d\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\"\u003eLaboratory\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ecode\u003c/b\u003e: \u003cspan title\u003d\"Codes:{http://loinc.org 2093-3}\"\u003eCholesterol [Mass/volume] in Serum or Plasma\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003esubject\u003c/b\u003e: \u003ca href\u003d\"broken-link.html\"\u003eurn:uuid:dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eencounter\u003c/b\u003e: \u003ca href\u003d\"broken-link.html\"\u003eurn:uuid:eaeb9228-4420-5e9c-b217-4c1a98ff9fe0\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eeffective\u003c/b\u003e: 2015-09-05T21:57:47Z\u003c/p\u003e\u003cp\u003e\u003cb\u003eissued\u003c/b\u003e: 2015-09-05T21:57:47.809Z\u003c/p\u003e\u003cp\u003e\u003cb\u003evalue\u003c/b\u003e: 165.49 mg/dL\u003cspan style\u003d\"background: LightGoldenRodYellow\"\u003e (Details: UCUM  codemg/dL \u003d \u0027mg/dL\u0027)\u003c/span\u003e\u003c/p\u003e\u003c/div\u003e"
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "laboratory",
                "display": "Laboratory"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "2093-3",
              "display": "Cholesterol [Mass/volume] in Serum or Plasma"
            }
          ],
          "text": "Cholesterol [Mass/volume] in Serum or Plasma"
        },
        "subject": {
          "reference": "urn:uuid:dbc4a3f7-9c69-4435-3ce3-4e1988ab6b91"
        },
        "encounter": {
          "reference": "urn:uuid:eaeb9228-4420-5e9c-b217-4c1a98ff9fe0"
        },
        "effectiveDateTime": "2015-09-05T21:57:47+00:00",
        "issued": "2015-09-05T21:57:47.809+00:00",
        "valueQuantity": {
          "value": 165.49,
          "unit": "mg/dL",
          "system": "http://unitsofmeasure.org",
          "code": "mg/dL"
        }
      },
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    }
  ]
}