{
  "resourceType": "MedicationRequest",
  "id": "14638",
  "meta": {
    "profile": [
      "http://interopsante.org/fhir/StructureDefinition/FrInpatientMedicationRequest"
    ]
  },
  "contained": [
    {
      "resourceType": "Medication",
      "id": "med-2",
      "meta": {
        "profile": [
          "http://interopsante.org/fhir/StructureDefinition/FrMedicationNonproprietaryName"
        ]
      },
      "code": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "776119003",
            "display": "médicament contenant seulement glucose"
          }
        ],
        "text": "GLUCOSE"
      },
      "form": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "385229008",
            "display": "solution pour perfusion"
          }
        ],
        "text": "solution pour perfusion"
      },
      "amount": {
        "numerator": {
          "value": 1,
          "unit": "L",
          "system": "http://unitsofmeasure.org",
          "code": "L"
        },
        "denominator": {
          "value": 1,
          "system": "http://unitsofmeasure.org",
          "code": "1"
        }
      },
      "ingredient": [
        {
          "itemCodeableConcept": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "67079006",
                "display": "glucose"
              }
            ],
            "text": "GLUCOSE"
          },
          "isActive": true,
          "strength": {
            "numerator": {
              "value": 50,
              "unit": "mg",
              "system": "http://unitsofmeasure.org",
              "code": "mg"
            },
            "denominator": {
              "unit": "mL",
              "system": "http://unitsofmeasure.org",
              "code": "mL"
            }
          }
        }
      ]
    },
    {
      "resourceType": "Medication",
      "id": "med-3",
      "meta": {
        "profile": [
          "http://interopsante.org/fhir/StructureDefinition/FrMedicationNonproprietaryName"
        ]
      },
      "code": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "777553004",
            "display": "médicament contenant seulement clhorure de sodium"
          }
        ],
        "text": "SODIUM CHLORURE"
      },
      "form": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "385219001",
            "display": "solution injectable"
          }
        ],
        "text": "solution injectable"
      },
      "ingredient": [
        {
          "itemCodeableConcept": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "387390002",
                "display": "chlorure de sodium"
              }
            ],
            "text": "SODIUM CHLORURE"
          },
          "isActive": true,
          "strength": {
            "numerator": {
              "value": 3,
              "unit": "g",
              "system": "http://unitsofmeasure.org",
              "code": "g"
            },
            "denominator": {
              "value": 1,
              "system": "http://unitsofmeasure.org",
              "code": "1"
            }
          }
        }
      ]
    },
    {
      "resourceType": "Medication",
      "id": "med-4",
      "meta": {
        "profile": [
          "http://interopsante.org/fhir/StructureDefinition/FrMedicationNonproprietaryName"
        ]
      },
      "code": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "777274002",
            "display": "médicament contenant seulement chlorure de potassium"
          }
        ],
        "text": "POTASSIUM CHLORURE"
      },
      "form": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "385219001",
            "display": "solution injectable"
          }
        ],
        "text": "solution injectable"
      },
      "ingredient": [
        {
          "itemCodeableConcept": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "8631001",
                "display": "chlorure de potassium"
              }
            ],
            "text": "POTASSIUM CHLORURE"
          },
          "isActive": true,
          "strength": {
            "numerator": {
              "value": 2,
              "unit": "g",
              "system": "http://unitsofmeasure.org",
              "code": "g"
            },
            "denominator": {
              "value": 1,
              "system": "http://unitsofmeasure.org",
              "code": "1"
            }
          }
        }
      ]
    },
    {
      "resourceType": "Medication",
      "id": "med-1",
      "meta": {
        "profile": [
          "http://interopsante.org/fhir/StructureDefinition/FrMedicationCompound"
        ]
      },
      "code": {
        "text": "G5 1L + NaCl 3g + KCl 2g"
      },
      "ingredient": [
        {
          "itemReference": {
            "reference": "#med-2"
          },
          "isActive": true
        },
        {
          "itemReference": {
            "reference": "#med-3"
          },
          "isActive": true
        },
        {
          "itemReference": {
            "reference": "#med-4"
          },
          "isActive": true
        }
      ]
    }
  ],
  "status": "active",
  "intent": "order",
  "medicationReference": {
    "reference": "#med-1"
  },
  "subject": {
    "reference": "Patient/phast-14602"
  },
  "authoredOn": "2021-08-02T15:26:27.603Z",
  "requester": {
    "reference": "Practitioner/smart-Practitioner-71482713"
  },
  "dosageInstruction": [
    {
      "sequence": 1,
      "timing": {
        "repeat": {
          "boundsPeriod": {
            "start": "2021-07-02T15:26:00Z",
            "end": "2021-07-07T15:25:59Z"
          },
          "timeOfDay": [
            "10:00:00",
            "22:00:00"
          ]
        }
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "47625008",
            "display": "Voie intraveineuse"
          }
        ],
        "text": "Voie intraveineuse"
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ],
            "text": "Ordered"
          },
          "rateRatio": {
            "numerator": {
              "value": 1,
              "system": "http://unitsofmeasure.org",
              "code": "1"
            },
            "denominator": {
              "value": 12,
              "unit": "h",
              "system": "http://unitsofmeasure.org",
              "code": "h"
            }
          }
        }
      ]
    }
  ]
}