Skip to main content

MedicationRequest

A record of a request for medication, prescription or order, as defined by FHIR R4.

resourceTypestringrequired

Must be “MedicationRequest”.

Possible values: [MedicationRequest]

Example: MedicationRequest
iduuid

Logical id of this artifact.

Example: aaefdf1f-a463-4772-8614-dc36b1ab6548
meta object
versionIdstring

Its an auto generated FHIR property

Example: 1
lastUpdateddate-time

Its an auto generated FHIR property

Example: 2025-04-03T14:11:58.948+02:00
sourceuri

Its an auto generated FHIR property

Example: #XgwiRHevOEIOczKf
containedobject[]

if medicationReference is present than the referenced Medication will be stored under contained field

Example: [{"resourceType":"Medication","id":"inner-medication","ingredient":[{"itemCodeableConcept":{"coding":[{"system":"https://fhir.mona.icu/CodeSystem/mona-medication-code","code":"4efa8dd2-f5fe-48a7-abfb-6075c74f6bb7","display":"Pantoprazol"},{"system":"http://snomed.info/sct","code":"317320001","display":"Pantoprazol"}],"text":"Pantoprazol"},"strength":{"numerator":{"value":40,"unit":"mg"},"denominator":{"value":1}}},{"itemCodeableConcept":{"coding":[{"system":"https://fhir.mona.icu/CodeSystem/mona-medication-code","code":"eb6ed82c-8e9b-4b77-bde7-879e0d733d20","display":"NaCl"},{"system":"http://snomed.info/sct","code":"387390002","display":"NaCl"}]},"strength":{"numerator":{"value":10,"unit":"ml"},"denominator":{"value":1}}}]}]
extension object[]required

