{

"resourceType": "MedicationRequest",
"id": "medrx0339",
"contained": [
  {
    "resourceType": "Medication",
    "id": "med0322",
    "code": {
      "coding": [
        {
          "system": "http://hl7.org/fhir/sid/ndc",
          "code": "0067-2091-03",
          "display": "Vagistat-3"
        }
      ]
    }
  }
],
"identifier": [
  {
    "use": "official",
    "system": "http://www.bmc.nl/portal/prescriptions",
    "value": "12345689"
  }
],
"status": "active",
"intent": "order",
"medicationReference": {
  "reference": "#med0322"
},
"subject": {
  "reference": "Patient/pat1",
  "display": "Donald Duck"
},
"encounter": {
  "reference": "Encounter/f001",
  "display": "encounter who leads to this prescription"
},
"authoredOn": "2015-01-15",
"requester": {
  "reference": "Practitioner/f007",
  "display": "Patrick Pump"
},
"basedOn": [
  {
    "reference": "CarePlan/gpvisit"
  }
],
"groupIdentifier": {
  "use": "official",
  "system": "http://www.bmc.nl/portal/prescriptions",
  "value": "983939393"
},
"dosageInstruction": [
  {
    "sequence": 1,
    "text": "Insert one suppository into the vagina daily at bedtime",
    "timing": {
      "repeat": {
        "boundsPeriod": {
          "start": "2015-01-16",
          "end": "2015-01-18"
        },
        "frequency": 1,
        "period": 1,
        "periodUnit": "d"
      }
    },
    "route": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "16857009",
          "display": "Vaginal Route"
        }
      ]
    },
    "method": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "421257003",
          "display": "Insert"
        }
      ]
    },
    "doseAndRate": [
      {
        "type": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
              "code": "ordered",
              "display": "Ordered"
            }
          ]
        },
        "doseQuantity": {
          "value": 1,
          "unit": "VAGTAB",
          "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
          "code": "VAGTAB"
        }
      }
    ]
  },
  {
    "sequence": 1,
    "text": "Apply to vaginal area topically once daily",
    "timing": {
      "repeat": {
        "boundsPeriod": {
          "start": "2015-01-16",
          "end": "2015-01-18"
        },
        "frequency": 1,
        "period": 1,
        "periodUnit": "d"
      }
    },
    "route": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "6064005",
          "display": "Topical Route"
        }
      ]
    },
    "method": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "417924000",
          "display": "Apply - dosing instruction imperative (qualifier value)"
        }
      ]
    },
    "doseAndRate": [
      {
        "type": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
              "code": "ordered",
              "display": "Ordered"
            }
          ]
        }
      }
    ]
  }
],
"dispenseRequest": {
  "validityPeriod": {
    "start": "2015-01-15",
    "end": "2016-01-15"
  },
  "numberOfRepeatsAllowed": 1,
  "quantity": {
    "value": 1
  },
  "expectedSupplyDuration": {
    "value": 3,
    "unit": "days",
    "system": "http://unitsofmeasure.org",
    "code": "d"
  },
  "performer": {
    "reference": "Organization/f001"
  }
},
"substitution": {
  "allowedBoolean": true,
  "reason": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "FP",
        "display": "formulary policy"
      }
    ]
  }
},
"meta": {
  "tag": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code": "HTEST",
      "display": "test health data"
    }
  ]
}

}