agreenhalgh / spine-eps-tracker

https://nhsconnect.github.io/spine-eps-tracker/
Apache License 2.0
0 stars 0 forks source link

Incorrect example for detail search response #9

Closed agreenhalgh closed 5 years ago

agreenhalgh commented 5 years ago

valid example:

{
   "statusCode" : "0",
   "reason" : "",
   "prescriptions" : {
      "611843-C81007-00001F" : {
         "prescriptionIssueDate" : "20181031121000",
         "prescriptionTreatmentType" : "Repeat Prescribing",
         "prescriptionStatus" : "Claimed",
         "pendingCancellations" : "False",
         "repeatInstance" : {
            "totalAuthorised" : "1",
            "currentIssue" : "1"
         },
         "lastEventDate" : "20190121163722",
         "patientNhsNumber" : "9651614498",
         "lineItems" : {
            "7983C385-B882-E99C-E050-D20AE3A22DF1" : "Sodium bicarbonate 5% ear drops",
            "7983C385-B87D-E99C-E050-D20AE3A22DF1" : "Oilatum Emollient (GlaxoSmithKline Consumer Healthcare)",
            "7983C385-B878-E99C-E050-D20AE3A22DF1" : "Bydureon 2mg powder and solvent for prolonged-release suspension for injection pre-filled pen (AstraZeneca UK Ltd)",
            "7983C385-B873-E99C-E050-D20AE3A22DF1" : "Micronor 350microgram tablets (Janssen-Cilag Ltd)"
         },
         "epsVersion" : "R2"
      },
      "54A9B7-C81007-000014" : {
         "prescriptionTreatmentType" : "Repeat Prescribing",
         "prescriptionIssueDate" : "20180907120900",
         "epsVersion" : "R2",
         "lineItems" : {
            "754B10D1-04E9-3828-E050-D20AE3A22BBD" : "Sodium bicarbonate 5% ear drops",
            "754B10D1-04DA-3828-E050-D20AE3A22BBD" : "Micronor 350microgram tablets (Janssen-Cilag Ltd)",
            "754B10D1-04E4-3828-E050-D20AE3A22BBD" : "Oilatum Emollient (GlaxoSmithKline Consumer Healthcare)",
            "754B10D1-04DF-3828-E050-D20AE3A22BBD" : "Bydureon 2mg powder and solvent for prolonged-release suspension for injection pre-filled pen (AstraZeneca UK Ltd)"
         },
         "patientNhsNumber" : "9651614498",
         "repeatInstance" : {
            "currentIssue" : "1",
            "totalAuthorised" : "1"
         },
         "lastEventDate" : "20190215105008",
         "prescriptionStatus" : "Claimed",
         "pendingCancellations" : "False"
      }
   },
   "version" : "1"
}
agreenhalgh commented 5 years ago

fixed