MedicationListMedicationRequest esimerkit eivät sisällä Lääkehoidon muutoksen ja korjauksen lisätietoja (dosageChanges ja adverseEffect laajennokset) eikä Reseptin mitätöinnin lisätietoja (invalidation laajennos). Näistä tullaan tekemään omat esimerkit.

MedicationListMedicationRequest_Ei_sis_Contained.json

  • esimerkissä on mukana kaikki tiedot, mitä lääkemääräykseltä tietosisällöllisesti palautetaan, mutta ei sisällä Contained elementtejä
  • sicReasonCode ja structuredIndikation ovat toistuvina tietoina

{
    "resourceType": "MedicationRequest",
    "id": "1.2.246.537.25.1.30429.93.2024.319.135730",
    "meta": {
        "profile":  [
            "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationRequest"
        ],
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "4"
            }
        ]
    },
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime",
            "valueDateTime": "2024-03-19T10:57:30+02:00"
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.537.25.1.30429.93.2024.319.135730.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": 2135345448
                },
                {
                    "url": "newest",
                    "valueBoolean": true
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/dosageInfo",
            "extension":  [
                {
                    "url": "weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "sicLabel",
                    "valueBoolean": true
                },
                {
                    "url": "sicReasonCode",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.6.615.202301",
                        "code": "4"
                    }
                },
                {
                    "url": "sicReasonCode",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.6.615.202301",
                        "code": "5"
                    }
                },
                {
                    "url": "sicReasonText",
                    "valueString": "sicReasonText (sic!-merkinnän lisätieto) palautuu, jos sicReasonCode= 99"
                },
                {
                    "url": "onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "dosageChangesAllowed",
                    "valueBoolean": true
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/structuredIndication",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.6.1.1999",
                "code": "H10.1"
            }
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/structuredIndication",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.6.1.1999",
                "code": "H10.2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/administrativeInformation",
            "extension":  [
                {
                    "url": "doctorFee",
                    "valueMoney": {
                        "value": 125.00,
                        "currency": "EUR"
                    }
                },
                {
                    "url": "specialDoctorFee",
                    "valueBoolean": false
                },
                {
                    "_comment": "savedPrescriptionOrigin, savedPrescriptionReasonCode, savedPrescriptionReasonText tiedot tulevat, jos on apteekissa tallennettu lääkemääräys",
                    "url": "savedPrescriptionOrigin",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40303.201501",
                        "code": "1"
                    }
                },
                {
                    "url": "savedPrescriptionReasonCode",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40302.201501",
                        "code": "3"
                    }
                },
                {
                    "url": "savedPrescriptionReasonText",
                    "valueString": "Apteekissa tallennetun lääkemääräyksen perustelun tarkenne"
                },
                {
                    "url": "treatmentType",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40101.2006",
                        "code": "S"
                    }
                },
                {
                    "url": "dosePackaging",
                    "valueBoolean": false
                },
                {
                    "_comment": "patientIdentification tieto tulee, jos on kyseessä huume lääkemääräys",
                    "url": "patientIdentification",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40109.2006",
                        "code": "3"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/initiationOfMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/renewalNotAllowed",
            "extension":  [
                {
                    "url": "renewalNotAllowed",
                    "valueBoolean": true
                },
                {
                    "url": "renewalNotAllowedInfo",
                    "valueString": "uusinta vain vastaanotolla"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "silmätulehduksen hoitoon"
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/contagiousDiseaseMedicine",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/statusInformation",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "1"
                    }
                },
                {
                    "url": "reservedStatus",
                    "extension":  [
                        {
                            "url": "reservedStatus",
                            "valueCoding": {
                                "system": "urn:oid:1.2.246.537.5.40122.2006",
                                "code": "2"
                            }
                        },
                        {
                            "url": "reservedLockOwner",
                            "valueIdentifier": {
                                "system": "urn:ietf:rfc:3986",
                                "value": "urn:oid:1.2.246.10.8.8182355.10.1"
                            }
                        }
                    ]
                },
                {
                    "url": "renewalStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40106.2006",
                        "code": "0"
                    }
                },
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/originalStartdate",
            "valueDateTime": "2023-01-19T10:57:30+02:00"
        },
        {
            "_comment": " separateReport tiedot tulevat, jos on kyseessä erillisselvityslääkemääräys",
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/separateReport",
            "extension":  [
                {
                    "url": "separateReport",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.6.850.202001",
                        "code": "E005"
                    }
                },
                {
                    "url": "separateReportDate",
                    "valueDate": "2024-03-19"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/useRegularity",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.6.613.202301",
                "code": "1"
            }
        },
        {
            "_comment": "renewalBasicReference ja  statusBasicReference ovat contained viittauksia, mutta tässä esimerkissä ei ole contained elementtiä mukana",
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/renewalBasicReference",
            "valueReference": {
                "reference": "#8"
            }
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/statusBasicReference",
            "valueReference": {
                "reference": "#10"
            }
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.537.25.1.30429.93.2024.319.135730"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.537.25.1.30429.93.2024.319.135730"
        }
    ],
    "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": "#1"
    },
    "subject": {
        "reference": "#3"
    },
    "authoredOn": "2024-03-19T10:57:30+02:00",
    "_comment": "requester on contained viittaus, mutta tässä esimerkissä ei ole contained elementtiä mukana",
    "requester": {
        "reference": "#4"
    },
    "courseOfTherapyType": {
        "coding":  [
            {
                "system": "urn:oid:1.2.246.537.5.40003.2003",
                "code": "PYS"
            }
        ]
    },
    "dosageInstruction":  [
        {
            "sequence": 1,
            "text": "1 annospipetillinen aamulla, 1 annospipetillinen päivällä ja 1 annospipetillinen illalla 4 päivän ajan oikeaan silmään.",
            "additionalInstruction": {
                "text": "käyttöohjeen lisätieto"
            },
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 4,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d",
                    "when":  [
                        "MORN.early"
                    ]
                }
            },
            "asNeededBoolean": false,
            "site": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.2.2007",
                        "code": "ZXA00"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1053"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1.0,
                        "unit": "annospipetillinen",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "30"
                    }
                }
            ]
        },
        {
            "sequence": 2,
            "text": "1 annospipetillinen aamulla, 1 annospipetillinen päivällä ja 1 annospipetillinen illalla 4 päivän ajan oikeaan silmään.",
            "additionalInstruction": {
                "text": "käyttöohjeen lisätieto"
            },
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 4,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d",
                    "when":  [
                        "NOON"
                    ]
                }
            },
            "asNeededBoolean": false,
            "site": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.2.2007",
                        "code": "ZXA00"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1053"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1.0,
                        "unit": "annospipetillinen",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "30"
                    }
                }
            ]
        },
        {
            "sequence": 3,
            "text": "1 annospipetillinen aamulla, 1 annospipetillinen päivällä ja 1 annospipetillinen illalla 4 päivän ajan oikeaan silmään.",
            "additionalInstruction": {
                "text": "käyttöohjeen lisätieto"
            },
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 4,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d",
                    "when":  [
                        "EVE"
                    ]
                }
            },
            "asNeededBoolean": false,
            "site": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.2.2007",
                        "code": "ZXA00"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1053"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1.0,
                        "unit": "annospipetillinen",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "30"
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/dispenserInstruction",
                "valueString": "viesti apteekille"
            },
            {
                "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/prescribedAmount",
                "extension":  [
                    {
                        "url": "prescriptionType",
                        "valueCoding": {
                            "system": "urn:oid:1.2.246.537.5.40100.2006",
                            "code": "1"
                        }
                    },
                    {
                        "_comment": "Lääkettä määrätty pakkauksina, package tieto tulee, jos määrätyn määrän esittämistapa  (prescriptionType) = 1",
                        "url": "package",
                        "valuePositiveInt": 4
                    },
                    {
                        "_comment": "Määrätyn lääkkeen kokonaismäärä, totalAmount tieto tulee, jos määrätyn määrän esittämistapa (prescriptionType) = 2",
                        "url": "totalAmount",
                        "valueQuantity": {
                            "value": 700,
                            "unit": "fol"
                        }
                    },
                    {
                        "_comment": "Ajalle määrätty lääke, validityTime tieto tulee, jos määrätyn määrän esittämistapa (prescriptionType) = 3",
                        "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"
                }
            }
        ],
        "dispenseInterval": {
            "value": 10,
            "unit": "d"
        },
        "validityPeriod": {
            "end": "2024-03-30T22:00:00+02:00"
        },
        "numberOfRepeatsAllowed": 1
    },
    "substitution": {
        "allowedBoolean": true,
        "reason": {
            "text": "lääkevaihtokiellon syy"
        }
    }
}

