<?xml version="1.0" encoding="UTF-8"?>

<Bundle xmlns="http://hl7.org/fhir">
  <id value="TradPN13FHIR-Presc-Morphine-PCA"/>
  <meta>
    <profile value="https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-prescription-bundle-for-example"/>
  </meta>
  <type value="searchset"/>
  <entry>
    <resource>
      <Patient>
        <id value="patient-Trad-Presc-Morphine-PCA"/>
        <meta>
          <profile value="https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-patient-ins"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_patient-Trad-Presc-Morphine-PCA"> </a><p class="res-header-id"><b>Narratif généré : Patient patient-Trad-Presc-Morphine-PCA</b></p><a name="patient-Trad-Presc-Morphine-PCA"> </a><a name="hcpatient-Trad-Presc-Morphine-PCA"> </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">Profil: <a href="https://hl7.fr/ig/fhir/core/2.1.0/StructureDefinition-fr-core-patient-ins.html">FR Core Patient INS Profile</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">ARASGAIN  Female, Date de Naissance :1989-01-02 ( Identifiant interne: 6032486 (use: usual, ))</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Autre identifiant (voir ci-dessus)">Autre identifiant :</td><td colspan="3">NIR définitif/289062913400149 (utilisation : official, )</td></tr><tr><td style="background-color: #f3f5da" title="Noms alternatifs (voir plus bas)">Nom alternatif :</td><td colspan="3">MARSALI CUIMEANACH (Official)</td></tr><tr><td style="background-color: #f3f5da" title="The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements."><a href="http://hl7.org/fhir/extensions/5.3.0/StructureDefinition-patient-birthPlace.html">Patient Birth Place</a></td><td colspan="3"></td></tr><tr><td style="background-color: #f3f5da" title="Reliabilility of the patient's identity | Précision sur le degré de fiabilité de l'identité du patient (si provisoire, validé... avec la justification : quelle type de pièce d'identité ?) avec la méthode de collection">FR Core Patient Ident Reliability Extension:</td><td colspan="3"><ul><li>identityStatus: <a href="https://hl7.fr/ig/fhir/core/2.1.0/CodeSystem-fr-core-cs-v2-0445.html#fr-core-cs-v2-0445-VALI">FR Core CodeSystem v2-0445: VALI</a> (Identité validée)</li></ul></td></tr></table></div>
        </text>
        <extension url="https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-identity-reliability">
          <extension url="identityStatus">
            <valueCoding>
              <system value="https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0445"/>
              <code value="VALI"/>
            </valueCoding>
          </extension>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/patient-birthPlace">
          <valueAddress>
            <extension url="https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-address-insee-code">
              <valueCoding>
                <system value="https://mos.esante.gouv.fr/NOS/TRE_R13-Commune/FHIR/TRE-R13-Commune"/>
                <code value="29134"/>
              </valueCoding>
            </extension>
          </valueAddress>
        </extension>
        <identifier>
          <use value="official"/>
          <type>
            <coding>
              <system value="https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"/>
              <code value="INS-NIR"/>
              <display value="NIR définitif"/>
            </coding>
          </type>
          <system value="urn:oid:1.2.250.1.213.1.4.8"/>
          <value value="289062913400149"/>
        </identifier>
        <identifier>
          <use value="usual"/>
          <type>
            <coding>
              <system value="https://hl7.fr/ig/fhir/core/CodeSystem/fr-core-cs-v2-0203"/>
              <code value="INTRN"/>
              <display value="Identifiant interne"/>
            </coding>
          </type>
          <system value="urn:oid:1.2.250.1.507454354.43654.2346659"/>
          <value value="6032486"/>
        </identifier>
        <name>
          <use value="usual"/>
          <family value="ARASGAIN"/>
        </name>
        <name>
          <extension url="https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-patient-birth-list-given-name">
            <valueString value="MARSALI MORAG MAIREAD"/>
          </extension>
          <use value="official"/>
          <family value="CUIMEANACH"/>
          <given value="MARSALI"/>
        </name>
        <gender value="female"/>
        <birthDate value="1989-01-02"/>
      </Patient>
    </resource>
  </entry>
  <entry>
    <resource>
      <MedicationRequest>
        <id value="medicationrequest-Trad-Presc-Morphine-PCA"/>
        <meta>
          <profile value="https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-inpatient-medicationrequest"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="MedicationRequest_medicationrequest-Trad-Presc-Morphine-PCA"> </a><p class="res-header-id"><b>Narratif généré : PrescriptionMédicamenteuseTODO medicationrequest-Trad-Presc-Morphine-PCA</b></p><a name="medicationrequest-Trad-Presc-Morphine-PCA"> </a><a name="hcmedicationrequest-Trad-Presc-Morphine-PCA"> </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">Profil: <a href="StructureDefinition-fr-inpatient-medicationrequest.html">FR Inpatient MedicationRequest</a></p></div><p><b>identifier</b>: https://somehospital.fr/Medication-ID</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>priority</b>: Routine</p><p><b>medication</b>: <span title="Codes :{http://data.esante.gouv.fr/ansm/medicament/codeSMS 100000091372}">morphine</span></p><p><b>subject</b>: <code>#patient-Trad-Presc-Morphine-PCA</code></p><p><b>encounter</b>: Identifier: <code>https://somehospital.fr/Sejour</code>/765093464568</p><p><b>supportingInformation</b>: </p><ul><li>Identifier: <code>https://somehospital.fr/UF</code>/603</li><li>Identifier: <code>https://somehospital.fr/UF</code>/506</li></ul><p><b>authoredOn</b>: 2025-05-07 15:35:00+0200</p><p><b>requester</b>: Identifier: <code>urn:oid:1.2.250.1.71.4.2.1</code>/899999999999</p><p><b>groupIdentifier</b>: <code>https://somehospital.fr/Prescrption-ID</code>/10543745</p><p><b>note</b>: </p><blockquote><div><p>Prescription textuelle: Par voie intraveineuse : PCA Morphine 120 mg/24h Bolus 10 mg Période refractaire 2h -- À partir du 07/05/2025 à 17:30 jusqu'au 11/05/2025 à 17h30</p>
</div></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Une fois</p><p><b>route</b>: <span title="Codes :{http://standardterms.edqm.eu 20045000}">Voie intraveineuse</span></p><h3>DoseAndRates</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Rate[x]</b></td></tr><tr><td style="display: none">*</td><td>5 mg<span style="background: LightGoldenRodYellow"> (Détails : code UCUMmg = 'mg')</span>/1 h<span style="background: LightGoldenRodYellow"> (Détails : code UCUMh = 'h')</span></td></tr></table></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Une fois par 2 hours</p><p><b>asNeeded</b>: <span title="Codes :">bolus</span></p><p><b>route</b>: <span title="Codes :{http://standardterms.edqm.eu 20045000}">Voie intraveineuse</span></p><h3>DoseAndRates</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Dose[x]</b></td></tr><tr><td style="display: none">*</td><td>10 mg<span style="background: LightGoldenRodYellow"> (Détails : code UCUMmg = 'mg')</span></td></tr></table></blockquote></div>
        </text>
        <identifier>
          <value value="https://somehospital.fr/Medication-ID"/>
        </identifier>
        <status value="active"/>
        <intent value="order"/>
        <priority value="routine"/>
        <medicationCodeableConcept>
          <coding>
            <system value="http://data.esante.gouv.fr/ansm/medicament/codeSMS"/>
            <code value="100000091372"/>
            <display value="morphine"/>
          </coding>
        </medicationCodeableConcept>
        <subject>
          <reference value="#patient-Trad-Presc-Morphine-PCA"/>
        </subject>
        <encounter>
          <identifier>
            <system value="https://somehospital.fr/Sejour"/>
            <value value="765093464568"/>
          </identifier>
        </encounter>
        <supportingInformation>
          <extension url="https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-uf-role">
            <valueCode value="UFHEB"/>
          </extension>
          <type value="Organization"/>
          <identifier>
            <system value="https://somehospital.fr/UF"/>
            <value value="603"/>
          </identifier>
        </supportingInformation>
        <supportingInformation>
          <extension url="https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-uf-role">
            <valueCode value="UFMED"/>
          </extension>
          <type value="Organization"/>
          <identifier>
            <system value="https://somehospital.fr/UF"/>
            <value value="506"/>
          </identifier>
        </supportingInformation>
        <authoredOn value="2025-05-07T15:35:00+02:00"/>
        <requester>
          <identifier>
            <system value="urn:oid:1.2.250.1.71.4.2.1"/>
            <value value="899999999999"/>
          </identifier>
        </requester>
        <groupIdentifier>
          <system value="https://somehospital.fr/Prescrption-ID"/>
          <value value="10543745"/>
        </groupIdentifier>
        <note>
          <extension url="https://hl7.fr/ig/fhir/medication/StructureDefinition/fr-medicationrequest-note-scope">
            <valueCode value="LIPRESCTXT"/>
          </extension>
          <text value="Prescription textuelle: Par voie intraveineuse : PCA Morphine 120 mg/24h Bolus 10 mg Période refractaire 2h -- À partir du 07/05/2025 à 17:30 jusqu'au 11/05/2025 à 17h30"/>
        </note>
        <dosageInstruction>
          <timing>
            <repeat>
              <boundsPeriod>
                <start value="2025-05-07T17:30:00+02:00"/>
                <end value="2025-05-11T17:30:00+02:00"/>
              </boundsPeriod>
            </repeat>
          </timing>
          <route>
            <coding>
              <system value="http://standardterms.edqm.eu"/>
              <code value="20045000"/>
              <display value="Voie intraveineuse"/>
            </coding>
          </route>
          <doseAndRate>
            <rateRatio>
              <numerator>
                <value value="5"/>
                <unit value="mg"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="mg"/>
              </numerator>
              <denominator>
                <value value="1"/>
                <unit value="h"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="h"/>
              </denominator>
            </rateRatio>
          </doseAndRate>
        </dosageInstruction>
        <dosageInstruction>
          <timing>
            <repeat>
              <boundsPeriod>
                <start value="2025-05-07T17:30:00+02:00"/>
                <end value="2025-05-11T17:30:00+02:00"/>
              </boundsPeriod>
              <frequencyMax value="1"/>
              <period value="2"/>
              <periodUnit value="h"/>
            </repeat>
          </timing>
          <asNeededCodeableConcept>
            <text value="bolus"/>
          </asNeededCodeableConcept>
          <route>
            <coding>
              <system value="http://standardterms.edqm.eu"/>
              <code value="20045000"/>
              <display value="Voie intraveineuse"/>
            </coding>
          </route>
          <doseAndRate>
            <doseQuantity>
              <value value="10"/>
              <unit value="mg"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="mg"/>
            </doseQuantity>
          </doseAndRate>
        </dosageInstruction>
      </MedicationRequest>
    </resource>
  </entry>
</Bundle>