{
  "resourceType" : "ClinicalDocument",
  "realmCode" : [{
    "code" : "FR"
  }],
  "typeId" : {
    "extension" : "POCD_HD000040",
    "root" : "2.16.840.1.113883.1.3"
  },
  "templateId" : [{
    "root" : "2.16.840.1.113883.2.8.2.1"
  },
  {
    "root" : "1.2.250.1.213.1.1.1.1"
  },
  {
    "extension" : "2022.01",
    "root" : "1.2.250.1.213.1.1.1.29"
  }],
  "id" : {
    "root" : "1.2.250.1.213.1.1.1.29.2022.1.1"
  },
  "code" : {
    "code" : "11490-0",
    "codeSystem" : "2.16.840.1.113883.6.1",
    "codeSystemName" : "LOINC",
    "displayName" : "Lettre de liaison à la sortie d'un établissement de soins"
  },
  "title" : {
    "xmlText" : "Lettre de liaison à la sortie de l'établissement de santé"
  },
  "effectiveTime" : {
    "value" : "2019-12-03T13:30:00+01:00"
  },
  "confidentialityCode" : {
    "code" : "N",
    "codeSystem" : "2.16.840.1.113883.5.25",
    "displayName" : "Normal"
  },
  "languageCode" : {
    "code" : "fr-FR"
  },
  "setId" : {
    "root" : "1.2.250.1.213.1.1.1.29.2022.1"
  },
  "versionNumber" : {
    "value" : 1
  },
  "recordTarget" : [{
    "patientRole" : {
      "id" : [{
        "extension" : "279035121518989",
        "root" : "1.2.250.1.213.1.4.10"
      },
      {
        "extension" : "1234567890121",
        "root" : "1.2.3.4.567.8.9.10"
      }],
      "addr" : [{
        "item" : [{
          "houseNumber" : {
            "xmlText" : "28"
          }
        },
        {
          "streetName" : {
            "xmlText" : "Avenue de Breteuil"
          }
        },
        {
          "unitID" : {
            "xmlText" : "Escalier A"
          }
        },
        {
          "postalCode" : {
            "xmlText" : "75007"
          }
        },
        {
          "city" : {
            "xmlText" : "PARIS"
          }
        },
        {
          "country" : {
            "xmlText" : "FRANCE"
          }
        }]
      }],
      "telecom" : [{
        "use" : ["H"],
        "value" : "tel:0144534551"
      },
      {
        "use" : ["MC"],
        "value" : "tel:0647151010"
      },
      {
        "value" : "mailto:279035121518989@patient.mssante.fr"
      }],
      "patient" : {
        "classCode" : "PSN",
        "name" : [{
          "item" : [{
            "family" : [{
              "xmlText" : "PAT-TROIS",
              "qualifier" : ["BR"]
            }]
          },
          {
            "given" : [{
              "xmlText" : "DOMINIQUE MARIE-LOUISE"
            }]
          },
          {
            "given" : [{
              "xmlText" : "DOMINIQUE",
              "qualifier" : ["BR"]
            }]
          },
          {
            "family" : [{
              "xmlText" : "PAT-TROIS",
              "qualifier" : ["CL"]
            }]
          },
          {
            "given" : [{
              "xmlText" : "DOMINIQUE",
              "qualifier" : ["CL"]
            }]
          }]
        }],
        "administrativeGenderCode" : {
          "code" : "F",
          "codeSystem" : "2.16.840.1.113883.5.1",
          "displayName" : "Féminin"
        },
        "birthTime" : {
          "value" : "1979-03-28"
        },
        "guardian" : [{
          "addr" : [{
            "use" : ["H"],
            "item" : [{
              "houseNumber" : {
                "xmlText" : "28"
              }
            },
            {
              "streetName" : {
                "xmlText" : "Avenue de Breteuil"
              }
            },
            {
              "postalCode" : {
                "xmlText" : "75007"
              }
            },
            {
              "city" : {
                "xmlText" : "PARIS"
              }
            },
            {
              "country" : {
                "xmlText" : "FRANCE"
              }
            }]
          }],
          "telecom" : [{
            "use" : ["H"],
            "value" : "tel:0147150000"
          }],
          "guardianPerson" : {
            "name" : [{
              "item" : [{
                "prefix" : [{
                  "xmlText" : "MME"
                }]
              },
              {
                "family" : [{
                  "xmlText" : "NESSI"
                }]
              },
              {
                "given" : [{
                  "xmlText" : "Jeanne"
                }]
              }]
            }]
          }
        }],
        "birthplace" : {
          "place" : {
            "addr" : {
              "item" : [{
                "county" : {
                  "xmlText" : "51215"
                }
              },
              {
                "city" : {
                  "xmlText" : "DOMPREMY"
                }
              }]
            }
          }
        }
      }
    }
  }],
  "author" : [{
    "time" : {
      "value" : "2019-12-03T13:30:00+01:00"
    },
    "assignedAuthor" : {
      "classCode" : "ASSIGNED",
      "id" : [{
        "extension" : "801234567897",
        "root" : "1.2.250.1.71.4.2.1"
      }],
      "code" : {
        "code" : "G15_10/SM27",
        "codeSystem" : "1.2.250.1.213.1.1.4.5",
        "displayName" : "Médecin - Médecine interne (SM)"
      },
      "addr" : [{
        "item" : [{
          "houseNumber" : {
            "xmlText" : "20"
          }
        },
        {
          "streetName" : {
            "xmlText" : "Rue Leblanc"
          }
        },
        {
          "postalCode" : {
            "xmlText" : "75015"
          }
        },
        {
          "city" : {
            "xmlText" : "PARIS"
          }
        }]
      }],
      "telecom" : [{
        "use" : ["WP"],
        "value" : "tel:0141297500"
      }],
      "assignedPerson" : {
        "name" : [{
          "item" : [{
            "given" : [{
              "xmlText" : "Charles"
            }]
          },
          {
            "family" : [{
              "xmlText" : "DAVID"
            }]
          },
          {
            "prefix" : [{
              "xmlText" : "M"
            }]
          },
          {
            "suffix" : [{
              "xmlText" : "DR"
            }]
          }]
        }]
      },
      "representedOrganization" : {
        "id" : [{
          "extension" : "1750803447",
          "root" : "1.2.250.1.71.4.2.2"
        }],
        "name" : [{
          "item" : [{
            "xmlText" : "Hôpital Européen Georges Pompidou"
          }]
        }]
      }
    }
  }],
  "informant" : [{
    "relatedEntity" : {
      "classCode" : "ECON",
      "code" : {
        "code" : "SIS",
        "codeSystem" : "2.16.840.1.113883.5.111",
        "displayName" : "Soeur"
      },
      "addr" : [{
        "nullFlavor" : "NAV"
      }],
      "telecom" : [{
        "use" : ["MC"],
        "value" : "tel:0647150100"
      }],
      "relatedPerson" : {
        "name" : [{
          "item" : [{
            "family" : [{
              "xmlText" : "NESSI"
            }]
          },
          {
            "given" : [{
              "xmlText" : "Sophie"
            }]
          }]
        }]
      }
    }
  },
  {
    "relatedEntity" : {
      "classCode" : "NOK",
      "code" : {
        "code" : "SIS",
        "codeSystem" : "2.16.840.1.113883.5.111",
        "displayName" : "Soeur"
      },
      "addr" : [{
        "nullFlavor" : "NAV"
      }],
      "telecom" : [{
        "use" : ["MC"],
        "value" : "tel:0647150100"
      }],
      "relatedPerson" : {
        "name" : [{
          "item" : [{
            "family" : [{
              "xmlText" : "NESSI"
            }]
          },
          {
            "given" : [{
              "xmlText" : "Sophie"
            }]
          }]
        }]
      }
    }
  }],
  "custodian" : {
    "assignedCustodian" : {
      "representedCustodianOrganization" : {
        "id" : [{
          "extension" : "1750803447",
          "root" : "1.2.250.1.71.4.2.2"
        }],
        "name" : {
          "item" : [{
            "xmlText" : "Hôpital Européen Georges Pompidou"
          }]
        },
        "telecom" : {
          "use" : ["WP"],
          "value" : "tel:0141297500"
        },
        "addr" : {
          "item" : [{
            "houseNumber" : {
              "xmlText" : "20"
            }
          },
          {
            "streetName" : {
              "xmlText" : "Rue Leblanc"
            }
          },
          {
            "postalCode" : {
              "xmlText" : "75015"
            }
          },
          {
            "city" : {
              "xmlText" : "PARIS"
            }
          }]
        }
      }
    }
  },
  "informationRecipient" : [{
    "intendedRecipient" : {
      "id" : [{
        "extension" : "801234567897",
        "root" : "1.2.250.1.71.4.2.1"
      }],
      "informationRecipient" : {
        "name" : [{
          "item" : [{
            "family" : [{
              "xmlText" : "BOILEAU"
            }]
          },
          {
            "given" : [{
              "xmlText" : "Charles"
            }]
          },
          {
            "prefix" : [{
              "xmlText" : "M"
            }]
          },
          {
            "suffix" : [{
              "xmlText" : "DR"
            }]
          }]
        }]
      },
      "receivedOrganization" : {
        "id" : [{
          "extension" : "1120456789",
          "root" : "1.2.250.1.71.4.2.2"
        }],
        "name" : [{
          "item" : [{
            "xmlText" : "Centre de soins du Belvédère"
          }]
        }]
      }
    }
  },
  {
    "intendedRecipient" : {
      "id" : [{
        "extension" : "801234567896",
        "root" : "1.2.250.1.71.4.2.1"
      }],
      "informationRecipient" : {
        "name" : [{
          "item" : [{
            "family" : [{
              "xmlText" : "DUCOUT"
            }]
          },
          {
            "given" : [{
              "xmlText" : "Elsa"
            }]
          },
          {
            "prefix" : [{
              "xmlText" : "MME"
            }]
          }]
        }]
      },
      "receivedOrganization" : {
        "id" : [{
          "extension" : "1120456789",
          "root" : "1.2.250.1.71.4.2.2"
        }],
        "name" : [{
          "item" : [{
            "xmlText" : "Cabinet infirmière libérale"
          }]
        }]
      }
    }
  }],
  "legalAuthenticator" : {
    "time" : {
      "value" : "2019-12-03T13:30:00+01:00"
    },
    "signatureCode" : {
      "code" : "S"
    },
    "assignedEntity" : {
      "id" : [{
        "extension" : "801234567897",
        "root" : "1.2.250.1.71.4.2.1"
      }],
      "assignedPerson" : {
        "name" : [{
          "item" : [{
            "given" : [{
              "xmlText" : "Léon"
            }]
          },
          {
            "family" : [{
              "xmlText" : "AUGUIN"
            }]
          },
          {
            "prefix" : [{
              "xmlText" : "M"
            }]
          },
          {
            "suffix" : [{
              "xmlText" : "PR"
            }]
          }]
        }]
      },
      "representedOrganization" : {
        "id" : [{
          "extension" : "1750803447",
          "root" : "1.2.250.1.71.4.2.2"
        }],
        "name" : [{
          "item" : [{
            "xmlText" : "Hôpital Européen Georges Pompidou"
          }]
        }],
        "telecom" : [{
          "use" : ["WP"],
          "value" : "tel:0141297500"
        }],
        "addr" : [{
          "item" : [{
            "houseNumber" : {
              "xmlText" : "20"
            }
          },
          {
            "streetName" : {
              "xmlText" : "Rue Leblanc"
            }
          },
          {
            "postalCode" : {
              "xmlText" : "75015"
            }
          },
          {
            "city" : {
              "xmlText" : "PARIS"
            }
          }]
        }],
        "standardIndustryClassCode" : {
          "code" : "ETABLISSEMENT",
          "codeSystem" : "1.2.250.1.213.1.1.4.9",
          "codeSystemName" : "practiceSettingCode",
          "displayName" : "Etablissement de santé"
        }
      }
    }
  },
  "participant" : [{
    "typeCode" : "INF",
    "functionCode" : {
      "code" : "PCP",
      "codeSystem" : "2.16.840.1.113883.5.88",
      "displayName" : "Médecin Traitant"
    },
    "time" : {
      "nullFlavor" : "NA"
    },
    "associatedEntity" : {
      "classCode" : "PROV",
      "id" : [{
        "extension" : "801984758437",
        "root" : "1.2.250.1.71.4.2.1"
      }],
      "code" : {
        "code" : "G15_10/SM26",
        "codeSystem" : "1.2.250.1.213.1.1.4.5",
        "displayName" : "Médecin - Qualifié en Médecine Générale (SM)"
      },
      "addr" : [{
        "item" : [{
          "houseNumber" : {
            "xmlText" : "3"
          }
        },
        {
          "streetName" : {
            "xmlText" : "Rue Petit Pont"
          }
        },
        {
          "postalCode" : {
            "xmlText" : "75005"
          }
        },
        {
          "city" : {
            "xmlText" : "PARIS"
          }
        }]
      }],
      "telecom" : [{
        "use" : ["WP"],
        "value" : "tel:0147150000"
      }],
      "associatedPerson" : {
        "name" : [{
          "item" : [{
            "prefix" : [{
              "xmlText" : "M"
            }]
          },
          {
            "suffix" : [{
              "xmlText" : "DR"
            }]
          },
          {
            "given" : [{
              "xmlText" : "Stéphane"
            }]
          },
          {
            "family" : [{
              "xmlText" : "MEDIONI"
            }]
          }]
        }]
      },
      "scopingOrganization" : {
        "id" : [{
          "extension" : "2801984755893",
          "root" : "1.2.250.1.71.4.2.2"
        }],
        "name" : [{
          "item" : [{
            "xmlText" : "Cabinet du Dr Medioni"
          }]
        }],
        "telecom" : [{
          "use" : ["WP"],
          "value" : "tel:0142515100"
        }],
        "addr" : [{
          "item" : [{
            "houseNumber" : {
              "xmlText" : "3"
            }
          },
          {
            "streetName" : {
              "xmlText" : "Rue Petit Pont"
            }
          },
          {
            "postalCode" : {
              "xmlText" : "75005"
            }
          },
          {
            "city" : {
              "xmlText" : "PARIS"
            }
          }]
        }]
      }
    }
  }],
  "documentationOf" : [{
    "serviceEvent" : {
      "code" : {
        "code" : "IMP",
        "codeSystem" : "2.16.840.1.113883.5.4",
        "codeSystemName" : "HL7:ActCode",
        "displayName" : "Hospitalisation (établissement, y compris HAD)"
      },
      "effectiveTime" : {
        "low" : {
          "value" : "2019-10-29T11:17:00+01:00"
        },
        "high" : {
          "value" : "2019-12-03T13:30:00+01:00"
        }
      },
      "performer" : [{
        "typeCode" : "PRF",
        "time" : {
          "high" : {
            "value" : "2019-10-29T11:17:00+01:00"
          }
        },
        "assignedEntity" : {
          "id" : [{
            "extension" : "801234567897",
            "root" : "1.2.250.1.71.4.2.1"
          }],
          "assignedPerson" : {
            "name" : [{
              "item" : [{
                "given" : [{
                  "xmlText" : "Léon"
                }]
              },
              {
                "family" : [{
                  "xmlText" : "AUGUIN"
                }]
              },
              {
                "prefix" : [{
                  "xmlText" : "M"
                }]
              },
              {
                "suffix" : [{
                  "xmlText" : "DR"
                }]
              }]
            }]
          },
          "representedOrganization" : {
            "name" : [{
              "item" : [{
                "xmlText" : "Service de Cardiologie"
              }]
            }],
            "telecom" : [{
              "nullFlavor" : "NAV"
            }],
            "standardIndustryClassCode" : {
              "code" : "ETABLISSEMENT",
              "codeSystem" : "1.2.250.1.213.1.1.4.9",
              "codeSystemName" : "practiceSettingCode",
              "displayName" : "Etablissement de santé"
            }
          }
        }
      }]
    }
  }],
  "componentOf" : {
    "encompassingEncounter" : {
      "effectiveTime" : {
        "low" : {
          "value" : "2019-10-29T11:17:00+01:00"
        },
        "high" : {
          "value" : "2019-12-03T13:30:00+01:00"
        }
      },
      "location" : {
        "healthCareFacility" : {
          "code" : {
            "code" : "SA01",
            "codeSystem" : "1.2.250.1.71.4.2.4",
            "displayName" : "Etablissement public de santé"
          }
        }
      }
    }
  },
  "component" : {
    "structuredBody" : {
      "component" : [{
        "section" : {
          "templateId" : [{
            "root" : "1.2.250.1.213.1.1.2.35"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.35.1"
          }],
          "id" : {
            "root" : "2DB3E431-03B4-4FC4-99E5-AA2E3CE1D12A"
          },
          "code" : {
            "code" : "33557-0",
            "codeSystem" : "2.16.840.1.113883.6.1",
            "codeSystemName" : "LOINC",
            "displayName" : "Etat d'achèvement"
          },
          "title" : {
            "xmlText" : "Statut du document"
          },
          "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\"><tbody align=\"left\"><tr><td>Statut du document</td><td><span id=\"statutDoc\">En cours</span></td></tr></tbody></table></div>",
          "entry" : [{
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.16"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.16.1"
              }],
              "id" : [{
                "root" : "402F3A79-F829-4572-8B65-65BC43367B70"
              }],
              "code" : {
                "code" : "GEN-065",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Statut du document"
              },
              "text" : {
                "reference" : {
                  "value" : "#statutDoc"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "code" : "385651009",
                "codeSystem" : "2.16.840.1.113883.6.96",
                "codeSystemName" : "SNOMED CT",
                "displayName" : "en cours d'exécution"
              }]
            }
          }]
        }
      },
      {
        "section" : {
          "templateId" : [{
            "root" : "1.3.6.1.4.1.19376.1.5.3.1.3.1"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.127"
          }],
          "code" : {
            "code" : "42349-1",
            "codeSystem" : "2.16.840.1.113883.6.1",
            "codeSystemName" : "LOINC",
            "displayName" : "Raison de la recommandation"
          },
          "title" : {
            "xmlText" : "Motif de l'hospitalisation"
          },
          "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\"><tbody align=\"left\"><tr><td>Episode psychotique – cachexie/anorexie</td></tr></tbody></table></div>"
        }
      },
      {
        "section" : {
          "templateId" : [{
            "root" : "1.3.6.1.4.1.19376.1.5.3.1.1.21.2.9"
          },
          {
            "root" : "1.3.6.1.4.1.19376.1.7.3.1.1.13.7"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.163"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.163.1"
          }],
          "id" : {
            "root" : "E52A7B75-3B12-44DF-80B3-3DEA64E25B4B"
          },
          "code" : {
            "code" : "42545-4",
            "codeSystem" : "2.16.840.1.113883.6.1",
            "codeSystemName" : "LOINC",
            "displayName" : "Evènements observés"
          },
          "title" : {
            "xmlText" : "Synthèse médicale du séjour"
          },
          "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\"><thead><tr><th colspan=\"2\">Synthèse médicale du séjour</th></tr></thead><tbody><tr><td>Modalité et date d'entrée en hospitalisation </td><td><span id=\"modaliteE\">29/10/2018, Transfert</span></td></tr><tr><td>Modalité et date de sortie d'hospitalisation</td><td><span id=\"modaliteS\">05/11/2018, Autre établissement de santé</span></td></tr><tr><td>Synthèse médicale</td><td><span id=\"synthese\">Infection respiratoire aigüe</span></td></tr><tr><td>Evénements indésirables survenus pendant l'hospitalisation</td><td><span id=\"EvenementIndesirable\">Aucun</span></td></tr><tr><td>Recherche de microorganismes multi-résistants ou émergents effectuée</td><td><span id=\"RechercheMicroMulti\">10/07/2018, Oui</span></td></tr><tr><td>Identification de micro-organismes multirésistants</td><td><span id=\"identMicroOrg\">Streptococcus pneumoniae</span></td></tr><tr><td>Transfusion de produits sanguins</td><td><span id=\"transfu\">Non</span></td></tr><tr><td>Accidents transfusionnels</td><td><span id=\"AccidentsTransfusionnels\">Aucun</span></td></tr><tr><td>Administration de dérivés du sang</td><td><span id=\"adminSang\">Non</span></td></tr><tr><td>Evènements indésirables suite à l'administration de dérivés du sang</td><td><span id=\"admiSang-evenement-indesirable\">Aucun</span></td></tr></tbody></table></div>",
          "entry" : [{
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.6"
              }],
              "id" : [{
                "root" : "F597BFD5-2BD0-4163-892A-7C51830E2BA6"
              }],
              "code" : {
                "code" : "ORG-070",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Modalité d'entrée"
              },
              "text" : {
                "reference" : {
                  "value" : "modaliteE"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-10-29"
              },
              "value" : [{
                "code" : "107724000",
                "codeSystem" : "2.16.840.1.113883.6.96",
                "codeSystemName" : "SNOMED CT",
                "displayName" : "transfert d'un(e) patient(e)"
              }],
              "author" : [{
                "time" : {
                  "value" : "2019-12-03T13:30:00+01:00"
                },
                "assignedAuthor" : {
                  "classCode" : "ASSIGNED",
                  "id" : [{
                    "extension" : "801234567897",
                    "root" : "1.2.250.1.71.4.2.1"
                  }],
                  "code" : {
                    "code" : "G15_10/SM27",
                    "codeSystem" : "1.2.250.1.213.1.1.4.5",
                    "displayName" : "Médecin - Médecine interne (SM)"
                  },
                  "addr" : [{
                    "item" : [{
                      "houseNumber" : {
                        "xmlText" : "20"
                      }
                    },
                    {
                      "streetName" : {
                        "xmlText" : "Rue Leblanc"
                      }
                    },
                    {
                      "postalCode" : {
                        "xmlText" : "75015"
                      }
                    },
                    {
                      "city" : {
                        "xmlText" : "PARIS"
                      }
                    }]
                  }],
                  "telecom" : [{
                    "nullFlavor" : "NASK"
                  }],
                  "assignedPerson" : {
                    "name" : [{
                      "item" : [{
                        "given" : [{
                          "xmlText" : "Charles"
                        }]
                      },
                      {
                        "family" : [{
                          "xmlText" : "DAVID"
                        }]
                      },
                      {
                        "prefix" : [{
                          "xmlText" : "M"
                        }]
                      },
                      {
                        "suffix" : [{
                          "xmlText" : "DR"
                        }]
                      }]
                    }]
                  },
                  "representedOrganization" : {
                    "id" : [{
                      "extension" : "1750803447",
                      "root" : "1.2.250.1.71.4.2.2"
                    }],
                    "name" : [{
                      "item" : [{
                        "xmlText" : "Hôpital Européen Georges Pompidou"
                      }]
                    }],
                    "telecom" : [{
                      "nullFlavor" : "NAV"
                    }],
                    "addr" : [{
                      "item" : [{
                        "houseNumber" : {
                          "xmlText" : "20"
                        }
                      },
                      {
                        "streetName" : {
                          "xmlText" : "Rue Leblanc"
                        }
                      },
                      {
                        "postalCode" : {
                          "xmlText" : "75015"
                        }
                      },
                      {
                        "city" : {
                          "xmlText" : "PARIS"
                        }
                      }]
                    }]
                  }
                }
              }]
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.7"
              }],
              "id" : [{
                "root" : "1E384EA2-2083-4F17-B825-6A088D2A0E6E"
              }],
              "code" : {
                "code" : "ORG-074",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Modalité de sortie"
              },
              "text" : {
                "reference" : {
                  "value" : "modaliteS"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "code" : "GEN-092.06.01",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Autre établissement de santé"
              }]
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.9"
              }],
              "id" : [{
                "root" : "174F6D84-986E-4032-8F99-91975403B955"
              }],
              "code" : {
                "code" : "MED-142",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "TA_ASIP",
                "displayName" : "Synthèse médicale"
              },
              "text" : {
                "reference" : {
                  "value" : "synthese"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "xmlText" : "Infection respiratoire aigüe"
              }],
              "author" : [{
                "time" : {
                  "value" : "2019-12-03T13:30:00+01:00"
                },
                "assignedAuthor" : {
                  "classCode" : "ASSIGNED",
                  "id" : [{
                    "extension" : "801234567897",
                    "root" : "1.2.250.1.71.4.2.1"
                  }],
                  "code" : {
                    "code" : "G15_10/SM27",
                    "codeSystem" : "1.2.250.1.213.1.1.4.5",
                    "displayName" : "Médecin - Médecine interne (SM)"
                  },
                  "addr" : [{
                    "item" : [{
                      "houseNumber" : {
                        "xmlText" : "20"
                      }
                    },
                    {
                      "streetName" : {
                        "xmlText" : "Rue Leblanc"
                      }
                    },
                    {
                      "postalCode" : {
                        "xmlText" : "75015"
                      }
                    },
                    {
                      "city" : {
                        "xmlText" : "PARIS"
                      }
                    }]
                  }],
                  "telecom" : [{
                    "nullFlavor" : "NASK"
                  }],
                  "assignedPerson" : {
                    "name" : [{
                      "item" : [{
                        "given" : [{
                          "xmlText" : "Charles"
                        }]
                      },
                      {
                        "family" : [{
                          "xmlText" : "DAVID"
                        }]
                      },
                      {
                        "prefix" : [{
                          "xmlText" : "M"
                        }]
                      },
                      {
                        "suffix" : [{
                          "xmlText" : "DR"
                        }]
                      }]
                    }]
                  },
                  "representedOrganization" : {
                    "id" : [{
                      "extension" : "1750803447",
                      "root" : "1.2.250.1.71.4.2.2"
                    }],
                    "name" : [{
                      "item" : [{
                        "xmlText" : "Hôpital Européen Georges Pompidou"
                      }]
                    }],
                    "telecom" : [{
                      "nullFlavor" : "NAV"
                    }],
                    "addr" : [{
                      "item" : [{
                        "houseNumber" : {
                          "xmlText" : "20"
                        }
                      },
                      {
                        "streetName" : {
                          "xmlText" : "Rue Leblanc"
                        }
                      },
                      {
                        "postalCode" : {
                          "xmlText" : "75015"
                        }
                      },
                      {
                        "city" : {
                          "xmlText" : "PARIS"
                        }
                      }]
                    }]
                  }
                }
              }]
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.3"
              }],
              "id" : [{
                "root" : "D1DFF1EF-CCE0-40DE-8C78-1827B31208EE"
              }],
              "code" : {
                "code" : "MED-143",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Evènements indésirables survenus pendant l'hospitalisation"
              },
              "text" : {
                "reference" : {
                  "value" : "EvenementIndesirable"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "xmlText" : "Aucun"
              }]
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.8"
              }],
              "id" : [{
                "root" : "D1DFF1EF-CCE0-40DE-8C78-1827B31208AA"
              }],
              "code" : {
                "code" : "MED-309",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Recherche de microorganismes multi-résistants ou émergents effectuée"
              },
              "text" : {
                "reference" : {
                  "value" : "RechercheMicroMulti"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "value" : true
              }]
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.5"
              }],
              "id" : [{
                "root" : "53C6C420-96EF-47D4-8ECA-B25460140B8F"
              }],
              "code" : {
                "code" : "MED-144",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Identification de micro-organismes multirésistants"
              },
              "text" : {
                "reference" : {
                  "value" : "identMicroOrg"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "xmlText" : "Streptococcus pneumoniae"
              }]
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.10"
              }],
              "id" : [{
                "root" : "53C6C420-96EF-47D4-8ECA-B25460140B8F"
              }],
              "code" : {
                "code" : "MED-145",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Transfusion de produits sanguins"
              },
              "text" : {
                "reference" : {
                  "value" : "transfu"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "value" : false
              }]
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.1"
              }],
              "id" : [{
                "root" : "12DA3A06-18E7-40B7-9397-1FA5B1552456"
              }],
              "code" : {
                "code" : "MED-146",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Accidents transfusionnels"
              },
              "text" : {
                "reference" : {
                  "value" : "AccidentsTransfusionnels"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "xmlText" : "Aucun"
              }]
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.2"
              }],
              "id" : [{
                "root" : "12DA3A06-18E7-40B7-9397-1FA5B1552472"
              }],
              "code" : {
                "code" : "MED-147",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Administration de dérivés du sang"
              },
              "text" : {
                "reference" : {
                  "value" : "admiSang"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "value" : false
              }]
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.13"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.48.4"
              }],
              "id" : [{
                "root" : "12DA3A06-18E7-40B7-9397-1FA5B1552433"
              }],
              "code" : {
                "code" : "MED-148",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Evènements indésirables suite à l'administration de dérivés du sang"
              },
              "text" : {
                "reference" : {
                  "value" : "admiSang-evenement-indesirable"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "value" : "2018-12-03"
              },
              "value" : [{
                "xmlText" : "Aucun"
              }]
            }
          }]
        }
      },
      {
        "section" : {
          "templateId" : [{
            "root" : "1.3.6.1.4.1.19376.1.5.3.1.3.21"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.145"
          }],
          "id" : {
            "root" : "4A402640-1CF6-4153-B5BA-D56B623004C8"
          },
          "code" : {
            "code" : "18610-6",
            "codeSystem" : "2.16.840.1.113883.6.1",
            "codeSystemName" : "LOINC",
            "displayName" : "Traitements administrés"
          },
          "title" : {
            "xmlText" : "Traitements arrêtés durant le séjour"
          },
          "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\"><thead><tr><th>Date de début</th><th>Date de fin</th><th>Médicament</th><th>Dose</th><th>Fréquence</th><th>Voie admin.</th><th>Rythme admin.</th><th>Dose max</th><th>Commentaire</th></tr></thead><tbody><tr><td>01/08/2018</td><td>29/10/2019</td><td><span id=\"MED-001\">SOLIAN 100 mg</span></td><td>1 comprimé</td><td>1 fois / jour</td><td>prendre par la bouche</td><td>100 mg / jour</td><td>200 mg / jour</td><td>arrêt suite à analyses médicales</td></tr></tbody></table></div>",
          "entry" : [{
            "substanceAdministration" : {
              "classCode" : "SBADM",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.2.250.1.213.1.1.3.42"
              },
              {
                "root" : "2.16.840.1.113883.10.20.1.24"
              },
              {
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.7"
              },
              {
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.7.1"
              }],
              "id" : [{
                "root" : "2ED5EF29-8305-4383-8945-C13F2A988D5E"
              }],
              "code" : {
                "code" : "DRUG",
                "codeSystem" : "2.16.840.1.113883.5.4",
                "codeSystemName" : "HL7:ActCode",
                "displayName" : "Médicament"
              },
              "text" : {
                "reference" : {
                  "value" : "#MED-001"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : [{
                "low" : {
                  "value" : "2018-08-01"
                },
                "high" : {
                  "value" : "2019-10-29"
                }
              },
              {
                "operator" : "A",
                "period" : {
                  "unit" : "d",
                  "value" : 1
                }
              }],
              "doseQuantity" : {
                "low" : {
                  "unit" : "{tbl}",
                  "value" : 1
                },
                "high" : {
                  "unit" : "{tbl}",
                  "value" : 1
                }
              },
              "rateQuantity" : {
                "low" : {
                  "unit" : "mg/d",
                  "value" : 100
                },
                "high" : {
                  "unit" : "mg/d",
                  "value" : 100
                }
              },
              "maxDoseQuantity" : {
                "numerator" : {
                  "unit" : "mg",
                  "value" : 200
                },
                "denominator" : {
                  "unit" : "d",
                  "value" : 1
                }
              },
              "consumable" : {
                "manufacturedProduct" : {
                  "templateId" : [{
                    "root" : "1.2.250.1.213.1.1.3.43"
                  },
                  {
                    "root" : "2.16.840.1.113883.10.20.1.53"
                  },
                  {
                    "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.7.2"
                  }],
                  "manufacturedMaterial" : {
                    "code" : {
                      "code" : "60019927",
                      "codeSystem" : "1.2.250.1.213.2.3.1",
                      "codeSystemName" : "CIS",
                      "displayName" : "SOLIAN 100 mg, comprimé sécable",
                      "originalText" : {
                        "reference" : {
                          "value" : "#MED-001"
                        }
                      },
                      "translation" : [{
                        "code" : "3400934874741",
                        "codeSystem" : "1.2.250.1.213.2.3.2",
                        "codeSystemName" : "CIP",
                        "displayName" : "SOLIAN 100 mg, comprimé sécable, plaquette(s) thermoformée(s) PVC-Aluminium de 30 comprimé(s)"
                      }]
                    },
                    "name" : {
                      "item" : [{
                        "xmlText" : "SOLIAN 100 mg"
                      }]
                    }
                  }
                }
              }
            }
          }]
        }
      },
      {
        "section" : {
          "templateId" : [{
            "root" : "1.3.6.1.4.1.19376.1.5.3.1.3.22"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.146"
          }],
          "id" : {
            "root" : "D2E72AFE-401E-4CD2-8583-8473714A32A5"
          },
          "code" : {
            "code" : "10183-2",
            "codeSystem" : "2.16.840.1.113883.6.1",
            "codeSystemName" : "LOINC",
            "displayName" : "Traitements à la sortie"
          },
          "title" : {
            "xmlText" : "Traitements à la sortie"
          },
          "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\"><thead><tr><th>Date de début</th><th>Date de fin</th><th>Médicament</th><th>Dose</th><th>Fréquence</th><th>Voie admin.</th><th>Rythme admin.</th><th>Dose max</th><th>Commentaire</th></tr></thead><tbody><tr><td>03/12/2019</td><td>02/02/2020</td><td><span id=\"MED-002\">LEPONEX 100 mg</span></td><td>1 comprimé</td><td>1 fois / jour</td><td>prendre par la bouche</td><td>100 mg / jour</td><td>300 mg / jour</td><td/></tr></tbody></table></div>",
          "entry" : [{
            "substanceAdministration" : {
              "classCode" : "SBADM",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "1.2.250.1.213.1.1.3.42"
              },
              {
                "root" : "2.16.840.1.113883.10.20.1.24"
              },
              {
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.7"
              },
              {
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.7.1"
              }],
              "id" : [{
                "root" : "2ED5EF29-8305-4383-8945-C13F2A988D5E"
              }],
              "code" : {
                "code" : "DRUG",
                "codeSystem" : "2.16.840.1.113883.5.4",
                "codeSystemName" : "HL7:ActCode",
                "displayName" : "Médicament"
              },
              "text" : {
                "reference" : {
                  "value" : "#MED-002"
                }
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : [{
                "low" : {
                  "value" : "2019-12-03"
                },
                "high" : {
                  "value" : "2020-02-02"
                }
              },
              {
                "operator" : "A",
                "period" : {
                  "unit" : "d",
                  "value" : 1
                }
              }],
              "doseQuantity" : {
                "low" : {
                  "unit" : "{tbl}",
                  "value" : 1
                },
                "high" : {
                  "unit" : "{tbl}",
                  "value" : 1
                }
              },
              "rateQuantity" : {
                "low" : {
                  "unit" : "mg/d",
                  "value" : 100
                },
                "high" : {
                  "unit" : "mg/d",
                  "value" : 100
                }
              },
              "maxDoseQuantity" : {
                "numerator" : {
                  "unit" : "mg",
                  "value" : 300
                },
                "denominator" : {
                  "unit" : "d",
                  "value" : 1
                }
              },
              "consumable" : {
                "manufacturedProduct" : {
                  "templateId" : [{
                    "root" : "1.2.250.1.213.1.1.3.43"
                  },
                  {
                    "root" : "2.16.840.1.113883.10.20.1.53"
                  },
                  {
                    "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.7.2"
                  }],
                  "manufacturedMaterial" : {
                    "code" : {
                      "code" : "62552920",
                      "codeSystem" : "1.2.250.1.213.2.3.1",
                      "codeSystemName" : "CIS",
                      "displayName" : "LEPONEX 100 mg, comprimé sécable",
                      "originalText" : {
                        "reference" : {
                          "value" : "#MED-002"
                        }
                      },
                      "translation" : [{
                        "code" : "N05AH02",
                        "codeSystem" : "2.16.840.1.113883.6.73",
                        "codeSystemName" : "ATC",
                        "displayName" : "Clozapine"
                      }]
                    },
                    "name" : {
                      "item" : [{
                        "xmlText" : "LEPONEX 100 mg"
                      }]
                    }
                  }
                }
              }
            }
          }]
        }
      },
      {
        "section" : {
          "templateId" : [{
            "root" : "1.3.6.1.4.1.19376.1.5.3.1.3.27"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.150"
          }],
          "id" : {
            "root" : "A6C982F6-ACAE-4CDC-A901-C400AB8972E6"
          },
          "code" : {
            "code" : "30954-2",
            "codeSystem" : "2.16.840.1.113883.6.1",
            "codeSystemName" : "LOINC",
            "displayName" : "Résultats d'examens"
          },
          "title" : {
            "xmlText" : "Résultats d'examens / Autres informations attendus"
          },
          "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\"><thead><tr><th colspan=\"3\">Résultats d'examens / Autres informations attendus</th></tr></thead><tbody><tr><td><span id=\"comment01\"> Echographie attendue</span></td></tr></tbody></table></div>"
        }
      },
      {
        "section" : {
          "templateId" : [{
            "root" : "2.16.840.1.113883.10.20.1.10"
          },
          {
            "root" : "1.3.6.1.4.1.19376.1.5.3.1.3.36"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.158"
          }],
          "id" : {
            "root" : "FC21DC59-43D5-4BB0-ACC7-3601784BFBC0"
          },
          "code" : {
            "code" : "18776-5",
            "codeSystem" : "2.16.840.1.113883.6.1",
            "codeSystemName" : "LOINC",
            "displayName" : "Plan de soins"
          },
          "title" : {
            "xmlText" : "Suites à donner"
          },
          "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\"><thead><tr><th colspan=\"3\">Actes</th></tr></thead><tbody><tr><td>ECQH010 [CCAM]</td><td><span id=\"ACT01\">Scanographie des vaisseaux du thorax et/ou du cœur [Angioscanner thoracique]</span></td><td>Urgent</td></tr></tbody></table><br/><table border=\"0\"><thead><tr><th colspan=\"3\">Demandes d'examen / de suivi</th></tr></thead><tbody><tr><td>Suivi</td><td><span id=\"EXAM01\">Suivi par le psychiatre à prévoir</span></td><td>01/01/2020</td></tr></tbody></table><br/><table border=\"0\"><thead><tr><th colspan=\"3\">Consultations</th></tr></thead><tbody><tr><td>Ambulatoire</td><td><span id=\"CONSULT01\">Médecin traitant</span></td><td>05/12/2019 (recontacter pour fixer RDV)</td></tr></tbody></table></div>",
          "entry" : [{
            "procedure" : {
              "classCode" : "PROC",
              "moodCode" : "INT",
              "templateId" : [{
                "root" : "2.16.840.1.113883.10.20.1.25"
              },
              {
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.19"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.62"
              }],
              "id" : [{
                "root" : "A6BC7FD2-EC3F-4E01-B567-854B087D1D9B"
              }],
              "code" : {
                "code" : "ECQH010",
                "codeSystem" : "1.2.250.1.215.300.1",
                "codeSystemName" : "CCAM",
                "displayName" : "Scanographie des vaisseaux du thorax et/ou du cœur [Angioscanner thoracique]"
              },
              "text" : {
                "reference" : {
                  "value" : "#ACT01"
                }
              },
              "statusCode" : {
                "code" : "active"
              },
              "effectiveTime" : {
                "nullFlavor" : "UNK"
              },
              "priorityCode" : {
                "code" : "UR",
                "codeSystem" : "2.16.840.1.113883.5.7",
                "codeSystemName" : "HL7:ActPriority",
                "displayName" : "Urgent"
              }
            }
          },
          {
            "observation" : {
              "classCode" : "OBS",
              "moodCode" : "INT",
              "templateId" : [{
                "root" : "2.16.840.1.113883.10.20.1.25"
              },
              {
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.1.20.3.1"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.27"
              }],
              "id" : [{
                "root" : "F83D3DB2-C511-4CFA-B216-773F6DEADB4D"
              }],
              "code" : {
                "code" : "ORG-064",
                "codeSystem" : "1.2.250.1.213.1.1.4.322",
                "codeSystemName" : "terminologie-cisis-fr",
                "displayName" : "Demande d'examen ou de suivi"
              },
              "text" : {
                "reference" : {
                  "value" : "#EXAM01"
                }
              },
              "statusCode" : {
                "code" : "active"
              },
              "effectiveTime" : {
                "value" : "2021-01-01"
              },
              "value" : [{
                "xmlText" : "Suivi par le psychiatre à prévoir"
              }]
            }
          },
          {
            "encounter" : {
              "classCode" : "ENC",
              "moodCode" : "ARQ",
              "templateId" : [{
                "root" : "2.16.840.1.113883.10.20.1.21"
              },
              {
                "root" : "2.16.840.1.113883.10.20.1.25"
              },
              {
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.14"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.58"
              }],
              "id" : [{
                "root" : "4AA6DCFC-6628-42E7-8D6F-68621568F584"
              }],
              "code" : {
                "code" : "AMB",
                "codeSystem" : "2.16.840.1.113883.5.4",
                "codeSystemName" : "ActEncounterCode",
                "displayName" : "Ambulatoire (hors établissement)"
              },
              "text" : {
                "reference" : {
                  "value" : "#CONSULT01"
                }
              },
              "effectiveTime" : {
                "value" : "2019-12-05"
              },
              "priorityCode" : {
                "code" : "CS",
                "codeSystem" : "2.16.840.1.113883.5.7",
                "codeSystemName" : "ActPriority",
                "displayName" : "recontacter pour fixer RDV"
              }
            }
          }]
        }
      },
      {
        "section" : {
          "templateId" : [{
            "root" : "2.16.840.1.11383.10.20.1.7"
          },
          {
            "root" : "1.3.6.1.4.1.19376.1.5.3.1.1.5.3.5"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.1"
          }],
          "id" : {
            "root" : "CE20BE10-E414-410D-875E-57FE35303CE1"
          },
          "code" : {
            "code" : "46264-8",
            "codeSystem" : "2.16.840.1.113883.6.1",
            "codeSystemName" : "LOINC",
            "displayName" : "Dispositifs médicaux"
          },
          "title" : {
            "xmlText" : "Dispositifs médicaux"
          },
          "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\"><thead><tr><th>Date d'utilisation</th><th>Catégorie de DM</th><th>Identifiant unique du DM</th></tr></thead><tbody><tr><td>24/09/2018</td><td><span id=\"DM001-categorie\">STIMULATEUR CARDIAQUE IMPLANTABLE TRIPLE CHAMBRE</span></td><td>[1.2.250.1.213.1.1.9.9 (OID de test)] eee</td></tr></tbody></table></div>",
          "entry" : [{
            "supply" : {
              "classCode" : "SPLY",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "2.16.840.1.113883.10.20.1.34"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.20"
              }],
              "id" : [{
                "extension" : "eee",
                "root" : "1.2.250.1.213.1.1.9.9"
              }],
              "effectiveTime" : [{
                "low" : {
                  "value" : "2018-12-03T09:49:14+01:00"
                }
              }],
              "participant" : [{
                "typeCode" : "DEV",
                "participantRole" : {
                  "classCode" : "MANU",
                  "id" : [{
                    "extension" : "{01}00844588003288{17}141120{10}7654321D{21}10987654d321",
                    "root" : "xxxxxxxxxxxxxxxxxxxxxx"
                  }],
                  "playingDevice" : {
                    "classCode" : "DEV",
                    "determinerCode" : "INSTANCE",
                    "code" : {
                      "code" : "J010104",
                      "codeSystem" : "1.2.250.1.213.2.68",
                      "codeSystemName" : "EMDN",
                      "displayName" : "STIMULATEURS CARDIAQUES IMPLANTABLES TRIPLE CHAMBRE",
                      "originalText" : {
                        "reference" : {
                          "value" : "#DM001-categorie"
                        }
                      },
                      "translation" : [{
                        "code" : "C50FA05",
                        "codeSystem" : "1.2.250.1.213.2.65",
                        "codeSystemName" : "CLADIMED",
                        "displayName" : "STIMULATEUR CARDIAQUE IMPLANTABLE TRIPLE CHAMBRE"
                      },
                      {
                        "code" : "3408693",
                        "codeSystem" : "1.2.250.1.215.200.2.1",
                        "codeSystemName" : "LPP",
                        "displayName" : "STIMULATEUR CARDIAQUE DE RE-SYNCHRO VENTRICULAIRE, BIOTRONIK, EDORA 8 HF-T."
                      }]
                    }
                  }
                }
              }]
            }
          }]
        }
      },
      {
        "section" : {
          "templateId" : [{
            "root" : "2.16.840.1.113883.10.20.1.2"
          },
          {
            "root" : "1.3.6.1.4.1.19376.1.5.3.1.3.13"
          },
          {
            "root" : "1.2.250.1.213.1.1.2.137"
          }],
          "id" : {
            "root" : "29085A50-9B57-48CB-9295-3DFCDD194069"
          },
          "code" : {
            "code" : "48765-2",
            "codeSystem" : "2.16.840.1.113883.6.1",
            "codeSystemName" : "LOINC",
            "displayName" : "Allergies et hypersensibilités"
          },
          "title" : {
            "xmlText" : "Allergies identifiées pendant le séjour"
          },
          "text" : "<div xmlns=\"http://www.w3.org/1999/xhtml\" id=\"NO-ALL\">Aucune allergie / hypersensibilité non allergiques, intolérances, idiosyncrasie identifiée pendant le séjour</div>",
          "entry" : [{
            "act" : {
              "classCode" : "ACT",
              "moodCode" : "EVN",
              "templateId" : [{
                "root" : "2.16.840.1.113883.10.20.1.27"
              },
              {
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.5.1"
              },
              {
                "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.5.3"
              },
              {
                "root" : "1.2.250.1.213.1.1.3.40"
              }],
              "id" : [{
                "root" : "1269C206-4D59-4A9D-AA2D-AA0C4622D525"
              }],
              "code" : {
                "nullFlavor" : "NA"
              },
              "statusCode" : {
                "code" : "completed"
              },
              "effectiveTime" : {
                "low" : {
                  "nullFlavor" : "NA"
                },
                "high" : {
                  "nullFlavor" : "NA"
                }
              },
              "entryRelationship" : [{
                "inversionInd" : false,
                "typeCode" : "SUBJ",
                "observation" : {
                  "classCode" : "OBS",
                  "moodCode" : "EVN",
                  "templateId" : [{
                    "root" : "2.16.840.1.113883.10.20.1.28"
                  },
                  {
                    "root" : "2.16.840.1.113883.10.20.1.18"
                  },
                  {
                    "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.5"
                  },
                  {
                    "root" : "1.3.6.1.4.1.19376.1.5.3.1.4.6"
                  },
                  {
                    "root" : "1.2.250.1.213.1.1.3.41"
                  }],
                  "id" : [{
                    "root" : "C64C6013-C8AF-4938-AD10-1B7D26DEE2A0"
                  }],
                  "code" : {
                    "code" : "416098002",
                    "codeSystem" : "2.16.840.1.113883.6.96",
                    "codeSystemName" : "SNOMED CT",
                    "displayName" : "allergie médicamenteuse"
                  },
                  "text" : {
                    "reference" : {
                      "value" : "#NO-ALL"
                    }
                  },
                  "statusCode" : {
                    "code" : "completed"
                  },
                  "effectiveTime" : {
                    "low" : {
                      "nullFlavor" : "UNK"
                    }
                  },
                  "value" : [{
                    "code" : "no-known-allergies",
                    "codeSystem" : "2.16.840.1.113883.5.1150.1",
                    "codeSystemName" : "AbsentAndUnknownDataUvIps",
                    "displayName" : "Pas d'allergie/hypersensibilité connue",
                    "originalText" : {
                      "reference" : {
                        "value" : "#NO-ALL"
                      }
                    }
                  }]
                }
              }]
            }
          }]
        }
      }]
    }
  }
}