MedicationRequest

MedicationRequest esimerkeissä on mukana profiloidut MedicationRequest resurssin elementit ja siihen liittyvät laajennukset. Eri esimerkeissä on kuvattu erilaisia annostusohjeita, jotka on muodostettu rakenteisen annostuksen mukaan.

Kaikissa MedicationRequest esimerkeissä 1-9 on Määrätyn määrän esittämistapa esitetty kolmella tavalla, mutta esimerkissä 10 on vain Määrätyn määrän esittämistapa = 9. Määrätyn määrän esittämistapa on määritelty laajennukseen prescriptionType.

Alla olevassa taulukossa on kuvattu mitkä tiedot palautuvat riippuen prescriptionType -laajennuksen code -arvosta, koodiston Sähköinen lääkemääräys - Määrätyn määrän esittämistapa mukaisesti.

Määrätyn määrän esittämistapa (prescriptionType.code) Selite Palautuvat tiedot
1 pakkaus { "url": "http://resepti.kanta.fi/StructureDefinition/extension/package", "extension": [ { "url": "packageFactor", "valuePositiveInt": "1" }, { "url": "packageAmount", valuePositiveInt": "8" }, { "url": "packageSizeText", "valueString": "1X98 fol" } ]},
2 kokonaismäärä {"url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount", "valueQuantity": { "value": 800, "unit": "fol" } },
3 lääkehoidon kestoaika {"url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime", "valueDuration": { "value": 1, "unit": "a", "system": "http://unitsofmeasure.org", "code": "a"} },
9 ei toimitettavaa määrää -

MedicationRequest esimerkit:

Esimerkki
1 1 tabletti 2 kertaa päivässä
2 2 tablettia aamulla ja 1 tabletti illalla 6 päivän ajan
3 1-2 tablettia kerran päivässä
4 1-2 tablettia 1-3 kertaa päivässä
5 Maanantaisin 1 tabletti ja tarvittaessa keskiviikkoisin 0,5 tablettia
6 Lääke tauolla 1.3.2020 - 30.6.2020. Taukoa edeltävä annostus: 25 mg klo 08:00 10 päivän ajan ihon alle
7A 1 tabletti 2 kertaa päivässä 5 päivän ajan 15.1.2021 alkaen
7B 1 tabletti 2 kertaa päivässä 5-7 päivän ajan 15.1.2021 alkaen
8 Tarvittaessa 2 tablettia 3 kertaa viikossa 16.2.2021 alkaen
9 Tarvittaessa 1-2 tippaa 3-4 tunnin välein
10 lääkkeen lopetuksen tietoja ja Määrätyn määrän esittämistapa = 9 (ei toimitettavaa määrää), 1 tabletti 2 kertaa päivässä

Esimerkki 1

Annostusohje: 1 tabletti 2 kertaa päivässä

Tässä esimerkissä annoksia on kaksi ja annostusohje on kirjattu rakenteisena.

Esimerkissä annosjakson pituus on 1 vrk ja annosmäärät on annettu vakio arvona.

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim1",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Verenpainelääke."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "urn:oid:1.2.246.537.6.605.2014",
                    "code": "1"
                }
            ]
        }
    ],
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "text": "1 tabletti 2 kertaa päivässä",
            "additionalInstruction":  [
                {
                    "text": "tähän tulee käyttöohjeen lisätieto"
                }
            ],
            "timing": {
                "repeat": {
                    "frequency": 2,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1,
                        "unit": "tabletti",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "18"
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 1,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2022-04-30T11:34:31+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 30,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 2

Annostusohje: 2 tablettia aamulla ja 1 tabletti illalla 6 päivän ajan

Tässä esimerkissä annoksia on kaksi ja annostusohje on kirjattu rakenteisena.

Esimerkkiin on määritelty mm. miten FHIR-rajapinnassa palautuu rakenteisen annostuksen annosajankohta (when) (aamulla, illalla) ja annostelukauden kesto (6 päivän ajan) -tiedot.

Esimerkissä annosjakson pituus on 1 vrk ja annosmäärät on annettu vakio arvona.

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim2",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Verenpainelääke."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "urn:oid:1.2.246.537.6.605.2014",
                    "code": "1"
                }
            ]
        }
    ],
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "sequence": 1,
            "text": "2 tablettia aamulla ja 1 tabletti illalla 6 päivän ajan",
            "additionalInstruction":  [
                {
                    "text": "tähän tulee käyttöohjeen lisätieto"
                }
            ],
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 6,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d",
                    "when":  [
                        "MORN.early"
                    ]
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.270.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 2,
                        "unit": "tabletti",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "18"
                    }
                }
            ]
        },
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "sequence": 2,
            "text": "2 tablettia aamulla ja 1 tabletti illalla 6 päivän ajan",
            "additionalInstruction": {
                "text": "tähän tulee käyttöohjeen lisätieto"
            },
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 6,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d",
                    "when":  [
                        "EVE"
                    ]
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.270.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1,
                        "unit": "tabletti",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "18"
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 1,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2022-04-30T11:34:31+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 30,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 3

