From 2ff0643de0b46d236da98f6bc1bd9904ed2b33b0 Mon Sep 17 00:00:00 2001 From: hospel Date: Thu, 28 Sep 2023 13:42:16 +0100 Subject: [PATCH 01/20] adding RCMR_IN030000UK07 test --- .../pss/translator/EhrExtractHandlingIT.java | 24 +- .../xml/RCMR_IN030000UK07/ebxml_part.xml | 34 + .../xml/RCMR_IN030000UK07/payload_part.xml | 19626 ++++++++++++++++ .../service/BundleMapperService.java | 83 + .../service/FailedProcessHandlingService.java | 11 + .../service/NackAckPreparationService.java | 34 + .../task/EhrExtractMessageHandler.java | 73 +- .../task/MhsQueueMessageHandler.java | 5 + .../translator/util/XmlParseUtilService.java | 44 + .../task/EhrExtractMessageHandlerTest.java | 6 +- .../main/java/org/hl7/v3/ObjectFactory.java | 6 + .../v3/RCMRIN030000UK07ControlActEvent.java | 355 + .../org/hl7/v3/RCMRIN030000UK07Message.java | 456 + .../org/hl7/v3/RCMRIN030000UK07Subject.java | 262 + .../resources/schema/RCMR_IN030000UK07.xsd | 1890 ++ .../test/resources/xml/RCMR_IN030000UK07.xml | 19626 ++++++++++++++++ 16 files changed, 42526 insertions(+), 9 deletions(-) create mode 100644 gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/ebxml_part.xml create mode 100644 gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part.xml create mode 100644 schema/src/main/java/org/hl7/v3/RCMRIN030000UK07ControlActEvent.java create mode 100644 schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Message.java create mode 100644 schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Subject.java create mode 100644 schema/src/main/resources/schema/RCMR_IN030000UK07.xsd create mode 100644 schema/src/test/resources/xml/RCMR_IN030000UK07.xml diff --git a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java index e4dfdccc1..05c1b2bd1 100644 --- a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java +++ b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java @@ -2,6 +2,7 @@ import static org.assertj.core.api.Assertions.fail; import static org.awaitility.Awaitility.await; +import static org.awaitility.Awaitility.waitAtMost; import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; import static uk.nhs.adaptors.common.util.FileUtil.readResourceAsString; @@ -11,6 +12,7 @@ import java.io.PrintWriter; import java.nio.charset.StandardCharsets; +import java.time.Duration; import java.util.List; import java.util.Locale; import java.util.UUID; @@ -20,6 +22,7 @@ import org.hl7.fhir.dstu3.model.Bundle; import org.json.JSONException; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.skyscreamer.jsonassert.Customization; @@ -107,7 +110,7 @@ public void setUp() { @Test public void handleEhrExtractFromQueue() throws JSONException { // process starts with consuming a message from MHS queue - sendInboundMessageToQueue("/xml/RCMR_IN030000UK06/payload_part.xml"); + sendInboundMessageToQueue("/xml/RCMR_IN030000UK06/payload_part.xml", EBXML_PART_PATH); // wait until EHR extract is translated to bundle resource and saved to the DB await().until(this::isEhrMigrationCompleted); @@ -116,6 +119,19 @@ public void handleEhrExtractFromQueue() throws JSONException { verifyBundle("/json/expectedBundle.json"); } + @Test + public void handleEhrExtractWithConfidentialityCodeFromQueue() throws JSONException { + final String EBXML_PART_PATH = "/xml/RCMR_IN030000UK07/ebxml_part.xml"; + // process starts with consuming a message from MHS queue + sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part.xml", EBXML_PART_PATH); + + // wait until EHR extract is translated to bundle resource and saved to the DB + waitAtMost(Duration.ofSeconds(250)).until(this::isEhrMigrationCompleted); + + // verify generated bundle resource + verifyBundle("/json/expectedBundle.json"); + } + private void startPatientMigrationJourney() { patientMigrationRequestDao.addNewRequest(patientNhsNumber, conversationId, LOSING_ODS_CODE, WINNING_ODS_CODE); migrationStatusLogService.addMigrationStatusLog(EHR_EXTRACT_REQUEST_ACCEPTED, conversationId, null); @@ -129,12 +145,12 @@ private String generateConversationId() { return UUID.randomUUID().toString(); } - private void sendInboundMessageToQueue(String payloadPartPath) { - var inboundMessage = createInboundMessage(payloadPartPath); + private void sendInboundMessageToQueue(String payloadPartPath, String EBXML_PART_PATH) { + var inboundMessage = createInboundMessage(payloadPartPath, EBXML_PART_PATH); mhsJmsTemplate.send(session -> session.createTextMessage(parseMessageToString(inboundMessage))); } - private InboundMessage createInboundMessage(String payloadPartPath) { + private InboundMessage createInboundMessage(String payloadPartPath, String EBXML_PART_PATH) { var inboundMessage = new InboundMessage(); var payload = readResourceAsString(payloadPartPath).replace(NHS_NUMBER_PLACEHOLDER, patientNhsNumber); var ebXml = readResourceAsString(EBXML_PART_PATH).replace(CONVERSATION_ID_PLACEHOLDER, conversationId); diff --git a/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/ebxml_part.xml b/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/ebxml_part.xml new file mode 100644 index 000000000..a0a7d3243 --- /dev/null +++ b/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/ebxml_part.xml @@ -0,0 +1,34 @@ + + + + + YGM24-820388 + + + B86041-822103 + + e06af803674408a9d8e8 + {{conversationId}} + urn:nhs:names:services:gp2gp + RCMR_IN030000UK07 + + 31FA3430-6E88-11EA-9384-E83935108FD5 + 2020-03-25T11:03:02Z + 2020-03-25T15:13:02Z + + always + + + + + + + + + + + 31B75ED0-6E88-11EA-9384-E83935108FD5_patient-attachment.txt.txt + + + + \ No newline at end of file diff --git a/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part.xml b/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part.xml new file mode 100644 index 000000000..d8629f77b --- /dev/null +++ b/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part.xml @@ -0,0 +1,19626 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unknown + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + + + + + + + General Medical Practitioner + + + + Mr + NHS + Test + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + Fulford Grange + Micklefield Lane + Rawdon + Rawdon + Leeds + LS19 6BA + + + + + + + + + Clerical Worker + + + + Dr + Peter + Whitcombe + + + + National + + + + + + + + + Clerical Worker + + + + Dr + David + McAvenue + + + + National + + + + + + + + + General Medical Practitioner + + + + Dr + Peter + Whitcombe + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + Fulford Grange + Micklefield Lane + Rawdon + Rawdon + Leeds + LS19 6BA + + + + + + + + + Unknown + + + + External User + + + + National + + + + + + + + + General Medical Practitioner + + + + Dr + David + McAvenue + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + Fulford Grange + Micklefield Lane + Rawdon + Rawdon + Leeds + LS19 6BA + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Inactive Diary Entry + Medication review + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + Some example text + + + + + + + Absent Attachment + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + Test request statement text + New line + + +
+ + + Routine + + + + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + +
+ + + + + + + + Significance : Major + Episodicity : First + This is problem Problem Info: Problem Notes: This is problem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + +
+ + + + + + + + Significance : Major + Episodicity : Review + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + This is just a consultation to test issue of previous courses via consultations + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 56 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 repeat + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + This is a note + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the generic acute for 22047 + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + m + + + + + Expected Supply Duration: 28 day + + + + + + + not applicable + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + Expected Supply Duration: 28 day + + + + + + + For Subcutaneous Injection, According To Requirements + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + For Subcutaneous Injection, According To Requirements + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + For Subcutaneous Injection, According To Requirements + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + 1 to be taken 3 times a day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + 1 to be taken 3 times a day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + Expected Supply Duration: 28 day + + + + + + + 1 + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + 1 + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Oxygen Composite cylinder with integral headset 1360 litres + + + + + + + + + + + + + + + + + cylinder + + + + + Expected Supply Duration: 28 day + + + + + + + As and when required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Oxygen Composite cylinder with integral headset 1360 litres + + + + + + + + + + + + + cylinder + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + As and when required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gram + + + + + Expected Supply Duration: 28 day + + + + + + + Apply When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + zzzzzss + + + + + + + + + + + zzzzzss + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Prescribing Error + + + + + + + + + + + Prescribing Error + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Paracetamol Caplets 500 mg + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes + + + + + + + + + Patient no longer requires these + + + + + + + + + + + Patient no longer requires these + + + + + + + Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Paracetamol Caplets 500 mg + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes + + + + + + + Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Clinical Contra-indication + + + + + + + + + + + Clinical Contra-indication + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some more pharmacy information + + + + + + + 1 Tablet to be taken with food once per day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some more pharmacy information + + + + + + + 1 Tablet to be taken with food once per day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Ferrous sulphate 200mg tablets + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Ferrous sulphate 200mg tablets + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some pharmacy Information + + + + + + + One To Be Taken With Breakfast, Lunch And Evening Meal + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some pharmacy Information + + + + + + + One To Be Taken With Breakfast, Lunch And Evening Meal + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 6 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 7 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 8 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 9 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 10 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:This is a pharmacy information note for Cilazapril + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is a pharmacy information note for Cilazapril + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 28 day + + + + + + + Two Sprays To Be Used In Each Nostril Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) + + + + + + + + + + + + + dose + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Two Sprays To Be Used In Each Nostril Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Nasonex 50micrograms/dose nasal spray (Merck Sharp & Dohme Ltd) + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 28 day + + + + + + + Two Sprays To Be Used In Each Nostril Once A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + + + + + gram + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Allergy + + + + + + + + + + + Allergy + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day + + + + + + + + + Adverse reaction to Central Nervous System Drugs (allergy) + + + + + + + + + + + Adverse reaction to Central Nervous System Drugs (allergy) + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Berkolol Tablets 10 mg + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + nmkljkljllk + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 23 day + + + + + + + + + Alergy + + + + + + + + + + + Alergy + + + + + + + One Puff To Be Inhaled When Needed (Not More Than Once Daily) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 34 day + + + + + + + One To Be Taken Three Times A Day Twenty Minutes Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 34 day + + + + + + + One To Be Taken Three Times A Day Twenty Minutes Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day Notes: Prescriber Notes:This is the restart + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day Notes: Prescriber Notes:Issue number 1 This is the restart + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day + + + + + + + + + kjhkjkjhjkjkj + + + + + + + + + + + kjhkjkjhjkjkj + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gram + + + + + Expected Supply Duration: 28 day + + + + + + + Apply To The Affected Eye(s) At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply To The Affected Eye(s) At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + + + Adverse reaction to Prednisolone (Fat, John said) + + + + + + + + + + + Adverse reaction to Prednisolone (Fat, John said) + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 This is the pharmacy message on print Patient Notes:Issue number 2 This is the patient message on print + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + Two To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + Two To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Two To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 100 day + + + + + + + One Puff To Be Inhaled Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + + + + + + Expected Supply Duration: 100 day + + + + + + + One Puff To Be Inhaled Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Acute Ph I Patient Notes:Acute Pa I + + + + + + + One To Be Taken Each Day With Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Acute Ph I Patient Notes:Issue number 1 Acute Pa I + + + + + + + One To Be Taken Each Day With Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 19 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 19 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:This is PT Patient Notes:This is PI + + + + + + + One To Be Taken Each Morning Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is PT Patient Notes:Issue number 1 This is PI + + + + + + + One To Be Taken Each Morning Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate Patient Notes:Issue number 1 yutyuhyfhf + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 63 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 63 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 84 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 84 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 5 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 56 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning Before Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Out of Hours + + + + + + + One To Be Taken Each Morning Before Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 3 day + + + + + + + Six To Be Taken Each Morning As A Single Dose + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 3 day + + + + + + + Six To Be Taken Each Morning As A Single Dose + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 3 day + + + + + + + Six To Be Taken Each Morning As A Single Dose + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Clinical Grounds + + + + + + + + + + + Clinical Grounds + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This was set to 'Private' in application rather than at issue time + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private and 'Hospital' + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private record for notes + + + + + + + One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Xalatan 50micrograms/ml eye drops (Pfizer Ltd) + + + + + + + + + + + + + + + + + ml + + + + + Expected Supply Duration: 28 day + + + + + + + One Drop To Be Used At Night In The Affected Eye(s) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Xalatan 50micrograms/ml eye drops (Pfizer Ltd) + + + + + + + + + + + + + ml + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private Handwritten + + + + + + + One Drop To Be Used At Night In The Affected Eye(s) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private PrintedScript Non EPS + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is the OTC + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + GP Surgery + + + + + + + + + + + + + + Test Location + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + capsule + + + + + 1 + + + + + 2 + + + + + 3 + + + + + + + + + + + + + tablet(s) + + + + + + + + + + + + TAKE ONE DAILY + + + + + + + + + + + + + + + + + + + + + + Primary Source: true Location: EMIS Test Practice Location Manufacturer: + another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not + GMS + + + + + + + + + + + + + Some example text + + + + + + + Absent Attachment + + + + + + + + + + + + + Added from a problem within a consultation + + +
+ + + + + + + + + + + + + + + + + + + + + Test request statement text + New line + + + +
+ + + + Routine + + + + + + + + + + + + + + + + + Active Problem, Significant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + O/E - blood pressure reading + + + +
+ + + + + + + Systolic arterial pressure + + + +
+ + + + High Text + + + + mm[Hg] + + + + + Test Range 1 + + + + + + + + + + Test systolic pressure text + + + + + + + + + Diastolic arterial pressure + + + +
+ + + + Low Text + + + + mm[Hg] + + + + + Test Range 2 + + + + + + + + + + Test diastolic pressure text + + + + + + + + Systolic Measurement Absent: Unknown + + + + + + + + + + + + + + + + Some example text + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + Drug Allergy - Apsrin + + + + + + + + + + + + + + +
+ + + + + + + + + High + + + + + Test text 1 + + + + + Age and sex based + + + + + + + + + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + CommentType:LABORATORY RESULT COMMENT(E141) + CommentDate:20030221115000 + + Status: unknown + + + + + + + + + + + +
+ + + + + + + +
+ + + Blood + + + + + + + CommentType:LAB SPECIMEN COMMENT(E271) + CommentDate:20030109000000 + + Received Date: 2003-01-09 13:54 + + + + + + + + + + Mocked code + + + +
+ + + + + + + Mocked code + + + +
+ + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + This is some random free text 1 + + + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + + This is some random free text 2 + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + Notes on the tired all the time entry + + + + + + + + Comments - Aaaargh + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 7 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is 'Handwritten' + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 'Record for Notes' case + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Daily With Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Hospital Issued medication + + + + + + + One To Be Taken Daily With Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning Before Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Prescribing Error + + + + + + + + + + + Prescribing Error + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 14 day + + + + + + + + + Change to Medication Treatment Regime + + + + + + + + + + + Change to Medication Treatment Regime + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 23 day + + + + + + + + + some reason + + + + + + + + + + + some reason + + + + + + + One Puff To Be Inhaled When Needed (Not More Than Once Daily) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + + + Recreate 22047 + + + + + + + + + + + Recreate 22047 + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 issue after switch to generic + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + End course for acute post G -> T switch for 22047 + + + + + + + + + + + End course for acute post G -> T switch for 22047 + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 THis is the acute issue post generic -> proprietary switch for 22047 + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 5 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 5 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + Active Problem, major + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Cetirizine Hydrochloride + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Mebeverine Hydrochloride + + + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Lustral + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Prednisolone + + + +
+ + + + + + Status: Active Fat + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Central Nervous System Drugs + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + O/E - blood pressure reading + + + +
+ + + + + + + Systolic arterial pressure + + + +
+ + + + High Text + + + + mm[Hg] + + + + + Test Range 1 + + + + + + + + + + Test systolic pressure text + + + + + + + + + Diastolic arterial pressure + + + +
+ + + + Low Text + + + + mm[Hg] + + + + + Test Range 2 + + + + + + + + + + Test diastolic pressure text + + + + + + + + Systolic Measurement Absent: Unknown + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + CommentType:LABORATORY RESULT COMMENT(E141) + CommentDate:20100225154100 + + Status: unknown + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Central Nervous System Drugs + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + + + + + + + + +
+ + + + + + + +
+ + + URINE + + + + + + + CommentType:LAB SPECIMEN COMMENT(E271) + CommentDate:20020330092100 + + Received Date: 2002-03-30 09:21 + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:LABORATORY RESULT + COMMENT(E141) + CommentDate:20100223000000 + + NEGATIVE + In normal pregnancies the test will usually be positive from the + second day after the expected menstruation. + + + + + + + + + CommentType:USER COMMENT + CommentDate:20201215151704 + + (q) - Normal - No Action + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + SERUM + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + CommentType:USER COMMENT + CommentDate:20201215151713 + + (q) - Normal - No Action + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + SERUM + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:LABORATORY RESULT + COMMENT(E141) + CommentDate:20100223000000 + + Test not available + + + + + + + + + CommentType:USER COMMENT + CommentDate:20220324124213 + + No action needed + + + + + + + + + + + + + + + + + + GP Surgery + + + + + + + + + + + + + + Test Location + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + capsule + + + + + 1 + + + + + 2 + + + + + 3 + + + + + + + + + + + + + tablet(s) + + + + + + + + + + + + TAKE ONE DAILY + + + + + + + + + + + + + + + + + + + + + + Primary Source: true Location: EMIS Test Practice Location Manufacturer: + another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not + GMS + + + + + + + + + + + + + Some example text + + + + + + + Record Attachment + + + + + + + + + + + + + Added from a problem within a consultation + + +
+ + + + + + + + + + + + + + + + + + + + + Test request statement text + New line + + + +
+ + + + Routine + + + + + + + + + + + + + + + + + Active Problem, Significant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + O/E - blood pressure reading + + + +
+ + + + + + + Systolic arterial pressure + + + +
+ + + + High Text + + + + mm[Hg] + + + + + Test Range 1 + + + + + + + + + + Test systolic pressure text + + + + + + + + + Diastolic arterial pressure + + + +
+ + + + Low Text + + + + mm[Hg] + + + + + Test Range 2 + + + + + + + + + + Test diastolic pressure text + + + + + + + + Systolic Measurement Absent: Unknown + + + + + + + + + + + + + + + + Some example text + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + Drug Allergy - Apsrin + + + + + + + + + + + + + + +
+ + + + + + + + + High + + + + + Test text 1 + + + + + Age and sex based + + + + + + + + + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + CommentType:LABORATORY RESULT COMMENT(E141) + CommentDate:20030221115000 + + Status: unknown + + + + + + + + + + + +
+ + + + + + + +
+ + + Blood + + + + + + + CommentType:LAB SPECIMEN COMMENT(E271) + CommentDate:20030109000000 + + Received Date: 2003-01-09 13:54 + + + + + + + + + + Mocked code + + + +
+ + + + + + + Mocked code + + + +
+ + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + This is some random free text 1 + + + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + + This is some random free text 2 + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:SUPER COMMENT + CommentDate:20220321163025 + + Looks like Covid + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:OTHER COMMENT + CommentDate:20220321162705 + + Or maybe not? + + + + + + + + + CommentType:USER COMMENT + CommentDate:20100223000000 + + This should not be a part of Battery Observation.comment + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + Notes on the tired all the time entry + + + + + + + + Comments - Aaaargh + + + + + + + + + + + +
+ + + + + + + + + + + + + + + Some example text + + + + + + + Record Attachment + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java index feb87fa0f..c9a0ad2a9 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java @@ -22,6 +22,7 @@ import org.hl7.fhir.dstu3.model.Patient; import org.hl7.fhir.dstu3.model.ResourceType; import org.hl7.v3.RCMRIN030000UK06Message; +import org.hl7.v3.RCMRIN030000UK07Message; import org.hl7.v3.RCMRMT030101UK04Component3; import org.hl7.v3.RCMRMT030101UK04EhrExtract; import org.hl7.v3.RCMRMT030101UK04EhrFolder; @@ -87,6 +88,80 @@ public class BundleMapperService { private final SpecimenMapper specimenMapper; private final SpecimenCompoundsMapper specimenCompoundsMapper; + public Bundle mapToBundle(RCMRIN030000UK07Message xmlMessage, String losingPracticeOdsCode, + List attachments) throws BundleMappingException { + try { + + Bundle bundle = generator.generateBundle(); + final RCMRMT030101UK04EhrExtract ehrExtract = getEhrExtract(xmlMessage); + final RCMRMT030101UK04EhrFolder ehrFolder = getEhrFolder(xmlMessage); + + var locations = mapLocations(ehrFolder, losingPracticeOdsCode); + + var agents = mapAgentDirectories(ehrFolder); + var patient = mapPatient(getEhrExtract(xmlMessage), getPatientOrganization(agents)); + addEntry(bundle, patient); + + Organization authorOrg = organizationMapper.mapAuthorOrganization(losingPracticeOdsCode, agents); + if (documentReferenceMapper.hasDocumentReferences(ehrExtract) && organisationIsNotDuplicate(authorOrg, agents)) { + addEntry(bundle, authorOrg); + } + addEntries(bundle, agents); + + var mappedEncounterEhrCompositions = mapEncounters(ehrExtract, patient, losingPracticeOdsCode, locations); + var encounters = handleMappedEncounterResources(mappedEncounterEhrCompositions, bundle); + + addEntries(bundle, locations); + + var procedureRequests = procedureRequestMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + addEntries(bundle, procedureRequests); + + var referralRequests = referralRequestMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + addEntries(bundle, referralRequests); + + var medicationResources = medicationRequestMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + addEntries(bundle, medicationResources); + + var bloodPressures = bloodPressureMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + addEntries(bundle, bloodPressures); + + var observations = observationMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + addEntries(bundle, observations); + + var immunizations = immunizationMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + addEntries(bundle, immunizations); + + var conditions = conditionMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + addEntries(bundle, conditions); + + var observationComments = observationCommentMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + + var documentReferences = documentReferenceMapper.mapResources(ehrExtract, patient, encounters, authorOrg, attachments); + addEntries(bundle, documentReferences); + + var templates = templateMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + addEntries(bundle, templates); + + var allergyIntolerances = allergyIntoleranceMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); + addEntries(bundle, allergyIntolerances); + + mapDiagnosticReports(bundle, ehrExtract, patient, encounters, observations, observationComments, losingPracticeOdsCode); + + conditionMapper.addReferences(bundle, conditions, ehrExtract); + conditionMapper.addHierarchyReferencesToConditions(conditions, ehrExtract); + unknownPractitionerHandler.updateUnknownPractitionersRefs(bundle); + templateMapper.addReferences(templates, observations, ehrExtract); + + + LOGGER.debug("Mapped Bundle with [{}] entries", bundle.getEntry().size()); + + return bundle; + } catch (Exception e) { + e.printStackTrace(); + throw new BundleMappingException(e.getMessage()); + } + } + public Bundle mapToBundle(RCMRIN030000UK06Message xmlMessage, String losingPracticeOdsCode, List attachments) throws BundleMappingException { try { @@ -247,10 +322,18 @@ private RCMRMT030101UK04EhrFolder getEhrFolder(RCMRIN030000UK06Message xmlMessag return xmlMessage.getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); } + private RCMRMT030101UK04EhrFolder getEhrFolder(RCMRIN030000UK07Message xmlMessage) { + return xmlMessage.getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); + } + private RCMRMT030101UK04EhrExtract getEhrExtract(RCMRIN030000UK06Message xmlMessage) { return xmlMessage.getControlActEvent().getSubject().getEhrExtract(); } + private RCMRMT030101UK04EhrExtract getEhrExtract(RCMRIN030000UK07Message xmlMessage) { + return xmlMessage.getControlActEvent().getSubject().getEhrExtract(); + } + private void addEntries(Bundle bundle, Collection resources) { resources.forEach(it -> addEntry(bundle, it)); } diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java index 998802c6e..733f8cf36 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java @@ -26,6 +26,7 @@ import org.hl7.v3.COPCIN000001UK01Message; import org.hl7.v3.RCMRIN030000UK06Message; +import org.hl7.v3.RCMRIN030000UK07Message; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -93,6 +94,16 @@ public void handleFailedProcess(RCMRIN030000UK06Message ehrExtractMessage, Strin sendNACKMessageHandler.prepareAndSendMessage(nackMessageData); } + public void handleFailedProcess(RCMRIN030000UK07Message ehrExtractMessage, String conversationId) { + LOGGER.info("Received EHR Extract [Message ID: {}] but the transfer process has already failed. " + + "Responding with NACK for unexpected condition.", ehrExtractMessage.getId().getRoot()); + + var nackMessageData = nackAckPreparationService + .prepareNackMessageData(UNEXPECTED_CONDITION, ehrExtractMessage, conversationId); + + sendNACKMessageHandler.prepareAndSendMessage(nackMessageData); + } + public void handleFailedProcess(COPCIN000001UK01Message copcMessage, String conversationId) { var migrationStatus = getMigrationStatus(conversationId); diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java index 6073cd0bc..083a2734a 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java @@ -5,6 +5,7 @@ import org.hl7.v3.COPCIN000001UK01Message; import org.hl7.v3.RCMRIN030000UK06Message; +import org.hl7.v3.RCMRIN030000UK07Message; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -107,6 +108,25 @@ public NACKMessageData prepareNackMessageData(NACKReason reason, RCMRIN030000UK0 .build(); } + public NACKMessageData prepareNackMessageData(NACKReason reason, RCMRIN030000UK07Message payload, + String conversationId) { + + String toOdsCode = XmlParseUtilService.parseToOdsCode(payload); + String messageRef = XmlParseUtilService.parseMessageRef(payload); + String toAsid = XmlParseUtilService.parseToAsid(payload); + String fromAsid = XmlParseUtilService.parseFromAsid(payload); + String nackCode = reason.getCode(); + + return NACKMessageData.builder() + .conversationId(conversationId) + .nackCode(nackCode) + .toOdsCode(toOdsCode) + .messageRef(messageRef) + .toAsid(toAsid) + .fromAsid(fromAsid) + .build(); + } + public NACKMessageData prepareNackMessageData(NACKReason reason, COPCIN000001UK01Message payload, String conversationId) { @@ -140,6 +160,20 @@ public boolean sendNackMessage(NACKReason reason, RCMRIN030000UK06Message payloa )); } + public boolean sendNackMessage(NACKReason reason, RCMRIN030000UK07Message payload, String conversationId) { + + LOGGER.debug("Sending NACK message with acknowledgement code [{}] for message EHR Extract message [{}]", reason.getCode(), + payload.getId().getRoot()); + + migrationStatusLogService.addMigrationStatusLog(reason.getMigrationStatus(), conversationId, null); + + return sendNACKMessageHandler.prepareAndSendMessage(prepareNackMessageData( + reason, + payload, + conversationId + )); + } + public boolean sendNackMessage(NACKReason reason, COPCIN000001UK01Message payload, String conversationId) { LOGGER.debug("Sending NACK message with acknowledgement code [{}] for message COPC message [{}]", reason.getCode(), diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java index e29be95b1..458ad6358 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java @@ -7,6 +7,7 @@ import lombok.extern.slf4j.Slf4j; import org.hl7.v3.RCMRIN030000UK06Message; +import org.hl7.v3.RCMRIN030000UK07Message; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.w3c.dom.Document; @@ -83,7 +84,7 @@ public void handleMessage(InboundMessage inboundMessage, String conversationId) ParseException, SAXException, TransformerException, UnsupportedFileTypeException { - RCMRIN030000UK06Message payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK06Message.class); + RCMRIN030000UK07Message payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK07Message.class); PatientMigrationRequest migrationRequest = migrationRequestDao.getMigrationRequest(conversationId); MigrationStatusLog migrationStatusLog = migrationStatusLogService.getLatestMigrationStatusLog(conversationId); @@ -188,7 +189,7 @@ private void processAndCompleteEHRMessage(InboundMessage inboundMessage, var attachments = patientAttachmentLogService.findAttachmentLogs(conversationId); // now we have the transformed payload, lets create our bundle - var payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK06Message.class); + var payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK07Message.class); var bundle = bundleMapperService.mapToBundle(payload, migrationRequest.getLosingPracticeOdsCode(), attachments); // update the db migration request @@ -236,6 +237,39 @@ private void processExternalAttachmentsAndSendContinueMessage(InboundMessage inb ); } + private void processExternalAttachmentsAndSendContinueMessage(InboundMessage inboundMessage, + PatientMigrationRequest migrationRequest, MigrationStatusLog migrationStatusLog, + RCMRIN030000UK07Message payload, String conversationId, String messageId) + throws ParseException, JsonProcessingException { + + for (InboundMessage.ExternalAttachment externalAttachment: inboundMessage.getExternalAttachments()) { + PatientAttachmentLog patientAttachmentLog; + + if (patientAttachmentLogService.findAttachmentLog(externalAttachment.getMessageId(), conversationId) == null) { + //save COPC_UK01 messages + patientAttachmentLog = buildPatientAttachmentLogFromExternalAttachment(migrationRequest, externalAttachment); + patientAttachmentLogService.addAttachmentLog(patientAttachmentLog); + } + } + + migrationStatusLogService.updatePatientMigrationRequestAndAddMigrationStatusLog( + conversationId, + null, + objectMapper.writeValueAsString(inboundMessage), + EHR_EXTRACT_PROCESSING, + messageId + ); + + String patientNhsNumber = XmlParseUtilService.parseNhsNumber(payload); + sendContinueRequest( + payload, + conversationId, + patientNhsNumber, + migrationRequest.getWinningPracticeOdsCode(), + migrationStatusLog.getDate().toInstant() + ); + } + // Parent MID should be null against an EHR message so that they are not detected in the merge process private PatientAttachmentLog buildPatientAttachmentLogFromAttachment( String messageId, @@ -312,6 +346,18 @@ public void sendContinueRequest( ); } + public void sendContinueRequest( + RCMRIN030000UK07Message payload, + String conversationId, + String patientNhsNumber, + String winningPracticeOdsCode, + Instant mcciIN010000UK13creationTime + ) { + sendContinueRequestHandler.prepareAndSendRequest( + prepareContinueRequestData(payload, conversationId, patientNhsNumber, winningPracticeOdsCode, mcciIN010000UK13creationTime) + ); + } + private ContinueRequestData prepareContinueRequestData( RCMRIN030000UK06Message payload, String conversationId, @@ -335,6 +381,29 @@ private ContinueRequestData prepareContinueRequestData( .build(); } + private ContinueRequestData prepareContinueRequestData( + RCMRIN030000UK07Message payload, + String conversationId, + String patientNhsNumber, + String winningPracticeOdsCode, + Instant mcciIN010000UK13creationTime + ) { + var fromAsid = XmlParseUtilService.parseFromAsid(payload); + var toAsid = XmlParseUtilService.parseToAsid(payload); + var toOdsCode = XmlParseUtilService.parseToOdsCode(payload); + var mcciIN010000UK13creationTimeToHl7Format = DateFormatUtil.toHl7Format(mcciIN010000UK13creationTime); + + return ContinueRequestData.builder() + .conversationId(conversationId) + .nhsNumber(patientNhsNumber) + .fromAsid(fromAsid) + .toAsid(toAsid) + .toOdsCode(toOdsCode) + .fromOdsCode(winningPracticeOdsCode) + .mcciIN010000UK13creationTime(mcciIN010000UK13creationTimeToHl7Format) + .build(); + } + private Document getEbXmlDocument(InboundMessage inboundMessage) throws SAXException { return xPathService.parseDocumentFromXml(inboundMessage.getEbXML()); } diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java index 5759d0c88..a8ad9a3ce 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java @@ -7,6 +7,8 @@ import javax.xml.bind.JAXBException; import javax.xml.transform.TransformerException; +import org.hl7.v3.RCMRIN030000UK06Message; +import org.hl7.v3.RCMRIN030000UK07Message; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.w3c.dom.Document; @@ -40,6 +42,7 @@ @RequiredArgsConstructor(onConstructor = @__(@Autowired)) public class MhsQueueMessageHandler { private static final String EHR_EXTRACT_INTERACTION_ID = "RCMR_IN030000UK06"; + private static final String EHR_EXTRACT_INTERACTION_ID07 = "RCMR_IN030000UK07"; private static final String ACKNOWLEDGEMENT_INTERACTION_ID = "MCCI_IN010000UK13"; private static final String CONTINUE_ATTACHMENT_INTERACTION_ID = "COPC_IN000001UK01"; private static final String CONVERSATION_ID_PATH = "/Envelope/Header/MessageHeader/ConversationId"; @@ -77,6 +80,8 @@ public boolean handleMessage(Message message) { acknowledgmentMessageHandler.handleMessage(inboundMessage, conversationId); } else if (EHR_EXTRACT_INTERACTION_ID.equals(interactionId)) { ehrExtractMessageHandler.handleMessage(inboundMessage, conversationId); + }else if (EHR_EXTRACT_INTERACTION_ID07.equals(interactionId)) { + ehrExtractMessageHandler.handleMessage(inboundMessage, conversationId); } else if (CONTINUE_ATTACHMENT_INTERACTION_ID.equals(interactionId)) { continueMessageHandler.handleMessage(inboundMessage, conversationId); } else { diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java index b184fc724..21e90a92b 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java @@ -16,6 +16,7 @@ import org.hl7.v3.COPCIN000001UK01Message; import org.hl7.v3.RCMRIN030000UK06Message; +import org.hl7.v3.RCMRIN030000UK07Message; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.w3c.dom.Document; @@ -95,6 +96,17 @@ public static String parseNhsNumber(RCMRIN030000UK06Message payload) { .getExtension(); } + public static String parseNhsNumber(RCMRIN030000UK07Message payload) { + return payload + .getControlActEvent() + .getSubject() + .getEhrExtract() + .getRecordTarget() + .getPatient() + .getId() + .getExtension(); + } + public static String parseFilename(String description) throws ParseException { Pattern pattern = Pattern.compile(FILENAME_PATTERN); Matcher matcher = pattern.matcher(description); @@ -194,6 +206,15 @@ public static String parseFromAsid(RCMRIN030000UK06Message payload) { .getExtension(); } + public static String parseFromAsid(RCMRIN030000UK07Message payload) { + return payload.getCommunicationFunctionRcv() + .get(0) + .getDevice() + .getId() + .get(0) + .getExtension(); + } + public static String parseToAsid(RCMRIN030000UK06Message payload) { return payload.getCommunicationFunctionSnd() .getDevice() @@ -202,6 +223,14 @@ public static String parseToAsid(RCMRIN030000UK06Message payload) { .getExtension(); } + public static String parseToAsid(RCMRIN030000UK07Message payload) { + return payload.getCommunicationFunctionSnd() + .getDevice() + .getId() + .get(0) + .getExtension(); + } + public static String parseToOdsCode(RCMRIN030000UK06Message payload) { return payload.getControlActEvent() .getSubject() @@ -213,10 +242,25 @@ public static String parseToOdsCode(RCMRIN030000UK06Message payload) { .getExtension(); } + public static String parseToOdsCode(RCMRIN030000UK07Message payload) { + return payload.getControlActEvent() + .getSubject() + .getEhrExtract() + .getAuthor() + .getAgentOrgSDS() + .getAgentOrganizationSDS() + .getId() + .getExtension(); + } + public static String parseMessageRef(RCMRIN030000UK06Message payload) { return payload.getId().getRoot(); } + public static String parseMessageRef(RCMRIN030000UK07Message payload) { + return payload.getId().getRoot(); + } + public static String parseFragmentFilename(String description) { try { return Arrays.stream(description.split(" ")) diff --git a/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandlerTest.java b/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandlerTest.java index 05e1f4fb4..8fe6d0013 100644 --- a/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandlerTest.java +++ b/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandlerTest.java @@ -541,8 +541,8 @@ public void When_HandleSingleMessageWithAFilenameDescription_Expect_PatientAttac @Test public void When_HandleLargeMessageWithValidDataIsCalled_Expect_ItShouldNotTranslate() throws JAXBException, BundleMappingException, AttachmentNotFoundException, - ParseException, JsonProcessingException, InlineAttachmentProcessingException, - SAXException, TransformerException, UnsupportedFileTypeException { + ParseException, JsonProcessingException, InlineAttachmentProcessingException, + SAXException, TransformerException, UnsupportedFileTypeException, InstantiationException, IllegalAccessException { Bundle bundle = new Bundle(); bundle.setId("Test"); @@ -565,7 +565,7 @@ public void When_HandleLargeMessageWithValidDataIsCalled_Expect_ItShouldNotTrans prepareMigrationRequestAndMigrationStatusMocks(); ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); - verify(bundleMapperService, times(0)).mapToBundle(any(), any(), any()); + verify(bundleMapperService, times(0)).mapToBundle(RCMRIN030000UK06Message.class.newInstance(), any(), any()); } @Test diff --git a/schema/src/main/java/org/hl7/v3/ObjectFactory.java b/schema/src/main/java/org/hl7/v3/ObjectFactory.java index cfd5abdb2..e74233ebe 100644 --- a/schema/src/main/java/org/hl7/v3/ObjectFactory.java +++ b/schema/src/main/java/org/hl7/v3/ObjectFactory.java @@ -28,6 +28,7 @@ public class ObjectFactory { private final static QName _EhrExtract_QNAME = new QName("urn:hl7-org:v3", "EhrExtract"); private final static QName _Message_QNAME = new QName("urn:hl7-org:v3", "Message"); private final static QName _RCMRIN030000UK06_QNAME = new QName("urn:hl7-org:v3", "RCMR_IN030000UK06"); + private final static QName _RCMRIN030000UK07_QNAME = new QName("urn:hl7-org:v3", "RCMR_IN030000UK07"); private final static QName _COPCIN000001UK01_QNAME = new QName("urn:hl7-org:v3", "COPC_IN000001UK01"); private final static QName _IVLINTLow_QNAME = new QName("urn:hl7-org:v3", "low"); private final static QName _IVLINTHigh_QNAME = new QName("urn:hl7-org:v3", "high"); @@ -1840,6 +1841,11 @@ public JAXBElement createRCMRIN030000UK06(RCMRIN030000U return new JAXBElement(_RCMRIN030000UK06_QNAME, RCMRIN030000UK06Message.class, null, value); } + @XmlElementDecl(namespace = "urn:hl7-org:v3", name = "RCMR_IN030000UK07") + public JAXBElement createRCMRIN030000UK07(RCMRIN030000UK07Message value) { + return new JAXBElement(_RCMRIN030000UK07_QNAME, RCMRIN030000UK07Message.class, null, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link COPCIN000001UK01Message }{@code >} * diff --git a/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07ControlActEvent.java b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07ControlActEvent.java new file mode 100644 index 000000000..8ea4888da --- /dev/null +++ b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07ControlActEvent.java @@ -0,0 +1,355 @@ + +package org.hl7.v3; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for RCMR_IN030000UK06.ControlActEvent complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * &lt;complexType name="RCMR_IN030000UK06.ControlActEvent"&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="author" type="{urn:hl7-org:v3}MCAI_MT040101UK03.Author" minOccurs="0"/&gt; + * &lt;element name="author1" type="{urn:hl7-org:v3}MCAI_MT040101UK03.Author2" maxOccurs="2"/&gt; + * &lt;element name="reason" type="{urn:hl7-org:v3}MCAI_MT040101UK03.Reason" maxOccurs="unbounded" minOccurs="0"/&gt; + * &lt;element name="subject" type="{urn:hl7-org:v3}RCMR_IN030000UK06.Subject"/&gt; + * &lt;/sequence&gt; + * &lt;attribute name="type" type="{urn:hl7-org:v3}Classes" default="ControlAct" /&gt; + * &lt;attribute name="classCode" type="{urn:hl7-org:v3}ActClass" default="CACT" /&gt; + * &lt;attribute name="moodCode" type="{urn:hl7-org:v3}ActMood" default="EVN" /&gt; + * &lt;attribute name="typeID"&gt; + * &lt;simpleType&gt; + * &lt;list itemType="{urn:hl7-org:v3}oid" /&gt; + * &lt;/simpleType&gt; + * &lt;/attribute&gt; + * &lt;attribute name="realmCode"&gt; + * &lt;simpleType&gt; + * &lt;list itemType="{urn:hl7-org:v3}cs" /&gt; + * &lt;/simpleType&gt; + * &lt;/attribute&gt; + * &lt;attribute name="nullFlavor" type="{urn:hl7-org:v3}cs" /&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RCMR_IN030000UK07.ControlActEvent", propOrder = { + "author", + "author1", + "reason", + "subject" +}) +public class RCMRIN030000UK07ControlActEvent { + + protected MCAIMT040101UK03Author author; + @XmlElement(required = true) + protected List author1; + protected List reason; + @XmlElement(required = true) + protected RCMRIN030000UK07Subject subject; + @XmlAttribute(name = "type") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String type; + @XmlAttribute(name = "classCode") + protected List classCode; + @XmlAttribute(name = "moodCode") + protected List moodCode; + @XmlAttribute(name = "typeID") + protected List typeID; + @XmlAttribute(name = "realmCode") + protected List realmCode; + @XmlAttribute(name = "nullFlavor") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String nullFlavor; + + /** + * Gets the value of the author property. + * + * @return + * possible object is + * {@link MCAIMT040101UK03Author } + * + */ + public MCAIMT040101UK03Author getAuthor() { + return author; + } + + /** + * Sets the value of the author property. + * + * @param value + * allowed object is + * {@link MCAIMT040101UK03Author } + * + */ + public void setAuthor(MCAIMT040101UK03Author value) { + this.author = value; + } + + /** + * Gets the value of the author1 property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the author1 property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAuthor1().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link MCAIMT040101UK03Author2 } + * + * + */ + public List getAuthor1() { + if (author1 == null) { + author1 = new ArrayList(); + } + return this.author1; + } + + /** + * Gets the value of the reason property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the reason property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReason().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link MCAIMT040101UK03Reason } + * + * + */ + public List getReason() { + if (reason == null) { + reason = new ArrayList(); + } + return this.reason; + } + + /** + * Gets the value of the subject property. + * + * @return + * possible object is + * {@link RCMRIN030000UK07Subject } + * + */ + public RCMRIN030000UK07Subject getSubject() { + return subject; + } + + /** + * Sets the value of the subject property. + * + * @param value + * allowed object is + * {@link RCMRIN030000UK07Subject } + * + */ + public void setSubject(RCMRIN030000UK07Subject value) { + this.subject = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "ControlAct"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the classCode property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the classCode property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getClassCode().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getClassCode() { + if (classCode == null) { + classCode = new ArrayList(); + } + return this.classCode; + } + + /** + * Gets the value of the moodCode property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the moodCode property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMoodCode().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getMoodCode() { + if (moodCode == null) { + moodCode = new ArrayList(); + } + return this.moodCode; + } + + /** + * Gets the value of the typeID property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the typeID property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypeID().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getTypeID() { + if (typeID == null) { + typeID = new ArrayList(); + } + return this.typeID; + } + + /** + * Gets the value of the realmCode property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the realmCode property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRealmCode().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getRealmCode() { + if (realmCode == null) { + realmCode = new ArrayList(); + } + return this.realmCode; + } + + /** + * Gets the value of the nullFlavor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNullFlavor() { + return nullFlavor; + } + + /** + * Sets the value of the nullFlavor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNullFlavor(String value) { + this.nullFlavor = value; + } + +} diff --git a/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Message.java b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Message.java new file mode 100644 index 000000000..5e6a555b3 --- /dev/null +++ b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Message.java @@ -0,0 +1,456 @@ + +package org.hl7.v3; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for RCMR_IN030000UK06.Message complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * &lt;complexType name="RCMR_IN030000UK06.Message"&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="id" type="{urn:hl7-org:v3}II"/&gt; + * &lt;element name="creationTime" type="{urn:hl7-org:v3}TS"/&gt; + * &lt;element name="versionCode" type="{urn:hl7-org:v3}CS"/&gt; + * &lt;element name="interactionId" type="{urn:hl7-org:v3}II"/&gt; + * &lt;element name="processingCode" type="{urn:hl7-org:v3}CS"/&gt; + * &lt;element name="processingModeCode" type="{urn:hl7-org:v3}CS"/&gt; + * &lt;element name="acceptAckCode" type="{urn:hl7-org:v3}CS"/&gt; + * &lt;element name="communicationFunctionRcv" type="{urn:hl7-org:v3}MCCI_MT010101UK12.CommunicationFunctionRcv" maxOccurs="unbounded"/&gt; + * &lt;element name="communicationFunctionSnd" type="{urn:hl7-org:v3}MCCI_MT010101UK12.CommunicationFunctionSnd"/&gt; + * &lt;element name="ControlActEvent" type="{urn:hl7-org:v3}RCMR_IN030000UK06.ControlActEvent"/&gt; + * &lt;/sequence&gt; + * &lt;attribute name="type" type="{urn:hl7-org:v3}Classes" default="Message" /&gt; + * &lt;attribute name="typeID"&gt; + * &lt;simpleType&gt; + * &lt;list itemType="{urn:hl7-org:v3}oid" /&gt; + * &lt;/simpleType&gt; + * &lt;/attribute&gt; + * &lt;attribute name="realmCode"&gt; + * &lt;simpleType&gt; + * &lt;list itemType="{urn:hl7-org:v3}cs" /&gt; + * &lt;/simpleType&gt; + * &lt;/attribute&gt; + * &lt;attribute name="nullFlavor" type="{urn:hl7-org:v3}cs" /&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RCMR_IN030000UK07.Message", propOrder = { + "id", + "creationTime", + "versionCode", + "interactionId", + "processingCode", + "processingModeCode", + "acceptAckCode", + "communicationFunctionRcv", + "communicationFunctionSnd", + "controlActEvent" +}) +public class RCMRIN030000UK07Message { + + @XmlElement(required = true) + protected II id; + @XmlElement(required = true) + protected TS creationTime; + @XmlElement(required = true) + protected CS versionCode; + @XmlElement(required = true) + protected II interactionId; + @XmlElement(required = true) + protected CS processingCode; + @XmlElement(required = true) + protected CS processingModeCode; + @XmlElement(required = true) + protected CS acceptAckCode; + @XmlElement(required = true) + protected List communicationFunctionRcv; + @XmlElement(required = true) + protected MCCIMT010101UK12CommunicationFunctionSnd communicationFunctionSnd; + @XmlElement(name = "ControlActEvent", required = true) + protected RCMRIN030000UK07ControlActEvent controlActEvent; + @XmlAttribute(name = "type") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String type; + @XmlAttribute(name = "typeID") + protected List typeID; + @XmlAttribute(name = "realmCode") + protected List realmCode; + @XmlAttribute(name = "nullFlavor") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String nullFlavor; + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link II } + * + */ + public II getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link II } + * + */ + public void setId(II value) { + this.id = value; + } + + /** + * Gets the value of the creationTime property. + * + * @return + * possible object is + * {@link TS } + * + */ + public TS getCreationTime() { + return creationTime; + } + + /** + * Sets the value of the creationTime property. + * + * @param value + * allowed object is + * {@link TS } + * + */ + public void setCreationTime(TS value) { + this.creationTime = value; + } + + /** + * Gets the value of the versionCode property. + * + * @return + * possible object is + * {@link CS } + * + */ + public CS getVersionCode() { + return versionCode; + } + + /** + * Sets the value of the versionCode property. + * + * @param value + * allowed object is + * {@link CS } + * + */ + public void setVersionCode(CS value) { + this.versionCode = value; + } + + /** + * Gets the value of the interactionId property. + * + * @return + * possible object is + * {@link II } + * + */ + public II getInteractionId() { + return interactionId; + } + + /** + * Sets the value of the interactionId property. + * + * @param value + * allowed object is + * {@link II } + * + */ + public void setInteractionId(II value) { + this.interactionId = value; + } + + /** + * Gets the value of the processingCode property. + * + * @return + * possible object is + * {@link CS } + * + */ + public CS getProcessingCode() { + return processingCode; + } + + /** + * Sets the value of the processingCode property. + * + * @param value + * allowed object is + * {@link CS } + * + */ + public void setProcessingCode(CS value) { + this.processingCode = value; + } + + /** + * Gets the value of the processingModeCode property. + * + * @return + * possible object is + * {@link CS } + * + */ + public CS getProcessingModeCode() { + return processingModeCode; + } + + /** + * Sets the value of the processingModeCode property. + * + * @param value + * allowed object is + * {@link CS } + * + */ + public void setProcessingModeCode(CS value) { + this.processingModeCode = value; + } + + /** + * Gets the value of the acceptAckCode property. + * + * @return + * possible object is + * {@link CS } + * + */ + public CS getAcceptAckCode() { + return acceptAckCode; + } + + /** + * Sets the value of the acceptAckCode property. + * + * @param value + * allowed object is + * {@link CS } + * + */ + public void setAcceptAckCode(CS value) { + this.acceptAckCode = value; + } + + /** + * Gets the value of the communicationFunctionRcv property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the communicationFunctionRcv property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getCommunicationFunctionRcv().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link MCCIMT010101UK12CommunicationFunctionRcv } + * + * + */ + public List getCommunicationFunctionRcv() { + if (communicationFunctionRcv == null) { + communicationFunctionRcv = new ArrayList(); + } + return this.communicationFunctionRcv; + } + + /** + * Gets the value of the communicationFunctionSnd property. + * + * @return + * possible object is + * {@link MCCIMT010101UK12CommunicationFunctionSnd } + * + */ + public MCCIMT010101UK12CommunicationFunctionSnd getCommunicationFunctionSnd() { + return communicationFunctionSnd; + } + + /** + * Sets the value of the communicationFunctionSnd property. + * + * @param value + * allowed object is + * {@link MCCIMT010101UK12CommunicationFunctionSnd } + * + */ + public void setCommunicationFunctionSnd(MCCIMT010101UK12CommunicationFunctionSnd value) { + this.communicationFunctionSnd = value; + } + + /** + * Gets the value of the controlActEvent property. + * + * @return + * possible object is + * {@link RCMRIN030000UK06ControlActEvent } + * + */ + public RCMRIN030000UK07ControlActEvent getControlActEvent() { + return controlActEvent; + } + + /** + * Sets the value of the controlActEvent property. + * + * @param value + * allowed object is + * {@link RCMRIN030000UK07ControlActEvent } + * + */ + public void setControlActEvent(RCMRIN030000UK07ControlActEvent value) { + this.controlActEvent = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "Message"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the typeID property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the typeID property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypeID().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getTypeID() { + if (typeID == null) { + typeID = new ArrayList(); + } + return this.typeID; + } + + /** + * Gets the value of the realmCode property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the realmCode property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRealmCode().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getRealmCode() { + if (realmCode == null) { + realmCode = new ArrayList(); + } + return this.realmCode; + } + + /** + * Gets the value of the nullFlavor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNullFlavor() { + return nullFlavor; + } + + /** + * Sets the value of the nullFlavor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNullFlavor(String value) { + this.nullFlavor = value; + } + +} diff --git a/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Subject.java b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Subject.java new file mode 100644 index 000000000..87ace0625 --- /dev/null +++ b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Subject.java @@ -0,0 +1,262 @@ + +package org.hl7.v3; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for RCMR_IN030000UK06.Subject complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * &lt;complexType name="RCMR_IN030000UK06.Subject"&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="EhrExtract" type="{urn:hl7-org:v3}RCMR_MT030101UK04.EhrExtract"/&gt; + * &lt;/sequence&gt; + * &lt;attribute name="type" type="{urn:hl7-org:v3}Classes" default="ActRelationship" /&gt; + * &lt;attribute name="typeCode" type="{urn:hl7-org:v3}ActRelationshipType" default="SUBJ" /&gt; + * &lt;attribute name="contextConductionInd" type="{urn:hl7-org:v3}bl" default="false" /&gt; + * &lt;attribute name="typeID"&gt; + * &lt;simpleType&gt; + * &lt;list itemType="{urn:hl7-org:v3}oid" /&gt; + * &lt;/simpleType&gt; + * &lt;/attribute&gt; + * &lt;attribute name="realmCode"&gt; + * &lt;simpleType&gt; + * &lt;list itemType="{urn:hl7-org:v3}cs" /&gt; + * &lt;/simpleType&gt; + * &lt;/attribute&gt; + * &lt;attribute name="nullFlavor" type="{urn:hl7-org:v3}cs" /&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RCMR_IN030000UK07.Subject", propOrder = { + "ehrExtract" +}) +public class RCMRIN030000UK07Subject { + + @XmlElement(name = "EhrExtract", required = true) + protected RCMRMT030101UK04EhrExtract ehrExtract; + @XmlAttribute(name = "type") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String type; + @XmlAttribute(name = "typeCode") + protected List typeCode; + @XmlAttribute(name = "contextConductionInd") + protected Boolean contextConductionInd; + @XmlAttribute(name = "typeID") + protected List typeID; + @XmlAttribute(name = "realmCode") + protected List realmCode; + @XmlAttribute(name = "nullFlavor") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String nullFlavor; + + /** + * Gets the value of the ehrExtract property. + * + * @return + * possible object is + * {@link RCMRMT030101UK04EhrExtract } + * + */ + public RCMRMT030101UK04EhrExtract getEhrExtract() { + return ehrExtract; + } + + /** + * Sets the value of the ehrExtract property. + * + * @param value + * allowed object is + * {@link RCMRMT030101UK04EhrExtract } + * + */ + public void setEhrExtract(RCMRMT030101UK04EhrExtract value) { + this.ehrExtract = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "ActRelationship"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the typeCode property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the typeCode property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypeCode().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getTypeCode() { + if (typeCode == null) { + typeCode = new ArrayList(); + } + return this.typeCode; + } + + /** + * Gets the value of the contextConductionInd property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isContextConductionInd() { + if (contextConductionInd == null) { + return false; + } else { + return contextConductionInd; + } + } + + /** + * Sets the value of the contextConductionInd property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setContextConductionInd(Boolean value) { + this.contextConductionInd = value; + } + + /** + * Gets the value of the typeID property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the typeID property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypeID().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getTypeID() { + if (typeID == null) { + typeID = new ArrayList(); + } + return this.typeID; + } + + /** + * Gets the value of the realmCode property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the realmCode property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRealmCode().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getRealmCode() { + if (realmCode == null) { + realmCode = new ArrayList(); + } + return this.realmCode; + } + + /** + * Gets the value of the nullFlavor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNullFlavor() { + return nullFlavor; + } + + /** + * Sets the value of the nullFlavor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNullFlavor(String value) { + this.nullFlavor = value; + } + +} diff --git a/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd b/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd new file mode 100644 index 000000000..03143a56f --- /dev/null +++ b/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd @@ -0,0 +1,1890 @@ + + + + Generated using schema builder version: 1.21p12 and DynamicMifToXSD.xsl version: 1.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/schema/src/test/resources/xml/RCMR_IN030000UK07.xml b/schema/src/test/resources/xml/RCMR_IN030000UK07.xml new file mode 100644 index 000000000..d8b906c22 --- /dev/null +++ b/schema/src/test/resources/xml/RCMR_IN030000UK07.xml @@ -0,0 +1,19626 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unknown + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + + + + + + + General Medical Practitioner + + + + Mr + NHS + Test + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + Fulford Grange + Micklefield Lane + Rawdon + Rawdon + Leeds + LS19 6BA + + + + + + + + + Clerical Worker + + + + Dr + Peter + Whitcombe + + + + National + + + + + + + + + Clerical Worker + + + + Dr + David + McAvenue + + + + National + + + + + + + + + General Medical Practitioner + + + + Dr + Peter + Whitcombe + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + Fulford Grange + Micklefield Lane + Rawdon + Rawdon + Leeds + LS19 6BA + + + + + + + + + Unknown + + + + External User + + + + National + + + + + + + + + General Medical Practitioner + + + + Dr + David + McAvenue + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + Fulford Grange + Micklefield Lane + Rawdon + Rawdon + Leeds + LS19 6BA + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Inactive Diary Entry + Medication review + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + Some example text + + + + + + + Absent Attachment + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + Test request statement text + New line + + +
+ + + Routine + + + + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + +
+ + + + + + + + Significance : Major + Episodicity : First + This is problem Problem Info: Problem Notes: This is problem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + +
+ + + + + + + + Significance : Major + Episodicity : Review + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + This is just a consultation to test issue of previous courses via consultations + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 56 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 repeat + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + This is a note + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the generic acute for 22047 + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + m + + + + + Expected Supply Duration: 28 day + + + + + + + not applicable + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + Expected Supply Duration: 28 day + + + + + + + For Subcutaneous Injection, According To Requirements + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + For Subcutaneous Injection, According To Requirements + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + For Subcutaneous Injection, According To Requirements + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + 1 to be taken 3 times a day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + 1 to be taken 3 times a day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + Expected Supply Duration: 28 day + + + + + + + 1 + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + 1 + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Oxygen Composite cylinder with integral headset 1360 litres + + + + + + + + + + + + + + + + + cylinder + + + + + Expected Supply Duration: 28 day + + + + + + + As and when required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Oxygen Composite cylinder with integral headset 1360 litres + + + + + + + + + + + + + cylinder + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + As and when required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gram + + + + + Expected Supply Duration: 28 day + + + + + + + Apply When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + zzzzzss + + + + + + + + + + + zzzzzss + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Prescribing Error + + + + + + + + + + + Prescribing Error + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Paracetamol Caplets 500 mg + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes + + + + + + + + + Patient no longer requires these + + + + + + + + + + + Patient no longer requires these + + + + + + + Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Paracetamol Caplets 500 mg + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes + + + + + + + Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Clinical Contra-indication + + + + + + + + + + + Clinical Contra-indication + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some more pharmacy information + + + + + + + 1 Tablet to be taken with food once per day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some more pharmacy information + + + + + + + 1 Tablet to be taken with food once per day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Ferrous sulphate 200mg tablets + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Ferrous sulphate 200mg tablets + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some pharmacy Information + + + + + + + One To Be Taken With Breakfast, Lunch And Evening Meal + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some pharmacy Information + + + + + + + One To Be Taken With Breakfast, Lunch And Evening Meal + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 6 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 7 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 8 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 9 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 10 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:This is a pharmacy information note for Cilazapril + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is a pharmacy information note for Cilazapril + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 28 day + + + + + + + Two Sprays To Be Used In Each Nostril Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) + + + + + + + + + + + + + dose + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Two Sprays To Be Used In Each Nostril Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Nasonex 50micrograms/dose nasal spray (Merck Sharp & Dohme Ltd) + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 28 day + + + + + + + Two Sprays To Be Used In Each Nostril Once A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + + + + + gram + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Allergy + + + + + + + + + + + Allergy + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day + + + + + + + + + Adverse reaction to Central Nervous System Drugs (allergy) + + + + + + + + + + + Adverse reaction to Central Nervous System Drugs (allergy) + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Berkolol Tablets 10 mg + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + nmkljkljllk + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 23 day + + + + + + + + + Alergy + + + + + + + + + + + Alergy + + + + + + + One Puff To Be Inhaled When Needed (Not More Than Once Daily) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 34 day + + + + + + + One To Be Taken Three Times A Day Twenty Minutes Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 34 day + + + + + + + One To Be Taken Three Times A Day Twenty Minutes Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day Notes: Prescriber Notes:This is the restart + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day Notes: Prescriber Notes:Issue number 1 This is the restart + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day + + + + + + + + + kjhkjkjhjkjkj + + + + + + + + + + + kjhkjkjhjkjkj + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gram + + + + + Expected Supply Duration: 28 day + + + + + + + Apply To The Affected Eye(s) At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply To The Affected Eye(s) At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + + + Adverse reaction to Prednisolone (Fat, John said) + + + + + + + + + + + Adverse reaction to Prednisolone (Fat, John said) + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 This is the pharmacy message on print Patient Notes:Issue number 2 This is the patient message on print + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + Two To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + Two To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Two To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 100 day + + + + + + + One Puff To Be Inhaled Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + + + + + + Expected Supply Duration: 100 day + + + + + + + One Puff To Be Inhaled Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Acute Ph I Patient Notes:Acute Pa I + + + + + + + One To Be Taken Each Day With Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Acute Ph I Patient Notes:Issue number 1 Acute Pa I + + + + + + + One To Be Taken Each Day With Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 19 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 19 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:This is PT Patient Notes:This is PI + + + + + + + One To Be Taken Each Morning Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is PT Patient Notes:Issue number 1 This is PI + + + + + + + One To Be Taken Each Morning Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate Patient Notes:Issue number 1 yutyuhyfhf + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 63 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 63 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 84 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 84 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 5 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 56 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning Before Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Out of Hours + + + + + + + One To Be Taken Each Morning Before Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 3 day + + + + + + + Six To Be Taken Each Morning As A Single Dose + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 3 day + + + + + + + Six To Be Taken Each Morning As A Single Dose + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 3 day + + + + + + + Six To Be Taken Each Morning As A Single Dose + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Clinical Grounds + + + + + + + + + + + Clinical Grounds + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This was set to 'Private' in application rather than at issue time + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private and 'Hospital' + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private record for notes + + + + + + + One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Xalatan 50micrograms/ml eye drops (Pfizer Ltd) + + + + + + + + + + + + + + + + + ml + + + + + Expected Supply Duration: 28 day + + + + + + + One Drop To Be Used At Night In The Affected Eye(s) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Xalatan 50micrograms/ml eye drops (Pfizer Ltd) + + + + + + + + + + + + + ml + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private Handwritten + + + + + + + One Drop To Be Used At Night In The Affected Eye(s) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private PrintedScript Non EPS + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is the OTC + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + GP Surgery + + + + + + + + + + + + + + Test Location + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + capsule + + + + + 1 + + + + + 2 + + + + + 3 + + + + + + + + + + + + + tablet(s) + + + + + + + + + + + + TAKE ONE DAILY + + + + + + + + + + + + + + + + + + + + + + Primary Source: true Location: EMIS Test Practice Location Manufacturer: + another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not + GMS + + + + + + + + + + + + + Some example text + + + + + + + Absent Attachment + + + + + + + + + + + + + Added from a problem within a consultation + + +
+ + + + + + + + + + + + + + + + + + + + + Test request statement text + New line + + + +
+ + + + Routine + + + + + + + + + + + + + + + + + Active Problem, Significant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + O/E - blood pressure reading + + + +
+ + + + + + + Systolic arterial pressure + + + +
+ + + + High Text + + + + mm[Hg] + + + + + Test Range 1 + + + + + + + + + + Test systolic pressure text + + + + + + + + + Diastolic arterial pressure + + + +
+ + + + Low Text + + + + mm[Hg] + + + + + Test Range 2 + + + + + + + + + + Test diastolic pressure text + + + + + + + + Systolic Measurement Absent: Unknown + + + + + + + + + + + + + + + + Some example text + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + Drug Allergy - Apsrin + + + + + + + + + + + + + + +
+ + + + + + + + + High + + + + + Test text 1 + + + + + Age and sex based + + + + + + + + + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + CommentType:LABORATORY RESULT COMMENT(E141) + CommentDate:20030221115000 + + Status: unknown + + + + + + + + + + + +
+ + + + + + + +
+ + + Blood + + + + + + + CommentType:LAB SPECIMEN COMMENT(E271) + CommentDate:20030109000000 + + Received Date: 2003-01-09 13:54 + + + + + + + + + + Mocked code + + + +
+ + + + + + + Mocked code + + + +
+ + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + This is some random free text 1 + + + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + + This is some random free text 2 + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + Notes on the tired all the time entry + + + + + + + + Comments - Aaaargh + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 7 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is 'Handwritten' + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 'Record for Notes' case + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Daily With Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Hospital Issued medication + + + + + + + One To Be Taken Daily With Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning Before Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Prescribing Error + + + + + + + + + + + Prescribing Error + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 14 day + + + + + + + + + Change to Medication Treatment Regime + + + + + + + + + + + Change to Medication Treatment Regime + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 23 day + + + + + + + + + some reason + + + + + + + + + + + some reason + + + + + + + One Puff To Be Inhaled When Needed (Not More Than Once Daily) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + + + Recreate 22047 + + + + + + + + + + + Recreate 22047 + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 issue after switch to generic + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + End course for acute post G -> T switch for 22047 + + + + + + + + + + + End course for acute post G -> T switch for 22047 + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 THis is the acute issue post generic -> proprietary switch for 22047 + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 5 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 5 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + Active Problem, major + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Cetirizine Hydrochloride + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Mebeverine Hydrochloride + + + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Lustral + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Prednisolone + + + +
+ + + + + + Status: Active Fat + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Central Nervous System Drugs + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + O/E - blood pressure reading + + + +
+ + + + + + + Systolic arterial pressure + + + +
+ + + + High Text + + + + mm[Hg] + + + + + Test Range 1 + + + + + + + + + + Test systolic pressure text + + + + + + + + + Diastolic arterial pressure + + + +
+ + + + Low Text + + + + mm[Hg] + + + + + Test Range 2 + + + + + + + + + + Test diastolic pressure text + + + + + + + + Systolic Measurement Absent: Unknown + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + CommentType:LABORATORY RESULT COMMENT(E141) + CommentDate:20100225154100 + + Status: unknown + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Central Nervous System Drugs + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + + + + + + + + +
+ + + + + + + +
+ + + URINE + + + + + + + CommentType:LAB SPECIMEN COMMENT(E271) + CommentDate:20020330092100 + + Received Date: 2002-03-30 09:21 + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:LABORATORY RESULT + COMMENT(E141) + CommentDate:20100223000000 + + NEGATIVE + In normal pregnancies the test will usually be positive from the + second day after the expected menstruation. + + + + + + + + + CommentType:USER COMMENT + CommentDate:20201215151704 + + (q) - Normal - No Action + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + SERUM + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + CommentType:USER COMMENT + CommentDate:20201215151713 + + (q) - Normal - No Action + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + SERUM + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:LABORATORY RESULT + COMMENT(E141) + CommentDate:20100223000000 + + Test not available + + + + + + + + + CommentType:USER COMMENT + CommentDate:20220324124213 + + No action needed + + + + + + + + + + + + + + + + + + GP Surgery + + + + + + + + + + + + + + Test Location + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + capsule + + + + + 1 + + + + + 2 + + + + + 3 + + + + + + + + + + + + + tablet(s) + + + + + + + + + + + + TAKE ONE DAILY + + + + + + + + + + + + + + + + + + + + + + Primary Source: true Location: EMIS Test Practice Location Manufacturer: + another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not + GMS + + + + + + + + + + + + + Some example text + + + + + + + Record Attachment + + + + + + + + + + + + + Added from a problem within a consultation + + +
+ + + + + + + + + + + + + + + + + + + + + Test request statement text + New line + + + +
+ + + + Routine + + + + + + + + + + + + + + + + + Active Problem, Significant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + O/E - blood pressure reading + + + +
+ + + + + + + Systolic arterial pressure + + + +
+ + + + High Text + + + + mm[Hg] + + + + + Test Range 1 + + + + + + + + + + Test systolic pressure text + + + + + + + + + Diastolic arterial pressure + + + +
+ + + + Low Text + + + + mm[Hg] + + + + + Test Range 2 + + + + + + + + + + Test diastolic pressure text + + + + + + + + Systolic Measurement Absent: Unknown + + + + + + + + + + + + + + + + Some example text + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + Drug Allergy - Apsrin + + + + + + + + + + + + + + +
+ + + + + + + + + High + + + + + Test text 1 + + + + + Age and sex based + + + + + + + + + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + CommentType:LABORATORY RESULT COMMENT(E141) + CommentDate:20030221115000 + + Status: unknown + + + + + + + + + + + +
+ + + + + + + +
+ + + Blood + + + + + + + CommentType:LAB SPECIMEN COMMENT(E271) + CommentDate:20030109000000 + + Received Date: 2003-01-09 13:54 + + + + + + + + + + Mocked code + + + +
+ + + + + + + Mocked code + + + +
+ + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + This is some random free text 1 + + + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + + This is some random free text 2 + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:SUPER COMMENT + CommentDate:20220321163025 + + Looks like Covid + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:OTHER COMMENT + CommentDate:20220321162705 + + Or maybe not? + + + + + + + + + CommentType:USER COMMENT + CommentDate:20100223000000 + + This should not be a part of Battery Observation.comment + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + Notes on the tired all the time entry + + + + + + + + Comments - Aaaargh + + + + + + + + + + + +
+ + + + + + + + + + + + + + + Some example text + + + + + + + Record Attachment + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 1f7d0cda19d4f20ed65a535c1661e0c91be2f321 Mon Sep 17 00:00:00 2001 From: hospel Date: Thu, 28 Sep 2023 14:02:53 +0100 Subject: [PATCH 02/20] update to the newer RCMR_MT030101UK05 schema instead of old RCMR_MT030101UK04 --- .../resources/schema/RCMR_IN030000UK07.xsd | 3 +- .../resources/schema/RCMR_MT030101UK05.xsd | 1759 +++++++++++++++++ 2 files changed, 1761 insertions(+), 1 deletion(-) create mode 100644 schema/src/main/resources/schema/RCMR_MT030101UK05.xsd diff --git a/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd b/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd index 03143a56f..a131e6ce0 100644 --- a/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd +++ b/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd @@ -12,6 +12,7 @@ + @@ -131,7 +132,7 @@ - + diff --git a/schema/src/main/resources/schema/RCMR_MT030101UK05.xsd b/schema/src/main/resources/schema/RCMR_MT030101UK05.xsd new file mode 100644 index 000000000..658db3311 --- /dev/null +++ b/schema/src/main/resources/schema/RCMR_MT030101UK05.xsd @@ -0,0 +1,1759 @@ + + + + + + + Generated using schema builder version 1.21p12. + Stylesheets: + + RoseTreeToMIFStaticModel.xsl version: 1.1 + SplitModels.xsl version: 1.1 + AssocInMif.xsl version:1.1 + StaticMifToXsd.xsl version 1.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 151503b2d01a6e95888496c06987bdbcaa2e7992 Mon Sep 17 00:00:00 2001 From: hospel Date: Thu, 28 Sep 2023 14:09:05 +0100 Subject: [PATCH 03/20] removing unused RCMR_MT030101UK04 schema --- schema/src/main/resources/schema/RCMR_IN030000UK07.xsd | 1 - 1 file changed, 1 deletion(-) diff --git a/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd b/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd index a131e6ce0..7b2ea3ed9 100644 --- a/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd +++ b/schema/src/main/resources/schema/RCMR_IN030000UK07.xsd @@ -11,7 +11,6 @@ - From f36633eb0f39174c0e1e95637034eefe19c4b8a4 Mon Sep 17 00:00:00 2001 From: hospel Date: Fri, 29 Sep 2023 12:20:11 +0100 Subject: [PATCH 04/20] code refactoring to remove hard-coded values --- .../service/BundleMapperService.java | 101 +++--------------- .../service/FailedProcessHandlingService.java | 13 +-- .../service/NackAckPreparationService.java | 38 +------ .../task/EhrExtractMessageHandler.java | 96 ++++------------- .../task/MhsQueueMessageHandler.java | 6 +- .../translator/util/XmlParseUtilService.java | 93 ++++++++-------- .../translator/util/XmlUnmarshallUtil.java | 1 + .../task/EhrExtractMessageHandlerTest.java | 56 +++++----- .../task/MhsQueueMessageHandlerTest.java | 7 +- .../org/hl7/v3/RCMRIN030000UK06Message.java | 2 +- .../org/hl7/v3/RCMRIN030000UK07Message.java | 2 +- .../org/hl7/v3/RCMRIN030000UKMessage.java | 10 ++ 12 files changed, 134 insertions(+), 291 deletions(-) create mode 100644 schema/src/main/java/org/hl7/v3/RCMRIN030000UKMessage.java diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java index c9a0ad2a9..978d2473c 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java @@ -23,6 +23,7 @@ import org.hl7.fhir.dstu3.model.ResourceType; import org.hl7.v3.RCMRIN030000UK06Message; import org.hl7.v3.RCMRIN030000UK07Message; +import org.hl7.v3.RCMRIN030000UKMessage; import org.hl7.v3.RCMRMT030101UK04Component3; import org.hl7.v3.RCMRMT030101UK04EhrExtract; import org.hl7.v3.RCMRMT030101UK04EhrFolder; @@ -88,81 +89,7 @@ public class BundleMapperService { private final SpecimenMapper specimenMapper; private final SpecimenCompoundsMapper specimenCompoundsMapper; - public Bundle mapToBundle(RCMRIN030000UK07Message xmlMessage, String losingPracticeOdsCode, - List attachments) throws BundleMappingException { - try { - - Bundle bundle = generator.generateBundle(); - final RCMRMT030101UK04EhrExtract ehrExtract = getEhrExtract(xmlMessage); - final RCMRMT030101UK04EhrFolder ehrFolder = getEhrFolder(xmlMessage); - - var locations = mapLocations(ehrFolder, losingPracticeOdsCode); - - var agents = mapAgentDirectories(ehrFolder); - var patient = mapPatient(getEhrExtract(xmlMessage), getPatientOrganization(agents)); - addEntry(bundle, patient); - - Organization authorOrg = organizationMapper.mapAuthorOrganization(losingPracticeOdsCode, agents); - if (documentReferenceMapper.hasDocumentReferences(ehrExtract) && organisationIsNotDuplicate(authorOrg, agents)) { - addEntry(bundle, authorOrg); - } - addEntries(bundle, agents); - - var mappedEncounterEhrCompositions = mapEncounters(ehrExtract, patient, losingPracticeOdsCode, locations); - var encounters = handleMappedEncounterResources(mappedEncounterEhrCompositions, bundle); - - addEntries(bundle, locations); - - var procedureRequests = procedureRequestMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - addEntries(bundle, procedureRequests); - - var referralRequests = referralRequestMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - addEntries(bundle, referralRequests); - - var medicationResources = medicationRequestMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - addEntries(bundle, medicationResources); - - var bloodPressures = bloodPressureMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - addEntries(bundle, bloodPressures); - - var observations = observationMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - addEntries(bundle, observations); - - var immunizations = immunizationMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - addEntries(bundle, immunizations); - - var conditions = conditionMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - addEntries(bundle, conditions); - - var observationComments = observationCommentMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - - var documentReferences = documentReferenceMapper.mapResources(ehrExtract, patient, encounters, authorOrg, attachments); - addEntries(bundle, documentReferences); - - var templates = templateMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - addEntries(bundle, templates); - - var allergyIntolerances = allergyIntoleranceMapper.mapResources(ehrExtract, patient, encounters, losingPracticeOdsCode); - addEntries(bundle, allergyIntolerances); - - mapDiagnosticReports(bundle, ehrExtract, patient, encounters, observations, observationComments, losingPracticeOdsCode); - - conditionMapper.addReferences(bundle, conditions, ehrExtract); - conditionMapper.addHierarchyReferencesToConditions(conditions, ehrExtract); - unknownPractitionerHandler.updateUnknownPractitionersRefs(bundle); - templateMapper.addReferences(templates, observations, ehrExtract); - - - LOGGER.debug("Mapped Bundle with [{}] entries", bundle.getEntry().size()); - - return bundle; - } catch (Exception e) { - e.printStackTrace(); - throw new BundleMappingException(e.getMessage()); - } - } - - public Bundle mapToBundle(RCMRIN030000UK06Message xmlMessage, String losingPracticeOdsCode, + public Bundle mapToBundle(RCMRIN030000UKMessage xmlMessage, String losingPracticeOdsCode, List attachments) throws BundleMappingException { try { @@ -318,20 +245,20 @@ private Organization getPatientOrganization(List agent .orElse(null); } - private RCMRMT030101UK04EhrFolder getEhrFolder(RCMRIN030000UK06Message xmlMessage) { - return xmlMessage.getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); - } - - private RCMRMT030101UK04EhrFolder getEhrFolder(RCMRIN030000UK07Message xmlMessage) { - return xmlMessage.getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); - } - - private RCMRMT030101UK04EhrExtract getEhrExtract(RCMRIN030000UK06Message xmlMessage) { - return xmlMessage.getControlActEvent().getSubject().getEhrExtract(); + private RCMRMT030101UK04EhrFolder getEhrFolder(RCMRIN030000UKMessage xmlMessage) { + if(xmlMessage instanceof RCMRIN030000UK07Message) { + return ((RCMRIN030000UK07Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); + } else { + return ((RCMRIN030000UK06Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); + } } - private RCMRMT030101UK04EhrExtract getEhrExtract(RCMRIN030000UK07Message xmlMessage) { - return xmlMessage.getControlActEvent().getSubject().getEhrExtract(); + private RCMRMT030101UK04EhrExtract getEhrExtract(RCMRIN030000UKMessage xmlMessage) { + if(xmlMessage instanceof RCMRIN030000UK07Message) { + return ((RCMRIN030000UK07Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract(); + } else { + return ((RCMRIN030000UK06Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract(); + } } private void addEntries(Bundle bundle, Collection resources) { diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java index 733f8cf36..56ccfaedc 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java @@ -27,6 +27,7 @@ import org.hl7.v3.COPCIN000001UK01Message; import org.hl7.v3.RCMRIN030000UK06Message; import org.hl7.v3.RCMRIN030000UK07Message; +import org.hl7.v3.RCMRIN030000UKMessage; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -84,17 +85,7 @@ public boolean hasProcessFailed(String conversationId) { return FAILED_MIGRATION_STATUSES.contains(migrationStatus); } - public void handleFailedProcess(RCMRIN030000UK06Message ehrExtractMessage, String conversationId) { - LOGGER.info("Received EHR Extract [Message ID: {}] but the transfer process has already failed. " - + "Responding with NACK for unexpected condition.", ehrExtractMessage.getId().getRoot()); - - var nackMessageData = nackAckPreparationService - .prepareNackMessageData(UNEXPECTED_CONDITION, ehrExtractMessage, conversationId); - - sendNACKMessageHandler.prepareAndSendMessage(nackMessageData); - } - - public void handleFailedProcess(RCMRIN030000UK07Message ehrExtractMessage, String conversationId) { + public void handleFailedProcess(RCMRIN030000UKMessage ehrExtractMessage, String conversationId) { LOGGER.info("Received EHR Extract [Message ID: {}] but the transfer process has already failed. " + "Responding with NACK for unexpected condition.", ehrExtractMessage.getId().getRoot()); diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java index 083a2734a..f00c64b92 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java @@ -6,6 +6,7 @@ import org.hl7.v3.COPCIN000001UK01Message; import org.hl7.v3.RCMRIN030000UK06Message; import org.hl7.v3.RCMRIN030000UK07Message; +import org.hl7.v3.RCMRIN030000UKMessage; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -89,7 +90,7 @@ private ACKMessageData prepareAckMessageData(COPCIN000001UK01Message payload, } - public NACKMessageData prepareNackMessageData(NACKReason reason, RCMRIN030000UK06Message payload, + public NACKMessageData prepareNackMessageData(NACKReason reason, RCMRIN030000UKMessage payload, String conversationId) { String toOdsCode = XmlParseUtilService.parseToOdsCode(payload); @@ -108,25 +109,6 @@ public NACKMessageData prepareNackMessageData(NACKReason reason, RCMRIN030000UK0 .build(); } - public NACKMessageData prepareNackMessageData(NACKReason reason, RCMRIN030000UK07Message payload, - String conversationId) { - - String toOdsCode = XmlParseUtilService.parseToOdsCode(payload); - String messageRef = XmlParseUtilService.parseMessageRef(payload); - String toAsid = XmlParseUtilService.parseToAsid(payload); - String fromAsid = XmlParseUtilService.parseFromAsid(payload); - String nackCode = reason.getCode(); - - return NACKMessageData.builder() - .conversationId(conversationId) - .nackCode(nackCode) - .toOdsCode(toOdsCode) - .messageRef(messageRef) - .toAsid(toAsid) - .fromAsid(fromAsid) - .build(); - } - public NACKMessageData prepareNackMessageData(NACKReason reason, COPCIN000001UK01Message payload, String conversationId) { @@ -146,7 +128,7 @@ public NACKMessageData prepareNackMessageData(NACKReason reason, COPCIN000001UK0 .build(); } - public boolean sendNackMessage(NACKReason reason, RCMRIN030000UK06Message payload, String conversationId) { + public boolean sendNackMessage(NACKReason reason, RCMRIN030000UKMessage payload, String conversationId) { LOGGER.debug("Sending NACK message with acknowledgement code [{}] for message EHR Extract message [{}]", reason.getCode(), payload.getId().getRoot()); @@ -160,20 +142,6 @@ public boolean sendNackMessage(NACKReason reason, RCMRIN030000UK06Message payloa )); } - public boolean sendNackMessage(NACKReason reason, RCMRIN030000UK07Message payload, String conversationId) { - - LOGGER.debug("Sending NACK message with acknowledgement code [{}] for message EHR Extract message [{}]", reason.getCode(), - payload.getId().getRoot()); - - migrationStatusLogService.addMigrationStatusLog(reason.getMigrationStatus(), conversationId, null); - - return sendNACKMessageHandler.prepareAndSendMessage(prepareNackMessageData( - reason, - payload, - conversationId - )); - } - public boolean sendNackMessage(NACKReason reason, COPCIN000001UK01Message payload, String conversationId) { LOGGER.debug("Sending NACK message with acknowledgement code [{}] for message COPC message [{}]", reason.getCode(), diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java index 458ad6358..37f007fd7 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java @@ -6,8 +6,10 @@ import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; +import org.hl7.fhir.dstu3.model.Bundle; import org.hl7.v3.RCMRIN030000UK06Message; import org.hl7.v3.RCMRIN030000UK07Message; +import org.hl7.v3.RCMRIN030000UKMessage; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.w3c.dom.Document; @@ -74,7 +76,7 @@ public class EhrExtractMessageHandler { private static final String MESSAGE_ID_PATH = "/Envelope/Header/MessageHeader/MessageData/MessageId"; - public void handleMessage(InboundMessage inboundMessage, String conversationId) + public void handleMessage(InboundMessage inboundMessage, String conversationId, Class destinationClass) throws JAXBException, JsonProcessingException, @@ -84,7 +86,7 @@ public void handleMessage(InboundMessage inboundMessage, String conversationId) ParseException, SAXException, TransformerException, UnsupportedFileTypeException { - RCMRIN030000UK07Message payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK07Message.class); + RCMRIN030000UKMessage payload = unmarshallString(inboundMessage.getPayload(), destinationClass); PatientMigrationRequest migrationRequest = migrationRequestDao.getMigrationRequest(conversationId); MigrationStatusLog migrationStatusLog = migrationStatusLogService.getLatestMigrationStatusLog(conversationId); @@ -108,7 +110,7 @@ public void handleMessage(InboundMessage inboundMessage, String conversationId) if (!hasExternalAttachment) { // If there are no external attachments, process the entire message now - processAndCompleteEHRMessage(inboundMessage, conversationId, skeletonCIDAttachmentLog, migrationRequest, messageId); + processAndCompleteEHRMessage(inboundMessage, conversationId, skeletonCIDAttachmentLog, migrationRequest, messageId, destinationClass); } else { //process MID messages and send continue message if external messages exist processExternalAttachmentsAndSendContinueMessage(inboundMessage, @@ -166,7 +168,7 @@ private PatientAttachmentLog processInternalAttachmentsAndReturnSkeletonLog(Inbo private void processAndCompleteEHRMessage(InboundMessage inboundMessage, String conversationId, PatientAttachmentLog skeletonCIDAttachmentLog, - PatientMigrationRequest migrationRequest, String messageId) throws JAXBException, TransformerException, + PatientMigrationRequest migrationRequest, String messageId, Class destinationClass) throws JAXBException, TransformerException, SAXException, AttachmentNotFoundException, InlineAttachmentProcessingException, BundleMappingException, JsonProcessingException { @@ -189,8 +191,14 @@ private void processAndCompleteEHRMessage(InboundMessage inboundMessage, var attachments = patientAttachmentLogService.findAttachmentLogs(conversationId); // now we have the transformed payload, lets create our bundle - var payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK07Message.class); - var bundle = bundleMapperService.mapToBundle(payload, migrationRequest.getLosingPracticeOdsCode(), attachments); + Bundle bundle = null; + if(destinationClass.isInstance(RCMRIN030000UK07Message.class)) { + var payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK07Message.class); + bundle = bundleMapperService.mapToBundle(payload, migrationRequest.getLosingPracticeOdsCode(), attachments); + } else { + var payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK06Message.class); + bundle = bundleMapperService.mapToBundle(payload, migrationRequest.getLosingPracticeOdsCode(), attachments); + } // update the db migration request migrationStatusLogService.updatePatientMigrationRequestAndAddMigrationStatusLog( @@ -204,42 +212,9 @@ private void processAndCompleteEHRMessage(InboundMessage inboundMessage, migrationStatusLogService.addMigrationStatusLog(MIGRATION_COMPLETED, conversationId, null); } - private void processExternalAttachmentsAndSendContinueMessage(InboundMessage inboundMessage, - PatientMigrationRequest migrationRequest, MigrationStatusLog migrationStatusLog, - RCMRIN030000UK06Message payload, String conversationId, String messageId) - throws ParseException, JsonProcessingException { - - for (InboundMessage.ExternalAttachment externalAttachment: inboundMessage.getExternalAttachments()) { - PatientAttachmentLog patientAttachmentLog; - - if (patientAttachmentLogService.findAttachmentLog(externalAttachment.getMessageId(), conversationId) == null) { - //save COPC_UK01 messages - patientAttachmentLog = buildPatientAttachmentLogFromExternalAttachment(migrationRequest, externalAttachment); - patientAttachmentLogService.addAttachmentLog(patientAttachmentLog); - } - } - - migrationStatusLogService.updatePatientMigrationRequestAndAddMigrationStatusLog( - conversationId, - null, - objectMapper.writeValueAsString(inboundMessage), - EHR_EXTRACT_PROCESSING, - messageId - ); - - String patientNhsNumber = XmlParseUtilService.parseNhsNumber(payload); - sendContinueRequest( - payload, - conversationId, - patientNhsNumber, - migrationRequest.getWinningPracticeOdsCode(), - migrationStatusLog.getDate().toInstant() - ); - } - private void processExternalAttachmentsAndSendContinueMessage(InboundMessage inboundMessage, PatientMigrationRequest migrationRequest, MigrationStatusLog migrationStatusLog, - RCMRIN030000UK07Message payload, String conversationId, String messageId) + RCMRIN030000UKMessage payload, String conversationId, String messageId) throws ParseException, JsonProcessingException { for (InboundMessage.ExternalAttachment externalAttachment: inboundMessage.getExternalAttachments()) { @@ -258,7 +233,7 @@ private void processExternalAttachmentsAndSendContinueMessage(InboundMessage inb objectMapper.writeValueAsString(inboundMessage), EHR_EXTRACT_PROCESSING, messageId - ); + ); String patientNhsNumber = XmlParseUtilService.parseNhsNumber(payload); sendContinueRequest( @@ -335,7 +310,7 @@ private PatientAttachmentLog buildPatientAttachmentLogFromExternalAttachment( } public void sendContinueRequest( - RCMRIN030000UK06Message payload, + RCMRIN030000UKMessage payload, String conversationId, String patientNhsNumber, String winningPracticeOdsCode, @@ -346,20 +321,8 @@ public void sendContinueRequest( ); } - public void sendContinueRequest( - RCMRIN030000UK07Message payload, - String conversationId, - String patientNhsNumber, - String winningPracticeOdsCode, - Instant mcciIN010000UK13creationTime - ) { - sendContinueRequestHandler.prepareAndSendRequest( - prepareContinueRequestData(payload, conversationId, patientNhsNumber, winningPracticeOdsCode, mcciIN010000UK13creationTime) - ); - } - private ContinueRequestData prepareContinueRequestData( - RCMRIN030000UK06Message payload, + RCMRIN030000UKMessage payload, String conversationId, String patientNhsNumber, String winningPracticeOdsCode, @@ -381,29 +344,6 @@ private ContinueRequestData prepareContinueRequestData( .build(); } - private ContinueRequestData prepareContinueRequestData( - RCMRIN030000UK07Message payload, - String conversationId, - String patientNhsNumber, - String winningPracticeOdsCode, - Instant mcciIN010000UK13creationTime - ) { - var fromAsid = XmlParseUtilService.parseFromAsid(payload); - var toAsid = XmlParseUtilService.parseToAsid(payload); - var toOdsCode = XmlParseUtilService.parseToOdsCode(payload); - var mcciIN010000UK13creationTimeToHl7Format = DateFormatUtil.toHl7Format(mcciIN010000UK13creationTime); - - return ContinueRequestData.builder() - .conversationId(conversationId) - .nhsNumber(patientNhsNumber) - .fromAsid(fromAsid) - .toAsid(toAsid) - .toOdsCode(toOdsCode) - .fromOdsCode(winningPracticeOdsCode) - .mcciIN010000UK13creationTime(mcciIN010000UK13creationTimeToHl7Format) - .build(); - } - private Document getEbXmlDocument(InboundMessage inboundMessage) throws SAXException { return xPathService.parseDocumentFromXml(inboundMessage.getEbXML()); } diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java index a8ad9a3ce..9e792e18d 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java @@ -79,9 +79,9 @@ public boolean handleMessage(Message message) { if (ACKNOWLEDGEMENT_INTERACTION_ID.equals(interactionId)) { acknowledgmentMessageHandler.handleMessage(inboundMessage, conversationId); } else if (EHR_EXTRACT_INTERACTION_ID.equals(interactionId)) { - ehrExtractMessageHandler.handleMessage(inboundMessage, conversationId); - }else if (EHR_EXTRACT_INTERACTION_ID07.equals(interactionId)) { - ehrExtractMessageHandler.handleMessage(inboundMessage, conversationId); + ehrExtractMessageHandler.handleMessage(inboundMessage, conversationId, RCMRIN030000UK06Message.class); + } else if (EHR_EXTRACT_INTERACTION_ID07.equals(interactionId)) { + ehrExtractMessageHandler.handleMessage(inboundMessage, conversationId, RCMRIN030000UK07Message.class); } else if (CONTINUE_ATTACHMENT_INTERACTION_ID.equals(interactionId)) { continueMessageHandler.handleMessage(inboundMessage, conversationId); } else { diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java index 21e90a92b..42e08191a 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java @@ -17,6 +17,7 @@ import org.hl7.v3.COPCIN000001UK01Message; import org.hl7.v3.RCMRIN030000UK06Message; import org.hl7.v3.RCMRIN030000UK07Message; +import org.hl7.v3.RCMRIN030000UKMessage; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.w3c.dom.Document; @@ -85,26 +86,26 @@ public static String parseContentType(String description) throws ParseException throw new ParseException("Unable to parse ContentType", 0); } - public static String parseNhsNumber(RCMRIN030000UK06Message payload) { - return payload - .getControlActEvent() - .getSubject() - .getEhrExtract() - .getRecordTarget() - .getPatient() - .getId() - .getExtension(); - } - - public static String parseNhsNumber(RCMRIN030000UK07Message payload) { - return payload - .getControlActEvent() - .getSubject() - .getEhrExtract() - .getRecordTarget() - .getPatient() - .getId() - .getExtension(); + public static String parseNhsNumber(RCMRIN030000UKMessage payload) { + if(payload instanceof RCMRIN030000UK06Message) { + return ((RCMRIN030000UK06Message) payload) + .getControlActEvent() + .getSubject() + .getEhrExtract() + .getRecordTarget() + .getPatient() + .getId() + .getExtension(); + } else { + return ((RCMRIN030000UK07Message) payload) + .getControlActEvent() + .getSubject() + .getEhrExtract() + .getRecordTarget() + .getPatient() + .getId() + .getExtension(); + } } public static String parseFilename(String description) throws ParseException { @@ -197,25 +198,26 @@ public static String getFromPractiseValue(Element gp2gpElement) { return null; } - public static String parseFromAsid(RCMRIN030000UK06Message payload) { - return payload.getCommunicationFunctionRcv() + public static String parseFromAsid(RCMRIN030000UKMessage payload) { + if(payload instanceof RCMRIN030000UK06Message) { + return ((RCMRIN030000UK06Message) payload).getCommunicationFunctionRcv() .get(0) .getDevice() .getId() .get(0) .getExtension(); - } + } else { + return ((RCMRIN030000UK07Message) payload).getCommunicationFunctionRcv() + .get(0) + .getDevice() + .getId() + .get(0) + .getExtension(); + } - public static String parseFromAsid(RCMRIN030000UK07Message payload) { - return payload.getCommunicationFunctionRcv() - .get(0) - .getDevice() - .getId() - .get(0) - .getExtension(); } - public static String parseToAsid(RCMRIN030000UK06Message payload) { + public static String parseToAsid(RCMRIN030000UKMessage payload) { return payload.getCommunicationFunctionSnd() .getDevice() .getId() @@ -223,16 +225,9 @@ public static String parseToAsid(RCMRIN030000UK06Message payload) { .getExtension(); } - public static String parseToAsid(RCMRIN030000UK07Message payload) { - return payload.getCommunicationFunctionSnd() - .getDevice() - .getId() - .get(0) - .getExtension(); - } - - public static String parseToOdsCode(RCMRIN030000UK06Message payload) { - return payload.getControlActEvent() + public static String parseToOdsCode(RCMRIN030000UKMessage payload) { + if(payload instanceof RCMRIN030000UK07Message) { + return ((RCMRIN030000UK07Message) payload).getControlActEvent() .getSubject() .getEhrExtract() .getAuthor() @@ -240,6 +235,16 @@ public static String parseToOdsCode(RCMRIN030000UK06Message payload) { .getAgentOrganizationSDS() .getId() .getExtension(); + } else { + return ((RCMRIN030000UK06Message) payload).getControlActEvent() + .getSubject() + .getEhrExtract() + .getAuthor() + .getAgentOrgSDS() + .getAgentOrganizationSDS() + .getId() + .getExtension(); + } } public static String parseToOdsCode(RCMRIN030000UK07Message payload) { @@ -253,11 +258,7 @@ public static String parseToOdsCode(RCMRIN030000UK07Message payload) { .getExtension(); } - public static String parseMessageRef(RCMRIN030000UK06Message payload) { - return payload.getId().getRoot(); - } - - public static String parseMessageRef(RCMRIN030000UK07Message payload) { + public static String parseMessageRef(RCMRIN030000UKMessage payload) { return payload.getId().getRoot(); } diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlUnmarshallUtil.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlUnmarshallUtil.java index e229fae0d..4ef92cf5a 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlUnmarshallUtil.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlUnmarshallUtil.java @@ -10,6 +10,7 @@ import javax.xml.bind.Unmarshaller; import org.apache.commons.io.IOUtils; +import org.hl7.v3.RCMRIN030000UKMessage; public class XmlUnmarshallUtil { public static T unmarshallFile(File xmlFile, Class destinationClass) throws JAXBException { diff --git a/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandlerTest.java b/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandlerTest.java index 8fe6d0013..e48d84b1e 100644 --- a/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandlerTest.java +++ b/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandlerTest.java @@ -153,7 +153,7 @@ public void When_HandleMessageWithValidDataIsCalled_Expect_CallsMigrationStatus when(xPathService.getNodeValue(ebXmlDocument, "/Envelope/Header/MessageHeader/MessageData/MessageId")) .thenReturn(MESSAGE_ID); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(migrationStatusLogService).addMigrationStatusLog(EHR_EXTRACT_RECEIVED, CONVERSATION_ID, null); @@ -184,7 +184,7 @@ public void When_HandleMessageWithValidDataIsCalled_Expect_CallsBundleMapperServ when(xPathService.getNodeValue(ebXmlDocument, "/Envelope/Header/MessageHeader/MessageData/MessageId")) .thenReturn("6E242658-3D8E-11E3-A7DC-172BDA00FA67"); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); // mapped item is private to the class, so we cannot test an exact object verify(bundleMapperService).mapToBundle(any(RCMRIN030000UK06Message.class), any(), any()); @@ -208,7 +208,7 @@ public void When_HandleMessageWithValidDataIsCalled_Expect_CallsAttachmentHandle when(xPathService.getNodeValue(ebXmlDocument, "/Envelope/Header/MessageHeader/MessageData/MessageId")) .thenReturn("6E242658-3D8E-11E3-A7DC-172BDA00FA67"); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(attachmentHandlerService).storeAttachments(inboundMessage.getAttachments(), CONVERSATION_ID); } @@ -231,7 +231,7 @@ public void When_HandleMessageWithValidDataIsCalled_Expect_CallsAttachmentRefere when(xPathService.getNodeValue(ebXmlDocument, "/Envelope/Header/MessageHeader/MessageData/MessageId")) .thenReturn("6E242658-3D8E-11E3-A7DC-172BDA00FA67"); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(attachmentReferenceUpdaterService).updateReferenceToAttachment( inboundMessage.getAttachments(), CONVERSATION_ID, inboundMessage.getPayload()); @@ -270,7 +270,7 @@ public void When_HandleLargeMessageWithValidDataIsCalled_Expect_CallSendContinue prepareMigrationRequestAndMigrationStatusMocks(); EhrExtractMessageHandler ehrExtractMessageHandlerSpy = Mockito.spy(ehrExtractMessageHandler); - ehrExtractMessageHandlerSpy.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandlerSpy.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(ehrExtractMessageHandlerSpy).sendContinueRequest( any(RCMRIN030000UK06Message.class), @@ -300,7 +300,7 @@ public void When_HandleMessageWithValidDataIsCalled_Expect_CallsStatusLogService when(xPathService.getNodeValue(ebXmlDocument, "/Envelope/Header/MessageHeader/MessageData/MessageId")) .thenReturn(MESSAGE_ID); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(migrationStatusLogService).updatePatientMigrationRequestAndAddMigrationStatusLog( CONVERSATION_ID, BUNDLE_STRING, INBOUND_MESSAGE_STRING, EHR_EXTRACT_TRANSLATED, MESSAGE_ID); @@ -328,7 +328,7 @@ public void When_HandleMessage_WithStoreAttachmentsThrows_Expect_InlineAttachmen .when(attachmentHandlerService).storeAttachments(any(), any()); assertThrows(InlineAttachmentProcessingException.class, () -> - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID)); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class)); } @Test @@ -353,7 +353,7 @@ public void When_HandleMessage_WithStorageExceptionCause_Expect_UnexpectedCondit .when(attachmentHandlerService).storeAttachments(any(), any()); assertThrows(InlineAttachmentProcessingException.class, () -> - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID)); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class)); verify(nackAckPreparationServiceMock, times(1)) .sendNackMessage(eq(UNEXPECTED_CONDITION), any(RCMRIN030000UK06Message.class), eq(CONVERSATION_ID)); @@ -381,7 +381,8 @@ public void When_HandleMessage_WithMapToBundleThrows_Expect_BundleMappingExcepti doThrow(new BundleMappingException("Test Exception")) .when(bundleMapperService).mapToBundle(any(RCMRIN030000UK06Message.class), any(), any()); - assertThrows(BundleMappingException.class, () -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID)); + assertThrows(BundleMappingException.class, + () -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class)); } @Test @@ -408,7 +409,8 @@ public void When_HandleMessage_WithEncodeToJsonThrows_Expect_DataFormatException doThrow(new DataFormatException()).when(fhirParser).encodeToJson(bundle); - assertThrows(DataFormatException.class, () -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID)); + assertThrows(DataFormatException.class, + () -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class)); } @Test @@ -439,7 +441,7 @@ public void When_HandleSingleMessageWithValidDataIsCalled_Expect_NotToCallSendCo )).thenReturn(inboundMessage.getPayload()); EhrExtractMessageHandler ehrExtractMessageHandlerSpy = Mockito.spy(ehrExtractMessageHandler); - ehrExtractMessageHandlerSpy.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandlerSpy.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(ehrExtractMessageHandlerSpy, times(0)).sendContinueRequest( any(RCMRIN030000UK06Message.class), @@ -486,7 +488,7 @@ public void When_HandleSingleMessageWithSkeletonAttachmentAndValidDataIsCalled_E inboundMessage.getAttachments(), CONVERSATION_ID, inboundMessage.getPayload() )).thenReturn(inboundMessage.getPayload()); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(skeletonProcessingService, times(1)).updateInboundMessageWithSkeleton(any(), any(), any()); } @@ -501,8 +503,7 @@ public void When_HandleSingleMessageWithAFilenameDescription_Expect_PatientAttac SAXException, TransformerException, UnsupportedFileTypeException { InboundMessage inboundMessage = new InboundMessage(); - var attachment = new InboundMessage.Attachment("text/xml", - "true", "test.txt", "abcdefghi"); + var attachment = new InboundMessage.Attachment("text/xml", "true", "test.txt", "abcdefghi"); var attachmentList = new ArrayList(); attachmentList.add(attachment); @@ -519,7 +520,7 @@ public void When_HandleSingleMessageWithAFilenameDescription_Expect_PatientAttac inboundMessage.getAttachments(), CONVERSATION_ID, inboundMessage.getPayload() )).thenReturn(inboundMessage.getPayload()); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(patientAttachmentLogService, times(1)).addAttachmentLog(patientAttachmentLogCaptor.capture()); PatientAttachmentLog log = patientAttachmentLogCaptor.getValue(); @@ -564,8 +565,8 @@ public void When_HandleLargeMessageWithValidDataIsCalled_Expect_ItShouldNotTrans prepareMigrationRequestAndMigrationStatusMocks(); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); - verify(bundleMapperService, times(0)).mapToBundle(RCMRIN030000UK06Message.class.newInstance(), any(), any()); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); + verify(bundleMapperService, times(0)).mapToBundle(any(), any(), any()); } @Test @@ -626,7 +627,7 @@ public void When_HandleLargeMessageWithValidDataIsCalled_Expect_AddAttachmentExa prepareMigrationRequestAndMigrationStatusMocks(); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(patientAttachmentLogService, times(externalAttachmentsTestList.size())).addAttachmentLog(any()); } @@ -656,7 +657,7 @@ public void When_HandleMessage_WithWebClientRequestException_Expect_ExceptionThr doThrow(WebClientRequestException.class) .when(sendContinueRequestHandler).prepareAndSendRequest(any()); - assertThatThrownBy(() -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID)) + assertThatThrownBy(() -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class)) .isInstanceOf(WebClientRequestException.class); } @Test @@ -685,7 +686,7 @@ public void When_HandleMessage_WithConnectionException_Expect_ExceptionThrown() doThrow(ConnectionException.class) .when(sendContinueRequestHandler).prepareAndSendRequest(any()); - assertThatThrownBy(() -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID)) + assertThatThrownBy(() -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class)) .isInstanceOf(ConnectionException.class); } @@ -716,7 +717,7 @@ public void When_HandleMessage_WithMhsServerErrorException_Expect_MigrationFaile doThrow(MhsServerErrorException.class) .when(sendContinueRequestHandler).prepareAndSendRequest(any()); - assertThatThrownBy(() -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID)) + assertThatThrownBy(() -> ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class)) .isInstanceOf(MhsServerErrorException.class); verify(nackAckPreparationServiceMock).sendNackMessage(eq(UNEXPECTED_CONDITION), any(RCMRIN030000UK06Message.class), anyString()); @@ -752,22 +753,25 @@ public void When_HandleMessage_WithDuplicateMessage_Expect_AttachmentIsNotLogged .thenReturn(null) .thenReturn(patientAttachmentLog); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(patientAttachmentLogService, times(1)).addAttachmentLog(any()); } @Test @SneakyThrows - public void When_HandleMessage_With_ProcessHasFailed_Expect_FailureHandled() { + public void When_HandleMessage_With_ProcessHasFailed_Expect_FailureHandled() + throws AttachmentNotFoundException, JAXBException, UnsupportedFileTypeException, BundleMappingException, ParseException, + JsonProcessingException, TransformerException, SAXException { + when(failedProcessHandlingService.hasProcessFailed(CONVERSATION_ID)) .thenReturn(true); InboundMessage inboundMessage = new InboundMessage(); inboundMessage.setPayload(readInboundMessagePayloadFromFile()); - ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID); + ehrExtractMessageHandler.handleMessage(inboundMessage, CONVERSATION_ID, RCMRIN030000UK06Message.class); verify(failedProcessHandlingService, times(1)) .handleFailedProcess(any(RCMRIN030000UK06Message.class), eq(CONVERSATION_ID)); @@ -777,7 +781,7 @@ public void When_HandleMessage_With_ProcessHasFailed_Expect_FailureHandled() { } @SneakyThrows - private void prepareMocks(InboundMessage inboundMessage) { + private void prepareMocks(InboundMessage inboundMessage) throws BundleMappingException { inboundMessage.setPayload("payload"); Bundle bundle = new Bundle(); bundle.setId("Test"); diff --git a/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandlerTest.java b/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandlerTest.java index a91d8065a..21b2e6fea 100644 --- a/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandlerTest.java +++ b/gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandlerTest.java @@ -21,6 +21,7 @@ import javax.xml.bind.JAXBException; import javax.xml.transform.TransformerException; +import org.hl7.v3.RCMRIN030000UK06Message; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; @@ -115,7 +116,7 @@ public void handleEhrExtractMessageWithoutErrorsShouldReturnTrue() assertTrue(result); verify(mdcService).applyConversationId(CONVERSATION_ID_UPPER); - verify(ehrExtractMessageHandler).handleMessage(inboundMessage, CONVERSATION_ID_UPPER); + verify(ehrExtractMessageHandler).handleMessage(inboundMessage, CONVERSATION_ID_UPPER, RCMRIN030000UK06Message.class); verifyNoInteractions(acknowledgmentMessageHandler); } @@ -134,7 +135,7 @@ public void handleEhrExtractMessageWhenEhrExtractMessageHandlerThrowsErrorShould prepareMocks(EHR_EXTRACT_INTERACTION_ID); when(migrationRequestService.hasMigrationRequest(any())).thenReturn(true); doThrow(new JAXBException("Nobody expects the spanish inquisition!")) - .when(ehrExtractMessageHandler).handleMessage(inboundMessage, CONVERSATION_ID_UPPER); + .when(ehrExtractMessageHandler).handleMessage(inboundMessage, CONVERSATION_ID_UPPER, RCMRIN030000UK06Message.class); boolean result = mhsQueueMessageHandler.handleMessage(message); @@ -158,7 +159,7 @@ public void handleEhrExtractMessageWhenEhrExtractMessageHandlerThrowsErrorShould prepareMocks(EHR_EXTRACT_INTERACTION_ID); when(migrationRequestService.hasMigrationRequest(any())).thenReturn(true); doThrow(new JAXBException("Nobody expects the spanish inquisition!")) - .when(ehrExtractMessageHandler).handleMessage(inboundMessage, CONVERSATION_ID_UPPER); + .when(ehrExtractMessageHandler).handleMessage(inboundMessage, CONVERSATION_ID_UPPER, RCMRIN030000UK06Message.class); boolean result = mhsQueueMessageHandler.handleMessage(message); diff --git a/schema/src/main/java/org/hl7/v3/RCMRIN030000UK06Message.java b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK06Message.java index 69a028c5f..494377b78 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRIN030000UK06Message.java +++ b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK06Message.java @@ -65,7 +65,7 @@ "communicationFunctionSnd", "controlActEvent" }) -public class RCMRIN030000UK06Message { +public class RCMRIN030000UK06Message implements RCMRIN030000UKMessage { @XmlElement(required = true) protected II id; diff --git a/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Message.java b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Message.java index 5e6a555b3..897f9e223 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Message.java +++ b/schema/src/main/java/org/hl7/v3/RCMRIN030000UK07Message.java @@ -65,7 +65,7 @@ "communicationFunctionSnd", "controlActEvent" }) -public class RCMRIN030000UK07Message { +public class RCMRIN030000UK07Message implements RCMRIN030000UKMessage { @XmlElement(required = true) protected II id; diff --git a/schema/src/main/java/org/hl7/v3/RCMRIN030000UKMessage.java b/schema/src/main/java/org/hl7/v3/RCMRIN030000UKMessage.java new file mode 100644 index 000000000..6f74b14ab --- /dev/null +++ b/schema/src/main/java/org/hl7/v3/RCMRIN030000UKMessage.java @@ -0,0 +1,10 @@ +package org.hl7.v3; + +import java.util.Map; + +public interface RCMRIN030000UKMessage { + II getId(); + + MCCIMT010101UK12CommunicationFunctionSnd getCommunicationFunctionSnd(); + +} From 19bc23ce5e07cbf63145b59f5f587400e08239ef Mon Sep 17 00:00:00 2001 From: hospel Date: Mon, 2 Oct 2023 11:46:46 +0100 Subject: [PATCH 05/20] fixing cast class issue --- .../pss/translator/EhrExtractHandlingIT.java | 20 +- ...payload_part_with_confidentiality_code.xml | 19627 ++++++++++++++++ .../task/EhrExtractMessageHandler.java | 2 +- 3 files changed, 19645 insertions(+), 4 deletions(-) create mode 100644 gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml diff --git a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java index 05c1b2bd1..81389921a 100644 --- a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java +++ b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java @@ -50,6 +50,7 @@ @DirtiesContext @AutoConfigureMockMvc public class EhrExtractHandlingIT { + private static final boolean OVERWRITE_EXPECTED_JSON = false; private static final int NHS_NUMBER_MIN_MAX_LENGTH = 10; private static final String EBXML_PART_PATH = "/xml/RCMR_IN030000UK06/ebxml_part.xml"; @@ -113,20 +114,33 @@ public void handleEhrExtractFromQueue() throws JSONException { sendInboundMessageToQueue("/xml/RCMR_IN030000UK06/payload_part.xml", EBXML_PART_PATH); // wait until EHR extract is translated to bundle resource and saved to the DB - await().until(this::isEhrMigrationCompleted); + waitAtMost(Duration.ofSeconds(10)).until(this::isEhrMigrationCompleted); // verify generated bundle resource verifyBundle("/json/expectedBundle.json"); } @Test - public void handleEhrExtractWithConfidentialityCodeFromQueue() throws JSONException { + public void handleEhrExtractWithConfidentialitySchemaFromQueue() throws JSONException { final String EBXML_PART_PATH = "/xml/RCMR_IN030000UK07/ebxml_part.xml"; // process starts with consuming a message from MHS queue sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part.xml", EBXML_PART_PATH); // wait until EHR extract is translated to bundle resource and saved to the DB - waitAtMost(Duration.ofSeconds(250)).until(this::isEhrMigrationCompleted); + waitAtMost(Duration.ofSeconds(10)).until(this::isEhrMigrationCompleted); + + // verify generated bundle resource + verifyBundle("/json/expectedBundle.json"); + } + + @Test + public void handleEhrExtractWithConfidentialityCodeFromQueue() throws JSONException { + final String EBXML_PART_PATH = "/xml/RCMR_IN030000UK07/ebxml_part.xml"; + // process starts with consuming a message from MHS queue + sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml", EBXML_PART_PATH); + + // wait until EHR extract is translated to bundle resource and saved to the DB + waitAtMost(Duration.ofSeconds(10)).until(this::isEhrMigrationCompleted); // verify generated bundle resource verifyBundle("/json/expectedBundle.json"); diff --git a/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml b/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml new file mode 100644 index 000000000..72b2c3481 --- /dev/null +++ b/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml @@ -0,0 +1,19627 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unknown + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + + + + + + + General Medical Practitioner + + + + Mr + NHS + Test + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + Fulford Grange + Micklefield Lane + Rawdon + Rawdon + Leeds + LS19 6BA + + + + + + + + + Clerical Worker + + + + Dr + Peter + Whitcombe + + + + National + + + + + + + + + Clerical Worker + + + + Dr + David + McAvenue + + + + National + + + + + + + + + General Medical Practitioner + + + + Dr + Peter + Whitcombe + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + Fulford Grange + Micklefield Lane + Rawdon + Rawdon + Leeds + LS19 6BA + + + + + + + + + Unknown + + + + External User + + + + National + + + + + + + + + General Medical Practitioner + + + + Dr + David + McAvenue + + + + TEMPLE SOWERBY MEDICAL PRACTICE + + + Fulford Grange + Micklefield Lane + Rawdon + Rawdon + Leeds + LS19 6BA + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Inactive Diary Entry + Medication review + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + Some example text + + + + + + + Absent Attachment + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + Test request statement text + New line + + +
+ + + Routine + + + + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + +
+ + + + + + + + Significance : Major + Episodicity : First + This is problem Problem Info: Problem Notes: This is problem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + +
+ + + + + + + + Significance : Major + Episodicity : Review + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + This is just a consultation to test issue of previous courses via consultations + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + EMIS Test Practice Location + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 56 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 repeat + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + GP Surgery + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + This is a note + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the generic acute for 22047 + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + m + + + + + Expected Supply Duration: 28 day + + + + + + + not applicable + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + Expected Supply Duration: 28 day + + + + + + + For Subcutaneous Injection, According To Requirements + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + For Subcutaneous Injection, According To Requirements + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + For Subcutaneous Injection, According To Requirements + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + 1 to be taken 3 times a day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + 1 to be taken 3 times a day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + Expected Supply Duration: 28 day + + + + + + + 1 + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + device + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + 1 + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Oxygen Composite cylinder with integral headset 1360 litres + + + + + + + + + + + + + + + + + cylinder + + + + + Expected Supply Duration: 28 day + + + + + + + As and when required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Oxygen Composite cylinder with integral headset 1360 litres + + + + + + + + + + + + + cylinder + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + As and when required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gram + + + + + Expected Supply Duration: 28 day + + + + + + + Apply When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + zzzzzss + + + + + + + + + + + zzzzzss + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Prescribing Error + + + + + + + + + + + Prescribing Error + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Paracetamol Caplets 500 mg + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes + + + + + + + + + Patient no longer requires these + + + + + + + + + + + Patient no longer requires these + + + + + + + Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Paracetamol Caplets 500 mg + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes + + + + + + + Two To Be Taken Four Times A Day When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Clinical Contra-indication + + + + + + + + + + + Clinical Contra-indication + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some more pharmacy information + + + + + + + 1 Tablet to be taken with food once per day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some more pharmacy information + + + + + + + 1 Tablet to be taken with food once per day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Ferrous sulphate 200mg tablets + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Ferrous sulphate 200mg tablets + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some pharmacy Information + + + + + + + One To Be Taken With Breakfast, Lunch And Evening Meal + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some pharmacy Information + + + + + + + One To Be Taken With Breakfast, Lunch And Evening Meal + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 6 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 7 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 8 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 9 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 10 Repeat Dispensing Pharmacy Note. + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:This is a pharmacy information note for Cilazapril + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is a pharmacy information note for Cilazapril + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 28 day + + + + + + + Two Sprays To Be Used In Each Nostril Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) + + + + + + + + + + + + + dose + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Two Sprays To Be Used In Each Nostril Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Nasonex 50micrograms/dose nasal spray (Merck Sharp & Dohme Ltd) + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 28 day + + + + + + + Two Sprays To Be Used In Each Nostril Once A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + + + + + gram + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Benzoyl Peroxide Aquagel 5 % + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Allergy + + + + + + + + + + + Allergy + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day + + + + + + + + + Adverse reaction to Central Nervous System Drugs (allergy) + + + + + + + + + + + Adverse reaction to Central Nervous System Drugs (allergy) + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Berkolol Tablets 10 mg + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + nmkljkljllk + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 23 day + + + + + + + + + Alergy + + + + + + + + + + + Alergy + + + + + + + One Puff To Be Inhaled When Needed (Not More Than Once Daily) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 34 day + + + + + + + One To Be Taken Three Times A Day Twenty Minutes Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 34 day + + + + + + + One To Be Taken Three Times A Day Twenty Minutes Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day Notes: Prescriber Notes:This is the restart + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day Notes: Prescriber Notes:Issue number 1 This is the restart + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 14 day + + + + + + + + + kjhkjkjhjkjkj + + + + + + + + + + + kjhkjkjhjkjkj + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lustral 50mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 14 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gram + + + + + Expected Supply Duration: 28 day + + + + + + + Apply To The Affected Eye(s) At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + gram + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Apply To The Affected Eye(s) At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + + + Adverse reaction to Prednisolone (Fat, John said) + + + + + + + + + + + Adverse reaction to Prednisolone (Fat, John said) + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 This is the pharmacy message on print Patient Notes:Issue number 2 This is the patient message on print + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day After Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + Two To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + Two To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Lipitor 10mg tablets (Pfizer Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + Two To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Neoclarityn 5mg tablets (Schering-Plough Ltd) + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 100 day + + + + + + + One Puff To Be Inhaled Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + + + + + + Expected Supply Duration: 100 day + + + + + + + One Puff To Be Inhaled Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Acute Ph I Patient Notes:Acute Pa I + + + + + + + One To Be Taken Each Day With Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Acute Ph I Patient Notes:Issue number 1 Acute Pa I + + + + + + + One To Be Taken Each Day With Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 19 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 19 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:This is PT Patient Notes:This is PI + + + + + + + One To Be Taken Each Morning Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is PT Patient Notes:Issue number 1 This is PI + + + + + + + One To Be Taken Each Morning Before Food + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate Patient Notes:Issue number 1 yutyuhyfhf + + + + + + + One Or Two To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 63 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 63 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 84 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 84 day + + + + + + + One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 5 day + + + + + + + One To Be Taken Three Times A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 56 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning Before Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Out of Hours + + + + + + + One To Be Taken Each Morning Before Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 3 day + + + + + + + Six To Be Taken Each Morning As A Single Dose + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 3 day + + + + + + + Six To Be Taken Each Morning As A Single Dose + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 3 day + + + + + + + Six To Be Taken Each Morning As A Single Dose + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Clinical Grounds + + + + + + + + + + + Clinical Grounds + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This was set to 'Private' in application rather than at issue time + + + + + + + One To Be Taken Each Morning + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private and 'Hospital' + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private record for notes + + + + + + + One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Xalatan 50micrograms/ml eye drops (Pfizer Ltd) + + + + + + + + + + + + + + + + + ml + + + + + Expected Supply Duration: 28 day + + + + + + + One Drop To Be Used At Night In The Affected Eye(s) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + Xalatan 50micrograms/ml eye drops (Pfizer Ltd) + + + + + + + + + + + + + ml + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private Handwritten + + + + + + + One Drop To Be Used At Night In The Affected Eye(s) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private PrintedScript Non EPS + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is the OTC + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + GP Surgery + + + + + + + + + + + + + + Test Location + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ + + + + + capsule + + + + + 1 + + + + + 2 + + + + + 3 + + + + + + + + + + + + + tablet(s) + + + + + + + + + + + + TAKE ONE DAILY + + + + + + + + + + + + + + + + + + + + + + Primary Source: true Location: EMIS Test Practice Location Manufacturer: + another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not + GMS + + + + + + + + + + + + + Some example text + + + + + + + Absent Attachment + + + + + + + + + + + + + Added from a problem within a consultation + + +
+ + + + + + + + + + + + + + + + + + + + + Test request statement text + New line + + + +
+ + + + Routine + + + + + + + + + + + + + + + + + Active Problem, Significant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + O/E - blood pressure reading + + + +
+ + + + + + + Systolic arterial pressure + + + +
+ + + + High Text + + + + mm[Hg] + + + + + Test Range 1 + + + + + + + + + + Test systolic pressure text + + + + + + + + + Diastolic arterial pressure + + + +
+ + + + Low Text + + + + mm[Hg] + + + + + Test Range 2 + + + + + + + + + + Test diastolic pressure text + + + + + + + + Systolic Measurement Absent: Unknown + + + + + + + + + + + + + + + + Some example text + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + Drug Allergy - Apsrin + + + + + + + + + + + + + + +
+ + + + + + + + + High + + + + + Test text 1 + + + + + Age and sex based + + + + + + + + + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + CommentType:LABORATORY RESULT COMMENT(E141) + CommentDate:20030221115000 + + Status: unknown + + + + + + + + + + + +
+ + + + + + + +
+ + + Blood + + + + + + + CommentType:LAB SPECIMEN COMMENT(E271) + CommentDate:20030109000000 + + Received Date: 2003-01-09 13:54 + + + + + + + + + + Mocked code + + + +
+ + + + + + + Mocked code + + + +
+ + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + This is some random free text 1 + + + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + + This is some random free text 2 + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + Notes on the tired all the time entry + + + + + + + + Comments - Aaaargh + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 7 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 30 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is 'Handwritten' + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 'Record for Notes' case + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Daily With Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Hospital Issued medication + + + + + + + One To Be Taken Daily With Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Morning Before Breakfast + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + Prescribing Error + + + + + + + + + + + Prescribing Error + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 14 day + + + + + + + + + Change to Medication Treatment Regime + + + + + + + + + + + Change to Medication Treatment Regime + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dose + + + + + Expected Supply Duration: 23 day + + + + + + + + + some reason + + + + + + + + + + + some reason + + + + + + + One Puff To Be Inhaled When Needed (Not More Than Once Daily) + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + Expected Supply Duration: 28 day + + + + + + + + + Recreate 22047 + + + + + + + + + + + Recreate 22047 + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + capsule + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 issue after switch to generic + + + + + + + One To Be Taken Each Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 28 day + + + + + + + + + End course for acute post G -> T switch for 22047 + + + + + + + + + + + End course for acute post G -> T switch for 22047 + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 THis is the acute issue post generic -> proprietary switch for 22047 + + + + + + + One To Be Taken Every Four To Six Hours When Required + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 5 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 5 day + + + + + + + One To Be Taken Twice A Day + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tablet + + + + + + + + + + Expected Supply Duration: 150 day + + + + + + + One To Be Taken At Night + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + Active Problem, major + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Cetirizine Hydrochloride + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Mebeverine Hydrochloride + + + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Lustral + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Prednisolone + + + +
+ + + + + + Status: Active Fat + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Central Nervous System Drugs + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + O/E - blood pressure reading + + + +
+ + + + + + + Systolic arterial pressure + + + +
+ + + + High Text + + + + mm[Hg] + + + + + Test Range 1 + + + + + + + + + + Test systolic pressure text + + + + + + + + + Diastolic arterial pressure + + + +
+ + + + Low Text + + + + mm[Hg] + + + + + Test Range 2 + + + + + + + + + + Test diastolic pressure text + + + + + + + + Systolic Measurement Absent: Unknown + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + CommentType:LABORATORY RESULT COMMENT(E141) + CommentDate:20100225154100 + + Status: unknown + + + + + + + + + + + + +
+ + + + + + + Adverse reaction to Central Nervous System Drugs + + + +
+ + + + + + Status: Active + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + + + + + + + + +
+ + + + + + + +
+ + + URINE + + + + + + + CommentType:LAB SPECIMEN COMMENT(E271) + CommentDate:20020330092100 + + Received Date: 2002-03-30 09:21 + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:LABORATORY RESULT + COMMENT(E141) + CommentDate:20100223000000 + + NEGATIVE + In normal pregnancies the test will usually be positive from the + second day after the expected menstruation. + + + + + + + + + CommentType:USER COMMENT + CommentDate:20201215151704 + + (q) - Normal - No Action + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + SERUM + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + CommentType:USER COMMENT + CommentDate:20201215151713 + + (q) - Normal - No Action + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + SERUM + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:LABORATORY RESULT + COMMENT(E141) + CommentDate:20100223000000 + + Test not available + + + + + + + + + CommentType:USER COMMENT + CommentDate:20220324124213 + + No action needed + + + + + + + + + + + + + + + + + + GP Surgery + + + + + + + + + + + + + + Test Location + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + capsule + + + + + 1 + + + + + 2 + + + + + 3 + + + + + + + + + + + + + tablet(s) + + + + + + + + + + + + TAKE ONE DAILY + + + + + + + + + + + + + + + + + + + + + + Primary Source: true Location: EMIS Test Practice Location Manufacturer: + another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not + GMS + + + + + + + + + + + + + Some example text + + + + + + + Record Attachment + + + + + + + + + + + + + Added from a problem within a consultation + + +
+ + + + + + + + + + + + + + + + + + + + + Test request statement text + New line + + + +
+ + + + Routine + + + + + + + + + + + + + + + + + Active Problem, Significant + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + O/E - blood pressure reading + + + +
+ + + + + + + Systolic arterial pressure + + + +
+ + + + High Text + + + + mm[Hg] + + + + + Test Range 1 + + + + + + + + + + Test systolic pressure text + + + + + + + + + Diastolic arterial pressure + + + +
+ + + + Low Text + + + + mm[Hg] + + + + + Test Range 2 + + + + + + + + + + Test diastolic pressure text + + + + + + + + Systolic Measurement Absent: Unknown + + + + + + + + + + + + + + + + Some example text + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + Drug Allergy - Apsrin + + + + + + + + + + + + + + +
+ + + + + + + + + High + + + + + Test text 1 + + + + + Age and sex based + + + + + + + + + + + + + + + + + + + + + Filed Report + + + +
+ + + + + + CommentType:LABORATORY RESULT COMMENT(E141) + CommentDate:20030221115000 + + Status: unknown + + + + + + + + + + + +
+ + + + + + + +
+ + + Blood + + + + + + + CommentType:LAB SPECIMEN COMMENT(E271) + CommentDate:20030109000000 + + Received Date: 2003-01-09 13:54 + + + + + + + + + + Mocked code + + + +
+ + + + + + + Mocked code + + + +
+ + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + This is some random free text 1 + + + + + + + + + CommentType:USER COMMENT + CommentDate:20100113 + + + This is some random free text 2 + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:SUPER COMMENT + CommentDate:20220321163025 + + Looks like Covid + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + CommentType:OTHER COMMENT + CommentDate:20220321162705 + + Or maybe not? + + + + + + + + + CommentType:USER COMMENT + CommentDate:20100223000000 + + This should not be a part of Battery Observation.comment + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + Notes on the tired all the time entry + + + + + + + + Comments - Aaaargh + + + + + + + + + + + +
+ + + + + + + + + + + + + + + Some example text + + + + + + + Record Attachment + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java index 37f007fd7..f86530fa2 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java @@ -192,7 +192,7 @@ private void processAndCompleteEHRMessage(InboundMessage inboundMessage, // now we have the transformed payload, lets create our bundle Bundle bundle = null; - if(destinationClass.isInstance(RCMRIN030000UK07Message.class)) { + if(destinationClass.getCanonicalName().contains("RCMRIN030000UK07Message")) { var payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK07Message.class); bundle = bundleMapperService.mapToBundle(payload, migrationRequest.getLosingPracticeOdsCode(), attachments); } else { From 5573505a05f6fc218c83f5efdf1e589aa5c36c65 Mon Sep 17 00:00:00 2001 From: hospel Date: Tue, 3 Oct 2023 14:10:48 +0100 Subject: [PATCH 06/20] adding interface to RCMRMT030101UK04Author2 class --- .../src/main/java/org/hl7/v3/RCMRMT030101UK04Author2.java | 2 +- .../main/java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java | 8 ++++---- .../src/main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java | 4 ++++ 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 schema/src/main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04Author2.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04Author2.java index 03e1c39d8..fe934e888 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04Author2.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04Author2.java @@ -54,7 +54,7 @@ "signatureText", "agentOrgSDS" }) -public class RCMRMT030101UK04Author2 { +public class RCMRMT030101UK04Author2 implements RCMRMT030101UKAuthor2 { @XmlElement(required = true) protected TS time; diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java index f78276636..971f1c2f0 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java @@ -71,8 +71,8 @@ public class RCMRMT030101UK04EhrFolder { protected IVLTS effectiveTime; @XmlElement(required = true) protected TS availabilityTime; - @XmlElement(required = true) - protected RCMRMT030101UK04Author2 author; + @XmlElement(required = true, type = RCMRMT030101UK04Author2.class) + protected RCMRMT030101UKAuthor2 author; @XmlElement(required = true) protected RCMRMT030101UK04ResponsibleParty responsibleParty; @XmlElement(required = true) @@ -196,7 +196,7 @@ public void setAvailabilityTime(TS value) { * {@link RCMRMT030101UK04Author2 } * */ - public RCMRMT030101UK04Author2 getAuthor() { + public RCMRMT030101UKAuthor2 getAuthor() { return author; } @@ -208,7 +208,7 @@ public RCMRMT030101UK04Author2 getAuthor() { * {@link RCMRMT030101UK04Author2 } * */ - public void setAuthor(RCMRMT030101UK04Author2 value) { + public void setAuthor(RCMRMT030101UKAuthor2 value) { this.author = value; } diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java new file mode 100644 index 000000000..e799814fe --- /dev/null +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java @@ -0,0 +1,4 @@ +package org.hl7.v3; + +public interface RCMRMT030101UKAuthor2 { +} From a7f909a68e16dd4db292738bd5a62aa38d1e26c2 Mon Sep 17 00:00:00 2001 From: hospel Date: Tue, 3 Oct 2023 15:08:11 +0100 Subject: [PATCH 07/20] replacing classes with interfaces --- .../adaptors/pss/translator/util/ObservationUtil.java | 9 ++++++--- .../hl7/v3/RCMRMT030101UK04InterpretationRange.java | 2 +- .../org/hl7/v3/RCMRMT030101UK04ReferenceRange.java | 10 +++++----- .../org/hl7/v3/RCMRMT030101UKInterpretationRange.java | 7 +++++++ .../java/org/hl7/v3/RCMRMT030101UKReferenceRange.java | 6 ++++++ 5 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 schema/src/main/java/org/hl7/v3/RCMRMT030101UKInterpretationRange.java create mode 100644 schema/src/main/java/org/hl7/v3/RCMRMT030101UKReferenceRange.java diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java index d18ad8388..b8bb4f2a1 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java @@ -21,6 +21,8 @@ import org.hl7.v3.RCMRMT030101UK04EhrExtract; import org.hl7.v3.RCMRMT030101UK04InterpretationRange; import org.hl7.v3.RCMRMT030101UK04ReferenceRange; +import org.hl7.v3.RCMRMT030101UKInterpretationRange; +import org.hl7.v3.RCMRMT030101UKReferenceRange; import org.hl7.v3.TS; import org.springframework.stereotype.Component; @@ -76,10 +78,11 @@ public static CodeableConcept getInterpretation(CV interpretationCode) { } public static List getReferenceRange( - List referenceRangeList) { + List referenceRangeList) { + var outputReferenceRanges = new ArrayList(); - for (RCMRMT030101UK04ReferenceRange referenceRange : referenceRangeList) { + for (RCMRMT030101UKReferenceRange referenceRange : referenceRangeList) { var referenceRangeComponent = new Observation.ObservationReferenceRangeComponent(); referenceRangeComponent.setText(referenceRange.getReferenceInterpretationRange().getText()); @@ -175,7 +178,7 @@ private static String getInterpretationDisplay(String interpretationCode) { }; } - private static boolean referenceInterpretationRangeHasValue(RCMRMT030101UK04InterpretationRange referenceInterpretationRange) { + private static boolean referenceInterpretationRangeHasValue(RCMRMT030101UKInterpretationRange referenceInterpretationRange) { return referenceInterpretationRange != null && referenceInterpretationRange.getValue() != null; } diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04InterpretationRange.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04InterpretationRange.java index 2d8962d2e..360558d60 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04InterpretationRange.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04InterpretationRange.java @@ -50,7 +50,7 @@ "text", "value" }) -public class RCMRMT030101UK04InterpretationRange { +public class RCMRMT030101UK04InterpretationRange implements RCMRMT030101UKInterpretationRange { protected String text; protected IVLPQ value; diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ReferenceRange.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ReferenceRange.java index 2498b087d..f4b5cb008 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ReferenceRange.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ReferenceRange.java @@ -48,10 +48,10 @@ @XmlType(name = "RCMR_MT030101UK04.ReferenceRange", propOrder = { "referenceInterpretationRange" }) -public class RCMRMT030101UK04ReferenceRange { +public class RCMRMT030101UK04ReferenceRange implements RCMRMT030101UKReferenceRange { - @XmlElement(required = true) - protected RCMRMT030101UK04InterpretationRange referenceInterpretationRange; + @XmlElement(required = true, type = RCMRMT030101UK04InterpretationRange.class) + protected RCMRMT030101UKInterpretationRange referenceInterpretationRange; @XmlAttribute(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; @@ -73,7 +73,7 @@ public class RCMRMT030101UK04ReferenceRange { * {@link RCMRMT030101UK04InterpretationRange } * */ - public RCMRMT030101UK04InterpretationRange getReferenceInterpretationRange() { + public RCMRMT030101UKInterpretationRange getReferenceInterpretationRange() { return referenceInterpretationRange; } @@ -85,7 +85,7 @@ public RCMRMT030101UK04InterpretationRange getReferenceInterpretationRange() { * {@link RCMRMT030101UK04InterpretationRange } * */ - public void setReferenceInterpretationRange(RCMRMT030101UK04InterpretationRange value) { + public void setReferenceInterpretationRange(RCMRMT030101UKInterpretationRange value) { this.referenceInterpretationRange = value; } diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UKInterpretationRange.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UKInterpretationRange.java new file mode 100644 index 000000000..33e0f0ad2 --- /dev/null +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UKInterpretationRange.java @@ -0,0 +1,7 @@ +package org.hl7.v3; + +public interface RCMRMT030101UKInterpretationRange { + + IVLPQ getValue(); + String getText(); +} diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UKReferenceRange.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UKReferenceRange.java new file mode 100644 index 000000000..bea52d139 --- /dev/null +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UKReferenceRange.java @@ -0,0 +1,6 @@ +package org.hl7.v3; + +public interface RCMRMT030101UKReferenceRange { + + RCMRMT030101UKInterpretationRange getReferenceInterpretationRange(); +} From 41872eeafb4722c0d24cba9f95f812b6df3dc905 Mon Sep 17 00:00:00 2001 From: hospel Date: Tue, 3 Oct 2023 15:29:59 +0100 Subject: [PATCH 08/20] fixing checkstyle --- .../adaptors/pss/translator/EhrExtractHandlingIT.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java index 81389921a..1a0d6d952 100644 --- a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java +++ b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java @@ -1,7 +1,6 @@ package uk.nhs.adaptors.pss.translator; import static org.assertj.core.api.Assertions.fail; -import static org.awaitility.Awaitility.await; import static org.awaitility.Awaitility.waitAtMost; import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; @@ -22,7 +21,6 @@ import org.hl7.fhir.dstu3.model.Bundle; import org.json.JSONException; import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.skyscreamer.jsonassert.Customization; @@ -100,12 +98,14 @@ public class EhrExtractHandlingIT { private String patientNhsNumber; private String conversationId; + private int waitingTime = 0; @BeforeEach public void setUp() { patientNhsNumber = generatePatientNhsNumber(); conversationId = generateConversationId().toUpperCase(Locale.ROOT); startPatientMigrationJourney(); + waitingTime = 30; } @Test @@ -114,7 +114,7 @@ public void handleEhrExtractFromQueue() throws JSONException { sendInboundMessageToQueue("/xml/RCMR_IN030000UK06/payload_part.xml", EBXML_PART_PATH); // wait until EHR extract is translated to bundle resource and saved to the DB - waitAtMost(Duration.ofSeconds(10)).until(this::isEhrMigrationCompleted); + waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); // verify generated bundle resource verifyBundle("/json/expectedBundle.json"); @@ -127,7 +127,7 @@ public void handleEhrExtractWithConfidentialitySchemaFromQueue() throws JSONExce sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part.xml", EBXML_PART_PATH); // wait until EHR extract is translated to bundle resource and saved to the DB - waitAtMost(Duration.ofSeconds(10)).until(this::isEhrMigrationCompleted); + waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); // verify generated bundle resource verifyBundle("/json/expectedBundle.json"); @@ -140,7 +140,7 @@ public void handleEhrExtractWithConfidentialityCodeFromQueue() throws JSONExcept sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml", EBXML_PART_PATH); // wait until EHR extract is translated to bundle resource and saved to the DB - waitAtMost(Duration.ofSeconds(10)).until(this::isEhrMigrationCompleted); + waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); // verify generated bundle resource verifyBundle("/json/expectedBundle.json"); From 3a076c698f9c3043bef97ebda3914cb742ab24a0 Mon Sep 17 00:00:00 2001 From: hospel Date: Tue, 3 Oct 2023 15:57:45 +0100 Subject: [PATCH 09/20] fixing checkstyle issues --- .../pss/translator/EhrExtractHandlingIT.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java index 1a0d6d952..f6a63797d 100644 --- a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java +++ b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java @@ -51,7 +51,7 @@ public class EhrExtractHandlingIT { private static final boolean OVERWRITE_EXPECTED_JSON = false; private static final int NHS_NUMBER_MIN_MAX_LENGTH = 10; - private static final String EBXML_PART_PATH = "/xml/RCMR_IN030000UK06/ebxml_part.xml"; + private static final String ebxmlPartPath = "/xml/RCMR_IN030000UK06/ebxml_part.xml"; private static final String NHS_NUMBER_PLACEHOLDER = "{{nhsNumber}}"; private static final String CONVERSATION_ID_PLACEHOLDER = "{{conversationId}}"; private static final String LOSING_ODS_CODE = "D5445"; @@ -98,20 +98,19 @@ public class EhrExtractHandlingIT { private String patientNhsNumber; private String conversationId; - private int waitingTime = 0; + static final int waitingTime = 30; @BeforeEach public void setUp() { patientNhsNumber = generatePatientNhsNumber(); conversationId = generateConversationId().toUpperCase(Locale.ROOT); startPatientMigrationJourney(); - waitingTime = 30; } @Test public void handleEhrExtractFromQueue() throws JSONException { // process starts with consuming a message from MHS queue - sendInboundMessageToQueue("/xml/RCMR_IN030000UK06/payload_part.xml", EBXML_PART_PATH); + sendInboundMessageToQueue("/xml/RCMR_IN030000UK06/payload_part.xml", ebxmlPartPath); // wait until EHR extract is translated to bundle resource and saved to the DB waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); @@ -122,9 +121,9 @@ public void handleEhrExtractFromQueue() throws JSONException { @Test public void handleEhrExtractWithConfidentialitySchemaFromQueue() throws JSONException { - final String EBXML_PART_PATH = "/xml/RCMR_IN030000UK07/ebxml_part.xml"; + final String ebxmlPartPath = "/xml/RCMR_IN030000UK07/ebxml_part.xml"; // process starts with consuming a message from MHS queue - sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part.xml", EBXML_PART_PATH); + sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part.xml", ebxmlPartPath); // wait until EHR extract is translated to bundle resource and saved to the DB waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); @@ -135,9 +134,9 @@ public void handleEhrExtractWithConfidentialitySchemaFromQueue() throws JSONExce @Test public void handleEhrExtractWithConfidentialityCodeFromQueue() throws JSONException { - final String EBXML_PART_PATH = "/xml/RCMR_IN030000UK07/ebxml_part.xml"; + final String ebxmlPartPath = "/xml/RCMR_IN030000UK07/ebxml_part.xml"; // process starts with consuming a message from MHS queue - sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml", EBXML_PART_PATH); + sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml", ebxmlPartPath); // wait until EHR extract is translated to bundle resource and saved to the DB waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); From 722504e8a15d10a7688c11d99e34bd4888e0eb63 Mon Sep 17 00:00:00 2001 From: hospel Date: Tue, 3 Oct 2023 16:18:06 +0100 Subject: [PATCH 10/20] checkstyle fix --- .../pss/translator/EhrExtractHandlingIT.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java index f6a63797d..8fa73116d 100644 --- a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java +++ b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java @@ -51,7 +51,7 @@ public class EhrExtractHandlingIT { private static final boolean OVERWRITE_EXPECTED_JSON = false; private static final int NHS_NUMBER_MIN_MAX_LENGTH = 10; - private static final String ebxmlPartPath = "/xml/RCMR_IN030000UK06/ebxml_part.xml"; + private static final String EBXML_PART_PATH = "/xml/RCMR_IN030000UK06/ebxml_part.xml"; private static final String NHS_NUMBER_PLACEHOLDER = "{{nhsNumber}}"; private static final String CONVERSATION_ID_PLACEHOLDER = "{{conversationId}}"; private static final String LOSING_ODS_CODE = "D5445"; @@ -98,7 +98,7 @@ public class EhrExtractHandlingIT { private String patientNhsNumber; private String conversationId; - static final int waitingTime = 30; + static final int WAITING_TIME = 30; @BeforeEach public void setUp() { @@ -110,7 +110,7 @@ public void setUp() { @Test public void handleEhrExtractFromQueue() throws JSONException { // process starts with consuming a message from MHS queue - sendInboundMessageToQueue("/xml/RCMR_IN030000UK06/payload_part.xml", ebxmlPartPath); + sendInboundMessageToQueue("/xml/RCMR_IN030000UK06/payload_part.xml", EBXML_PART_PATH); // wait until EHR extract is translated to bundle resource and saved to the DB waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); @@ -158,15 +158,15 @@ private String generateConversationId() { return UUID.randomUUID().toString(); } - private void sendInboundMessageToQueue(String payloadPartPath, String EBXML_PART_PATH) { - var inboundMessage = createInboundMessage(payloadPartPath, EBXML_PART_PATH); + private void sendInboundMessageToQueue(String payloadPartPath, String ebxmlPartPath) { + var inboundMessage = createInboundMessage(payloadPartPath, ebxmlPartPath); mhsJmsTemplate.send(session -> session.createTextMessage(parseMessageToString(inboundMessage))); } - private InboundMessage createInboundMessage(String payloadPartPath, String EBXML_PART_PATH) { + private InboundMessage createInboundMessage(String payloadPartPath, String ebxmlPartPath) { var inboundMessage = new InboundMessage(); var payload = readResourceAsString(payloadPartPath).replace(NHS_NUMBER_PLACEHOLDER, patientNhsNumber); - var ebXml = readResourceAsString(EBXML_PART_PATH).replace(CONVERSATION_ID_PLACEHOLDER, conversationId); + var ebXml = readResourceAsString(ebxmlPartPath).replace(CONVERSATION_ID_PLACEHOLDER, conversationId); inboundMessage.setPayload(payload); inboundMessage.setEbXML(ebXml); return inboundMessage; From 4a8bb0108ea05066b5f34624ead7f4fed3352265 Mon Sep 17 00:00:00 2001 From: hospel Date: Tue, 3 Oct 2023 16:43:28 +0100 Subject: [PATCH 11/20] constant checkstyle fix --- .../nhs/adaptors/pss/translator/EhrExtractHandlingIT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java index 8fa73116d..2d0777894 100644 --- a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java +++ b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java @@ -113,7 +113,7 @@ public void handleEhrExtractFromQueue() throws JSONException { sendInboundMessageToQueue("/xml/RCMR_IN030000UK06/payload_part.xml", EBXML_PART_PATH); // wait until EHR extract is translated to bundle resource and saved to the DB - waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); + waitAtMost(Duration.ofSeconds(WAITING_TIME)).until(this::isEhrMigrationCompleted); // verify generated bundle resource verifyBundle("/json/expectedBundle.json"); @@ -126,7 +126,7 @@ public void handleEhrExtractWithConfidentialitySchemaFromQueue() throws JSONExce sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part.xml", ebxmlPartPath); // wait until EHR extract is translated to bundle resource and saved to the DB - waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); + waitAtMost(Duration.ofSeconds(WAITING_TIME)).until(this::isEhrMigrationCompleted); // verify generated bundle resource verifyBundle("/json/expectedBundle.json"); @@ -139,7 +139,7 @@ public void handleEhrExtractWithConfidentialityCodeFromQueue() throws JSONExcept sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml", ebxmlPartPath); // wait until EHR extract is translated to bundle resource and saved to the DB - waitAtMost(Duration.ofSeconds(waitingTime)).until(this::isEhrMigrationCompleted); + waitAtMost(Duration.ofSeconds(WAITING_TIME)).until(this::isEhrMigrationCompleted); // verify generated bundle resource verifyBundle("/json/expectedBundle.json"); From b0d6a0a75433effcd6b8633795c5de4a399c4f90 Mon Sep 17 00:00:00 2001 From: hospel Date: Tue, 3 Oct 2023 17:08:13 +0100 Subject: [PATCH 12/20] fixing checktyle errors: whitespaces, identations --- .../service/BundleMapperService.java | 2 +- .../service/FailedProcessHandlingService.java | 2 -- .../service/NackAckPreparationService.java | 1 - .../task/EhrExtractMessageHandler.java | 17 ++++++++++------ .../pss/translator/util/ObservationUtil.java | 2 -- .../translator/util/XmlParseUtilService.java | 20 +++++++++---------- .../translator/util/XmlUnmarshallUtil.java | 1 - 7 files changed, 22 insertions(+), 23 deletions(-) diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java index 978d2473c..01302b33e 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java @@ -246,7 +246,7 @@ private Organization getPatientOrganization(List agent } private RCMRMT030101UK04EhrFolder getEhrFolder(RCMRIN030000UKMessage xmlMessage) { - if(xmlMessage instanceof RCMRIN030000UK07Message) { + if (xmlMessage instanceof RCMRIN030000UK07Message) { return ((RCMRIN030000UK07Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); } else { return ((RCMRIN030000UK06Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java index 56ccfaedc..0b332d44f 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/FailedProcessHandlingService.java @@ -25,8 +25,6 @@ import java.util.List; import org.hl7.v3.COPCIN000001UK01Message; -import org.hl7.v3.RCMRIN030000UK06Message; -import org.hl7.v3.RCMRIN030000UK07Message; import org.hl7.v3.RCMRIN030000UKMessage; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java index f00c64b92..44cf09326 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/NackAckPreparationService.java @@ -5,7 +5,6 @@ import org.hl7.v3.COPCIN000001UK01Message; import org.hl7.v3.RCMRIN030000UK06Message; -import org.hl7.v3.RCMRIN030000UK07Message; import org.hl7.v3.RCMRIN030000UKMessage; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java index c7a23c5fa..933823fc6 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java @@ -110,7 +110,8 @@ public void handleMessage(InboundMessage inboundMessage, String conversationId, if (!hasExternalAttachment) { // If there are no external attachments, process the entire message now - processAndCompleteEHRMessage(inboundMessage, conversationId, skeletonCIDAttachmentLog, migrationRequest, messageId, destinationClass); + processAndCompleteEHRMessage(inboundMessage, conversationId, skeletonCIDAttachmentLog, + migrationRequest, messageId, destinationClass); } else { //process MID messages and send continue message if external messages exist processExternalAttachmentsAndSendContinueMessage(inboundMessage, @@ -168,7 +169,8 @@ private PatientAttachmentLog processInternalAttachmentsAndReturnSkeletonLog(Inbo private void processAndCompleteEHRMessage(InboundMessage inboundMessage, String conversationId, PatientAttachmentLog skeletonCIDAttachmentLog, - PatientMigrationRequest migrationRequest, String messageId, Class destinationClass) throws JAXBException, TransformerException, + PatientMigrationRequest migrationRequest, String messageId, Class destinationClass) + throws JAXBException, TransformerException, SAXException, AttachmentNotFoundException, InlineAttachmentProcessingException, BundleMappingException, JsonProcessingException { @@ -192,7 +194,7 @@ private void processAndCompleteEHRMessage(InboundMessage inboundMessage, // now we have the transformed payload, lets create our bundle Bundle bundle = null; - if(destinationClass.getCanonicalName().contains("RCMRIN030000UK07Message")) { + if (destinationClass.getCanonicalName().contains("RCMRIN030000UK07Message")) { var payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK07Message.class); bundle = bundleMapperService.mapToBundle(payload, migrationRequest.getLosingPracticeOdsCode(), attachments); } else { @@ -213,9 +215,12 @@ private void processAndCompleteEHRMessage(InboundMessage inboundMessage, } private void processExternalAttachmentsAndSendContinueMessage(InboundMessage inboundMessage, - PatientMigrationRequest migrationRequest, MigrationStatusLog migrationStatusLog, - RCMRIN030000UKMessage payload, String conversationId, String messageId) - throws ParseException, JsonProcessingException { + PatientMigrationRequest migrationRequest, + MigrationStatusLog migrationStatusLog, + RCMRIN030000UKMessage payload, + String conversationId, + String messageId) + throws ParseException, JsonProcessingException { for (InboundMessage.ExternalAttachment externalAttachment: inboundMessage.getExternalAttachments()) { PatientAttachmentLog patientAttachmentLog; diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java index b8bb4f2a1..44f34483a 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java @@ -19,8 +19,6 @@ import org.hl7.v3.RCMRMT030101UK04Author; import org.hl7.v3.RCMRMT030101UK04EhrComposition; import org.hl7.v3.RCMRMT030101UK04EhrExtract; -import org.hl7.v3.RCMRMT030101UK04InterpretationRange; -import org.hl7.v3.RCMRMT030101UK04ReferenceRange; import org.hl7.v3.RCMRMT030101UKInterpretationRange; import org.hl7.v3.RCMRMT030101UKReferenceRange; import org.hl7.v3.TS; diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java index 42e08191a..22cff7e96 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java @@ -87,7 +87,7 @@ public static String parseContentType(String description) throws ParseException } public static String parseNhsNumber(RCMRIN030000UKMessage payload) { - if(payload instanceof RCMRIN030000UK06Message) { + if (payload instanceof RCMRIN030000UK06Message) { return ((RCMRIN030000UK06Message) payload) .getControlActEvent() .getSubject() @@ -199,7 +199,7 @@ public static String getFromPractiseValue(Element gp2gpElement) { } public static String parseFromAsid(RCMRIN030000UKMessage payload) { - if(payload instanceof RCMRIN030000UK06Message) { + if (payload instanceof RCMRIN030000UK06Message) { return ((RCMRIN030000UK06Message) payload).getCommunicationFunctionRcv() .get(0) .getDevice() @@ -226,7 +226,7 @@ public static String parseToAsid(RCMRIN030000UKMessage payload) { } public static String parseToOdsCode(RCMRIN030000UKMessage payload) { - if(payload instanceof RCMRIN030000UK07Message) { + if (payload instanceof RCMRIN030000UK07Message) { return ((RCMRIN030000UK07Message) payload).getControlActEvent() .getSubject() .getEhrExtract() @@ -237,13 +237,13 @@ public static String parseToOdsCode(RCMRIN030000UKMessage payload) { .getExtension(); } else { return ((RCMRIN030000UK06Message) payload).getControlActEvent() - .getSubject() - .getEhrExtract() - .getAuthor() - .getAgentOrgSDS() - .getAgentOrganizationSDS() - .getId() - .getExtension(); + .getSubject() + .getEhrExtract() + .getAuthor() + .getAgentOrgSDS() + .getAgentOrganizationSDS() + .getId() + .getExtension(); } } diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlUnmarshallUtil.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlUnmarshallUtil.java index 4ef92cf5a..e229fae0d 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlUnmarshallUtil.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlUnmarshallUtil.java @@ -10,7 +10,6 @@ import javax.xml.bind.Unmarshaller; import org.apache.commons.io.IOUtils; -import org.hl7.v3.RCMRIN030000UKMessage; public class XmlUnmarshallUtil { public static T unmarshallFile(File xmlFile, Class destinationClass) throws JAXBException { From 76465bcb0c46bec2cd505cce9206b947d2314b07 Mon Sep 17 00:00:00 2001 From: hospel Date: Wed, 4 Oct 2023 09:38:59 +0100 Subject: [PATCH 13/20] checkstyle fixes --- .../translator/service/BundleMapperService.java | 16 +++++++++++++--- .../translator/util/XmlParseUtilService.java | 17 +++++++++-------- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java index 01302b33e..e33a9aeb4 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/BundleMapperService.java @@ -247,14 +247,24 @@ private Organization getPatientOrganization(List agent private RCMRMT030101UK04EhrFolder getEhrFolder(RCMRIN030000UKMessage xmlMessage) { if (xmlMessage instanceof RCMRIN030000UK07Message) { - return ((RCMRIN030000UK07Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); + return ((RCMRIN030000UK07Message) xmlMessage).getControlActEvent() + .getSubject() + .getEhrExtract() + .getComponent() + .get(0) + .getEhrFolder(); } else { - return ((RCMRIN030000UK06Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract().getComponent().get(0).getEhrFolder(); + return ((RCMRIN030000UK06Message) xmlMessage).getControlActEvent() + .getSubject() + .getEhrExtract() + .getComponent() + .get(0) + .getEhrFolder(); } } private RCMRMT030101UK04EhrExtract getEhrExtract(RCMRIN030000UKMessage xmlMessage) { - if(xmlMessage instanceof RCMRIN030000UK07Message) { + if (xmlMessage instanceof RCMRIN030000UK07Message) { return ((RCMRIN030000UK07Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract(); } else { return ((RCMRIN030000UK06Message) xmlMessage).getControlActEvent().getSubject().getEhrExtract(); diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java index 22cff7e96..066346d06 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/XmlParseUtilService.java @@ -236,14 +236,15 @@ public static String parseToOdsCode(RCMRIN030000UKMessage payload) { .getId() .getExtension(); } else { - return ((RCMRIN030000UK06Message) payload).getControlActEvent() - .getSubject() - .getEhrExtract() - .getAuthor() - .getAgentOrgSDS() - .getAgentOrganizationSDS() - .getId() - .getExtension(); + return ((RCMRIN030000UK06Message) payload) + .getControlActEvent() + .getSubject() + .getEhrExtract() + .getAuthor() + .getAgentOrgSDS() + .getAgentOrganizationSDS() + .getId() + .getExtension(); } } From 8effdb92d0ed5eb5b3c2471680fa61619cc40896 Mon Sep 17 00:00:00 2001 From: hospel Date: Wed, 4 Oct 2023 10:48:36 +0100 Subject: [PATCH 14/20] changing RCMRMT030101UK04ReferenceRange specific type an abstract one in declaration --- .../org/hl7/v3/RCMRMT030101UK04ObservationStatement.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ObservationStatement.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ObservationStatement.java index b7a7ccb57..016981f86 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ObservationStatement.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ObservationStatement.java @@ -105,7 +105,8 @@ public class RCMRMT030101UK04ObservationStatement { protected RCMRMT030101UK04Subject subject; protected List specimen; protected List pertinentInformation; - protected List referenceRange; + @XmlElement(type=RCMRMT030101UK04ReferenceRange.class) + protected List referenceRange; protected List informant; @XmlElement(name = "Participant") protected List participant; @@ -439,7 +440,7 @@ public List getPertinentInformation() { * * */ - public List getReferenceRange() { + public List getReferenceRange() { if (referenceRange == null) { referenceRange = new ArrayList(); } From b9d30e5dc261e0b14b4e2a1d5011661e9b2f9044 Mon Sep 17 00:00:00 2001 From: hospel Date: Wed, 4 Oct 2023 16:28:30 +0100 Subject: [PATCH 15/20] timeout change to the original value of 10 sec --- .../uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java index 2d0777894..506ce3f00 100644 --- a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java +++ b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java @@ -98,7 +98,7 @@ public class EhrExtractHandlingIT { private String patientNhsNumber; private String conversationId; - static final int WAITING_TIME = 30; + static final int WAITING_TIME = 10; @BeforeEach public void setUp() { @@ -219,4 +219,4 @@ private void overwriteExpectJson(String newExpected) { private String parseMessageToString(InboundMessage inboundMessage) { return objectMapper.writeValueAsString(inboundMessage); } -} \ No newline at end of file +} From 3ac899af2341013debdd951b53df95177ecc0687 Mon Sep 17 00:00:00 2001 From: hospel Date: Wed, 4 Oct 2023 17:05:24 +0100 Subject: [PATCH 16/20] removing unused file --- .../test/resources/xml/RCMR_IN030000UK07.xml | 19626 ---------------- 1 file changed, 19626 deletions(-) delete mode 100644 schema/src/test/resources/xml/RCMR_IN030000UK07.xml diff --git a/schema/src/test/resources/xml/RCMR_IN030000UK07.xml b/schema/src/test/resources/xml/RCMR_IN030000UK07.xml deleted file mode 100644 index d8b906c22..000000000 --- a/schema/src/test/resources/xml/RCMR_IN030000UK07.xml +++ /dev/null @@ -1,19626 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Unknown - - - - TEMPLE SOWERBY MEDICAL PRACTICE - - - - - - - - - General Medical Practitioner - - - - Mr - NHS - Test - - - - TEMPLE SOWERBY MEDICAL PRACTICE - - - Fulford Grange - Micklefield Lane - Rawdon - Rawdon - Leeds - LS19 6BA - - - - - - - - - Clerical Worker - - - - Dr - Peter - Whitcombe - - - - National - - - - - - - - - Clerical Worker - - - - Dr - David - McAvenue - - - - National - - - - - - - - - General Medical Practitioner - - - - Dr - Peter - Whitcombe - - - - TEMPLE SOWERBY MEDICAL PRACTICE - - - Fulford Grange - Micklefield Lane - Rawdon - Rawdon - Leeds - LS19 6BA - - - - - - - - - Unknown - - - - External User - - - - National - - - - - - - - - General Medical Practitioner - - - - Dr - David - McAvenue - - - - TEMPLE SOWERBY MEDICAL PRACTICE - - - Fulford Grange - Micklefield Lane - Rawdon - Rawdon - Leeds - LS19 6BA - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Inactive Diary Entry - Medication review - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - Some example text - - - - - - - Absent Attachment - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - Test request statement text - New line - - -
- - - Routine - - - - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - - -
- - - - - - - - Significance : Major - Episodicity : First - This is problem Problem Info: Problem Notes: This is problem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - - -
- - - - - - - - Significance : Major - Episodicity : Review - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - This is just a consultation to test issue of previous courses via consultations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 56 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 repeat - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - - - - - - - - -
- - - - - - - - This is a note - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the generic acute for 22047 - - - - - - - One To Be Taken Every Four To Six Hours When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - m - - - - - Expected Supply Duration: 28 day - - - - - - - not applicable - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - Expected Supply Duration: 28 day - - - - - - - For Subcutaneous Injection, According To Requirements - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - For Subcutaneous Injection, According To Requirements - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - For Subcutaneous Injection, According To Requirements - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - 1 to be taken 3 times a day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - 1 to be taken 3 times a day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - Expected Supply Duration: 28 day - - - - - - - 1 - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - 1 - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Oxygen Composite cylinder with integral headset 1360 litres - - - - - - - - - - - - - - - - - cylinder - - - - - Expected Supply Duration: 28 day - - - - - - - As and when required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Oxygen Composite cylinder with integral headset 1360 litres - - - - - - - - - - - - - cylinder - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - As and when required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - gram - - - - - Expected Supply Duration: 28 day - - - - - - - Apply When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - zzzzzss - - - - - - - - - - - zzzzzss - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Prescribing Error - - - - - - - - - - - Prescribing Error - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Paracetamol Caplets 500 mg - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes - - - - - - - - - Patient no longer requires these - - - - - - - - - - - Patient no longer requires these - - - - - - - Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Paracetamol Caplets 500 mg - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes - - - - - - - Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Clinical Contra-indication - - - - - - - - - - - Clinical Contra-indication - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some more pharmacy information - - - - - - - 1 Tablet to be taken with food once per day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some more pharmacy information - - - - - - - 1 Tablet to be taken with food once per day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Ferrous sulphate 200mg tablets - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Ferrous sulphate 200mg tablets - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some pharmacy Information - - - - - - - One To Be Taken With Breakfast, Lunch And Evening Meal - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some pharmacy Information - - - - - - - One To Be Taken With Breakfast, Lunch And Evening Meal - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 6 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 7 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 8 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 9 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 10 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 150 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 150 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:This is a pharmacy information note for Cilazapril - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is a pharmacy information note for Cilazapril - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 28 day - - - - - - - Two Sprays To Be Used In Each Nostril Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) - - - - - - - - - - - - - dose - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Two Sprays To Be Used In Each Nostril Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Nasonex 50micrograms/dose nasal spray (Merck Sharp & Dohme Ltd) - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 28 day - - - - - - - Two Sprays To Be Used In Each Nostril Once A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Benzoyl Peroxide Aquagel 5 % - - - - - - - - - - - - - - - - - gram - - - - - Expected Supply Duration: 28 day - - - - - - - Apply Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Benzoyl Peroxide Aquagel 5 % - - - - - - - - - - - - - gram - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Apply Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Benzoyl Peroxide Aquagel 5 % - - - - - - - - - - - - - gram - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Apply Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Benzoyl Peroxide Aquagel 5 % - - - - - - - - - - - - - gram - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Apply Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Allergy - - - - - - - - - - - Allergy - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf - - - - - - - One Or Two To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate - - - - - - - One Or Two To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 14 day - - - - - - - - - Adverse reaction to Central Nervous System Drugs (allergy) - - - - - - - - - - - Adverse reaction to Central Nervous System Drugs (allergy) - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Berkolol Tablets 10 mg - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - nmkljkljllk - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 23 day - - - - - - - - - Alergy - - - - - - - - - - - Alergy - - - - - - - One Puff To Be Inhaled When Needed (Not More Than Once Daily) - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 34 day - - - - - - - One To Be Taken Three Times A Day Twenty Minutes Before Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 34 day - - - - - - - One To Be Taken Three Times A Day Twenty Minutes Before Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 14 day Notes: Prescriber Notes:This is the restart - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day Notes: Prescriber Notes:Issue number 1 This is the restart - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 14 day - - - - - - - - - kjhkjkjhjkjkj - - - - - - - - - - - kjhkjkjhjkjkj - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - gram - - - - - Expected Supply Duration: 28 day - - - - - - - Apply To The Affected Eye(s) At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - gram - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Apply To The Affected Eye(s) At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - - - Adverse reaction to Prednisolone (Fat, John said) - - - - - - - - - - - Adverse reaction to Prednisolone (Fat, John said) - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 This is the pharmacy message on print Patient Notes:Issue number 2 This is the patient message on print - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Neoclarityn 5mg tablets (Schering-Plough Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Neoclarityn 5mg tablets (Schering-Plough Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lipitor 10mg tablets (Pfizer Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lipitor 10mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - Two To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lipitor 10mg tablets (Pfizer Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - Two To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lipitor 10mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Two To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Neoclarityn 5mg tablets (Schering-Plough Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Neoclarityn 5mg tablets (Schering-Plough Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 100 day - - - - - - - One Puff To Be Inhaled Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dose - - - - - - - - - - Expected Supply Duration: 100 day - - - - - - - One Puff To Be Inhaled Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Acute Ph I Patient Notes:Acute Pa I - - - - - - - One To Be Taken Each Day With Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Acute Ph I Patient Notes:Issue number 1 Acute Pa I - - - - - - - One To Be Taken Each Day With Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 19 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 19 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:This is PT Patient Notes:This is PI - - - - - - - One To Be Taken Each Morning Before Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is PT Patient Notes:Issue number 1 This is PI - - - - - - - One To Be Taken Each Morning Before Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf - - - - - - - One Or Two To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate Patient Notes:Issue number 1 yutyuhyfhf - - - - - - - One Or Two To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 63 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 63 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 84 day - - - - - - - One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 84 day - - - - - - - One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 5 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 56 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning Before Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Out of Hours - - - - - - - One To Be Taken Each Morning Before Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 3 day - - - - - - - Six To Be Taken Each Morning As A Single Dose - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 3 day - - - - - - - Six To Be Taken Each Morning As A Single Dose - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 3 day - - - - - - - Six To Be Taken Each Morning As A Single Dose - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Clinical Grounds - - - - - - - - - - - Clinical Grounds - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This was set to 'Private' in application rather than at issue time - - - - - - - One To Be Taken Each Morning - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private and 'Hospital' - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private record for notes - - - - - - - One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Xalatan 50micrograms/ml eye drops (Pfizer Ltd) - - - - - - - - - - - - - - - - - ml - - - - - Expected Supply Duration: 28 day - - - - - - - One Drop To Be Used At Night In The Affected Eye(s) - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Xalatan 50micrograms/ml eye drops (Pfizer Ltd) - - - - - - - - - - - - - ml - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private Handwritten - - - - - - - One Drop To Be Used At Night In The Affected Eye(s) - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private PrintedScript Non EPS - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is the OTC - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - GP Surgery - - - - - - - - - - - - - - Test Location - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -
- - - - - - capsule - - - - - 1 - - - - - 2 - - - - - 3 - - - - - - - - - - - - - tablet(s) - - - - - - - - - - - - TAKE ONE DAILY - - - - - - - - - - - - - - - - - - - - - - Primary Source: true Location: EMIS Test Practice Location Manufacturer: - another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not - GMS - - - - - - - - - - - - - Some example text - - - - - - - Absent Attachment - - - - - - - - - - - - - Added from a problem within a consultation - - -
- - - - - - - - - - - - - - - - - - - - - Test request statement text - New line - - - -
- - - - Routine - - - - - - - - - - - - - - - - - Active Problem, Significant - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - O/E - blood pressure reading - - - -
- - - - - - - Systolic arterial pressure - - - -
- - - - High Text - - - - mm[Hg] - - - - - Test Range 1 - - - - - - - - - - Test systolic pressure text - - - - - - - - - Diastolic arterial pressure - - - -
- - - - Low Text - - - - mm[Hg] - - - - - Test Range 2 - - - - - - - - - - Test diastolic pressure text - - - - - - - - Systolic Measurement Absent: Unknown - - - - - - - - - - - - - - - - Some example text - - - - - - - - - - - - -
- - - - - - - - - - - - - -
- - - - - - - Drug Allergy - Apsrin - - - - - - - - - - - - - - -
- - - - - - - - - High - - - - - Test text 1 - - - - - Age and sex based - - - - - - - - - - - - - - - - - - - - - Filed Report - - - -
- - - - - - CommentType:LABORATORY RESULT COMMENT(E141) - CommentDate:20030221115000 - - Status: unknown - - - - - - - - - - - -
- - - - - - - -
- - - Blood - - - - - - - CommentType:LAB SPECIMEN COMMENT(E271) - CommentDate:20030109000000 - - Received Date: 2003-01-09 13:54 - - - - - - - - - - Mocked code - - - -
- - - - - - - Mocked code - - - -
- - - - - - - - CommentType:USER COMMENT - CommentDate:20100113 - - This is some random free text 1 - - - - - - - - - CommentType:USER COMMENT - CommentDate:20100113 - - - This is some random free text 2 - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - Notes on the tired all the time entry - - - - - - - - Comments - Aaaargh - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 7 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is 'Handwritten' - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 'Record for Notes' case - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Daily With Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Hospital Issued medication - - - - - - - One To Be Taken Daily With Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning Before Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Prescribing Error - - - - - - - - - - - Prescribing Error - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 14 day - - - - - - - - - Change to Medication Treatment Regime - - - - - - - - - - - Change to Medication Treatment Regime - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 23 day - - - - - - - - - some reason - - - - - - - - - - - some reason - - - - - - - One Puff To Be Inhaled When Needed (Not More Than Once Daily) - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - - - Recreate 22047 - - - - - - - - - - - Recreate 22047 - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 issue after switch to generic - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Every Four To Six Hours When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - End course for acute post G -> T switch for 22047 - - - - - - - - - - - End course for acute post G -> T switch for 22047 - - - - - - - One To Be Taken Every Four To Six Hours When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 THis is the acute issue post generic -> proprietary switch for 22047 - - - - - - - One To Be Taken Every Four To Six Hours When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 5 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 5 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 150 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 150 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - Active Problem, major - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Cetirizine Hydrochloride - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Mebeverine Hydrochloride - - - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Lustral - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Prednisolone - - - -
- - - - - - Status: Active Fat - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Central Nervous System Drugs - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - O/E - blood pressure reading - - - -
- - - - - - - Systolic arterial pressure - - - -
- - - - High Text - - - - mm[Hg] - - - - - Test Range 1 - - - - - - - - - - Test systolic pressure text - - - - - - - - - Diastolic arterial pressure - - - -
- - - - Low Text - - - - mm[Hg] - - - - - Test Range 2 - - - - - - - - - - Test diastolic pressure text - - - - - - - - Systolic Measurement Absent: Unknown - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - Filed Report - - - -
- - - - - - CommentType:LABORATORY RESULT COMMENT(E141) - CommentDate:20100225154100 - - Status: unknown - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Central Nervous System Drugs - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Filed Report - - - -
- - - - - - - - - - - - - -
- - - - - - - -
- - - URINE - - - - - - - CommentType:LAB SPECIMEN COMMENT(E271) - CommentDate:20020330092100 - - Received Date: 2002-03-30 09:21 - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - CommentType:LABORATORY RESULT - COMMENT(E141) - CommentDate:20100223000000 - - NEGATIVE - In normal pregnancies the test will usually be positive from the - second day after the expected menstruation. - - - - - - - - - CommentType:USER COMMENT - CommentDate:20201215151704 - - (q) - Normal - No Action - - - - - - - - - - - - - - - -
- - - - - - - -
- - - SERUM - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - - CommentType:USER COMMENT - CommentDate:20201215151713 - - (q) - Normal - No Action - - - - - - - - - - - - - - - -
- - - - - - - -
- - - SERUM - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - CommentType:LABORATORY RESULT - COMMENT(E141) - CommentDate:20100223000000 - - Test not available - - - - - - - - - CommentType:USER COMMENT - CommentDate:20220324124213 - - No action needed - - - - - - - - - - - - - - - - - - GP Surgery - - - - - - - - - - - - - - Test Location - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - capsule - - - - - 1 - - - - - 2 - - - - - 3 - - - - - - - - - - - - - tablet(s) - - - - - - - - - - - - TAKE ONE DAILY - - - - - - - - - - - - - - - - - - - - - - Primary Source: true Location: EMIS Test Practice Location Manufacturer: - another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not - GMS - - - - - - - - - - - - - Some example text - - - - - - - Record Attachment - - - - - - - - - - - - - Added from a problem within a consultation - - -
- - - - - - - - - - - - - - - - - - - - - Test request statement text - New line - - - -
- - - - Routine - - - - - - - - - - - - - - - - - Active Problem, Significant - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - O/E - blood pressure reading - - - -
- - - - - - - Systolic arterial pressure - - - -
- - - - High Text - - - - mm[Hg] - - - - - Test Range 1 - - - - - - - - - - Test systolic pressure text - - - - - - - - - Diastolic arterial pressure - - - -
- - - - Low Text - - - - mm[Hg] - - - - - Test Range 2 - - - - - - - - - - Test diastolic pressure text - - - - - - - - Systolic Measurement Absent: Unknown - - - - - - - - - - - - - - - - Some example text - - - - - - - - - - - - -
- - - - - - - - - - - - - -
- - - - - - - Drug Allergy - Apsrin - - - - - - - - - - - - - - -
- - - - - - - - - High - - - - - Test text 1 - - - - - Age and sex based - - - - - - - - - - - - - - - - - - - - - Filed Report - - - -
- - - - - - CommentType:LABORATORY RESULT COMMENT(E141) - CommentDate:20030221115000 - - Status: unknown - - - - - - - - - - - -
- - - - - - - -
- - - Blood - - - - - - - CommentType:LAB SPECIMEN COMMENT(E271) - CommentDate:20030109000000 - - Received Date: 2003-01-09 13:54 - - - - - - - - - - Mocked code - - - -
- - - - - - - Mocked code - - - -
- - - - - - - - CommentType:USER COMMENT - CommentDate:20100113 - - This is some random free text 1 - - - - - - - - - CommentType:USER COMMENT - CommentDate:20100113 - - - This is some random free text 2 - - - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - CommentType:SUPER COMMENT - CommentDate:20220321163025 - - Looks like Covid - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - CommentType:OTHER COMMENT - CommentDate:20220321162705 - - Or maybe not? - - - - - - - - - CommentType:USER COMMENT - CommentDate:20100223000000 - - This should not be a part of Battery Observation.comment - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - Notes on the tired all the time entry - - - - - - - - Comments - Aaaargh - - - - - - - - - - - -
- - - - - - - - - - - - - - - Some example text - - - - - - - Record Attachment - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From 615196f9119fd308dda283f9332f350aeced7a4b Mon Sep 17 00:00:00 2001 From: hospel Date: Thu, 5 Oct 2023 10:48:44 +0100 Subject: [PATCH 17/20] code refactoring --- .../pss/translator/task/EhrExtractMessageHandler.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java index 933823fc6..6bbf0f5fc 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/EhrExtractMessageHandler.java @@ -194,13 +194,13 @@ private void processAndCompleteEHRMessage(InboundMessage inboundMessage, // now we have the transformed payload, lets create our bundle Bundle bundle = null; + RCMRIN030000UKMessage payload = null; if (destinationClass.getCanonicalName().contains("RCMRIN030000UK07Message")) { - var payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK07Message.class); - bundle = bundleMapperService.mapToBundle(payload, migrationRequest.getLosingPracticeOdsCode(), attachments); + payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK07Message.class); } else { - var payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK06Message.class); - bundle = bundleMapperService.mapToBundle(payload, migrationRequest.getLosingPracticeOdsCode(), attachments); + payload = unmarshallString(inboundMessage.getPayload(), RCMRIN030000UK06Message.class); } + bundle = bundleMapperService.mapToBundle(payload, migrationRequest.getLosingPracticeOdsCode(), attachments); // update the db migration request migrationStatusLogService.updatePatientMigrationRequestAndAddMigrationStatusLog( From 0f221f5376d148c6f68dbf17eb8ece2a3c240cea Mon Sep 17 00:00:00 2001 From: hospel Date: Thu, 5 Oct 2023 10:58:17 +0100 Subject: [PATCH 18/20] variable name change --- .../adaptors/pss/translator/task/MhsQueueMessageHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java index 9e792e18d..031e9a2e4 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/MhsQueueMessageHandler.java @@ -41,7 +41,7 @@ @Component @RequiredArgsConstructor(onConstructor = @__(@Autowired)) public class MhsQueueMessageHandler { - private static final String EHR_EXTRACT_INTERACTION_ID = "RCMR_IN030000UK06"; + private static final String EHR_EXTRACT_INTERACTION_ID06 = "RCMR_IN030000UK06"; private static final String EHR_EXTRACT_INTERACTION_ID07 = "RCMR_IN030000UK07"; private static final String ACKNOWLEDGEMENT_INTERACTION_ID = "MCCI_IN010000UK13"; private static final String CONTINUE_ATTACHMENT_INTERACTION_ID = "COPC_IN000001UK01"; @@ -78,7 +78,7 @@ public boolean handleMessage(Message message) { if (ACKNOWLEDGEMENT_INTERACTION_ID.equals(interactionId)) { acknowledgmentMessageHandler.handleMessage(inboundMessage, conversationId); - } else if (EHR_EXTRACT_INTERACTION_ID.equals(interactionId)) { + } else if (EHR_EXTRACT_INTERACTION_ID06.equals(interactionId)) { ehrExtractMessageHandler.handleMessage(inboundMessage, conversationId, RCMRIN030000UK06Message.class); } else if (EHR_EXTRACT_INTERACTION_ID07.equals(interactionId)) { ehrExtractMessageHandler.handleMessage(inboundMessage, conversationId, RCMRIN030000UK07Message.class); From a02d06f2cc10be952c48f63c2024f7d8ff297543 Mon Sep 17 00:00:00 2001 From: hospel Date: Thu, 5 Oct 2023 11:21:25 +0100 Subject: [PATCH 19/20] interfaces removal --- .../adaptors/pss/translator/util/ObservationUtil.java | 10 +++++----- .../main/java/org/hl7/v3/RCMRMT030101UK04Author2.java | 2 +- .../java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java | 6 +++--- .../hl7/v3/RCMRMT030101UK04InterpretationRange.java | 2 +- .../hl7/v3/RCMRMT030101UK04ObservationStatement.java | 4 ++-- .../org/hl7/v3/RCMRMT030101UK04ReferenceRange.java | 10 +++++----- .../main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java | 4 ---- .../org/hl7/v3/RCMRMT030101UKInterpretationRange.java | 7 ------- .../java/org/hl7/v3/RCMRMT030101UKReferenceRange.java | 6 ------ 9 files changed, 17 insertions(+), 34 deletions(-) delete mode 100644 schema/src/main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java delete mode 100644 schema/src/main/java/org/hl7/v3/RCMRMT030101UKInterpretationRange.java delete mode 100644 schema/src/main/java/org/hl7/v3/RCMRMT030101UKReferenceRange.java diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java index 44f34483a..af75e8f83 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/util/ObservationUtil.java @@ -19,8 +19,8 @@ import org.hl7.v3.RCMRMT030101UK04Author; import org.hl7.v3.RCMRMT030101UK04EhrComposition; import org.hl7.v3.RCMRMT030101UK04EhrExtract; -import org.hl7.v3.RCMRMT030101UKInterpretationRange; -import org.hl7.v3.RCMRMT030101UKReferenceRange; +import org.hl7.v3.RCMRMT030101UK04InterpretationRange; +import org.hl7.v3.RCMRMT030101UK04ReferenceRange; import org.hl7.v3.TS; import org.springframework.stereotype.Component; @@ -76,11 +76,11 @@ public static CodeableConcept getInterpretation(CV interpretationCode) { } public static List getReferenceRange( - List referenceRangeList) { + List referenceRangeList) { var outputReferenceRanges = new ArrayList(); - for (RCMRMT030101UKReferenceRange referenceRange : referenceRangeList) { + for (RCMRMT030101UK04ReferenceRange referenceRange : referenceRangeList) { var referenceRangeComponent = new Observation.ObservationReferenceRangeComponent(); referenceRangeComponent.setText(referenceRange.getReferenceInterpretationRange().getText()); @@ -176,7 +176,7 @@ private static String getInterpretationDisplay(String interpretationCode) { }; } - private static boolean referenceInterpretationRangeHasValue(RCMRMT030101UKInterpretationRange referenceInterpretationRange) { + private static boolean referenceInterpretationRangeHasValue(RCMRMT030101UK04InterpretationRange referenceInterpretationRange) { return referenceInterpretationRange != null && referenceInterpretationRange.getValue() != null; } diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04Author2.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04Author2.java index fe934e888..03e1c39d8 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04Author2.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04Author2.java @@ -54,7 +54,7 @@ "signatureText", "agentOrgSDS" }) -public class RCMRMT030101UK04Author2 implements RCMRMT030101UKAuthor2 { +public class RCMRMT030101UK04Author2 { @XmlElement(required = true) protected TS time; diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java index 971f1c2f0..9acb1b6fd 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04EhrFolder.java @@ -72,7 +72,7 @@ public class RCMRMT030101UK04EhrFolder { @XmlElement(required = true) protected TS availabilityTime; @XmlElement(required = true, type = RCMRMT030101UK04Author2.class) - protected RCMRMT030101UKAuthor2 author; + protected RCMRMT030101UK04Author2 author; @XmlElement(required = true) protected RCMRMT030101UK04ResponsibleParty responsibleParty; @XmlElement(required = true) @@ -196,7 +196,7 @@ public void setAvailabilityTime(TS value) { * {@link RCMRMT030101UK04Author2 } * */ - public RCMRMT030101UKAuthor2 getAuthor() { + public RCMRMT030101UK04Author2 getAuthor() { return author; } @@ -208,7 +208,7 @@ public RCMRMT030101UKAuthor2 getAuthor() { * {@link RCMRMT030101UK04Author2 } * */ - public void setAuthor(RCMRMT030101UKAuthor2 value) { + public void setAuthor(RCMRMT030101UK04Author2 value) { this.author = value; } diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04InterpretationRange.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04InterpretationRange.java index 360558d60..2d8962d2e 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04InterpretationRange.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04InterpretationRange.java @@ -50,7 +50,7 @@ "text", "value" }) -public class RCMRMT030101UK04InterpretationRange implements RCMRMT030101UKInterpretationRange { +public class RCMRMT030101UK04InterpretationRange { protected String text; protected IVLPQ value; diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ObservationStatement.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ObservationStatement.java index 016981f86..a581899b2 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ObservationStatement.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ObservationStatement.java @@ -106,7 +106,7 @@ public class RCMRMT030101UK04ObservationStatement { protected List specimen; protected List pertinentInformation; @XmlElement(type=RCMRMT030101UK04ReferenceRange.class) - protected List referenceRange; + protected List referenceRange; protected List informant; @XmlElement(name = "Participant") protected List participant; @@ -440,7 +440,7 @@ public List getPertinentInformation() { * * */ - public List getReferenceRange() { + public List getReferenceRange() { if (referenceRange == null) { referenceRange = new ArrayList(); } diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ReferenceRange.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ReferenceRange.java index f4b5cb008..2498b087d 100644 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ReferenceRange.java +++ b/schema/src/main/java/org/hl7/v3/RCMRMT030101UK04ReferenceRange.java @@ -48,10 +48,10 @@ @XmlType(name = "RCMR_MT030101UK04.ReferenceRange", propOrder = { "referenceInterpretationRange" }) -public class RCMRMT030101UK04ReferenceRange implements RCMRMT030101UKReferenceRange { +public class RCMRMT030101UK04ReferenceRange { - @XmlElement(required = true, type = RCMRMT030101UK04InterpretationRange.class) - protected RCMRMT030101UKInterpretationRange referenceInterpretationRange; + @XmlElement(required = true) + protected RCMRMT030101UK04InterpretationRange referenceInterpretationRange; @XmlAttribute(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; @@ -73,7 +73,7 @@ public class RCMRMT030101UK04ReferenceRange implements RCMRMT030101UKReferenceRa * {@link RCMRMT030101UK04InterpretationRange } * */ - public RCMRMT030101UKInterpretationRange getReferenceInterpretationRange() { + public RCMRMT030101UK04InterpretationRange getReferenceInterpretationRange() { return referenceInterpretationRange; } @@ -85,7 +85,7 @@ public RCMRMT030101UKInterpretationRange getReferenceInterpretationRange() { * {@link RCMRMT030101UK04InterpretationRange } * */ - public void setReferenceInterpretationRange(RCMRMT030101UKInterpretationRange value) { + public void setReferenceInterpretationRange(RCMRMT030101UK04InterpretationRange value) { this.referenceInterpretationRange = value; } diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java deleted file mode 100644 index e799814fe..000000000 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UKAuthor2.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.hl7.v3; - -public interface RCMRMT030101UKAuthor2 { -} diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UKInterpretationRange.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UKInterpretationRange.java deleted file mode 100644 index 33e0f0ad2..000000000 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UKInterpretationRange.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.hl7.v3; - -public interface RCMRMT030101UKInterpretationRange { - - IVLPQ getValue(); - String getText(); -} diff --git a/schema/src/main/java/org/hl7/v3/RCMRMT030101UKReferenceRange.java b/schema/src/main/java/org/hl7/v3/RCMRMT030101UKReferenceRange.java deleted file mode 100644 index bea52d139..000000000 --- a/schema/src/main/java/org/hl7/v3/RCMRMT030101UKReferenceRange.java +++ /dev/null @@ -1,6 +0,0 @@ -package org.hl7.v3; - -public interface RCMRMT030101UKReferenceRange { - - RCMRMT030101UKInterpretationRange getReferenceInterpretationRange(); -} From 1f1840a8a537a794023605e42b241fbb4eb74d07 Mon Sep 17 00:00:00 2001 From: hospel Date: Thu, 5 Oct 2023 11:59:26 +0100 Subject: [PATCH 20/20] adding missing pieces for RCMR_IN030000UK07 type and removal of unnecessary test --- .../pss/translator/EhrExtractHandlingIT.java | 13 - .../xml/RCMR_IN030000UK07/payload_part.xml | 19626 ---------------- ...payload_part_with_confidentiality_code.xml | 11 +- 3 files changed, 10 insertions(+), 19640 deletions(-) delete mode 100644 gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part.xml diff --git a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java index 506ce3f00..e5e06528f 100644 --- a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java +++ b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/EhrExtractHandlingIT.java @@ -119,19 +119,6 @@ public void handleEhrExtractFromQueue() throws JSONException { verifyBundle("/json/expectedBundle.json"); } - @Test - public void handleEhrExtractWithConfidentialitySchemaFromQueue() throws JSONException { - final String ebxmlPartPath = "/xml/RCMR_IN030000UK07/ebxml_part.xml"; - // process starts with consuming a message from MHS queue - sendInboundMessageToQueue("/xml/RCMR_IN030000UK07/payload_part.xml", ebxmlPartPath); - - // wait until EHR extract is translated to bundle resource and saved to the DB - waitAtMost(Duration.ofSeconds(WAITING_TIME)).until(this::isEhrMigrationCompleted); - - // verify generated bundle resource - verifyBundle("/json/expectedBundle.json"); - } - @Test public void handleEhrExtractWithConfidentialityCodeFromQueue() throws JSONException { final String ebxmlPartPath = "/xml/RCMR_IN030000UK07/ebxml_part.xml"; diff --git a/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part.xml b/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part.xml deleted file mode 100644 index d8629f77b..000000000 --- a/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part.xml +++ /dev/null @@ -1,19626 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Unknown - - - - TEMPLE SOWERBY MEDICAL PRACTICE - - - - - - - - - General Medical Practitioner - - - - Mr - NHS - Test - - - - TEMPLE SOWERBY MEDICAL PRACTICE - - - Fulford Grange - Micklefield Lane - Rawdon - Rawdon - Leeds - LS19 6BA - - - - - - - - - Clerical Worker - - - - Dr - Peter - Whitcombe - - - - National - - - - - - - - - Clerical Worker - - - - Dr - David - McAvenue - - - - National - - - - - - - - - General Medical Practitioner - - - - Dr - Peter - Whitcombe - - - - TEMPLE SOWERBY MEDICAL PRACTICE - - - Fulford Grange - Micklefield Lane - Rawdon - Rawdon - Leeds - LS19 6BA - - - - - - - - - Unknown - - - - External User - - - - National - - - - - - - - - General Medical Practitioner - - - - Dr - David - McAvenue - - - - TEMPLE SOWERBY MEDICAL PRACTICE - - - Fulford Grange - Micklefield Lane - Rawdon - Rawdon - Leeds - LS19 6BA - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Inactive Diary Entry - Medication review - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - Some example text - - - - - - - Absent Attachment - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - Test request statement text - New line - - -
- - - Routine - - - - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - - -
- - - - - - - - Significance : Major - Episodicity : First - This is problem Problem Info: Problem Notes: This is problem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - - -
- - - - - - - - Significance : Major - Episodicity : Review - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - This is just a consultation to test issue of previous courses via consultations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - EMIS Test Practice Location - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 56 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 repeat - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - GP Surgery - - - -
- - - - - - - - - - - - - - - - -
- - - - - - - - This is a note - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the generic acute for 22047 - - - - - - - One To Be Taken Every Four To Six Hours When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - m - - - - - Expected Supply Duration: 28 day - - - - - - - not applicable - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - Expected Supply Duration: 28 day - - - - - - - For Subcutaneous Injection, According To Requirements - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - For Subcutaneous Injection, According To Requirements - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - For Subcutaneous Injection, According To Requirements - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - 1 to be taken 3 times a day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Local Mixture (Sucrose Crystals BP, Ferric chloride solution, Vaseline Pure Petroleum jelly (Unilever UK Home & Personal Care), Benzoyl Peroxide Aquagel 5 %) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - 1 to be taken 3 times a day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - Expected Supply Duration: 28 day - - - - - - - 1 - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - device - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - 1 - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Oxygen Composite cylinder with integral headset 1360 litres - - - - - - - - - - - - - - - - - cylinder - - - - - Expected Supply Duration: 28 day - - - - - - - As and when required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Oxygen Composite cylinder with integral headset 1360 litres - - - - - - - - - - - - - cylinder - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - As and when required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - gram - - - - - Expected Supply Duration: 28 day - - - - - - - Apply When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - zzzzzss - - - - - - - - - - - zzzzzss - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Prescribing Error - - - - - - - - - - - Prescribing Error - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Paracetamol Caplets 500 mg - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes - - - - - - - - - Patient no longer requires these - - - - - - - - - - - Patient no longer requires these - - - - - - - Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Paracetamol Caplets 500 mg - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes - - - - - - - Two To Be Taken Four Times A Day When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Clinical Contra-indication - - - - - - - - - - - Clinical Contra-indication - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some more pharmacy information - - - - - - - 1 Tablet to be taken with food once per day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some more pharmacy information - - - - - - - 1 Tablet to be taken with food once per day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Ferrous sulphate 200mg tablets - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Ferrous sulphate 200mg tablets - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:This is some pharmacy Information - - - - - - - One To Be Taken With Breakfast, Lunch And Evening Meal - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is some pharmacy Information - - - - - - - One To Be Taken With Breakfast, Lunch And Evening Meal - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 6 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 7 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 8 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 9 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 10 Repeat Dispensing Pharmacy Note. - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 150 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 150 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 3 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 4 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 5 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:This is a pharmacy information note for Cilazapril - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is a pharmacy information note for Cilazapril - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 28 day - - - - - - - Two Sprays To Be Used In Each Nostril Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Beconase Aqueous 50micrograms/dose nasal spray (GlaxoSmithKline) - - - - - - - - - - - - - dose - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Two Sprays To Be Used In Each Nostril Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Nasonex 50micrograms/dose nasal spray (Merck Sharp & Dohme Ltd) - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 28 day - - - - - - - Two Sprays To Be Used In Each Nostril Once A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Benzoyl Peroxide Aquagel 5 % - - - - - - - - - - - - - - - - - gram - - - - - Expected Supply Duration: 28 day - - - - - - - Apply Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Benzoyl Peroxide Aquagel 5 % - - - - - - - - - - - - - gram - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Apply Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Benzoyl Peroxide Aquagel 5 % - - - - - - - - - - - - - gram - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Apply Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Benzoyl Peroxide Aquagel 5 % - - - - - - - - - - - - - gram - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Apply Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Allergy - - - - - - - - - - - Allergy - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf - - - - - - - One Or Two To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate - - - - - - - One Or Two To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 14 day - - - - - - - - - Adverse reaction to Central Nervous System Drugs (allergy) - - - - - - - - - - - Adverse reaction to Central Nervous System Drugs (allergy) - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Berkolol Tablets 10 mg - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - nmkljkljllk - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 23 day - - - - - - - - - Alergy - - - - - - - - - - - Alergy - - - - - - - One Puff To Be Inhaled When Needed (Not More Than Once Daily) - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 34 day - - - - - - - One To Be Taken Three Times A Day Twenty Minutes Before Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 34 day - - - - - - - One To Be Taken Three Times A Day Twenty Minutes Before Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 14 day Notes: Prescriber Notes:This is the restart - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day Notes: Prescriber Notes:Issue number 1 This is the restart - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 14 day - - - - - - - - - kjhkjkjhjkjkj - - - - - - - - - - - kjhkjkjhjkjkj - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lustral 50mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 14 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - gram - - - - - Expected Supply Duration: 28 day - - - - - - - Apply To The Affected Eye(s) At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - gram - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Apply To The Affected Eye(s) At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - - - Adverse reaction to Prednisolone (Fat, John said) - - - - - - - - - - - Adverse reaction to Prednisolone (Fat, John said) - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 2 This is the pharmacy message on print Patient Notes:Issue number 2 This is the patient message on print - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Neoclarityn 5mg tablets (Schering-Plough Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Neoclarityn 5mg tablets (Schering-Plough Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lipitor 10mg tablets (Pfizer Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lipitor 10mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day After Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - Two To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lipitor 10mg tablets (Pfizer Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - Two To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Lipitor 10mg tablets (Pfizer Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - Two To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Neoclarityn 5mg tablets (Schering-Plough Ltd) - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Neoclarityn 5mg tablets (Schering-Plough Ltd) - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 100 day - - - - - - - One Puff To Be Inhaled Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dose - - - - - - - - - - Expected Supply Duration: 100 day - - - - - - - One Puff To Be Inhaled Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Acute Ph I Patient Notes:Acute Pa I - - - - - - - One To Be Taken Each Day With Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Patient Instruction: Acute Pa I Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Acute Ph I Patient Notes:Issue number 1 Acute Pa I - - - - - - - One To Be Taken Each Day With Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 19 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 19 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:This is PT Patient Notes:This is PI - - - - - - - One To Be Taken Each Morning Before Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Patient Instruction: This is PI Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is PT Patient Notes:Issue number 1 This is PI - - - - - - - One To Be Taken Each Morning Before Food - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:These are some pharmacy notes for Methylphenidate Patient Notes:yutyuhyfhf - - - - - - - One Or Two To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Patient Instruction: yutyuhyfhf Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 These are some pharmacy notes for Methylphenidate Patient Notes:Issue number 1 yutyuhyfhf - - - - - - - One Or Two To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Repeat Dispensing Pharmacy Note - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 63 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 63 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 84 day - - - - - - - One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 84 day - - - - - - - One Tablet Daily For 21 Days; Subsequent Courses Repeated After 7-Day Tablet Free Interval - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 5 day - - - - - - - One To Be Taken Three Times A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 56 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning Before Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Out of Hours - - - - - - - One To Be Taken Each Morning Before Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 3 day - - - - - - - Six To Be Taken Each Morning As A Single Dose - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 3 day - - - - - - - Six To Be Taken Each Morning As A Single Dose - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 3 day - - - - - - - Six To Be Taken Each Morning As A Single Dose - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Clinical Grounds - - - - - - - - - - - Clinical Grounds - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This was set to 'Private' in application rather than at issue time - - - - - - - One To Be Taken Each Morning - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private and 'Hospital' - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private record for notes - - - - - - - One Or Two To be Taken Every Four Hours When Necessary. Maximum 8 Tablets in 24 Hours - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Xalatan 50micrograms/ml eye drops (Pfizer Ltd) - - - - - - - - - - - - - - - - - ml - - - - - Expected Supply Duration: 28 day - - - - - - - One Drop To Be Used At Night In The Affected Eye(s) - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - Xalatan 50micrograms/ml eye drops (Pfizer Ltd) - - - - - - - - - - - - - ml - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private Handwritten - - - - - - - One Drop To Be Used At Night In The Affected Eye(s) - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 Private PrintedScript Non EPS - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is the OTC - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - GP Surgery - - - - - - - - - - - - - - Test Location - - - - - - - - - - - - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - -
- - - - - - capsule - - - - - 1 - - - - - 2 - - - - - 3 - - - - - - - - - - - - - tablet(s) - - - - - - - - - - - - TAKE ONE DAILY - - - - - - - - - - - - - - - - - - - - - - Primary Source: true Location: EMIS Test Practice Location Manufacturer: - another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not - GMS - - - - - - - - - - - - - Some example text - - - - - - - Absent Attachment - - - - - - - - - - - - - Added from a problem within a consultation - - -
- - - - - - - - - - - - - - - - - - - - - Test request statement text - New line - - - -
- - - - Routine - - - - - - - - - - - - - - - - - Active Problem, Significant - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - O/E - blood pressure reading - - - -
- - - - - - - Systolic arterial pressure - - - -
- - - - High Text - - - - mm[Hg] - - - - - Test Range 1 - - - - - - - - - - Test systolic pressure text - - - - - - - - - Diastolic arterial pressure - - - -
- - - - Low Text - - - - mm[Hg] - - - - - Test Range 2 - - - - - - - - - - Test diastolic pressure text - - - - - - - - Systolic Measurement Absent: Unknown - - - - - - - - - - - - - - - - Some example text - - - - - - - - - - - - -
- - - - - - - - - - - - - -
- - - - - - - Drug Allergy - Apsrin - - - - - - - - - - - - - - -
- - - - - - - - - High - - - - - Test text 1 - - - - - Age and sex based - - - - - - - - - - - - - - - - - - - - - Filed Report - - - -
- - - - - - CommentType:LABORATORY RESULT COMMENT(E141) - CommentDate:20030221115000 - - Status: unknown - - - - - - - - - - - -
- - - - - - - -
- - - Blood - - - - - - - CommentType:LAB SPECIMEN COMMENT(E271) - CommentDate:20030109000000 - - Received Date: 2003-01-09 13:54 - - - - - - - - - - Mocked code - - - -
- - - - - - - Mocked code - - - -
- - - - - - - - CommentType:USER COMMENT - CommentDate:20100113 - - This is some random free text 1 - - - - - - - - - CommentType:USER COMMENT - CommentDate:20100113 - - - This is some random free text 2 - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - Notes on the tired all the time entry - - - - - - - - Comments - Aaaargh - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 7 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 30 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 30 day Notes: Prescriber Notes:Issue number 1 This is 'Handwritten' - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 'Record for Notes' case - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Daily With Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is Hospital Issued medication - - - - - - - One To Be Taken Daily With Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Morning Before Breakfast - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - Prescribing Error - - - - - - - - - - - Prescribing Error - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 14 day - - - - - - - - - Change to Medication Treatment Regime - - - - - - - - - - - Change to Medication Treatment Regime - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dose - - - - - Expected Supply Duration: 23 day - - - - - - - - - some reason - - - - - - - - - - - some reason - - - - - - - One Puff To Be Inhaled When Needed (Not More Than Once Daily) - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - Expected Supply Duration: 28 day - - - - - - - - - Recreate 22047 - - - - - - - - - - - Recreate 22047 - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - capsule - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 This is the 22047 issue after switch to generic - - - - - - - One To Be Taken Each Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - One To Be Taken Every Four To Six Hours When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 28 day - - - - - - - - - End course for acute post G -> T switch for 22047 - - - - - - - - - - - End course for acute post G -> T switch for 22047 - - - - - - - One To Be Taken Every Four To Six Hours When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 28 day Notes: Prescriber Notes:Issue number 1 THis is the acute issue post generic -> proprietary switch for 22047 - - - - - - - One To Be Taken Every Four To Six Hours When Required - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 5 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 5 day - - - - - - - One To Be Taken Twice A Day - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - Expected Supply Duration: 150 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tablet - - - - - - - - - - Expected Supply Duration: 150 day - - - - - - - One To Be Taken At Night - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - Active Problem, major - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Cetirizine Hydrochloride - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Mebeverine Hydrochloride - - - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Lustral - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Prednisolone - - - -
- - - - - - Status: Active Fat - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Central Nervous System Drugs - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - O/E - blood pressure reading - - - -
- - - - - - - Systolic arterial pressure - - - -
- - - - High Text - - - - mm[Hg] - - - - - Test Range 1 - - - - - - - - - - Test systolic pressure text - - - - - - - - - Diastolic arterial pressure - - - -
- - - - Low Text - - - - mm[Hg] - - - - - Test Range 2 - - - - - - - - - - Test diastolic pressure text - - - - - - - - Systolic Measurement Absent: Unknown - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - Filed Report - - - -
- - - - - - CommentType:LABORATORY RESULT COMMENT(E141) - CommentDate:20100225154100 - - Status: unknown - - - - - - - - - - - - -
- - - - - - - Adverse reaction to Central Nervous System Drugs - - - -
- - - - - - Status: Active - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Filed Report - - - -
- - - - - - - - - - - - - -
- - - - - - - -
- - - URINE - - - - - - - CommentType:LAB SPECIMEN COMMENT(E271) - CommentDate:20020330092100 - - Received Date: 2002-03-30 09:21 - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - CommentType:LABORATORY RESULT - COMMENT(E141) - CommentDate:20100223000000 - - NEGATIVE - In normal pregnancies the test will usually be positive from the - second day after the expected menstruation. - - - - - - - - - CommentType:USER COMMENT - CommentDate:20201215151704 - - (q) - Normal - No Action - - - - - - - - - - - - - - - -
- - - - - - - -
- - - SERUM - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - - - - - - - - - CommentType:USER COMMENT - CommentDate:20201215151713 - - (q) - Normal - No Action - - - - - - - - - - - - - - - -
- - - - - - - -
- - - SERUM - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - CommentType:LABORATORY RESULT - COMMENT(E141) - CommentDate:20100223000000 - - Test not available - - - - - - - - - CommentType:USER COMMENT - CommentDate:20220324124213 - - No action needed - - - - - - - - - - - - - - - - - - GP Surgery - - - - - - - - - - - - - - Test Location - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - capsule - - - - - 1 - - - - - 2 - - - - - 3 - - - - - - - - - - - - - tablet(s) - - - - - - - - - - - - TAKE ONE DAILY - - - - - - - - - - - - - - - - - - - - - - Primary Source: true Location: EMIS Test Practice Location Manufacturer: - another company Batch: past2003 Expiration: 2003-01-17 Site: Right arm GMS : Not - GMS - - - - - - - - - - - - - Some example text - - - - - - - Record Attachment - - - - - - - - - - - - - Added from a problem within a consultation - - -
- - - - - - - - - - - - - - - - - - - - - Test request statement text - New line - - - -
- - - - Routine - - - - - - - - - - - - - - - - - Active Problem, Significant - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - O/E - blood pressure reading - - - -
- - - - - - - Systolic arterial pressure - - - -
- - - - High Text - - - - mm[Hg] - - - - - Test Range 1 - - - - - - - - - - Test systolic pressure text - - - - - - - - - Diastolic arterial pressure - - - -
- - - - Low Text - - - - mm[Hg] - - - - - Test Range 2 - - - - - - - - - - Test diastolic pressure text - - - - - - - - Systolic Measurement Absent: Unknown - - - - - - - - - - - - - - - - Some example text - - - - - - - - - - - - -
- - - - - - - - - - - - - -
- - - - - - - Drug Allergy - Apsrin - - - - - - - - - - - - - - -
- - - - - - - - - High - - - - - Test text 1 - - - - - Age and sex based - - - - - - - - - - - - - - - - - - - - - Filed Report - - - -
- - - - - - CommentType:LABORATORY RESULT COMMENT(E141) - CommentDate:20030221115000 - - Status: unknown - - - - - - - - - - - -
- - - - - - - -
- - - Blood - - - - - - - CommentType:LAB SPECIMEN COMMENT(E271) - CommentDate:20030109000000 - - Received Date: 2003-01-09 13:54 - - - - - - - - - - Mocked code - - - -
- - - - - - - Mocked code - - - -
- - - - - - - - CommentType:USER COMMENT - CommentDate:20100113 - - This is some random free text 1 - - - - - - - - - CommentType:USER COMMENT - CommentDate:20100113 - - - This is some random free text 2 - - - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - CommentType:SUPER COMMENT - CommentDate:20220321163025 - - Looks like Covid - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - CommentType:OTHER COMMENT - CommentDate:20220321162705 - - Or maybe not? - - - - - - - - - CommentType:USER COMMENT - CommentDate:20100223000000 - - This should not be a part of Battery Observation.comment - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - -
- - - - - - Notes on the tired all the time entry - - - - - - - - Comments - Aaaargh - - - - - - - - - - - -
- - - - - - - - - - - - - - - Some example text - - - - - - - Record Attachment - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml b/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml index 72b2c3481..db3d391c7 100644 --- a/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml +++ b/gp2gp-translator/src/integrationTest/resources/xml/RCMR_IN030000UK07/payload_part_with_confidentiality_code.xml @@ -26,7 +26,16 @@ - + + + + + + + + + +