<Bundle xmlns="http://hl7.org/fhir">
  <type value="transaction" />
  <entry>
    <fullUrl value="urn:uuid:patient" />
    <resource>
      <Patient>
        <identifier>
          <system value="http://example.com/national_id" />
          <value value="string" />
        </identifier>
        <identifier>
          <system value="http://example.com/nhs_id" />
          <value value="string" />
        </identifier>
        <name>
          <given value="string" />
        </name>
        <telecom>
          <system value="email" />
          <value value="user@example.com" />
        </telecom>
        <telecom>
          <system value="phone" />
          <value value="string" />
        </telecom>
        <gender value="female" />
        <birthDate value="2023-11-02" />
        <address>
          <city value="string" />
          <state value="string" />
          <country value="string" />
        </address>
      </Patient>
    </resource>
    <request>
      <method value="POST" />
      <url value="Patient" />
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:condition" />
    <resource>
      <Condition>
        <clinicalStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" />
            <code value="active" />
            <display value="Active" />
          </coding>
        </clinicalStatus>
        <verificationStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" />
            <code value="confirmed" />
            <display value="Confirmed" />
          </coding>
        </verificationStatus>
        <code>
          <coding>
            <system value="http://snomed.info/sct" />
            <code value="431855005" />
            <display value="Hypertension" />
          </coding>
          <text value="Hypertension" />
        </code>
        <subject>
          <reference value="Patient/example" />
          <display value="Jane Doe" />
        </subject>
        <onsetDateTime value="2023-11-02" />
      </Condition>
    </resource>
    <request>
      <method value="POST" />
      <url value="Condition" />
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:practitioner" />
    <resource>
      <Practitioner>
        <id value="123" />
        <identifier>
          <system value="http://example.com/doctor_license_nr" />
          <value value="12345" />
        </identifier>
        <name>
          <family value="Doe" />
          <given value="Dr. John" />
          <prefix value="Dr." />
        </name>
      </Practitioner>
    </resource>
    <request>
      <method value="POST" />
      <url value="Practitioner" />
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:encounter" />
    <resource>
      <Encounter>
        <extension url="http://example.com/insurance">
          <valueString value="Insurance name" />
        </extension>
        <extension url="http://example.com/insurer">
          <valueString value="Insurer name" />
        </extension>
        <identifier>
          <system value="http://example.com/institution_event_id" />
          <value value="string" />
        </identifier>
        <status value="planned" />
        <class>
          <system value="http://hl7.org/fhir/v3/ActCode" />
          <code value="AMB" />
          <display value="ambulatory" />
        </class>
        <type>
          <coding>
            <system value="http://snomed.info/sct" />
            <code value="257556004" />
            <display value="Surgery" />
          </coding>
        </type>
        <subject>
          <reference value="Patient/example" />
          <display value="Jane Doe" />
        </subject>
        <participant>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v3/ParticipationType" />
              <code value="ADM" />
              <display value="admitter" />
            </coding>
          </type>
          <individual>
            <reference value="Practitioner/123" />
            <display value="Dr. John Doe" />
          </individual>
        </participant>
        <period>
          <start value="2023-11-02T00:00:00Z" />
        </period>
      </Encounter>
    </resource>
    <request>
      <method value="POST" />
      <url value="Encounter" />
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:procedure" />
    <resource>
      <Procedure>
        <status value="completed" />
        <code>
          <coding>
            <system value="http://snomed.info/sct" />
            <code value="123456" />
            <display value="Procedure Name" />
          </coding>
        </code>
        <subject>
          <reference value="Patient/example" />
          <display value="Jane Doe" />
        </subject>
        <performedDateTime value="2023-11-02T00:00:00Z" />
        <bodySite>
          <coding>
            <system value="http://snomed.info/sct" />
            <code value="272741003" />
            <display value="Right lower limb" />
          </coding>
        </bodySite>
      </Procedure>
    </resource>
    <request>
      <method value="POST" />
      <url value="Procedure" />
    </request>
  </entry>
</Bundle>