Annostusohje: 1-2 tablettia kerran päivässä

Tässä esimerkissä annoksia on yksi ja annostusohje on kirjattu rakenteisena.

Esimerkissä annosjakson pituus on 1 vrk ja annosmäärä on annettu vaihteluvälinä (low/high).

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim3",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Verenpainelääke."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "urn:oid:1.2.246.537.6.605.2014",
                    "code": "1"
                }
            ]
        }
    ],
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "text": "1-2 tablettia kerran päivässä",
            "additionalInstruction":  [
                {
                    "text": "tähän tulee käyttöohjeen lisätieto"
                }
            ],
            "timing": {
                "repeat": {
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseRange": {
                        "low": {
                            "value": 1,
                            "unit": "tabletti",
                            "system": "urn:oid:1.2.246.537.6.138.202001",
                            "code": "18"
                        },
                        "high": {
                            "value": 2,
                            "unit": "tabletti",
                            "system": "urn:oid:1.2.246.537.6.138.202001",
                            "code": "18"
                        }
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 1,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2019-10-17T18:44:16+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 30,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 4

Annostusohje: 1-2 tablettia 1-3 kertaa päivässä

Tässä esimerkissä annoksia on kolme ja annostusohje on kirjattu rakenteisena.

Esimerkissä annosjakson pituus on 1 vrk ja annosmäärät on annettu vaihteluvälinä (low/high).

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim4",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Verenpainelääke."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "urn:oid:1.2.246.537.6.605.2014",
                    "code": "1"
                }
            ]
        }
    ],
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "text": "1-2 tablettia 1-3 kertaa päivässä",
            "additionalInstruction":  [
                {
                    "text": "tähän tulee käyttöohjeen lisätieto"
                }
            ],
            "timing": {
                "repeat": {
                    "frequency": 1,
                    "frequencyMax": 3,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseRange": {
                        "low": {
                            "value": 1,
                            "unit": "tabletti",
                            "system": "urn:oid:1.2.246.537.6.138.202001",
                            "code": "18"
                        },
                        "high": {
                            "value": 2,
                            "unit": "tabletti",
                            "system": "urn:oid:1.2.246.537.6.138.202001",
                            "code": "18"
                        }
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 30,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2022-04-30T11:34:31+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 1,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 5

Annostusohje: Maanantaisin 1 tabletti ja tarvittaessa keskiviikkoisin 0,5 tablettia 01.06.2020 - 31.12.2020

Tässä esimerkissä annoksia on kaksi ja annostusohje on kirjattu rakenteisena.

Esimerkkiin on määritelty mm. miten FHIR-rajapinnassa palautuu rakenteisen annostuksen annosjakson päivä (dayOfWeek) (maanantaisin, keskiviikkoisin) ja annostelukauden alkuaika ja annostelukauden päättymisaika -tiedot.

Esimerkissä annosjakson pituus on 7 vrk ja annosmäärät on annettu vakio arvona.

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim5",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Verenpainelääke."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "urn:oid:1.2.246.537.6.605.2014",
                    "code": "1"
                }
            ]
        }
    ],
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "sequence": 1,
            "text": "Maanantaisin 1 tabletti ja tarvittaessa keskiviikkoisin 0,5 tablettia 01.06.2020 - 31.12.2020",
            "additionalInstruction":  [
                {
                    "text": "tähän tulee käyttöohjeen lisätieto"
                }
            ],
            "timing": {
                "repeat": {
                    "boundsPeriod": {
                        "start": "2020-06-01",
                        "end": "2020-12-31"
                    },
                    "frequency": 1,
                    "period": 7,
                    "periodUnit": "d",
                    "dayOfWeek":  [
                        "mon"
                    ]
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1,
                        "unit": "tabletti",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "18"
                    }
                }
            ]
        },
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "sequence": 2,
            "text": "Maanantaisin 1 tabletti ja tarvittaessa keskiviikkoisin 0,5 tablettia",
            "additionalInstruction": {
                "text": "tähän tulee käyttöohjeen lisätieto"
            },
            "timing": {
                "repeat": {
                    "boundsPeriod": {
                        "start": "2020-06-01",
                        "end": "2020-12-31"
                    },
                    "frequency": 1,
                    "period": 7,
                    "periodUnit": "d",
                    "dayOfWeek":  [
                        "wed"
                    ]
                }
            },
            "asNeededBoolean": true,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 0.5,
                        "unit": "tabletti",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "18"
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 1,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2022-04-30T11:34:31+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 30,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 6