MedicationListMedicationRequest_Sis_Contained.json

  • esimerkissä on mukana kaikki tiedot, mitä lääkemääräykseltä tietosisällöllisesti palautetaan, sisältää myös Contained elemententit
  • sicReasonCode ja structuredIndikation ovat toistuvina tietoina

{
    "resourceType": "MedicationRequest",
    "id": "1.2.246.537.25.1.30429.93.2024.319.135730",
    "meta": {
        "profile":  [
            "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationRequest"
        ],
        "security":  [
            {
                "system": "urn:oid:1.2.246.537.5.40202.201901",
                "code": "4"
            }
        ]
    },
    "contained":  [
        {
            "resourceType": "Medication",
            "id": "1",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedication"
                ]
            },
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/pharmaceuticalProductStrength",
                    "valueString": "5 mg/ml"
                },
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/medicationKnowledgeReference",
                    "valueReference": {
                        "reference": "#2"
                    }
                }
            ],
            "code": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.32.2007",
                        "code": "S01AA01",
                        "display": "kloramfenikoli"
                    }
                ]
            },
            "ingredient":  [
                {
                    "itemCodeableConcept": {
                        "text": "kloramfenikoli"
                    },
                    "isActive": true
                }
            ]
        },
        {
            "resourceType": "MedicationKnowledge",
            "id": "2",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListMedicationKnowledge"
                ]
            },
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/marketingAuthorizationHolder",
                    "valueString": "SANTEN"
                },
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/productInformation",
                    "valueString": "suojakotelo"
                },
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/reasonCodeBiologicalMedicine",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.6.616.202301",
                        "code": "3"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/reasonTextBiologicalMedicine",
                    "valueString": "Perustelu muun kuin edullisimman biologisen lääkkeen käytölle"
                },
                {
                    "url": "http://resepti.kanta.fi/StructureDefinition/extension/narcotic",
                    "valueBoolean": false
                },
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/productName",
                    "valueString": "valmisteen koodaamaton kauppanimi"
                }
            ],
            "code": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.55.2004",
                        "code": "010215",
                        "display": "OFTAN AKVAKOL"
                    }
                ]
            },
            "doseForm": {
                "text": "silmätipat, liuos, kerta-annospakkaus"
            },
            "amount": {
                "extension":  [
                    {
                        "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/packageFactor",
                        "valuePositiveInt": 30
                    },
                    {
                        "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/packageAmountText",
                        "valueString": "30 x 0,25 ml"
                    }
                ],
                "value": 0.25,
                "unit": "ml"
            },
            "packaging": {
                "type": {
                    "text": "kerta-annospakkaus"
                }
            },
            "medicineClassification":  [
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "urn:oid:1.2.246.537.6.12.2002.126",
                                "code": "270",
                                "display": "lisäseurannassa"
                            }
                        ]
                    },
                    "classification":  [
                        {
                            "coding":  [
                                {
                                    "system": "urn:oid:1.2.246.537.6.112.2007",
                                    "code": "E"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "urn:oid:1.2.246.537.6.12.2002.126",
                                "code": "271",
                                "display": "biologinen lääke"
                            }
                        ]
                    },
                    "classification":  [
                        {
                            "coding":  [
                                {
                                    "system": "urn:oid:1.2.246.537.6.112.2007",
                                    "code": "E"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "urn:oid:1.2.246.537.6.12.2002.126",
                                "code": "272",
                                "display": "biosimilaari"
                            }
                        ]
                    },
                    "classification":  [
                        {
                            "coding":  [
                                {
                                    "system": "urn:oid:1.2.246.537.6.112.2007",
                                    "code": "E"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "urn:oid:1.2.246.537.6.12.2002.126",
                                "code": "274",
                                "display": "lääkeryhmä"
                            }
                        ]
                    },
                    "classification":  [
                        {
                            "text": "lääkeryhmä"
                        }
                    ]
                },
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "urn:oid:1.2.246.537.6.12.2002.126",
                                "code": "275",
                                "display": "veri- tai plasmaperäinen valmiste"
                            }
                        ]
                    },
                    "classification":  [
                        {
                            "coding":  [
                                {
                                    "system": "urn:oid:1.2.246.537.6.112.2007",
                                    "code": "E"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "urn:oid:1.2.246.537.6.12.2002.126",
                                "code": "119",
                                "display": "PKV-lääkemääräys"
                            }
                        ]
                    },
                    "classification":  [
                        {
                            "coding":  [
                                {
                                    "system": "urn:oid:1.2.246.537.5.40118.2006",
                                    "code": "Z"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": {
                        "coding":  [
                            {
                                "system": "urn:oid:1.2.246.537.6.12.2002.126",
                                "code": "164",
                                "display": "valmisteen laji"
                            }
                        ]
                    },
                    "classification":  [
                        {
                            "coding":  [
                                {
                                    "system": "urn:oid:1.2.246.537.6.604.2014",
                                    "code": "1"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "resourceType": "Patient",
            "id": "3",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListPatient"
                ]
            },
            "identifier":  [
                {
                    "use": "official",
                    "system": "urn:oid:1.2.246.21",
                    "value": "050520A909R"
                }
            ],
            "name":  [
                {
                    "use": "official",
                    "family": " Mokkinen",
                    "_family": {
                        "extension":  [
                            {
                                "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
                                "valueString": " Mokkinen"
                            }
                        ]
                    },
                    "given":  [
                        "Mikko"
                    ]
                },
                {
                    "use": "nickname",
                    "given":  [
                        "Mikko"
                    ]
                }
            ],
            "gender": "male",
            "birthDate": "2020-05-05"
        },
        {
            "resourceType": "PractitionerRole",
            "id": "4",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListPractitionerRole"
                ]
            },
            "practitioner": {
                "reference": "#5"
            },
            "organization": {
                "reference": "#6"
            },
            "code":  [
                {
                    "coding":  [
                        {
                            "system": "urn:oid:1.2.246.537.5.40006.2003",
                            "code": "LAL"
                        }
                    ]
                }
            ]
        },
        {
            "resourceType": "Practitioner",
            "id": "5",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListPractitioner"
                ]
            },
            "identifier":  [
                {
                    "system": "urn:oid:1.2.246.537.25",
                    "value": "030429"
                },
                {
                    "system": "urn:oid:1.2.246.537.26",
                    "value": "01098701780"
                }
            ],
            "name":  [
                {
                    "use": "official",
                    "family": "Seppänen",
                    "given":  [
                        "Milena"
                    ]
                }
            ],
            "qualification":  [
                {
                    "code": {
                        "coding":  [
                            {
                                "system": "urn:oid:1.2.246.537.6.148.2008",
                                "code": "86161-580"
                            }
                        ]
                    }
                }
            ]
        },
        {
            "resourceType": "Organization",
            "id": "6",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListOrganization"
                ]
            },
            "identifier":  [
                {
                    "system": "urn:ietf:rfc:3986",
                    "value": "urn:oid:1.2.246.537.26.1098701780"
                }
            ],
            "name": "Testi terveysasema, palveluyksikkö",
            "partOf": {
                "reference": "#7"
            },
            "contact":  [
                {
                    "telecom":  [
                        {
                            "system": "phone",
                            "value": "tel:02063411"
                        }
                    ]
                }
            ]
        },
        {
            "resourceType": "Organization",
            "id": "7",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListOrganization"
                ]
            },
            "identifier":  [
                {
                    "system": "urn:ietf:rfc:3986",
                    "value": "urn:oid:1.2.246.537.26.1098701780"
                }
            ],
            "name": "Testi hyvinvointialue, palvelunantaja",
            "contact":  [
                {
                    "telecom":  [
                        {
                            "system": "phone",
                            "value": "tel:02063411"
                        }
                    ]
                }
            ]
        },
        {
            "resourceType": "Basic",
            "id": "8",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListRenewalBasic"
                ]
            },
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime",
                    "valueDateTime": "2024-03-27T12:45:14+02:00"
                },
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/note",
                    "valueString": "Potilas käynyt verikokeissa"
                },
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/patientTelecom",
                    "valueContactPoint": {
                        "system": "phone",
                        "value": "tel:02063411"
                    }
                },
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/renewalRecorder",
                    "valuecoding": {
                        "system": "urn:oid:1.2.246.537.5.40129.202301",
                        "code": "2"
                    }
                }
            ],
            "identifier":  [
                {
                    "system": "http://resepti.kanta.fi/fhir/id/id",
                    "value": "urn:oid:1.2.246.10.11111111.93001.2024.11711543513872123"
                },
                {
                    "system": "http://resepti.kanta.fi/fhir/id/setId",
                    "value": "urn:oid:1.2.246.10.11111111.93001.2024.11711543513872123"
                }
            ],
            "code": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.5.40105.2006",
                        "code": "8"
                    }
                ]
            },
            "subject":  [
                {
                    "reference": "#9"
                }
            ]
        },
        {
            "resourceType": "Organization",
            "id": "9",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListOrganization"
                ]
            },
            "identifier":  [
                {
                    "system": "urn:ietf:rfc:3986",
                    "value": "urn:oid:1.2.246.537.26.1098701780"
                }
            ],
            "name": "Uusimispyynnön vastaanottaja organisaation nimi"
        },
        {
            "resourceType": "Basic",
            "id": "10",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListStatusBasic"
                ]
            },
            "extension":  [
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime",
                    "valueDateTime": "2024-03-27T12:45:14+02:00"
                },
                {
                    "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/comment",
                    "valueString": "Lukitaan iterointivälin tarkistuksen ajaksi"
                }
            ],
            "identifier":  [
                {
                    "system": "http://resepti.kanta.fi/fhir/id/id",
                    "value": "urn:oid:1.2.246.10.11111111.93001.2024.11711543513872123"
                },
                {
                    "system": "http://resepti.kanta.fi/fhir/id/setId",
                    "value": "urn:oid:1.2.246.10.11111111.93001.2024.11711543513872123"
                }
            ],
            "code": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.5.40105.2006",
                        "code": "4"
                    }
                ]
            },
            "author": {
                "reference": "#11"
            }
        },
        {
            "resourceType": "Organization",
            "id": "11",
            "meta": {
                "profile":  [
                    "http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListOrganization"
                ]
            },
            "identifier":  [
                {
                    "system": "urn:ietf:rfc:3986",
                    "value": "urn:oid:1.2.246.537.26.1098701780"
                }
            ]
        }
    ],
    "extension":  [
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/versionNumber",
            "valuePositiveInt": 1
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/effectiveTime",
            "valueDateTime": "2024-03-19T10:57:30+02:00"
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/continuum",
            "extension":  [
                {
                    "url": "medicineId",
                    "valueIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.246.537.25.1.30429.93.2024.319.135730.0"
                    }
                },
                {
                    "url": "medicineIdPart",
                    "valuePositiveInt": 2135345448
                },
                {
                    "url": "newest",
                    "valueBoolean": true
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/dosageIfNeeded",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/dosageInfo",
            "extension":  [
                {
                    "url": "weightPatientUnder12YearsOld",
                    "valueQuantity": {
                        "value": 15,
                        "unit": "kg"
                    }
                },
                {
                    "url": "sicLabel",
                    "valueBoolean": true
                },
                {
                    "url": "sicReasonCode",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.6.615.202301",
                        "code": "4"
                    }
                },
                {
                    "url": "sicReasonCode",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.6.615.202301",
                        "code": "5"
                    }
                },
                {
                    "url": "sicReasonText",
                    "valueString": "sicReasonText (sic!-merkinnän lisätieto) palautuu, jos sicReasonCode= 99"
                },
                {
                    "url": "onlyTextDosageInUse",
                    "valueBoolean": false
                },
                {
                    "url": "dosageChangesAllowed",
                    "valueBoolean": true
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/structuredIndication",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.6.1.1999",
                "code": "H10.1"
            }
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/structuredIndication",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.6.1.1999",
                "code": "H10.2"
            }
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/administrativeInformation",
            "extension":  [
                {
                    "url": "doctorFee",
                    "valueMoney": {
                        "value": 125.00,
                        "currency": "EUR"
                    }
                },
                {
                    "url": "specialDoctorFee",
                    "valueBoolean": false
                },
                {
                    "url": "savedPrescriptionOrigin",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40303.201501",
                        "code": "1"
                    }
                },
                {
                    "url": "savedPrescriptionReasonCode",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40302.201501",
                        "code": "3"
                    }
                },
                {
                    "url": "savedPrescriptionReasonText",
                    "valueString": "Apteekissa tallennetun lääkemääräyksen perustelun tarkenne"
                },
                {
                    "url": "treatmentType",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40101.2006",
                        "code": "S"
                    }
                },
                {
                    "url": "dosePackaging",
                    "valueBoolean": false
                },
                {
                    "url": "patientIdentification",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40109.2006",
                        "code": "3"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/initiationOfMedication",
            "valueBoolean": true
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/renewalNotAllowed",
            "extension":  [
                {
                    "url": "renewalNotAllowed",
                    "valueBoolean": true
                },
                {
                    "url": "renewalNotAllowedInfo",
                    "valueString": "uusinta vain vastaanotolla"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/StructureDefinition/extension/usage",
            "valueString": "silmätulehduksen hoitoon"
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/contagiousDiseaseMedicine",
            "valueBoolean": false
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/statusInformation",
            "extension":  [
                {
                    "url": "lockStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40124.2006",
                        "code": "1"
                    }
                },
                {
                    "url": "reservedStatus",
                    "extension":  [
                        {
                            "url": "reservedStatus",
                            "valueCoding": {
                                "system": "urn:oid:1.2.246.537.5.40122.2006",
                                "code": "2"
                            }
                        },
                        {
                            "url": "reservedLockOwner",
                            "valueIdentifier": {
                                "system": "urn:ietf:rfc:3986",
                                "value": "urn:oid:1.2.246.10.8.8182355.10.1"
                            }
                        }
                    ]
                },
                {
                    "url": "renewalStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40106.2006",
                        "code": "3"
                    }
                },
                {
                    "url": "dispenseStatus",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.5.40123.2006",
                        "code": "1"
                    }
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/originalStartdate",
            "valueDateTime": "2023-01-19T10:57:30+02:00"
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/separateReport",
            "extension":  [
                {
                    "url": "separateReport",
                    "valueCoding": {
                        "system": "urn:oid:1.2.246.537.6.850.202001",
                        "code": "E005"
                    }
                },
                {
                    "url": "separateReportDate",
                    "valueDate": "2024-03-19"
                }
            ]
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/useRegularity",
            "valueCoding": {
                "system": "urn:oid:1.2.246.537.6.613.202301",
                "code": "1"
            }
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/renewalBasicReference",
            "valueReference": {
                "reference": "#8"
            }
        },
        {
            "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/statusBasicReference",
            "valueReference": {
                "reference": "#10"
            }
        }
    ],
    "identifier":  [
        {
            "system": "http://resepti.kanta.fi/fhir/id/id",
            "value": "urn:oid:1.2.246.537.25.1.30429.93.2024.319.135730"
        },
        {
            "system": "http://resepti.kanta.fi/fhir/id/setId",
            "value": "urn:oid:1.2.246.537.25.1.30429.93.2024.319.135730"
        }
    ],
    "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": "#1"
    },
    "subject": {
        "reference": "#3"
    },
    "authoredOn": "2024-03-19T10:57:30+02:00",
    "requester": {
        "reference": "#4"
    },
    "courseOfTherapyType": {
        "coding":  [
            {
                "system": "urn:oid:1.2.246.537.5.40003.2003",
                "code": "PYS"
            }
        ]
    },
    "dosageInstruction":  [
        {
            "sequence": 1,
            "text": "1 annospipetillinen aamulla, 1 annospipetillinen päivällä ja 1 annospipetillinen illalla 4 päivän ajan oikeaan silmään.",
            "additionalInstruction": {
                "text": "käyttöohjeen lisätieto"
            },
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 4,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d",
                    "when":  [
                        "MORN.early"
                    ]
                }
            },
            "asNeededBoolean": false,
            "site": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.2.2007",
                        "code": "ZXA00"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1053"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1.0,
                        "unit": "annospipetillinen",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "30"
                    }
                }
            ]
        },
        {
            "sequence": 2,
            "text": "1 annospipetillinen aamulla, 1 annospipetillinen päivällä ja 1 annospipetillinen illalla 4 päivän ajan oikeaan silmään.",
            "additionalInstruction": {
                "text": "käyttöohjeen lisätieto"
            },
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 4,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d",
                    "when":  [
                        "NOON"
                    ]
                }
            },
            "asNeededBoolean": false,
            "site": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.2.2007",
                        "code": "ZXA00"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1053"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1.0,
                        "unit": "annospipetillinen",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "30"
                    }
                }
            ]
        },
        {
            "sequence": 3,
            "text": "1 annospipetillinen aamulla, 1 annospipetillinen päivällä ja 1 annospipetillinen illalla 4 päivän ajan oikeaan silmään.",
            "additionalInstruction": {
                "text": "käyttöohjeen lisätieto"
            },
            "timing": {
                "repeat": {
                    "boundsDuration": {
                        "value": 4,
                        "unit": "d",
                        "system": "http://unitsofmeasure.org",
                        "code": "d"
                    },
                    "frequency": 1,
                    "period": 1,
                    "periodUnit": "d",
                    "when":  [
                        "EVE"
                    ]
                }
            },
            "asNeededBoolean": false,
            "site": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.2.2007",
                        "code": "ZXA00"
                    }
                ]
            },
            "route": {
                "coding":  [
                    {
                        "system": "urn:oid:1.2.246.537.6.1403.202001",
                        "code": "1053"
                    }
                ]
            },
            "doseAndRate":  [
                {
                    "doseQuantity": {
                        "value": 1.0,
                        "unit": "annospipetillinen",
                        "system": "urn:oid:1.2.246.537.6.138.202001",
                        "code": "30"
                    }
                }
            ]
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/dispenserInstruction",
                "valueString": "viesti apteekille"
            },
            {
                "url": "http://resepti.kanta.fi/fhir/StructureDefinition/extension/prescribedAmount",
                "extension":  [
                    {
                        "url": "prescriptionType",
                        "valueCoding": {
                            "system": "urn:oid:1.2.246.537.5.40100.2006",
                            "code": "1"
                        }
                    },
                    {
                        "url": "package",
                        "valuePositiveInt": 4
                    },
                    {
                        "url": "totalAmount",
                        "valueQuantity": {
                            "value": 700,
                            "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"
                }
            }
        ],
        "dispenseInterval": {
            "value": 10,
            "unit": "d"
        },
        "validityPeriod": {
            "end": "2024-03-30T22:00:00+02:00"
        },
        "numberOfRepeatsAllowed": 1
    },
    "substitution": {
        "allowedBoolean": true,
        "reason": {
            "text": "lääkevaihtokiellon syy"
        }
    }
}