{
  "resourceType" : "Bundle",
  "id" : "2abf7f4c-bd1f-431f-a4c8-667cfa425baf",
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "https://aphp.fr/Patient/c9ceac8e-8ae4-4cb7-8e99-82549909ce29",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "c9ceac8e-8ae4-4cb7-8e99-82549909ce29",
      "meta" : {
        "source" : "https://aphp.fr/fhir/Endpoint/dpi/PatientTable/1"
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_c9ceac8e-8ae4-4cb7-8e99-82549909ce29\"> </a><p class=\"res-header-id\"><b>Narratif généré : Patient c9ceac8e-8ae4-4cb7-8e99-82549909ce29</b></p><a name=\"c9ceac8e-8ae4-4cb7-8e99-82549909ce29\"> </a><a name=\"hcc9ceac8e-8ae4-4cb7-8e99-82549909ce29\"> </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\">Information Source: <a href=\"https://aphp.fr/fhir/Endpoint/dpi/PatientTable/1\">https://aphp.fr/fhir/Endpoint/dpi/PatientTable/1</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">john doe Male, Date de Naissance :1948-07-16</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Moyens de contacter le Patient\">Coordonnées</td><td colspan=\"3\"><ul><li>18 Grand Rue(home)</li><li>1 rue Malatiré(old)</li></ul></td></tr></table></div>"
      },
      "name" : [{
        "use" : "usual",
        "text" : "john doe",
        "family" : "doe",
        "given" : ["john"]
      }],
      "gender" : "male",
      "birthDate" : "1948-07-16",
      "address" : [{
        "extension" : [{
          "extension" : [{
            "url" : "latitude",
            "valueDecimal" : 49.2
          },
          {
            "url" : "longitude",
            "valueDecimal" : 1.2
          }],
          "url" : "http://hl7.org/fhir/StructureDefinition/geolocation"
        }],
        "use" : "home",
        "text" : "18 Grand Rue",
        "city" : "Dampierre",
        "postalCode" : "78720",
        "country" : "France"
      },
      {
        "extension" : [{
          "extension" : [{
            "url" : "latitude",
            "valueDecimal" : 49.451697
          },
          {
            "url" : "longitude",
            "valueDecimal" : 1.095129
          }],
          "url" : "http://hl7.org/fhir/StructureDefinition/geolocation"
        }],
        "use" : "old",
        "text" : "1 rue Malatiré",
        "city" : "Rouen",
        "postalCode" : "76000",
        "country" : "France"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Patient/c9ceac8e-8ae4-4cb7-8e99-82549909ce29"
    }
  },
  {
    "fullUrl" : "https://aphp.fr/Encounter/0c3bd64b-9f64-456a-b40f-de7a28366f9d",
    "resource" : {
      "resourceType" : "Encounter",
      "id" : "0c3bd64b-9f64-456a-b40f-de7a28366f9d",
      "meta" : {
        "source" : "https://aphp.fr/fhir/Endpoint/dpi/SejourTable/1"
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_0c3bd64b-9f64-456a-b40f-de7a28366f9d\"> </a><p class=\"res-header-id\"><b>Narratif généré : Venue 0c3bd64b-9f64-456a-b40f-de7a28366f9d</b></p><a name=\"0c3bd64b-9f64-456a-b40f-de7a28366f9d\"> </a><a name=\"hc0c3bd64b-9f64-456a-b40f-de7a28366f9d\"> </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\">Information Source: <a href=\"https://aphp.fr/fhir/Endpoint/dpi/SejourTable/1\">https://aphp.fr/fhir/Endpoint/dpi/SejourTable/1</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode: IMP</a> (inpatient encounter)</p><p><b>subject</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Patient_c9ceac8e-8ae4-4cb7-8e99-82549909ce29\">john doe Male, Date de Naissance :1948-07-16</a></p><p><b>period</b>: 2025-02-04 --&gt; 2025-02-05</p></div>"
      },
      "status" : "finished",
      "class" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "IMP",
        "display" : "inpatient encounter"
      },
      "subject" : {
        "reference" : "Patient/c9ceac8e-8ae4-4cb7-8e99-82549909ce29"
      },
      "period" : {
        "start" : "2025-02-04",
        "end" : "2025-02-05"
      }
    },
    "request" : {
      "method" : "POST",
      "url" : "Encounter/0c3bd64b-9f64-456a-b40f-de7a28366f9d"
    }
  },
  {
    "fullUrl" : "https://aphp.fr/Procedure/779a5b0a-013e-4872-b8ce-6a2ee307d240",
    "resource" : {
      "resourceType" : "Procedure",
      "id" : "779a5b0a-013e-4872-b8ce-6a2ee307d240",
      "meta" : {
        "source" : "https://aphp.fr/fhir/Endpoint/dpi/ActeTable/1"
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Procedure_779a5b0a-013e-4872-b8ce-6a2ee307d240\"> </a><p class=\"res-header-id\"><b>Narratif généré : Procédure 779a5b0a-013e-4872-b8ce-6a2ee307d240</b></p><a name=\"779a5b0a-013e-4872-b8ce-6a2ee307d240\"> </a><a name=\"hc779a5b0a-013e-4872-b8ce-6a2ee307d240\"> </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\">Information Source: <a href=\"https://aphp.fr/fhir/Endpoint/dpi/ActeTable/1\">https://aphp.fr/fhir/Endpoint/dpi/ActeTable/1</a></p></div><p><b>status</b>: Completed</p><p><b>code</b>: <span title=\"Codes :{https://smt.esante.gouv.fr/terminologie-ccam HFFC0044}\">Gastrectomie avec court-circuit biliopancréatique ou intestinal pour obésité morbide, par coelioscopie - anesthésie</span></p><p><b>subject</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Patient_c9ceac8e-8ae4-4cb7-8e99-82549909ce29\">john doe Male, Date de Naissance :1948-07-16</a></p><p><b>encounter</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Encounter_0c3bd64b-9f64-456a-b40f-de7a28366f9d\">Encounter : status = finished; class = inpatient encounter (ActCode#IMP); period = 2025-02-04 --&gt; 2025-02-05</a></p><p><b>performed</b>: 2025-02-04 10:00:00+0000 --&gt; 2025-02-04 12:30:00+0000</p></div>"
      },
      "status" : "completed",
      "code" : {
        "coding" : [{
          "system" : "https://smt.esante.gouv.fr/terminologie-ccam",
          "code" : "HFFC0044"
        }]
      },
      "subject" : {
        "reference" : "Patient/c9ceac8e-8ae4-4cb7-8e99-82549909ce29"
      },
      "encounter" : {
        "reference" : "Encounter/0c3bd64b-9f64-456a-b40f-de7a28366f9d"
      },
      "performedPeriod" : {
        "start" : "2025-02-04T10:00:00Z",
        "end" : "2025-02-04T12:30:00Z"
      }
    },
    "request" : {
      "method" : "POST",
      "url" : "Procedure/779a5b0a-013e-4872-b8ce-6a2ee307d240"
    }
  },
  {
    "fullUrl" : "https://aphp.fr/Condition/579e3f8d-0716-40a1-9eec-694393f59209",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "579e3f8d-0716-40a1-9eec-694393f59209",
      "meta" : {
        "source" : "https://aphp.fr/fhir/Endpoint/dpi/DiagTable/1"
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_579e3f8d-0716-40a1-9eec-694393f59209\"> </a><p class=\"res-header-id\"><b>Narratif généré : Condition 579e3f8d-0716-40a1-9eec-694393f59209</b></p><a name=\"579e3f8d-0716-40a1-9eec-694393f59209\"> </a><a name=\"hc579e3f8d-0716-40a1-9eec-694393f59209\"> </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\">Information Source: <a href=\"https://aphp.fr/fhir/Endpoint/dpi/DiagTable/1\">https://aphp.fr/fhir/Endpoint/dpi/DiagTable/1</a></p></div><p><b>category</b>: <span title=\"Codes :{http://terminology.hl7.org/CodeSystem/condition-category encounter-diagnosis}\">Encounter Diagnosis</span></p><p><b>code</b>: <span title=\"Codes :{http://hl7.org/fhir/sid/icd-10 I10}\">Essential (primary) hypertension</span></p><p><b>subject</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Patient_c9ceac8e-8ae4-4cb7-8e99-82549909ce29\">john doe Male, Date de Naissance :1948-07-16</a></p><p><b>encounter</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Encounter_0c3bd64b-9f64-456a-b40f-de7a28366f9d\">Encounter : status = finished; class = inpatient encounter (ActCode#IMP); period = 2025-02-04 --&gt; 2025-02-05</a></p></div>"
      },
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-category",
          "code" : "encounter-diagnosis",
          "display" : "Encounter Diagnosis"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/sid/icd-10",
          "code" : "I10"
        }]
      },
      "subject" : {
        "reference" : "Patient/c9ceac8e-8ae4-4cb7-8e99-82549909ce29"
      },
      "encounter" : {
        "reference" : "Encounter/0c3bd64b-9f64-456a-b40f-de7a28366f9d"
      }
    },
    "request" : {
      "method" : "POST",
      "url" : "Condition/579e3f8d-0716-40a1-9eec-694393f59209"
    }
  },
  {
    "fullUrl" : "https://aphp.fr/Observation/79195715-0c2d-45b5-80d1-992d216c084f",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "79195715-0c2d-45b5-80d1-992d216c084f",
      "meta" : {
        "source" : "https://aphp.fr/fhir/Endpoint/dpi/BiologyTable/1"
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_79195715-0c2d-45b5-80d1-992d216c084f\"> </a><p class=\"res-header-id\"><b>Narratif généré : Observation 79195715-0c2d-45b5-80d1-992d216c084f</b></p><a name=\"79195715-0c2d-45b5-80d1-992d216c084f\"> </a><a name=\"hc79195715-0c2d-45b5-80d1-992d216c084f\"> </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\">Information Source: <a href=\"https://aphp.fr/fhir/Endpoint/dpi/BiologyTable/1\">https://aphp.fr/fhir/Endpoint/dpi/BiologyTable/1</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes :{http://terminology.hl7.org/CodeSystem/observation-category vital-signs}\">Vital Signs</span></p><p><b>code</b>: <span title=\"Codes :{http://loinc.org 29463-7}\">Poids corporel [Masse] Patient ; Numérique</span></p><p><b>subject</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Patient_c9ceac8e-8ae4-4cb7-8e99-82549909ce29\">john doe Male, Date de Naissance :1948-07-16</a></p><p><b>encounter</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Encounter_0c3bd64b-9f64-456a-b40f-de7a28366f9d\">Encounter : status = finished; class = inpatient encounter (ActCode#IMP); period = 2025-02-04 --&gt; 2025-02-05</a></p><p><b>effective</b>: 2025-02-04 09:30:10+0100</p><p><b>value</b>: 45.5 kg<span style=\"background: LightGoldenRodYellow\"> (Détails : code UCUMkg = 'kg')</span></p></div>"
      },
      "status" : "final",
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "vital-signs",
          "display" : "Vital Signs"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "29463-7"
        }]
      },
      "subject" : {
        "reference" : "Patient/c9ceac8e-8ae4-4cb7-8e99-82549909ce29"
      },
      "encounter" : {
        "reference" : "Encounter/0c3bd64b-9f64-456a-b40f-de7a28366f9d"
      },
      "effectiveDateTime" : "2025-02-04T09:30:10+01:00",
      "valueQuantity" : {
        "value" : 45.5,
        "unit" : "kg",
        "system" : "http://unitsofmeasure.org",
        "code" : "kg"
      }
    },
    "request" : {
      "method" : "POST",
      "url" : "Observation/79195715-0c2d-45b5-80d1-992d216c084f"
    }
  },
  {
    "fullUrl" : "https://aphp.fr/Encounter/16d06e18-073e-42b2-b9a1-3ff5d61c5623",
    "resource" : {
      "resourceType" : "Encounter",
      "id" : "16d06e18-073e-42b2-b9a1-3ff5d61c5623",
      "meta" : {
        "source" : "https://aphp.fr/fhir/Endpoint/dpi/SejourTable/2"
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_16d06e18-073e-42b2-b9a1-3ff5d61c5623\"> </a><p class=\"res-header-id\"><b>Narratif généré : Venue 16d06e18-073e-42b2-b9a1-3ff5d61c5623</b></p><a name=\"16d06e18-073e-42b2-b9a1-3ff5d61c5623\"> </a><a name=\"hc16d06e18-073e-42b2-b9a1-3ff5d61c5623\"> </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\">Information Source: <a href=\"https://aphp.fr/fhir/Endpoint/dpi/SejourTable/2\">https://aphp.fr/fhir/Endpoint/dpi/SejourTable/2</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode: IMP</a> (inpatient encounter)</p><p><b>subject</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Patient_c9ceac8e-8ae4-4cb7-8e99-82549909ce29\">john doe Male, Date de Naissance :1948-07-16</a></p><p><b>period</b>: 2025-03-04 --&gt; (en cours)</p></div>"
      },
      "status" : "finished",
      "class" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "IMP",
        "display" : "inpatient encounter"
      },
      "subject" : {
        "reference" : "Patient/c9ceac8e-8ae4-4cb7-8e99-82549909ce29"
      },
      "period" : {
        "start" : "2025-03-04"
      }
    },
    "request" : {
      "method" : "POST",
      "url" : "Encounter/16d06e18-073e-42b2-b9a1-3ff5d61c5623"
    }
  },
  {
    "fullUrl" : "https://aphp.fr/Condition/a81b1210-77ef-4008-85b0-07d6334feaad",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "a81b1210-77ef-4008-85b0-07d6334feaad",
      "meta" : {
        "source" : "https://aphp.fr/fhir/Endpoint/dpi/DiagTable/2"
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_a81b1210-77ef-4008-85b0-07d6334feaad\"> </a><p class=\"res-header-id\"><b>Narratif généré : Condition a81b1210-77ef-4008-85b0-07d6334feaad</b></p><a name=\"a81b1210-77ef-4008-85b0-07d6334feaad\"> </a><a name=\"hca81b1210-77ef-4008-85b0-07d6334feaad\"> </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\">Information Source: <a href=\"https://aphp.fr/fhir/Endpoint/dpi/DiagTable/2\">https://aphp.fr/fhir/Endpoint/dpi/DiagTable/2</a></p></div><p><b>category</b>: <span title=\"Codes :{http://terminology.hl7.org/CodeSystem/condition-category encounter-diagnosis}\">Encounter Diagnosis</span></p><p><b>code</b>: <span title=\"Codes :{http://hl7.org/fhir/sid/icd-10 I10}\">Essential (primary) hypertension</span></p><p><b>subject</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Patient_c9ceac8e-8ae4-4cb7-8e99-82549909ce29\">john doe Male, Date de Naissance :1948-07-16</a></p><p><b>encounter</b>: <a href=\"Bundle-2abf7f4c-bd1f-431f-a4c8-667cfa425baf.html#Encounter_16d06e18-073e-42b2-b9a1-3ff5d61c5623\">Encounter : status = finished; class = inpatient encounter (ActCode#IMP); period = 2025-03-04 --&gt; (en cours)</a></p></div>"
      },
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-category",
          "code" : "encounter-diagnosis",
          "display" : "Encounter Diagnosis"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/sid/icd-10",
          "code" : "I10"
        }]
      },
      "subject" : {
        "reference" : "Patient/c9ceac8e-8ae4-4cb7-8e99-82549909ce29"
      },
      "encounter" : {
        "reference" : "Encounter/16d06e18-073e-42b2-b9a1-3ff5d61c5623"
      }
    },
    "request" : {
      "method" : "POST",
      "url" : "Condition/a81b1210-77ef-4008-85b0-07d6334feaad"
    }
  }]
}