Git Product home page Git Product logo

Comments (5)

SimonFarrowNHS avatar SimonFarrowNHS commented on July 18, 2024

See acute meds for last 12 months for patient 2 Mike Meakin
There is a medication (Tramadol 5-0mg capsules) with a start date of 26/4/2018 not end dated so this is classified as current.

from gpconnect-demonstrator.

SimonFarrowNHS avatar SimonFarrowNHS commented on July 18, 2024

See email from 14/7/2021 from MH which refers to 1.2.7

from gpconnect-demonstrator.

SimonFarrowNHS avatar SimonFarrowNHS commented on July 18, 2024

I have deleted confusing 0.7 comments that actually refer to #372

from gpconnect-demonstrator.

SimonFarrowNHS avatar SimonFarrowNHS commented on July 18, 2024

MH Email:

Done a few requests in the swagger and it looks to me like the filtering is against the last issued date extension on the medicationStatement (or something which holds the same date as that).

Looking at Sertraline it has the following

{
  "resource": {
    "resourceType": "MedicationStatement",
    "id": "1",
    "meta": {
      "profile": [
        https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationStatement-1
      ]
    },
    "extension": [
      {
        "url": https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationStatementLastIssueDate-1,
        "valueDateTime": "2018-08-17"

That same element for Lantus is 27/8 and it is 29/8 for the other three meds.

Search date of 17/8 returns all meds
Search date of 18/8 returns four meds (sertraline missing)
Search date of 27/8 as above
Search date of 28/8 returns 3 meds (lantus is not missing)
Search date of 29/8 as above
Search date of 30/8 no meds

So consumer can search by date and get different meds back as a result, but it probably doesnโ€™t conform to the actual spec detail of the search criteria as Medicus have pointed out (there are other issues with the data too, such as active meds with end dates)

from gpconnect-demonstrator.

SimonFarrowNHS avatar SimonFarrowNHS commented on July 18, 2024

Amended to just check start and end dates not last issued etc
Monthly autoincrement of meds dates now implemented

from gpconnect-demonstrator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.