UK Core Implementation Guide 0.4.0 - STU1

StructureDefinition Extension-UKCore-MedicationRepeatInformation

The specific repeat information of a medication item.

Purpose

This extension extends the MedicationRequest resource to support the exchange of repeat medications, which is currently not supported by the FHIR standard.

Context of Use
Use on element MedicationRequest

Snapshot View

url1..1System.StringFixed Value
valueUnsignedIntunsignedInt
url1..1System.StringFixed Value
valueDateTimedateTime
url1..1System.StringFixed Value

Differential View

url1..1System.StringFixed Value
valueUnsignedIntunsignedInt
url1..1System.StringFixed Value
valueDateTimedateTime
url1..1System.StringFixed Value

Hybrid View

url1..1System.StringFixed Value
valueUnsignedIntunsignedInt
url1..1System.StringFixed Value
valueDateTimedateTime
url1..1System.StringFixed Value

Table View

Extension..1
Extension.extension..
Extension.extension..1
Extension.extension.url..
Extension.extension.value[x]unsignedInt1..
Extension.extension..1
Extension.extension.url..
Extension.extension.value[x]dateTime1..
Extension.url..
Extension.value[x]..0


XML View

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="Extension-UKCore-MedicationRepeatInformation" />
    <url value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation" />
    <version value="2.1.0" />
    <name value="ExtensionUKCoreMedicationRepeatInformation" />
    <title value="Extension UK Core Medication Repeat Information" />
    <status value="active" />
    <date value="2021-09-10" />
    <publisher value="HL7 UK" />
    <contact>
        <name value="HL7 UK" />
        <telecom>
            <system value="email" />
            <value value="secretariat@hl7.org.uk" />
            <use value="work" />
            <rank value="1" />
        </telecom>
    </contact>
    <contact>
        <name value="NHS Digital" />
        <telecom>
            <system value="email" />
            <value value="interoperabilityteam@nhs.net" />
            <use value="work" />
            <rank value="2" />
        </telecom>
    </contact>
    <description value="The specific repeat information of a medication item." />
    <purpose value="This extension extends the MedicationRequest resource to support the exchange of repeat medications, which is currently not supported by the FHIR standard." />
    <copyright value="Copyright &#169; 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html." />
    <fhirVersion value="4.0.1" />
    <mapping>
        <identity value="rim" />
        <uri value="http://hl7.org/v3" />
        <name value="RIM Mapping" />
    </mapping>
    <kind value="complex-type" />
    <abstract value="false" />
    <context>
        <type value="element" />
        <expression value="MedicationRequest" />
    </context>
    <type value="Extension" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
    <derivation value="constraint" />
    <differential>
        <element id="Extension">
            <path value="Extension" />
            <short value="Medication repeat information" />
            <definition value="Medication repeat information." />
            <max value="1" />
        </element>
        <element id="Extension.extension">
            <path value="Extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
        </element>
        <element id="Extension.extension:numberOfPrescriptionsIssued">
            <path value="Extension.extension" />
            <sliceName value="numberOfPrescriptionsIssued" />
            <short value="Number of prescriptions issued" />
            <definition value="Number of prescriptions issued." />
            <max value="1" />
        </element>
        <element id="Extension.extension:numberOfPrescriptionsIssued.url">
            <path value="Extension.extension.url" />
            <fixedUri value="numberOfPrescriptionsIssued" />
        </element>
        <element id="Extension.extension:numberOfPrescriptionsIssued.value[x]">
            <path value="Extension.extension.value[x]" />
            <short value="Number of prescriptions issued" />
            <definition value="Number of prescriptions issued." />
            <min value="1" />
            <type>
                <code value="unsignedInt" />
            </type>
        </element>
        <element id="Extension.extension:authorisationExpiryDate">
            <path value="Extension.extension" />
            <sliceName value="authorisationExpiryDate" />
            <short value="Repeat prescription review date" />
            <definition value="Repeat prescription review date." />
            <max value="1" />
        </element>
        <element id="Extension.extension:authorisationExpiryDate.url">
            <path value="Extension.extension.url" />
            <fixedUri value="authorisationExpiryDate" />
        </element>
        <element id="Extension.extension:authorisationExpiryDate.value[x]">
            <path value="Extension.extension.value[x]" />
            <short value="Repeat prescription review date" />
            <definition value="Repeat prescription review date." />
            <min value="1" />
            <type>
                <code value="dateTime" />
            </type>
        </element>
        <element id="Extension.url">
            <path value="Extension.url" />
            <fixedUri value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation" />
        </element>
        <element id="Extension.value[x]">
            <path value="Extension.value[x]" />
            <max value="0" />
        </element>
    </differential>