Additional content defined by implementations

  • Array [
  • urlurl

    URL to extract the practitioner id

    Example: https://fhir.mona.icu/StructureDefinition/lastChangedBy
    valueReference object

    The field maintains a history of the last practitioner to interact with the service request. It begins with the creator's ID and is subsequently updated with each modifying practitioner's ID, always reflecting the most recent change.

    referencestring
    displaystring
  • ]
  • statusstringrequired

    Status of the medication request. If the status is stopped that will be interpreted as a soft delete and in UI prescription will be showed under is deleted section.

    Possible values: [active, on-hold, stopped, draft]

    Example: active
    statusReason object[]

    Reason for current status

  • Array [
  • coding object[]
  • Array [
  • systemstring
    Example: http://www.nlm.nih.gov/research/umls/rxnorm
    codestring
    Example: 313002
    displaystring
    Example: Amoxicillin 500 MG Oral Capsule
  • ]
  • textstring
    Example: Amoxicillin 500mg Capsule
  • ]
  • intentstringrequired

    When a user creates a new prescription in the UI, the system validates the medication. This validation affects both the FHIR's 'intent' and the API's 'is_approved' field. If the medication fails validation ('is_approved' = false in the API), FHIR sets the prescription's 'intent' to 'plan', indicating it needs further review.If the medication passes validation ('is_approved' = true in the API), the FHIR sets the 'intent' to 'order', signifying it's ready for fulfillment.

    Possible values: [plan, order]

    Example: order
    category object[]required

    We store type of medication category in MedicationRequest, Medication category information is fetched from the terminology

  • Array [
  • coding object[]
  • Array [
  • systemstring
    Example: http://www.nlm.nih.gov/research/umls/rxnorm
    codestring
    Example: 313002
    displaystring
    Example: Amoxicillin 500 MG Oral Capsule
  • ]
  • textstring
    Example: Amoxicillin 500mg Capsule
  • ]
  • medicationCodeableConcept object

    Stores the medication reference code from the terminology and the type of the dosage form from terminology data, either medicationReference or medicationCodeableConcept will be present

    coding object[]
  • Array [
  • systemstring
    Example: http://www.nlm.nih.gov/research/umls/rxnorm
    codestring
    Example: 313002
    displaystring
    Example: Amoxicillin 500 MG Oral Capsule
  • ]
  • textstring
    Example: Amoxicillin 500mg Capsule
    medicationReference object

    If the category belongs to one of the following: SYRINGE_PUMPS, INFUSION_PUMPS, ENTERAL_NUTRITION,PARENTERAL_NUTRITION, INJECTIONS and also amount of the medication is a ratio (i.e. ml/h) then the Medication FHIR resource will be created and stored under contained field, which will have a reference to the medication code and the solution code from the terminology, either medicationReference or medicationCodeableConcept will be present

    referencestring
    displaystring
    subject objectrequired

    Reference to the Patient Id

    referencestring
    displaystring
    encounter objectrequired

    Reference to the Encounter Id

    referencestring
    displaystring
    authoredOndate-timerequired

    Timestamp at which prescription was created

    Example: 2024-03-25T14:30:00Z
    requester objectrequired

    Reference to the Practitioner Id

    referencestring
    displaystring
    dosageInstruction object[]required
  • Array [
  • asNeededBooleanboolean

    This boolean field is only used when we have frequency type as-needed (Bei Bedarf)

    Example: true
    timing object
    repeat object
    boundsPeriod object
    startdate-time

    Start date time of the prescription

    Example: 2025-04-01T08:00:00Z
    enddate-time

    End date time of the prescription if none provided default date-time 2100-01-01T00:00:00Z will be stored

    Example: 2100-01-01T00:00:00Z
    countnumber

    Number of times to repeat, only used when the frequency type is once (Einmalig)

    Example: 1
    frequencynumber

    Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period, this is fetched from the terminology

    Example: 1
    periodnumber

    The duration to which the frequency applies. I.e. Event occurs frequency times per period, fetched from the terminology

    Example: 12
    periodUnitstring

    s | min | h | d | wk | mo | a - unit of time (UCUM), fetched from the terminology

    Example: h
    timeOfDaytime[]
    Example: ["06:00:00","21:00:00","22:00:00"]
    dayOfWeekstring[]
    Example: ["mon","wed"]
    code object

    Stores the frequency code from the terminology

    coding object[]
  • Array [
  • systemstring
    Example: http://www.nlm.nih.gov/research/umls/rxnorm
    codestring
    Example: 313002
    displaystring
    Example: Amoxicillin 500 MG Oral Capsule
  • ]
  • textstring
    Example: Amoxicillin 500mg Capsule
    route object

    How drug should enter body, information is fetched from the terminology

    coding object[]
  • Array [
  • systemstring
    Example: http://www.nlm.nih.gov/research/umls/rxnorm
    codestring
    Example: 313002
    displaystring
    Example: Amoxicillin 500 MG Oral Capsule
  • ]
  • textstring
    Example: Amoxicillin 500mg Capsule
    method object

    Technique for administering medication, information is fetched from the terminology

    coding object[]
  • Array [
  • systemstring
    Example: http://www.nlm.nih.gov/research/umls/rxnorm
    codestring
    Example: 313002
    displaystring
    Example: Amoxicillin 500 MG Oral Capsule
  • ]
  • textstring
    Example: Amoxicillin 500mg Capsule
    doseAndRate object[]
  • Array [
  • type object

    The kind of dose or rate specified, information is predefined and remains same for all MedicationRequest

    coding object[]
  • Array [
  • systemstring
    Example: http://www.nlm.nih.gov/research/umls/rxnorm
    codestring
    Example: 313002
    displaystring
    Example: Amoxicillin 500 MG Oral Capsule
  • ]
  • textstring
    Example: Amoxicillin 500mg Capsule
    doseQuantity object

    Stores the amount and its unit for the given medication, either doseQuantity or rateRatio will be present

    valuenumber
    Example: 30
    unitstring
    Example: tablet
    rateRatio object

    Stores the rate and its unit for the given medication, either doseQuantity or rateRatio will be present

    numerator object
    valuenumber
    Example: 30
    unitstring
    Example: tablet
    denominator object
    valuenumber
    Example: 30
    unitstring
    Example: tablet
  • ]
  • ]
  • note object[]
  • Array [
  • textstring
    Example: Instructions for the prescribed service
  • ]
  • MedicationRequest
    {
    "resourceType": "MedicationRequest",
    "id": "aaefdf1f-a463-4772-8614-dc36b1ab6548",
    "meta": {
    "versionId": "1",
    "lastUpdated": "2025-04-03T14:11:58.948+02:00",
    "source": "#XgwiRHevOEIOczKf"
    },
    "contained": [
    {
    "resourceType": "Medication",
    "id": "inner-medication",
    "ingredient": [
    {
    "itemCodeableConcept": {
    "coding": [
    {
    "system": "https://fhir.mona.icu/CodeSystem/mona-medication-code",
    "code": "4efa8dd2-f5fe-48a7-abfb-6075c74f6bb7",
    "display": "Pantoprazol"
    },
    {
    "system": "http://snomed.info/sct",
    "code": "317320001",
    "display": "Pantoprazol"
    }
    ],
    "text": "Pantoprazol"
    },
    "strength": {
    "numerator": {
    "value": 40,
    "unit": "mg"
    },
    "denominator": {
    "value": 1
    }
    }
    },
    {
    "itemCodeableConcept": {
    "coding": [
    {
    "system": "https://fhir.mona.icu/CodeSystem/mona-medication-code",
    "code": "eb6ed82c-8e9b-4b77-bde7-879e0d733d20",
    "display": "NaCl"
    },
    {
    "system": "http://snomed.info/sct",
    "code": "387390002",
    "display": "NaCl"
    }
    ]
    },
    "strength": {
    "numerator": {
    "value": 10,
    "unit": "ml"
    },
    "denominator": {
    "value": 1
    }
    }
    }
    ]
    }
    ],
    "extension": [
    {
    "url": "https://fhir.mona.icu/StructureDefinition/lastChangedBy",
    "valueReference": "Practitioner/da46528c-4848-4c48-9728-5465a187656f"
    }
    ],
    "status": "active",
    "statusReason": [
    {
    "text": "Reason to keep the status of the prescription"
    }
    ],
    "intent": "order",
    "category": [
    {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
    "code": "inpatient",
    "display": "Inpatient"
    }
    ],
    "text": "Inpatient"
    },
    {
    "coding": [
    {
    "system": "https://fhir.mona.icu/CodeSystem/mona-medication-category",
    "code": "TABLETS",
    "display": "Orale Medikation"
    }
    ],
    "text": "Orale Medikation"
    }
    ],
    "medicationCodeableConcept": {
    "coding": [
    {
    "system": "https://fhir.mona.icu/CodeSystem/mona-medication-code",
    "code": "aeb1d3fa-ce2c-4c20-a69b-1dd28ff01036",
    "display": "Ibuprofen"
    },
    {
    "system": "https://fhir.mona.icu/CodeSystem/mona-medication-dosage-form",
    "code": "8fbd85cf-54c8-4f02-8011-17ee85a6ccb9",
    "display": "Capsule"
    }
    ],
    "text": "Ibuprofen"
    },
    "medicationReference": {
    "reference": "#inner-medication"
    },
    "subject": {
    "reference": "Patient/ccd2c136-2c70-44e5-8f7f-362b9fca89a7",
    "display": "John Doe"
    },
    "encounter": {
    "reference": "Encounter/f12ee825-bea8-4f93-9d29-66744992196f"
    },
    "authoredOn": "2024-03-25T14:30:00Z",
    "requester": {
    "reference": "Practitioner/da46528c-4848-4c48-9728-5465a187656f"
    },
    "dosageInstruction": [
    {
    "timing": {
    "repeat": {
    "boundsPeriod": {
    "start": "2025-04-01T08:00:00Z",
    "end": "2100-01-01T00:00:00Z"
    },
    "frequency": 1,
    "period": 1,
    "periodUnit": "d"
    },
    "code": {
    "coding": [
    {
    "system": "https://fhir.mona.icu/CodeSystem/mona-prescription-timing",
    "code": "27c969db-f982-4251-a0bd-a137f1e00653",
    "display": "1x täglich"
    },
    {
    "system": "http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation",
    "code": "QD",
    "display": "Every Day at institution specified times"
    }
    ],
    "text": "1x täglich"
    }
    },
    "route": {
    "type": "object",
    "properties": {
    "coding": {
    "type": "array",
    "items": {
    "type": "object",
    "properties": {
    "system": {
    "type": "string",
    "example": "http://www.nlm.nih.gov/research/umls/rxnorm"
    },
    "code": {
    "type": "string",
    "example": "313002"
    },
    "display": {
    "type": "string",
    "example": "Amoxicillin 500 MG Oral Capsule"
    }
    },
    "title": "Coding"
    }
    },
    "text": {
    "type": "string",
    "example": "Amoxicillin 500mg Capsule"
    }
    },
    "title": "CodeableConcept"
    },
    "method": {
    "type": "object",
    "properties": {
    "coding": {
    "type": "array",
    "items": {
    "type": "object",
    "properties": {
    "system": {
    "type": "string",
    "example": "http://www.nlm.nih.gov/research/umls/rxnorm"
    },
    "code": {
    "type": "string",
    "example": "313002"
    },
    "display": {
    "type": "string",
    "example": "Amoxicillin 500 MG Oral Capsule"
    }
    },
    "title": "Coding"
    }
    },
    "text": {
    "type": "string",
    "example": "Amoxicillin 500mg Capsule"
    }
    },
    "title": "CodeableConcept"
    },
    "doseAndRate": [
    {
    "type": {
    "coding": [
    {
    "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
    "code": "ordered",
    "display": "Ordered"
    }
    ]
    },
    "doseQuantity": {
    "value": 40,
    "unit": "mg"
    }
    }
    ]
    }
    ],
    "note": [
    {
    "text": "Patient allergic to penicillin"
    }
    ]
    }