Annostusohje: Lääke tauolla 1.3.2020 - 30.6.2020. Taukoa edeltävä annostus: 25 mg klo 08:00 10 päivän ajan ihon alle

Tässä esimerkissä annoksia on yksi ja annostusohje on kirjattu rakenteisena.

Esimerkkiin on määritelty mm. miten FHIR-rajapinnassa palautuu rakenteisen annostuksen annosaika (timeOfDay) (8:00), annostelukauden kesto (10 päivän ajan) ja lääke tauolla -tiedot.

Esimerkissä annosjakson pituus on 1 vrk, annosmäärä on fysikaalinen (25 mg) ja annettu vakio arvona.

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim6",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Verenpainelääke."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "urn:oid:1.2.246.537.6.605.2014",
                    "code": "1"
                }
            ]
        }
    ],
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicinePauseInterval",
                    "valuePeriod": {
                        "start": "2020-03-01",
                        "end": "2020-06-30"
                    }
                }
            ],
            "text": "Lääke tauolla (-vakioteksti) 1.3.2020 - 30.6.2020. Taukoa edeltävä annostus: (-vakioteksti) 25 mg klo 08:00 10 päivän ajan ihon alle",
            "additionalInstruction":  [
                {
                    "text": "Tauon jälkeen jatkuu samalla annostuksella."
                }
            ],
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 10,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d",
                    "timeOfDay":  [
                        "08:00:00"
                    ]
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1069"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 25,
                        "unit": "mg",
                        "system": "http://unitsofmeasure.org",
                        "code": "mg"
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 1,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2022-04-30T11:34:31+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 30,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 7A

Annostusohje: 1 tabletti 2 kertaa päivässä 5 päivän ajan 15.1.2021 alkaen

Tässä esimerkissä annoksia on kaksi ja annostusohje on kirjattu rakenteisena.

Esimerkkiin on määritelty mm. miten FHIR-rajapinnassa palautuu rakenteisen annostuksen annostelukauden alkuaika (15.1.2021 alkaen) ja kesto -tiedot, kun ne ovat yhtä aikaa. Kesto on annettu vakio arvona (5 päivän ajan).

Esimerkissä annosjakson pituus on 1 vrk, annosmäärät on vakio arvona.

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim7A",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Verenpainelääke."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category": {
        "coding": {
            "system": "urn:oid:1.2.246.537.6.605.2014",
            "code": "1"
        }
    },
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "text": "1 tabletti 2 kertaa päivässä 5 päivän ajan 15.1.2021 alkaen.",
            "additionalInstruction":  [
                {
                    "text": "tähän tulee käyttöohjeen lisätieto"
                }
            ],
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "extension":  [
                            {
                                "url": "http://resepti.kanta.fi/StructureDefinition/extension/boundsDurationStartDate",
                                "valueDate": "2021-01-15"
                            }
                        ],
                        "value": 5,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 2,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1,
                        "unit": "tabletti",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "18"
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 1,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2022-04-30T11:34:31+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 30,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 7B

