GP Connect Data Model | FHIR STU3 Representation

This version is in draft and is currently being migrated from the GP Connect Access Record: Structured specification

MedicationRequest

<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="7edb0b64-cb7c-482c-9689-a4e7e0339ec0" />
    <meta>
        <versionId value="1" />
        <lastUpdated value="2023-01-24T13:28:24.8580327+00:00" />
        <profile value="https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1" />
    </meta>
    <extension url="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationRepeatInformation-1">
        <extension url="numberOfRepeatPrescriptionsAllowed">
            <valuePositiveInt value="1" />
        </extension>
        <extension url="numberOfRepeatPrescriptionsIssued">
            <valuePositiveInt value="1" />
        </extension>
        <extension url="authorisationExpiryDate">
            <valueDateTime value="2023-01-31" />
        </extension>
    </extension>
    <extension url="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-PrescriptionType-1">
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.nhs.uk/STU3/CodeSystem/CareConnect-PrescriptionType-1" />
                <code value="acute" />
            </coding>
        </valueCodeableConcept>
    </extension>
    <identifier>
        <system value="https://hospital.example/medication-request" />
        <value value="rx-0018243" />
    </identifier>
    <status value="active" />
    <intent value="order" />
    <medicationReference>
        <identifier>
            <system value="https://simplifier.net/gpconnect2" />
            <value value="example--gpc-data-model--medication-request" />
        </identifier>
    </medicationReference>
    <subject>
        <identifier>
            <extension url="https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1">
                <valueCodeableConcept>
                    <coding>
                        <system value="https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1" />
                        <code value="01" />
                        <display value="Number present and verified" />
                    </coding>
                    <text value="Number present and verified" />
                </valueCodeableConcept>
            </extension>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9989453456" />
        </identifier>
    </subject>
    <context>
        <identifier>
            <system value="https://hospital.example/visit-number" />
            <value value="visit-00425123" />
        </identifier>
    </context>
    <authoredOn value="2023-01-24T13:28:24.8752767+00:00" />
    <requester>
        <agent>
            <identifier>
                <system value="https://fhir.hl7.org.uk/Id/gmc-number" />
                <value value="00143922" />
            </identifier>
        </agent>
    </requester>
    <recorder>
        <identifier>
            <system value="https://fhir.hl7.org.uk/Id/gmc-number" />
            <value value="0054272" />
        </identifier>
    </recorder>
    <note>
        <authorReference>
            <identifier>
                <system value="https://fhir.hl7.org.uk/Id/gmc-number" />
                <value value="00143922" />
            </identifier>
        </authorReference>
        <time value="2023-01-24T13:28:24.8839537+00:00" />
        <text value="Free text... R4 of the FHIR standard supports GitHub Flavoured Markdown (GFM)" />
    </note>
    <dosageInstruction>
        <text value="10 milligram - two times a day - oral - Swallow your capsules whole with a glass of water. DO NOT break, crush or chew them" />
        <patientInstruction value="Swallow your capsules whole with a glass of water. DO NOT break, crush or chew them" />
        <timing>
            <repeat>
                <frequency value="1" />
                <period value="2" />
                <periodUnit value="d" />
                <when value="C" />
            </repeat>
        </timing>
        <route>
            <coding>
                <system value="https://snomed.info/sct" />
                <code value="26643006" />
            </coding>
            <text value="oral" />
        </route>
        <doseQuantity>
            <value value="10" />
            <unit value="milligram" />
            <system value="https://unitsofmeasure.org" />
            <code value="mg" />
        </doseQuantity>
    </dosageInstruction>
    <dispenseRequest>
        <extension url="https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationQuantityText-1">
            <valueString value="14 capsules" />
        </extension>
        <validityPeriod>
            <start value="2023-01-20" />
            <end value="2023-01-27" />
        </validityPeriod>
        <quantity>
            <value value="14" />
            <unit value="capsule" />
            <system value="http://snomed.info/sct" />
            <code value="732937005" />
        </quantity>
        <expectedSupplyDuration>
            <value value="7" />
            <unit value="d" />
            <system value="http://unitsofmeasure.org" />
            <code value="d" />
        </expectedSupplyDuration>
        <performer>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                <value value="RFR" />
            </identifier>
        </performer>
    </dispenseRequest>
    <substitution>
        <allowed value="false" />
    </substitution>
