# MedicationStatement Dosage Example - Interval with When Codes - Medication IG DE v1.0.4

* [**Table of Contents**](toc.md)
* [**FHIR Summary**](artifacts.md)
* **MedicationStatement Dosage Example - Interval with When Codes**

## Example MedicationStatement: MedicationStatement Dosage Example - Interval with When Codes

Profile: [Medication Statement dgMP](StructureDefinition-MedicationStatementDgMP.md)

**status**: Active

**medication**: Test Medication

**subject**: Patient

> **dosage****timing**: Morning, Once per 3 days

### DoseAndRates

| | |
| :--- | :--- |
| - | **Dose[x]** |
| * | 1 Stück (Details: UCUM code1 = '1') |


> **dosage****timing**: Evening, Once per 3 days

### DoseAndRates

| | |
| :--- | :--- |
| - | **Dose[x]** |
| * | 2 Stück (Details: UCUM code1 = '1') |




## Resource Content

```json
{
  "resourceType" : "MedicationStatement",
  "id" : "MS-Dosage-interval-when-3d",
  "meta" : {
    "profile" : ["http://ig.fhir.de/igs/medication/StructureDefinition/MedicationStatementDgMP"]
  },
  "status" : "active",
  "medicationCodeableConcept" : {
    "text" : "Test Medication"
  },
  "subject" : {
    "display" : "Patient"
  },
  "dosage" : [{
    "timing" : {
      "repeat" : {
        "frequency" : 1,
        "period" : 3,
        "periodUnit" : "d",
        "when" : ["MORN"]
      }
    },
    "doseAndRate" : [{
      "doseQuantity" : {
        "value" : 1,
        "unit" : "Stück",
        "system" : "http://unitsofmeasure.org",
        "code" : "1"
      }
    }]
  },
  {
    "timing" : {
      "repeat" : {
        "frequency" : 1,
        "period" : 3,
        "periodUnit" : "d",
        "when" : ["EVE"]
      }
    },
    "doseAndRate" : [{
      "doseQuantity" : {
        "value" : 2,
        "unit" : "Stück",
        "system" : "http://unitsofmeasure.org",
        "code" : "1"
      }
    }]
  }]
}

```
