{
  "resourceType": "MedicationDispense",
  "id": "14657",
  "meta": {
    "profile": [
      "http://interopsante.org/fhir/StructureDefinition/FrInpatientMedicationDispense"
    ]
  },
  "contained": [
    {
      "resourceType": "Medication",
      "id": "med-21",
      "meta": {
        "profile": [
          "http://interopsante.org/fhir/StructureDefinition/FrMedication2unique"
        ]
      },
      "code": {
        "coding": [
          {
            "system": "http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD",
            "code": "3400893766521",
            "display": "EFFERALGAN 1 000 mg, cpr"
          }
        ],
        "text": "EFFERALGAN 1 000 mg, cpr"
      },
      "form": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "421026006",
            "display": "comprimé oral"
          }
        ],
        "text": "comprimé"
      },
      "ingredient": [
        {
          "itemCodeableConcept": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "387517004",
                "display": "paracétamol"
              }
            ],
            "text": "PARACETAMOL"
          },
          "isActive": true,
          "strength": {
            "numerator": {
              "value": 1000,
              "unit": "mg",
              "system": "http://unitsofmeasure.org",
              "code": "mg"
            },
            "denominator": {
              "value": 1,
              "system": "http://unitsofmeasure.org",
              "code": "1"
            }
          }
        }
      ]
    }
  ],
  "status": "completed",
  "medicationReference": {
    "reference": "#med-21"
  },
  "subject": {
    "reference": "Patient/phast-14602"
  },
  "performer": [
    {
      "actor": {
        "reference": "Practitioner/smart-Practitioner-7148xxxx"
      }
    }
  ],
  "authorizingPrescription": [
    {
      "reference": "MedicationRequest/14624"
    }
  ],
  "type": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "FFC",
        "display": "First Fill - Complete"
      }
    ]
  },
  "quantity": {
    "value": 15,
    "system": "http://unitsofmeasure.org",
    "code": "1"
  },
  "daysSupply": {
    "value": 5,
    "unit": "jours",
    "system": "http://unitsofmeasure.org",
    "code": "d"
  },
  "whenPrepared": "2021-07-28T15:25:00Z",
  "whenHandedOver": "2021-07-28T16:41:00Z",
  "dosageInstruction": [
    {
      "sequence": 1,
      "timing": {
        "repeat": {
          "boundsPeriod": {
            "start": "2021-07-28T16:41:00Z",
            "end": "2021-08-02T16:40:59Z"
          },
          "timeOfDay": [
            "07:00:00",
            "12:00:00",
            "18:00:00"
          ]
        }
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Voie orale"
          }
        ],
        "text": "Voie orale"
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ],
            "text": "Ordered"
          },
          "doseQuantity": {
            "value": 1,
            "system": "http://unitsofmeasure.org",
            "code": "1"
          }
        }
      ]
    }
  ]
}