</MedicationRequest>
{
    "resourceType": "MedicationRequest",
    "id": "7edb0b64-cb7c-482c-9689-a4e7e0339ec0",
    "meta": {
        "versionId": "1",
        "lastUpdated": "2023-01-24T13:28:24.8580327+00:00",
        "profile":  [
            "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1"
        ]
    },
    "extension":  [
        {
            "extension":  [
                {
                    "url": "numberOfRepeatPrescriptionsAllowed",
                    "valuePositiveInt": 1
                },
                {
                    "url": "numberOfRepeatPrescriptionsIssued",
                    "valuePositiveInt": 1
                },
                {
                    "url": "authorisationExpiryDate",
                    "valueDateTime": "2023-01-31"
                }
            ],
            "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationRepeatInformation-1"
        },
        {
            "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-PrescriptionType-1",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "https://fhir.nhs.uk/STU3/CodeSystem/CareConnect-PrescriptionType-1",
                        "code": "acute"
                    }
                ]
            }
        }
    ],
    "identifier":  [
        {
            "system": "https://hospital.example/medication-request",
            "value": "rx-0018243"
        }
    ],
    "status": "active",
    "intent": "order",
    "medicationReference": {
        "identifier": {
            "system": "https://simplifier.net/gpconnect2",
            "value": "example--gpc-data-model--medication-request"
        }
    },
    "subject": {
        "identifier": {
            "extension":  [
                {
                    "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1",
                                "code": "01",
                                "display": "Number present and verified"
                            }
                        ],
                        "text": "Number present and verified"
                    }
                }
            ],
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9989453456"
        }
    },
    "context": {
        "identifier": {
            "system": "https://hospital.example/visit-number",
            "value": "visit-00425123"
        }
    },
    "authoredOn": "2023-01-24T13:28:24.8752767+00:00",
    "requester": {
        "agent": {
            "identifier": {
                "system": "https://fhir.hl7.org.uk/Id/gmc-number",
                "value": "00143922"
            }
        }
    },
    "recorder": {
        "identifier": {
            "system": "https://fhir.hl7.org.uk/Id/gmc-number",
            "value": "0054272"
        }
    },
    "note":  [
        {
            "authorReference": {
                "identifier": {
                    "system": "https://fhir.hl7.org.uk/Id/gmc-number",
                    "value": "00143922"
                }
            },
            "time": "2023-01-24T13:28:24.8839537+00:00",
            "text": "Free text... R4 of the FHIR standard supports GitHub Flavoured Markdown (GFM)"
        }
    ],
    "dosageInstruction":  [
        {
            "text": "10 milligram - two times a day - oral - Swallow your capsules whole with a glass of water. DO NOT break, crush or chew them",
            "patientInstruction": "Swallow your capsules whole with a glass of water. DO NOT break, crush or chew them",
            "timing": {
                "repeat": {
                    "frequency": 1,
                    "period": 2,
                    "periodUnit": "d",
                    "when":  [
                        "C"
                    ]
                }
            },
            "route": {
                "coding":  [
                    {
                        "system": "https://snomed.info/sct",
                        "code": "26643006"
                    }
                ],
                "text": "oral"
            },
            "doseQuantity": {
                "value": 10,
                "unit": "milligram",
                "system": "https://unitsofmeasure.org",
                "code": "mg"
            }
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationQuantityText-1",
                "valueString": "14 capsules"
            }
        ],
        "validityPeriod": {
            "start": "2023-01-20",
            "end": "2023-01-27"
        },
        "quantity": {
            "value": 14,
            "unit": "capsule",
            "system": "http://snomed.info/sct",
            "code": "732937005"
        },
        "expectedSupplyDuration": {
            "value": 7,
            "unit": "d",
            "system": "http://unitsofmeasure.org",
            "code": "d"
        },
        "performer": {
            "identifier": {
                "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                "value": "RFR"
            }
        }
    },
    "substitution": {
        "allowed": false
    }
}
MedicationRequest.id[0]7edb0b64-cb7c-482c-9689-a4e7e0339ec0
MedicationRequest.meta[0].versionId[0]1
MedicationRequest.meta[0].lastUpdated[0]2023-01-24T13:28:24.8580327+00:00
MedicationRequest.meta[0].profile[0]https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1
MedicationRequest.extension[0].extension[0].url[0]numberOfRepeatPrescriptionsAllowed
MedicationRequest.extension[0].extension[0].value[0]1
MedicationRequest.extension[0].extension[1].url[0]numberOfRepeatPrescriptionsIssued
MedicationRequest.extension[0].extension[1].value[0]1
MedicationRequest.extension[0].extension[2].url[0]authorisationExpiryDate
MedicationRequest.extension[0].extension[2].value[0]2023-01-31
MedicationRequest.extension[0].url[0]https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationRepeatInformation-1
MedicationRequest.extension[1].url[0]https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-PrescriptionType-1
MedicationRequest.extension[1].value[0].coding[0].system[0]https://fhir.nhs.uk/STU3/CodeSystem/CareConnect-PrescriptionType-1
MedicationRequest.extension[1].value[0].coding[0].code[0]acute
MedicationRequest.identifier[0].system[0]https://hospital.example/medication-request
MedicationRequest.identifier[0].value[0]rx-0018243
MedicationRequest.status[0]active
MedicationRequest.intent[0]order
MedicationRequest.medication[0].identifier[0].system[0]https://simplifier.net/gpconnect2
MedicationRequest.medication[0].identifier[0].value[0]example--gpc-data-model--medication-request
MedicationRequest.subject[0].identifier[0].extension[0].url[0]https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1
MedicationRequest.subject[0].identifier[0].extension[0].value[0].coding[0].system[0]https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1
MedicationRequest.subject[0].identifier[0].extension[0].value[0].coding[0].code[0]01
MedicationRequest.subject[0].identifier[0].extension[0].value[0].coding[0].display[0]Number present and verified
MedicationRequest.subject[0].identifier[0].extension[0].value[0].text[0]Number present and verified
MedicationRequest.subject[0].identifier[0].system[0]https://fhir.nhs.uk/Id/nhs-number
MedicationRequest.subject[0].identifier[0].value[0]9989453456
MedicationRequest.context[0].identifier[0].system[0]https://hospital.example/visit-number
MedicationRequest.context[0].identifier[0].value[0]visit-00425123
MedicationRequest.authoredOn[0]2023-01-24T13:28:24.8752767+00:00
MedicationRequest.requester[0].agent[0].identifier[0].system[0]https://fhir.hl7.org.uk/Id/gmc-number
MedicationRequest.requester[0].agent[0].identifier[0].value[0]00143922
MedicationRequest.recorder[0].identifier[0].system[0]https://fhir.hl7.org.uk/Id/gmc-number
MedicationRequest.recorder[0].identifier[0].value[0]0054272
MedicationRequest.note[0].author[0].identifier[0].system[0]https://fhir.hl7.org.uk/Id/gmc-number
MedicationRequest.note[0].author[0].identifier[0].value[0]00143922
MedicationRequest.note[0].time[0]2023-01-24T13:28:24.8839537+00:00
MedicationRequest.note[0].text[0]Free text... R4 of the FHIR standard supports GitHub Flavoured Markdown (GFM)
MedicationRequest.dosageInstruction[0].text[0]10 milligram - two times a day - oral - Swallow your capsules whole with a glass of water. DO NOT break, crush or chew them
MedicationRequest.dosageInstruction[0].patientInstruction[0]Swallow your capsules whole with a glass of water. DO NOT break, crush or chew them
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].frequency[0]1
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].period[0]2
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]d
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].when[0]C
MedicationRequest.dosageInstruction[0].route[0].coding[0].system[0]https://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]26643006
MedicationRequest.dosageInstruction[0].route[0].text[0]oral
MedicationRequest.dosageInstruction[0].dose[0].value[0]10
MedicationRequest.dosageInstruction[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[0].dose[0].system[0]https://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].dose[0].code[0]mg
MedicationRequest.dispenseRequest[0].extension[0].url[0]https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationQuantityText-1
MedicationRequest.dispenseRequest[0].extension[0].value[0]14 capsules
MedicationRequest.dispenseRequest[0].validityPeriod[0].start[0]2023-01-20
MedicationRequest.dispenseRequest[0].validityPeriod[0].end[0]2023-01-27
MedicationRequest.dispenseRequest[0].quantity[0].value[0]14
MedicationRequest.dispenseRequest[0].quantity[0].unit[0]capsule
MedicationRequest.dispenseRequest[0].quantity[0].system[0]http://snomed.info/sct
MedicationRequest.dispenseRequest[0].quantity[0].code[0]732937005
MedicationRequest.dispenseRequest[0].expectedSupplyDuration[0].value[0]7
MedicationRequest.dispenseRequest[0].expectedSupplyDuration[0].unit[0]d
MedicationRequest.dispenseRequest[0].expectedSupplyDuration[0].system[0]http://unitsofmeasure.org
MedicationRequest.dispenseRequest[0].expectedSupplyDuration[0].code[0]d
MedicationRequest.dispenseRequest[0].performer[0].identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
MedicationRequest.dispenseRequest[0].performer[0].identifier[0].value[0]RFR
MedicationRequest.substitution[0].allowed[0]False

back to top