</StructureDefinition>

JSON View

{
    "resourceType": "StructureDefinition",
    "id": "Extension-UKCore-MedicationRepeatInformation",
    "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation",
    "version": "2.1.0",
    "name": "ExtensionUKCoreMedicationRepeatInformation",
    "title": "Extension UK Core Medication Repeat Information",
    "status": "active",
    "date": "2021-09-10",
    "publisher": "HL7 UK",
    "contact":  [
        {
            "name": "HL7 UK",
            "telecom":  [
                {
                    "system": "email",
                    "value": "secretariat@hl7.org.uk",
                    "use": "work",
                    "rank": 1
                }
            ]
        },
        {
            "name": "NHS Digital",
            "telecom":  [
                {
                    "system": "email",
                    "value": "interoperabilityteam@nhs.net",
                    "use": "work",
                    "rank": 2
                }
            ]
        }
    ],
    "description": "The specific repeat information of a medication item.",
    "purpose": "This extension extends the MedicationRequest resource to support the exchange of repeat medications, which is currently not supported by the FHIR standard.",
    "copyright": "Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
        }
    ],
    "kind": "complex-type",
    "abstract": false,
    "context":  [
        {
            "type": "element",
            "expression": "MedicationRequest"
        }
    ],
    "type": "Extension",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Extension",
                "path": "Extension",
                "short": "Medication repeat information",
                "definition": "Medication repeat information.",
                "max": "1"
            },
            {
                "id": "Extension.extension",
                "path": "Extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "Extension.extension:numberOfPrescriptionsIssued",
                "path": "Extension.extension",
                "sliceName": "numberOfPrescriptionsIssued",
                "short": "Number of prescriptions issued",
                "definition": "Number of prescriptions issued.",
                "max": "1"
            },
            {
                "id": "Extension.extension:numberOfPrescriptionsIssued.url",
                "path": "Extension.extension.url",
                "fixedUri": "numberOfPrescriptionsIssued"
            },
            {
                "id": "Extension.extension:numberOfPrescriptionsIssued.value[x]",
                "path": "Extension.extension.value[x]",
                "short": "Number of prescriptions issued",
                "definition": "Number of prescriptions issued.",
                "min": 1,
                "type":  [
                    {
                        "code": "unsignedInt"
                    }
                ]
            },
            {
                "id": "Extension.extension:authorisationExpiryDate",
                "path": "Extension.extension",
                "sliceName": "authorisationExpiryDate",
                "short": "Repeat prescription review date",
                "definition": "Repeat prescription review date.",
                "max": "1"
            },
            {
                "id": "Extension.extension:authorisationExpiryDate.url",
                "path": "Extension.extension.url",
                "fixedUri": "authorisationExpiryDate"
            },
            {
                "id": "Extension.extension:authorisationExpiryDate.value[x]",
                "path": "Extension.extension.value[x]",
                "short": "Repeat prescription review date",
                "definition": "Repeat prescription review date.",
                "min": 1,
                "type":  [
                    {
                        "code": "dateTime"
                    }
                ]
            },
            {
                "id": "Extension.url",
                "path": "Extension.url",
                "fixedUri": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation"
            },
            {
                "id": "Extension.value[x]",
                "path": "Extension.value[x]",
                "max": "0"
            }
        ]
    }
}

back to top