Annostusohje: 1 tabletti 2 kertaa päivässä 5-7 päivän ajan 15.1.2021 alkaen

Tässä esimerkissä annoksia on kaksi ja annostusohje on kirjattu rakenteisena.

Esimerkkiin on määritelty mm. miten FHIR-rajapinnassa palautuu rakenteisen annostuksen annostelukauden alkuaika (15.1.2021 alkaen) ja kesto -tiedot, kun ne on annettu yhtä aikaa. Kesto on annettu vaihteluvälinä (5-7 päivän ajan).

Esimerkissä annosjakson pituus on 1 vrk, annosmäärät on vakio arvona.

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim7B",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Verenpainelääke."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category": {
        "coding": {
            "system": "urn:oid:1.2.246.537.6.605.2014",
            "code": "1"
        }
    },
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "text": "1 tabletti 2 kertaa päivässä 5-7 päivän ajan 15.1.2021 alkaen.",
            "additionalInstruction":  [
                {
                    "text": "tähän tulee käyttöohjeen lisätieto"
                }
            ],
            "timing": {
                "repeat": {
                    "boundsRange": {
                        "extension":  [
                            {
                                "url": "http://resepti.kanta.fi/StructureDefinition/extension/boundsRangeStartDate",
                                "valueDate": "2021-01-15"
                            }
                        ],
                        "low": {
                            "value": 5,
                            "unit": "d",
                            "system": "http://unitsofmeasure.org",
                            "code": "d"
                        },
                        "high": {
                            "value": 7,
                            "unit": "d",
                            "system": "http://unitsofmeasure.org",
                            "code": "d"
                        }
                    },
                    "frequency": 2,
                    "period": 1,
                    "periodUnit": "d"
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1,
                        "unit": "tabletti",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "18"
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 1,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2022-04-30T11:34:31+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 30,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 8

Annostusohje: Tarvittaessa 2 tablettia 3 kertaa viikossa 16.2.2021 alkaen

Tässä esimerkissä annoksia on kolme ja annostusohje on kirjattu rakenteisena.

Esimerkkiin on määritelty mm. miten FHIR-rajapinnassa palautuu rakenteisen annostuksen annostelukauden alkuaika (16.2.2021 alkaen) -tieto.

Esimerkissä annosjakson pituus on 1 vrk ja annosmäärät on vakio arvona.

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim8",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Verenpainelääke."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "urn:oid:1.2.246.537.6.605.2014",
                    "code": "1"
                }
            ]
        }
    ],
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "text": "Tarvittaessa 2 tablettia 3 kertaa viikossa 16.2.2021 alkaen.",
            "additionalInstruction":  [
                {
                    "text": "Otetaan ruokailun yhteydessä"
                }
            ],
            "timing": {
                "repeat": {
                    "boundsPeriod": {
                        "start": "2021-02-16"
                    },
                    "frequency": 3,
                    "period": 7,
                    "periodUnit": "d"
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1055"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 2,
                        "unit": "tabletti",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "18"
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 1,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2022-04-30T11:34:31+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 30,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 9

Tarvittaessa 1-2 tippaa 3-4 tunnin välein

Tässä esimerkissä annoksia on yksi ja annostusohje on kirjattu rakenteisena.

Esimerkissä annosjakson pituus on vaihteluvälinä 3-4 tunnin välein ja annosmäärä on vaihteluvälinä (low/high).

{
    "resourceType": "MedicationRequest",
    "id": "medicationrequestesim9",
    "meta": {
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "1"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/neRep",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/permanentMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/doseDispensing",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "Kuivien silmien hoitoon."
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseStatus",
            "extension":  [
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "invalidationReason",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40103.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/reservedStatus",
            "extension":  [
                {
                    "url": "reservedStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40122.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "reservedLockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/lockStatus",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "2"
                    }
                },
                {
                    "url": "lockOwner",
                    "valueString": "1.2.246.10.8182355.10.1"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/renewalStatus",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40106.2006",
                "code": "0"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionSavedByPharmacy",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.5.40303.201501",
                "code": "2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/medicineId",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.10.1602257.93.2019.855.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": "1"
                }
            ]
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.10.1602257.93.2019.855"
        }
    ],
    "status": "active",
    "statusReason": {
        "coding": {
            "system": "urn:oid:1.2.246.537.5.40105.2006",
            "code": "1"
        }
    },
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "urn:oid:1.2.246.537.6.605.2014",
                    "code": "1"
                }
            ]
        }
    ],
    "medicationReference": {
        "reference": "Medication/medicationesim1"
    },
    "subject": {
        "reference": "Patient/patientesim1"
    },
    "authoredOn": "2019-10-16T18:44:16+02:00",
    "requester": {
        "reference": "PractitionerRole/practitionerRoleesim1"
    },
    "dosageInstruction":  [
        {
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/sic",
                    "valueBoolean": false
                }
            ],
            "text": "Tarvittaessa 1-2 tippaa 3-4 tunnin välein.",
            "additionalInstruction":  [
                {
                    "text": "tähän tulee käyttöohjeen lisätieto"
                }
            ],
            "timing": {
                "repeat": {
                    "frequency": 1,
                    "period": 3,
                    "periodMax": 4,
                    "periodUnit": "h"
                }
            },
            "asNeededBoolean": false,
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1053"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseRange": {
                        "low": {
                            "value": 1,
                            "unit": "tippa",
                            "system": "urn:oid:1.2.246.537.6.138.202001",
                            "code": "38"
                        },
                        "high": {
                            "value": 2,
                            "unit": "tippa",
                            "system": "urn:oid:1.2.246.537.6.138.202001",
                            "code": "38"
                        }
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/prescriptionType",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40100.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/package",
                "extension":  [
                    {
                        "url": "packageFactor",
                        "valuePositiveInt": "1"
                    },
                    {
                        "url": "packageAmount",
                        "valuePositiveInt": "8"
                    },
                    {
                        "url": "packageSizeText",
                        "valueString": "1X98 fol"
                    }
                ]
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/totalAmount",
                "valueQuantity": {
                    "value": 800,
                    "unit": "fol"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/validityTime",
                "valueDuration": {
                    "value": 1,
                    "unit": "a",
                    "system": "http://unitsofmeasure.org",
                    "code": "a"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/realDispenseStatus",
                "valueCoding": {
                    "system": "urn:oid:1.2.246.537.5.40123.2006",
                    "code": "1"
                }
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugPrescribedQuantityText",
                "valueString": "8X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/drugRemainingQuantityText",
                "valueString": "5X98 fol"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/dispenseEffectiveTime",
                "valueDateTime": "2019-10-17T18:44:16+02:00"
            },
            {
                "url": "http://resepti.kanta.fi/StructureDefinition/extension/previousDispense",
                "valueString": "98 fol"
            }
        ],
        "validityPeriod": {
            "end": "2019-10-17T18:44:16+02:00"
        },
        "numberOfRepeatsAllowed": 3,
        "dispenseInterval": {
            "value": 30,
            "unit": "d"
        }
    },
    "substitution": {
        "allowedBoolean": true
    }
}

Esimerkki 10

Esimerkissä on Kanta-lääkityslistan versiolla annettuja tietoja. Siinä palautuu uusi medicineDiscontinuation -laajennos, jossa on Lääkkeen lopetuspäivä ja Lääkkeen lopetuksen syy. Sekä esimerkkiä on muokattu niin, että Määrätyn määrän esittämistapa = 9 (ei toimitettavaa määrää) ja esimerkissä on vain tämä yksi Määrätyn määrän esittämistapa, ei muita esittämistapoja niin kuin muissa esimerkeissä. Kun lääkemääräyksen määrätyn määrän esittämistapa = 9, on kyseisen lääkemääräyksen toimitustila = 1 (toimittamaton).

Annostusohje: 1 tabletti 2 kertaa päivässä

Tässä esimerkissä annoksia on kaksi ja annostusohje on kirjattu rakenteisena.

Esimerkissä annosjakson pituus on 1 vrk ja annosmäärät on annettu vakio arvona.

Command 'json' could not render: File was not found for prescriptionr4/medicationRequestesim10