Skip to content

Commit

Permalink
Thu Oct 5 16:35:48 UTC 2023 (#139)
Browse files Browse the repository at this point in the history
Co-authored-by: Workflows.Backup <[email protected]>
  • Loading branch information
github-actions[bot] and Workflows.Backup authored Oct 5, 2023
1 parent d2aa051 commit 477172e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 20 deletions.
2 changes: 1 addition & 1 deletion ImplementationGuideforDigitalMedicines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ It was created on 29/09/2023 and has been set up to run every 1 month
## Last Updated


Updated at: Wed Oct 4 16:33:40 UTC 2023
Updated at: Thu Oct 5 16:35:51 UTC 2023
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## {{page-title}} (October 2023)

- Updates made to definition of [current medication](MedicationsDataUseCases?version=current#QueryforCurrentMedication) to align with FCI publication

---
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,32 @@ Applicable FHIR resources: `MedicationStatement`, and optionally `MedicationRequ

### Definition of 'Current' Medication

<div class="nhsd-a-box nhsd-a-box--bg-light-yellow nhsd-!t-margin-bottom-6 nhsd-t-body">
<!--<div class="nhsd-a-box nhsd-a-box--bg-light-yellow nhsd-!t-margin-bottom-6 nhsd-t-body">
<strong>IMPORTANT:</strong> A definition of what is deemed 'current' has been a challenge for healthcare IT for many years. This implementation guidance only provides a suggested approach. Until a national standard a published, accepted and proven, this guidance is of experimental status.
</div>-->
<div class="nhsd-a-box nhsd-a-box--bg-light-yellow nhsd-!t-margin-bottom-6 nhsd-t-body">
<strong>NEW:</strong> The September 2023 FCI publication for <a href="https://fci.org.uk/resource-report/rendering-of-a-consolidated-medications-record.html">Rendering of a Consoloated Medications Record</a>, includes a definition of "current medication" within Appendix A.
</div>

Suggested Criteria:
- Medication where `MedicationStatement.effectiveDateTime` or `MedicationStatement.effectivePeriod.start` is in the past 12 months.
- Medication prescribed where `MedicationRequest.authoredOn` is in the past 12 months and the `intent` is `order`.
- Medication supplied/dispensed where `MedicationDispense.whenPrepared` or `MedicationDispense.whenHandedOver` is in the past 12 months.
- Resources where `status` is `active` or `complete`.
A summarised version of the FCI definition is below with references to data items within the FHIR MedicationStatement resource:

<div class="nhsd-a-box nhsd-a-box--bg-light-blue nhsd-!t-margin-bottom-6 nhsd-t-body">
<strong>NOTE:</strong> A period of 12 months is suggested in this guidance for the age of medication records deemed to be 'current'. Existing implementations across different types of clinical system are known to be using different algorithms, such as 6, 9 or 12 months.
</div>
**Acute (single issue) Medication is current if:**
- A prescription has been issued with an end of medication period date set (`MedicationStatement.effectivePeriod.end`) but the end date for the medication period has not yet passed.
- If a prescription has been issued within the last 2 years (`MedicationStatement.effectiveDateTime` or `.effectivePeriod.start`), but with no end date.

### Implementation Options
**Repeat Medication is current if:**
- There is no end date set (`MedicationStatement.effectivePeriod.end`) for the medication period.
- The medication period end date(`MedicationStatement.effectivePeriod.end`) is on or after the index date (e.g., today).
- And in all cases, the authorised date (`MedicationStatement.effectiveDateTime` or `.effectivePeriod.start`) or last issued date (`MedicationStatement.extension:medicationStatementLastIssueDate`) is within the last two years (whichever is later).

#### Option: **Where is 'current' determined?**
#### Where is 'current' determined?

There are three architectural options for where 'current' medication is determined:
There are two architectural options for where 'current' medication is determined:

1. By the ICS / shared record via an end-point to return only current medication
2. By the consuming system, first by querying for a subset of medication records from the ICS / shared record, then applying further logic to determine what is 'current'
3. By the consuming system, querying for all medication records, then applying further logic to determine what is 'current'.
1. By the shared record(s) end-point returning 'current' medication.
2. By the consuming system, querying for medication records from available shared record(s) then applying logic to determine what is 'current'.

For option 1, a query to an end-point to return only current medication for a given patient may look like this;
For option 1, this would mean all consuming systems see the same 'current' medication. A consuming can always query for all medication if required. A query to an end-point to return only current medication for a given patient may look like this;

```
GET [base]/currentmedication?patient:identifier=https://fhir.nhs.uk/Id/nhs-number|{NHS_Number}
Expand All @@ -63,7 +64,7 @@ GET https://myfhirserver.net/currentmedication?patient:identifier=https://fhir.n
<strong>NOTE:</strong> Technically the above is not as per the FHIR standard as there is no 'current medication' operation defined within FHIR.
</div>

For Options 2 and 3, the FHIR standard includes various ways to [search](https://hl7.org/fhir/search.html) for resources. The following search parameters for these resources defined within the FHIR standard could be useful when querying for current medication.
For Option 2, this would mean each consuming system would deturmine what is deemded 'current', ideally based on the FCI publication, but would allow different systems in different care settings to use their own definition of 'current'. The FHIR standard includes various ways to [search](https://hl7.org/fhir/search.html) for resources. The following search parameters for these resources defined within the FHIR standard could be useful when querying for current medication.

**MedicationStatement**
- subject[patient].identifier
Expand Down Expand Up @@ -99,7 +100,7 @@ For example;
GET [base]/MedicationDispense?patient:identifier=https://fhir.nhs.uk/Id/nhs-number|123543254&status=active,complete&whenPrepared=ge2020-05-11
```

#### Option: **What type FHIR resources are returned?**
#### What type FHIR resources are returned?

There are four architectural options for which FHIR resources are returned:

Expand Down

Large diffs are not rendered by default.

Binary file modified ImplementationGuideforDigitalMedicines/export.zip
Binary file not shown.

0 comments on commit 477172e

Please sign in to comment.