Introduction - Ministry of Health NZ



176784011684000PMS COMPLIANCE TEST SCRIPTNational Minimum Dataset (NMDS)ExitOrganisation Name:Prepared by:Urwashi Singh, Data Management, National Collections and Reporting, Ministry of HealthDate:12 July 2019Version:1.0Status:FinalOrganisation Test Site Details Test ScriptNMDS PMS Compliance Test ScriptOrganisation conducting testingPlease provide as much detail as possible about the PMS Software being tested, including: vendor name, ‘brand’ name of software, exact software version or release number and any other classificationsPlease describe the setup of the testing environment (hardware and operating software) for these testsEnter the name(s) of the NMDS Extract file(s) that will or have been sent to the Data Management Team Any other commentsOrganisation person responsible for testing this ScriptYour nameYour position Your direct employerYour phone and faxYour email addressPlease list name and email of the primary contact, if not yourself Date Test Script completedDate extract for PART A was sent Date extract for PART B was sent Date extract for PART C was sent Date extract for PART D was sent Version ControlVersionDate releasedAuthorDetails of Changes0.113 Aug 2015U SinghDraft version1.021 August 2015T Thompson8th Edition Coding Updates2.010 July 2019T ThompsonEvent Data and 11th Edition Coding Updates2.012 July 2019U SinghReference DocumentsDocument Name VersionDate releasedCommentsICD-10-AM 8th Edition tablesN/AJune 2014NMDS File Specificationv15.0July 2014NMDS NCAMP Requirements Documentv1.2April 2009NMDS NCAMP 2015 Compliance Test Script v1.0August 2015NMDS NCAMP 2019 changes added v2.0July 2019IntroductionThe NMDS Compliance Test Script is designed to be used at any time by a Health Organisation which supplies data supporting the Ministry of Health’s National Minimum Dataset (NMDS). It enables both the Organisation and the Ministry to check the functionality of any (test) version of the Organisation’s NMDS system, as part of an overall Patient Management System (PMS).The Script can be used in part or in whole and it may also be augmented with other tests from time to time, by arrangement. Completion of the Script would normally be at the discretion of the Ministry of Health and the extent of coverage would depend on the scope and complexity of the changes or regression tests being carried out on an Organisation’s Patient Management system. The Script may also be employed when the Ministry itself makes changes to its own systems which process and store the incoming NMDS data. An example would be testing of the National Collection Annual Maintenance Project (NCAMP) changes.The Test Script forms the starting point for a testing “cycle” of events. This involves: The Organisation producing test NMDS extract files for submission to the Ministry. Extract files will be created by using the Patient Management System under test, the Ministry’s test NHI system to create test patients and this Test Script, which details the data inputs required to produce the test patient events for extraction.The Ministry of Health validating and loading the extract files in a Production-like Compliance Testing Environment. Database loading will be conditional on the validation step ‘passing’ the submitted patient events.The Ministry of Health sending back Return files which contain all information about the results of the validation and load process.The Organisation processing the Return files that are produced each time an extract file is processed.The Organisation sending further extract files to correct any errors that have occurred.This Test Script contains NMDS Test Scenarios that are designed to reflect realistic situations that might occur in your Organisation. They should also be up-to-date with current NMDS functionality and file definitions. To check if the Test Script is up-to-date in terms of NMDS business requirements and file and table definitions, please refer to the ”Reference Documents” section and compare this to the release notes and document versions as detailed on the Ministry’s website or to your own information sources.It is important that you complete as many of the requested Test Scenarios that you can. This enables both parties to observe a broad range of NMDS functionality and provides a good range of extract data. If a Test Scenario cannot be completed for any reason, please provide an explanation in the ‘Completion Details’ section for that Scenario.The steps for sending each extract file are explained in more detail in Section 9 on the last page of this Test Script. Each extract file should contain only the patient events appropriate for the part of the Test Script that is being tested. The Test Scenarios are designed to produce extract data that will pass all current MoH validation rules. Some warning messages may occur.If you have any queries relating to this Test Script please contact:Angela PiddManager Data ManagementNational Collections and Reporting Ministry of Health133 Molesworth Street, WELLINGTONPhone(04) 816 2805Fax(04) 816 2899Emailcompliance@t.nzTest OverviewThis Test Script has been supplied to you by the Data Management (DM) team.Use only a Final version of this script to perform your testing. If you are reading a Draft version (check the footer) then it will be for review only. The Final version will either have been emailed to you or will be available on the MoH website at version numbers will start at 1.0 and increment by 0.1 for minor revisions or by 1.0 for major releases. Check the Version Control section.This Test Script comprises four parts, A B C and D. You may be required to complete some or all parts. As each is completed you will need to produce an extract file to be ftp’ed to the DM team.Part A contains six events, a mother giving birth, birth event, two events that will be changed in Part B and two other events testing WIES.Part B depends on the completion of Part A. It involves new hospital events as well as a deletion and an update for some of the events loaded in Part A.Part C contains three Mental Health (IM) events. Part C is independent of the other parts of the Test Script.Part D contains three Emergency Department (ED) events that would typically involve a period of more than three hours in ED but not an admission to an inpatient ward. Part D is independent of the other parts of the Test Script.To complete the Compliance Testing process, you must also receive and process (in the normal manner as appropriate for your DHB) all Return files that are sent back to your Organisation after the loading of each extract file.Return files comprise some or all of the following: Pre-processing error file, if any (.err) Load Acknowledgement file (.ndr)Load Error Report file (.sqr)Load Costweight Transaction Report file (.ndw)Please send the DM team a notification email or fax, with the appropriate completed portion of the Test Script, before any extract file is sent. Our contact details are shown at the end of this Test Script. Note that receipt of the documented scenarios from the Test Script is a prerequisite to the processing of the matching extract file. Please also keep a copy of the completed script for your own records.There may be some delay in processing each extract file, depending on the Ministry’s production processing load and staff availability at the time. You will be kept up-to-date with progress.If you observe any unexpected system behaviour on your test Patient Management System when creating the patient hospital events, or if you receive unexpected results back from the MoH validation and load process, please advise the DM team immediately.We may require you to fix and resend events that have failed validation or loading. In some cases a complete replacement extract file may be required. Please avoid altering the setup of your test environment, your PMS or your test databases during testing, without prior advising the DM team. Ensure this is also made known to your software vendor before testing commences.Testing PrerequisitesPlease read through this Test Script thoroughly and resolve any issues you come across, before you start testing.Please ensure you have read the "DHB Compliance Procedures" document which will be available on the MOH website at . This will explain in detail the steps around extracting a file, the correct format of the file and where it should be sent.This Test Script will normally be used only when your Organisation is upgrading or otherwise altering its Patient Management System. However it may also be used to engage in ‘regression’ testing with the Ministry. An example could be where your Organisation needs to submit an extract file to verify a ‘non-functional’ system change, as opposed to a program logic change.It is important that the PMS version being Compliance Tested through this Test Script has had all required changes applied to it and that these have been thoroughly tested by you and your vendor.The DM team may ask to sight Technical and Functional Specifications describing the changes being made to your PMS before Compliance Testing commences. Any defects or anomalies you have identified during your own internal testing phase, whether fixed or not, must be made known to the DM team to avoid unnecessary problem investigation.Please record the exact Patient Management System name and version number under “Organisation Test Site Details” on page two of this Test Script, before you commence testing. A screen shot from a “help/about” function might be useful for this.The test NHIs to use in the testing are given in the test scenarios. You may need to add these NHIs in your system before moving forward with the testing. Please change the NHI details as per the script if they look different in your local system. You must enter the NMDS test data and generate the extract files using only your test Patient Management System and without any subsequent alteration of the extract file. This is implicit in your sign-off for this Test Script.Test Scenarios BackgroundOverviewDetails of the patients and their hospital events that you need to generate are specified in this Test Script.Please indicate in the ‘Completion Details’ box for every Test Scenario, whether you were able to complete it or not. If you are unable to complete it, please provide an explanation in the space provided.Section 9 on the last page of this Test Script details what to do when you complete the Test Scenarios for each part of the Test Script and need to send an extract file.Please do not send an extract file until you have the all-clear from the DMS team to send it. We need to be aware of each file’s impending arrival to ensure there is no impact on Production systems, or vice versa. Each extract file will be manually checked for completeness and validity. Then it will be system-validated for errors. If validation is successful, the file will be loaded into the Compliance data warehouse and results will be checked again. All normal Return files will be sent back to you for you to process in the usual manner (within your test environment).Once the DM team is satisfied with all test results, your Organisation will be given Provisional NMDS Compliance Certification. When the first Production NMDS file has been successfully processed through the Compliance Test Environment, you will be issued with Full NMDS Compliance Certification.Recording Entered ValuesIt is very important that you record the actual values you enter, or that are otherwise generated, as you complete each Test Scenario. Without this record there is no sure way of the DM team knowing how a value came to be in a field, making problem investigation much more difficult. This applies to Patient details entered on the NHI as well as all hospital event details.Therefore, unless the recorded value has been prefilled with “No need to record here”, please enter the value that either you entered or the system generated for you. Test Scenarios Summary FlowTest Scenario Your Test Patient Name Brief history of patient admission NMDS-A01Test patient A – Sarah SmithSingle vertex delivery of a baby girl.Ethnic code 1 reported as 61 (Other)Sets up Mother’s admission for BT birth event in NMDS-A02Needs to be resubmitted in B07 with transaction type A2 with Condition onset flag reported as 1 with primary diagnosis.Funding agency code is supplied NMDS-A02Test patient B – Sophia SmithBirth event, linked to Mother admitted in NMDS-A01.Three Ethnic codes are reportedMother’s NHI required Other mandatory field checks – e.g. mothers age, birth-weightFunding agency code is suppliedNMDS-A03Test patient C – Jane SmithFemale patient is admitted for excision of malignant neoplasm of central portion L breast, arranged admission. Ethnic code 1 reported as 94 (Don’t know)This event will need to be deleted in Scenario B05 Occupation code is reported using ANZSCO codes v1.2NMDS-A04Test patient D – John RobertsMale patient is admitted as a same day event for cataract treatment.Three Ethnic codes are reported PMS unique identifier is required NMDS-A05Test patient E – Carol JonesFemale patient with CIN I is admitted to hospital for a cone biopsy.Same day Colposcopy events are excluded from casemix purchasing and allocated to the purchase units which are excluded from casemix purchasingNMDS-A06Test patient F – Joe BoggsMale patient is admitted for elective pelvic evisceration surgery. The NZ DRG reallocation and caseweight is calculated as per WIESNZ19 rules i.e. A39W Pelvic Evisceration Procedures NMDS-B01Test patient B – Sophia SmithBaby girl who was born in Test Scenario NMDS-A02. This baby is now 32 days old and weighs 2730grams and is admitted due to ongoing jaundice from breast milk arising in the perinatal period.Weight on admission is suppliedAR-DRG assignment for babies over 28 days old and admission weight is over 2500gNMDS-B02Test patient G – Billy JonesElderly male patient is admitted for Rehabilitation following a fractured humerus from a fall. Patient is transferred into and later out of your facility.Ethnic code 1 reported as 11 (New Zealander) Facility transfer from and to fields requiredDiagnosis procedure description to maximum permitted lengthNMDS-B03Test patient H – Mark SmithElderly male patient non-weight-bearing is admitted for convalescence in step-down facility following a fall at an aged care facility which resulted in a fracture.Facility transfer from and to fields requiredHealth specialty code D55 Non-weight bearing and other related convalescence (maps to excluded Purchase unit MS02023)Diagnosis procedure description to maximum permitted lengthNMDS-B04Test patient I – Marty MillerMale patient presents with shortness of breath and chest pains, subsequently has a cardiorespiratory arrest due to a STEMI. Patient is resuscitated and transferred to ICU until stable and receives a short period of mechanical ventilation. Patient went on to have a left and right angiography/cardiac catheterisation with RCA stent insertion and L ventriculography, severe atherosclerosis found. On day three patient is transferred to another facility for an urgent CABG.Facility transfer to field requiredTotal hours on mechanical ventilation are reportedTotal ICU hours are reportedNMDS-B05Test patient J – Mark Owens Male patient with carotid stenosis is admitted as an arranged admission for carotid angioplasty with stenting under GA. Ethnic code 1 reported as 97 (Response unidentifiable) AR-DRG assignmentNMDS-B06Test patient C – Jane SmithEvent from test NMDS-A03 needs to be deleted.No need to resubmit the eventNMDS-B07Test patient A – Sarah SmithEvent from test NMDS-A01 needs to be resubmitted.Ethnic code 2 and 3 can be reported as NULL while resending an event with 3 Ethnic codes reported initiallyYour system is able to resend records with changes whenever there is requirement to change the patient details and/or clinical coding details in the records which are already loaded in the NMDS.Condition onset Flag reported as 1 with primary diagnosis (using transaction type A2)NMDS-C01Test patient K – David WardMale patient admitted from another facility with bipolar schizoaffective disorder.Reported as mental health inpatient (IM) eventFacility transfer from field is requiredEvent end date optional for IM eventsAt least one legal status (HC) record requiredNMDS-C02Test patient L – John SmithMale patient admitted suffering from paranoid schizophrenia. Patient is transferred to another facility.Reported as mental health inpatient (IM) event Facility transfer to field is requiredEnd date required for transfer to another facilityAt least one legal status (HC) record requiredNMDS-C03Test patient M – Mary JonesFemale patient who has a history of schizoaffective disorder is admitted acutely following a depressive episode.Reported as mental health inpatient (IM) eventTwo separate legal status (HC) records to be enteredOne of the legal statuses is SMNMDS-D01Test patient N – Diane SmithFemale patient is treated and discharged on the same day for a cut to her forearm from broken glass while intoxicated at a party.Patient is not admitted to an inpatient wardHealth speciality code M05 is reportedEvent end type is ERNMDS-D02Test patient O – Matt WardMale patient is stabilised and then transferred to another facility on the same day for injuries sustained after a car in which he is a passenger rolls on the highway.Patient is not admitted to an inpatient wardHealth speciality code M05 is reportedEvent end type is ETTotal hours on mechanical ventilation are reported.Funding agency is reportedNMDS-D03Test patient P – Susan JonesFemale patient presents to ED with severe headache and is diagnosed with a migraine. Patient is treated and observed in ED overnight (not discharged on the same day).Patient is not admitted to an inpatient wardHealth speciality code M05 is reportedEvent end type is ER Test Scenarios Part ATest Scenario NMDS-A01Completion Details Enter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient A is admitted for the birth of a baby girl.Record the patient details in your system and enter the event and diagnosis details as specified. (The birth event is recorded in Test Scenario NMDS-A02).Conditions under test:Health specialty code P60 (Maternity services – mother [no community LMC])(In Test Scenario NMDS-A02) – Mother’s NHI is required for a ‘BT’ birth eventFunding agency code is submittedEthnic code 1 reported as 61 (Other) New Patient Details FieldPlease record all values entered or generatedTest Patient A surnameSmithFirst namesSarahAddressA valid addressDate of birth31/12/1980GenderFEthnicity (primary)61 (Other)Ethnicity (2)Leave blank Ethnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberHBV1349NMDS-A01 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberNHI for Test Patient A Event type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter event start datetimeFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeR (Routine admission)Health specialty codeP60 (Maternity services – mother [no community LMC])Admission type codeAA (Arranged admission)Event end type codeDR (Ended routinely)Event end datetimeEnter an event end datetime on or after the event start datetimePrincipal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventPMS unique identifierUnique PMS identifierClient system identifierClient system identifier Funding agency codeFunding agency codeNMDS-A01 Diagnosis Data (5 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionO83 (Other assisted single delivery)Condition onset flag1Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeAClinical code and descriptionO665 Failed application of vacuum extractor and forceps, unspecifiedCondition onset flag1Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeVClinical code and descriptionZ370 (Single live birth)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9047701 [1343] (Assisted vertex delivery)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9046901 [1343] (Failed vacuum assisted delivery)Operation/procedure dateSame as event start dateCondition onset flagNullTest Scenario NMDS-A02 Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient B is the baby girl born to Test Patient A, who was admitted in Test Scenario NMDS-A01.Record the patient details in your system and enter the event and diagnosis details as specified.Conditions under test:Mother’s NHI is required for BT birth events Health specialty code P61 (Maternity services – well newborn [no community LMC])Three ethnic codes are reported with 31 (Samoan), 33 (Tongan) and 43 (Indian) respectivelyAll fields (mothers age, birth weight etc) related to BT are reportedNew Patient Details FieldPlease record all values entered or generatedTest Patient B surnameSmithFirst namesSophiaAddress133 Molesworth Street, WellingtonDate of birthSame as event start date for Test Scenario NMDS-A01GenderFEthnicity (primary)31 (Samoan)Ethnicity (2)33 (Tongan)Ethnicity (3)43 (Indian)NZ resident statusYReturned domicile code2134Returned NHI numberZAB4823NMDS-A02 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberNHI for Test Patient B Event type codeBT (Birth event)Event start datetimeEnter event start date same as for Test Scenario NMDS-A01. Time is to be time of birth (can be several hours after event start time for Test Scenario NMDS-A01)Facility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record)No need to record hereAdmission source codeR (Routine admission)Health specialty codeP61 (Maternity services – well newborn [no community LMC])Admission type codeAA (Arranged admission)Event end type codeDR (Ended routinely)Event end datetimeEnter same event end datetime as Test Scenario NMDS-A01Birth locationAny valid location (mandatory)Birth weightAny valid value (mandatory)Gestation periodAny valid value (mandatory)Birth statusL (Live birth)Age of motherAge of Test Patient A in years (mandatory)Principal health service purchaser35Agency codeAgency code for this eventWeight on admissionAny valid value (mandatory)PMS unique identifierUnique PMS identifier Client system identifierClient system identifierMother’s NHINHI for Test Patient A from Scenario NMDS-A01 (mandatory)Funding agency codeFunding agency codeNMDS-A02 Diagnosis Data (1 x HD record) Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start date As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeAClinical code typeVClinical code and descriptionZ380 (Singleton, born in hospital)Condition onset flag2Test Scenario NMDS-A03Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient C is a female patient admitted to hospital for excision of malignant neoplasm of central portion of L breast. Record the patient details in your system and enter the Event and Diagnosis details as specified. Conditions under test:Ethnic code 1 reported as 94 (Don’t know)Event to be deleted in Test Scenario B05New Patient Details FieldPlease record all values entered or generatedTest Patient C SurnameSmithFirst namesJaneAddress133 Molesworth street, WellingtonDate of birth01/11/1979GenderFEthnicity (primary)94 (Don’t know)Ethnicity (2)Leave blankEthnicity (3)Leave blankNZ resident statusYReturned domicile code2135Returned NHI numberZAB5129NMDS-A03 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberNHI for Test Patient CEvent type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter event start dateFacility codeA valid facility code Event local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeR (Routine admission)Health specialty codeS00 (General surgery)Admission type codeAA (Arranged admission)Event end type codeDR (Ended routinely)Event end datetimeEnter event end datetime Principal health service purchaser35 (DHB funded purchase)Occupation_code541111 - Occupation code using ANZSCO codes V1.2Agency codeAgency code for this eventPMS unique identifierUnique PMS IdentifierClient system identifierClient system identifierFunding agency codeFunding agency codeNMDS-A03 Diagnosis Data (8 x HD records) Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record here NHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD record1Clinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionC501 (Malignant neoplasm of central portion breast) Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record here NHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD record2Clinical coding system ID15 Diagnosis typeBClinical code typeAClinical code and descriptionC773 (Secondary and unspecified malignant neoplasm of axillary and upper limb lymph nodes)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD record3Clinical coding system ID15 Diagnosis typeBClinical code typeBClinical code and descriptionT810 (Haemorrhage and haematoma complicating a procedure, NEC)Condition onset flag1Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD record4Clinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionY838 (Other surgical procedures)External cause date of occurrenceSame as procedure date (mandatory)Condition onset flag1Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD record5Clinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionY9224 (Place of occurrence, health service area, this facility) External cause date of occurrenceSame as first external cause (optional)Condition onset flag1Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD record6Clinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description3150000 [1744] (Excision of lesion of breast)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD record7Clinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9624402 [806] (Excision of lymphatic structure, axillary)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDHDNHI numberAs per HE recordAs per HE recordEvent type codeAs per HE recordAs per HE recordEvent start datetimeAs per HE recordAs per HE recordFacility codeAs per HE recordAs per HE recordEvent local identifierAs per HE recordAs per HE recordDiagnosis numberSequential ID for this HD record8Clinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9251429 [1910] (GA, ASA 29) Operation/procedure dateSame as event start dateCondition onset flagNullTest Scenario NMDS-A04 Completion Details Enter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient D is a male patient admitted from the DHB booking system as a same day event for cataract treatment.Record the patient details in your system and enter the event and diagnosis details as specified. Conditions under test:Three Ethnic codes are reported with Ethnic code 1 as 11 (New Zealander), Ethnic code 2 as 43 (Indian) and Ethnic code 3 as 21 (Maori) Funding agency code submitted PMS unique identifier is supplied New Patient Details FieldPlease record all values entered or generatedTest Patient D surnameRobertsFirst namesJohnAddressA valid addressDate of birth16/11/1978GenderMEthnicity (primary)11 (New Zealander)Ethnicity (2)43 (Indian)Ethnicity (3)21 (Maori)NZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB5137NMDS-A04 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberNHI for Test Patient DEvent type codeIP ( Non-psychiatric inpatient event)Event start datetimeEnter event start datetimeFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record)No need to record hereAdmission source codeR (Routine admission)Health specialty codeS40 (Ophthalmology)Admission type codeWN (Admitted from DHB booking system)Event end type codeDR (Ended routinely)Event end datetimeEnter event end date the same as event start date. Event end time is to be more than 3 hours after event start time.Principal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFunding agency codeFunding agency codeNMDS-A04 Diagnosis Data (5 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionH269 (Cataract unspecified)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeVClinical code and descriptionZ8643 (Personal history of Tobacco use disorder)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description4269807 [200] (Phacoemulsification of crystalline lens)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start date As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description4270100 [193] (Insertion of intraocular lens)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start date As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9250929 [1909] (Subtenon block, ASA 29)Operation/procedure dateSame as event start dateCondition onset flagNullTest Scenario NMDS-A05 Completion Details Enter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient E is a female patient with CIN I is admitted to hospital for cone biopsy. Record the patient details in your system and enter the event and diagnosis details as specified. Conditions under test:Same day Colposcopy events are excluded from casemix purchasing and allocated to the purchase units which are excluded from casemix purchasingNew Patient Details FieldPlease record all values entered or generatedTest Patient E surnameJonesFirst namesCarolAddressA valid addressDate of birth01/11/1979GenderFEthnicity (primary)21 (Maori)Ethnicity (2)Leave blankEthnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB5196NMDS-A05 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberNHI for Test Patient EEvent type codeIP( Non-psychiatric inpatient event)Event start datetimeEnter event start datetimeFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record)No need to record hereAdmission source codeR (Routine admission)Health specialty codeS30 (Gynaecology)Admission type codeAA (Arranged admission)Event end type codeDR (Ended routinely)Event end datetimeEnter event end date the same as event start date. Event end time is to be more than 3 hours after event start time.Principal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFunding agency codeFunding agency codeNMDS-A05 Diagnosis Data (4 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionN870 (Mild cervical dysplasia – CIN I)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description3561800 [1276] (Cone biopsy of cervix)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description3561400 [1279] (Colposcopy)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9251599 [1910] (Sedation, ASA 99)Operation/procedure dateSame as event start dateCondition onset flagNullTest Scenario NMDS-A06 Completion Details Enter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient F is a male patient admitted for elective pelvic evisceration surgery. Record the patient details in your system and enter the event and diagnosis details as specified. Conditions under test:The NZ DRG reallocation and caseweight is calculated as per the WIESNZ19 rules for A39W Pelvic Evisceration Procedures.New Patient Details FieldPlease record all values entered or generatedTest Patient F surnameBloggsFirst namesJoeAddressA valid addressDate of birth01/11/1939GenderMEthnicity (primary)11 (New Zealander)Ethnicity (2)Leave blankEthnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB5218NMDS-A06 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberNHI for Test Patient FEvent type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter event start datetimeFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record)No need to record hereAdmission source codeR (Routine admission)Health specialty codeS00 General Surgery Admission type codeWN (Admitted from DHB booking system)Event end type codeDR (Ended routinely)Event end datetimeEnter an event end datetime for 10 days after event start datetimePrincipal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFunding agency codeFunding agency codeNMDS-A06 Diagnosis Data (6 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionC19 (Malignant neoplasm of rectosigmoid junction)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeBClinical code and descriptionK9163 (Accidental puncture and laceration of intestine during a procedure)Condition onset flag1Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionY600 (Unintentional cut, puncture, perforation or haemorrhage during surgical operation)Condition onset flag1Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionY9224 (Place of occurrence, health service area, this facility)Condition onset flag1Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeOClinical code typeOClinical code and description9045001 [989] (Posterior pelvic exenteration)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9251499 [1910] (GA, ASA 99)Operation/procedure dateSame as event start dateCondition onset flagNull**ACTION**Send Extract File for Scenarios NMDS- A01/A02/A03/A04/A05/A06At this point you must extract and send the data you have entered for Scenarios NMDS-A01, NMDS-A02, NMDS-A03, NMDS-A04, NMDS-A05 and NMDS-A06. (Please follow the instructions in Section 9 on the last page of this Test Script). Test Scenarios Part BPlease complete ‘Test Scenarios Part B’ only after you have completed, extracted and processed Return files for ‘Test Scenarios Part A’. You also need to ensure that Test Scenarios NMDS-A02, NMDS-A03 and NMDS-A04 have been successfully loaded before you submit Part B.Test Scenario NMDS-B01 Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient B is the baby girl who was born in Test Scenario NMDS-A02. This baby is now 32 days old and weighs 2730grams and is admitted due to ongoing jaundice from breast milk arising in the perinatal period.Record the patient details in your system and enter the event and diagnosis details as specified.Conditions under test:Admission weight is suppliedAR-DRG assignment for babies over 28 days old and weight on admission is over 2500gNew Patient Details FieldPlease record all values entered or generatedTest Patient B surnameSmithFirst namesSophia AddressA valid addressDate of birthSame as Test Scenario NMDS-A02GenderFEthnicity (primary)31 (Samoan)Ethnicity (2)33 (Tongan)Ethnicity (3)43 (Indian)NZ resident statusNReturned domicile codeA valid domicile codeReturned NHI numberZAB4823NMDS-B01 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberNHI for Test Patient B Event type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter event start datetime which is 32 days after date of birth Facility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record)No need to record hereAdmission source codeR (Routine admission)Health specialty codeP61 (Maternity services – well newborn [no community LMC])Admission type codeAC (Acute admission)Event end type codeDR (Ended routinely)Event end datetimeEnter an event end datetime two days after event start datePrincipal health service purchaser35Agency codeAgency code for this eventWeight on admission2730 gramsPMS unique identifierUnique PMS identifier Client system identifierClient system identifierFunding agency codeFunding agency codeNMDS-B01 Diagnosis Data (2 x HD record) Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionP593 (Neonatal jaundice from breast milk inhibitor)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9067700 [1611] (Other phototherapy, skin)Procedure dateA date after the event start dateCondition onset flagNullTest Scenario NMDS-B02 Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient G is an elderly male admitted for Rehabilitation following an acute injury.In this scenario, you are entering the given patient details in your system and recording all event details which include a transfer both into and then out of your facility.The patient slipped and fell three weeks ago when dinning at a restaurant, resulting in a fractured humerus (surgical neck) and distal radius. The patient was transferred to your facility from the initial treatment facility to undergo rehabilitation. The event ends when the patient is transferred to another facility for ongoing rehabilitation.Use health specialty code D01 (Geriatric A, T & R [Active rehabilitation]). Conditions under test:Facility transfer fields are required for transfers in and out of facilityDiagnosis procedure description to maximum available lengthEthnic code 1 reported as 11 (New Zealander) New Patient Details FieldPlease record all values entered or generatedTest Patient G surnameJonesFirst namesBillyAddressA valid addressDate of birth31/12/1930GenderMEthnicity (primary)11 (New Zealander)Ethnicity (2)Leave blankEthnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB5404NMDS-B02 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberEnter the NHI for Test Patient GEvent type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter an event start datetime for two weeks agoFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeT (Transfer from another facility)Health specialty codeD01 (Geriatric A, T & R [active rehabilitation])Admission type codeAA (Arranged admission)Event end type codeDT (Discharge of patient to another healthcare facility) Event end datetimeEnter an event end datetime for todayPrincipal health service purchaserA0 (ACC funded purchase)Agency codeAgency code for this eventAccident flagSet the Accident flag to ‘Yes’ ACC claim numberA typical ACC45 numberPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFacility transfer fromEnter facility of your choiceFacility transfer toEnter facility of your choiceFunding agency codeFunding agency codeNMDS-B02 Diagnosis Data (6 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeBClinical code and descriptionS4222 (Fracture of surgical neck of humerus)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeBClinical code and descriptionS5250 (Fracture of lower end of radius, unspecified)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeEClinical code typeEClinical codeW010 (Fall on same level from slipping)Diagnosis procedure descriptionEnter a description giving details of the fall and ensure that more than 50 characters are entered. Please record the description External cause date of occurrenceA date before event start date (three weeks ago) (mandatory)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionY9253 (Place of occurrence at or in trade and service area, cafe hotel and restaurant)External cause date of occurrenceEnter same date as first external cause date (optional) Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD HDNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionU732 (While engaged in resting, sleeping, eating or engaging in other vital activities)External cause date of occurrenceEnter same date as first external cause date (optional)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeVClinical code and descriptionZ509 (Care involving use of rehabilitation procedure, unspecified)Condition onset flag2Test Scenario NMDS-B03 Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient H is an elderly male patient admitted for convalescence due to non-weight-bearing.This patient suffers a fall at an aged-care facility which results in a fractured femur (subcapital).He is initially admitted and treated at your publicly-funded hospital.After surgical treatment, the patient is transferred into a privately-funded step-down facility in your region (that is on the WIES eligible list) for six weeks of non-weight-bearing convalescence. Some examples of these would be:Burwood (4013) for Canterbury districtBowen Hospital (8331) for Wellington districtThe patient is subsequently transferred back to your hospital to commence rehabilitation.In this scenario and for the sake of brevity, you will record the patient details in your system and then enter the event details only for the patient’s six weeks of convalescence at the step-down facility.Conditions under test: Facility transfer from and to fields are requiredDiagnosis procedure description to maximum available lengthExcluded purchase unit test for health speciality code D55 (Non-weight bearing and other related convalescence)New Patient Details FieldPlease record all values entered or generatedTest Patient H surnameSmithFirst namesMarkAddressA valid addressDate of birth31/12/1930GenderMEthnicity (primary)21 (NZ Maori)Ethnicity (2)Leave blankEthnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB5412NMDS-B03 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord type HENo need to record hereNHI numberEnter the NHI for Test Patient HEvent type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter an event start datetime for six weeks agoFacility codeThis is where the patient spends their six weeks convalescence. Enter a WIES-eligible step-down facility in your region Event local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeT (Transfer from another facility)Health specialty codeD55 (Non-weight bearing and other related convalescence)Admission type codeAA (Arranged admission)Event end type codeDT (Discharge of patient to another healthcare facility) Event end datetimeEnter event end datetime for todayPrincipal health service purchaserA0 (ACC funded purchase)Agency codeAgency code for this eventAccident flagSet the Accident flag to ‘Yes’ ACC claim numberEnter a typical ACC45 numberPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFacility transfer fromEnter your own facility code (i.e. where you are conducting this test)Facility transfer toSame as facility transfer fromFunding agency codeFunding agency codeNMDS-B03 Diagnosis Data (5 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeVClinical code and descriptionZ488 (Other specified surgical follow-up care)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeBClinical code typeBClinical code and descriptionS7203 (Fracture of subcapital section of femur)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical codeW19 (Unspecified fall)Diagnosis procedure descriptionEnter a description giving details of the fall and ensure that more than 50 characters are entered.Please record the description External cause date of occurrenceEnter the date seven weeks ago (mandatory)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionY9214 (Place of occurrence, aged care facility)External cause date of occurrenceEnter same date as first external cause date (optional)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeEClinical code typeEClinical code and descriptionU739 (Unspecified activity)External cause date of occurrenceEnter same date as first external cause date (optional)Condition onset flag2Test Scenario NMDS-B04Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient I presented complaining of shortness of breath and chest pains, subsequently has a cardiorespiratory arrest due to a STEMI. Patient is resuscitated and transferred to ICU for seven hours until stable and receives 2 ? hours of mechanical ventilation. Patient went on to have a left and right angiography/cardiac catheterisation with RCA stent insertion and L ventriculography, severe atherosclerosis is found. After three days the patient is transferred to another facility for urgent CABG. Conditions under test:Facility transfer to field is required Total hours on mechanical ventilation are reportedTotal ICU hours are reportedNew Patient Details FieldPlease record all values entered or generatedTest Patient I surnameMillerFirst namesMartyAddressA valid addressDate of birth10/10/1953GenderMEthnicity (primary)21 (NZ Maori)Ethnicity (2)Leave blank Ethnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB5510NMDS-B04 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord TypeHENo need to record hereNHI numberNHI for Test Patient IEvent type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter an event start datetime for three days ago Facility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeR (Routine admission)Health specialty codeM10 (Cardiology)Admission type codeAC (Acute admission)Event end type codeDT (Discharge of patient to another healthcare facility)Event end datetimeEnter an event datetime for today (July 2015 date)Principal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventTotal hours on mechanical ventilationRound up entry of 2 ? hours to 3 hoursPMS unique identifierUnique PMS identifierClient system identifierClient system identifierTotal ICU hoursReport total ICU hours as 7 Facility transfer to Select a facility of your choiceFunding agency codeFunding agency codeNMDS-B04 Diagnosis Data (8 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionI213 (Acute transmural myocardial infarction of unspecified site)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeAClinical code and descriptionI460 (Cardiac arrest with successful resuscitation)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeAClinical code and descriptionI2511 (Atherosclerotic heart disease of native coronary artery)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description3821802 [668] (Coronary angiography with left and right heart catheterisation) Operation/Procedure DateA date after the event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description3830600 [671] (Percutaneous insertion of 1 transluminal stent into single coronary artery) Operation/Procedure DateA date after the event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description5990300 [607] (Left ventriculography) Operation/Procedure DateSame date as cardiac catheterisation procedureCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description1388200 [569] (Management of continuous ventilatory support, <= 24 hours)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description 9251599 [1910] (Sedation, ASA 99)Operation/procedure dateSame as event start dateCondition onset flagNullTest Scenario NMDS-B05Completion DetailsEnter reason if unable to completeCompleted – Yes or No?IntroductionTest Patient J is a male patient with carotid stenosis who is admitted as an arranged admission for carotid angioplasty with stenting under GA. Conditions under test: Ethnic code 1 reported as 97 (Response unidentifiable) AR-DRG assignmentNew Patient Details FieldPlease record all values entered or generatedTest Patient J SurnameOwensFirst namesMarkAddressA valid addressDate of birth02/01/1965GenderMEthnicity (primary)97 (Response unidentifiable)Ethnicity (2)Leave blank Ethnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB5528NMDS-B05 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord TypeHENo need to record hereHCU identifierEnter the NHI for Test Patient JEvent type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter event start datetimeFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeR (Routine admission) Health specialty codeS75 (Vascular surgery)Admission type codeWN (Admitted from DHB booking system)Event end type codeDR (Ended routinely)Event end datetimeEnter event end datetime next day after event start datetimePrincipal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventPMS unique identifierUnique PMS IdentifierClient system identifierClient system identifierFunding agency codeFunding agency codeNMDS-B05 Diagnosis Data (4 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeAClinical code typeAClinical code and descriptionI652 (Occlusion and stenosis of right carotid artery )Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeBClinical code typeVClinical code and descriptionZ8643 (Personal history of tobacco disorder)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeOClinical code typeOClinical code and description3530700 [754] (Percutaneous transluminal angioplasty of single carotid artery, single stent)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeOClinical code typeOClinical code and description9251499 [1910] (GA, ASA 99)Operation/procedure dateSame as event start dateCondition onset flagNullTest Scenario NMDS-B06Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionThis test requires you to DELETE all event details that were entered for Test Patient C in Test Scenario NMDS-A03 There is no requirement for the replacement data. NMDS-B05 DELETE details Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENHI numberAs per NMDS-A03Event type codeAs per NMDS-A03Event start datetimeAs per NMDS-A03Facility codeAs per NMDS-A03Event local identifierAs per NMDS-A03Message functionD1 (Delete)Please record any other details or comments relevant to the deletion here:-1968516764000Test Scenario NMDS-B07Completion DetailsEnter reason if unable to completeCompleted – Yes or No?IntroductionIn this Scenario, the event details that were entered for Test Patient A in Test Scenario NMDS-A01 need to be resubmitted with changed details because of an administrative error. Event should have been entered as a waiting list/admitted from DHB booking system.In addition, some patient details were entered incorrectly in the hcu tab and need changing.The changes required for the patient details are shown below.Once the hcu related changes are made, please enter the replacement event details.If your PMS is designed to generate a DELETE transaction first when event details are replaced, then just continue this process.Check PMS unique identifier is supplied.AMENDED Patient DetailsFieldPlease amend as indicated below and record all values entered or generatedTest Patient A surnameUnchangedFirst namesUnchangedAddressChange the street addressDate of birthChange to 16/11/1958 (was 16/11/1978)GenderUnchangedEthnicity (primary)Change to 34 (Tokelauan)Ethnicity (2)Blank out (Null)Ethnicity (3)Blank out (Null)NZ resident statusUnchangedReturned domicile codeA valid domicile codePlease re-enter the NHI number for Test Patient DHBV1349NMDS-B07 Updated (HE) Event DetailsField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberNHI for Test Patient A Event type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter event start datetimeFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeR (Routine admission)Health specialty codeP60 (Maternity services – mother [no community LMC])Admission type codeWN (Admitted from DHB booking system)Event end type codeDR (Ended routinely)Event end datetimeEnter an event end datetime on or after the event start datetimePrincipal health service purchaser35 Agency codeAgency code for this eventPMS unique identifierUnique PMS identifierClient system identifierClient system identifier Funding agency codeFunding agency codeNMDS-B07 Diagnosis Data (5 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionO83 (Other assisted single delivery)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeAClinical code and description O665 Failed application of vacuum extractor and forceps, unspecifiedCondition onset flag1Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeBClinical code typeVClinical code and descriptionZ370 (Single live birth)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9047701 [1343] (Assisted vertex delivery)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description9046901 [1343] ( Failed vacuum assisted delivery)Operation/procedure dateSame as event start dateCondition onset flagNull** ACTION ** Send Extract File for Scenarios NMDS-B01/B02/B03/B04/B05/B06/B07At this point you must extract and send the data you have entered for Scenarios NMDS-B01 through NMDS-B07. (Please follow the instructions in Section 9 on the last page of this Test Script). Test Scenarios Part C (IM events)Test Scenario NMDS-C01 Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient K is a male who is admitted from another facility with bipolar schizoaffective disorder. Past history includes smoking. Patient was offered cessation therapy (NRT), patient declined.In this scenario you are registering the patient on the NHI and recording all IM event details including a transfer into your facility.Conditions under test: Reported as a mental health inpatient (IM) eventFacility transfer from field is required Event end date optional for IM eventsAt least one legal status record (HC) is reportedNew Patient Details FieldPlease record all values entered or generatedTest Patient K surnameWardFirst namesDavidAddressA valid addressDate of birth31/12/1962GenderMEthnicity (primary)99 (Not stated)Ethnicity (2)Leave blankEthnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB5676NMDS-C01 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHEHENHI numberEnter the NHI for Test Patient KEvent type codeIM (Psychiatric inpatient event)Event start datetimeEnter an event start datetime of your choiceFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeT (Transfer from another facility)Health specialty codeY12 (Psychiatric disability rehabilitation {inpatient-short term/respite})Admission type codeAA (Arranged admission)Event end type codeLeave blank, or enter ‘DR’ (Ended routinely) if event end datetime is enteredEvent end datetimeEnter an event end datetime after event start datetime (optional)Principal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFacility transfer fromEnter a facility of your choiceFunding agency codeFunding agency codeNMDS-C01 Diagnosis Data (3 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeAClinical code typeAClinical code and descriptionF252 (Schizoaffective disorder, mixed type)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeVClinical code and descriptionZ720 (Tobacco use, current)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeVClinical code and descriptionZ716 (Counselling for tobacco use disorder)Condition onset flag2NMDS-C01 Psychiatric Data (1 x HC record)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHCNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility code As per HE recordNo need to record hereEvent local identifierLocal ID to distinguish this event Legal status codeSNLegal status date Enter a date before event start dateTest Scenario NMDS-C02 Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient L is a male patient admitted suffering from paranoid schizophrenia.In this scenario you are registering the patient on the NHI and recording all IM event details. The event ends when the patient is transferred to a psychiatric care facility.Conditions under test:Reported as mental health inpatient (IM) eventFacility transfer to field is requiredEvent end datetime required for transfer to other facilityAt least one legal status record (HC) is reportedNew Patient Details FieldPlease record all values entered or generatedTest Patient L surnameSmithFirst namesJohnAddressA valid addressDate of birth05/05/1955GenderMEthnicity (primary)33 (Tongan) Ethnicity (2)61 (Other) Ethnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB5960NMDS-C02 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberEnter the NHI for Test Patient LEvent type codeIM (Psychiatric inpatient event)Event start datetimeEnter an event start datetime of your choiceFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeR (Routine admission)Health specialty codeY18 (Adult mental health acute inpatient services)Admission type codeAC (Acute admission)Event end type codeDP (Psychiatric patient transferred for further psychiatric care)Event end datetimeEnter an event end datetime after event start datetimePrincipal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFacility transfer toEnter a facility of your choiceFunding agency codeFunding agency codeNMDS-C02 Diagnosis Data (2 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionF200 (Paranoid schizophrenia)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeVClinical code and descriptionZ653 (Problems related to other legal circumstances)Condition onset flag2NMDS-C02 Psychiatric Data (1 x HC record)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHCNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility code As per HE recordNo need to record hereEvent local identifierLocal ID to distinguish this event Legal status codeILegal status date Enter a date before event start dateTest Scenario NMDS-C03 Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient M is a female patient who has a history of schizoaffective disorder. The patient is admitted acutely following a depressive episode.In this scenario you are registering the patient on the NHI and recording all IM event details. The event ends when the patient is transferred to a psychiatric care facility.Conditions under test: Reported as mental health inpatient (IM) eventTwo separate legal status records are reportedOne of the legal statues reported is SMNew Patient Details FieldPlease record all values entered or generatedTest Patient M surnameJonesFirst namesMaryAddressA valid addressDate of birth03/04/1956GenderFEthnicity (primary)11 (New Zealander)Ethnicity (2)Leave blank Ethnicity (3)Leave blank NZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB6079NMDS-C03 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberEnter the NHI for Test Patient MEvent type codeIM (Psychiatric inpatient event)Event start datetimeEnter the event start datetime for todayFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record)No need to record hereAdmission source codeR (Routine admission)Health specialty codeY04 (Intensive care mental health services)Admission type codeAC (Acute admission)Event end type codeDP (Psychiatric patient transferred for further psychiatric care)Event end datetimeEnter an event end datetime after event start datetimePrincipal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFacility transfer toEnter a facility of your choiceFunding agency codeFunding agency codeNMDS-C03 Diagnosis Data (3 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeAClinical code and descriptionF251 (Schizoaffective disorder, depressive type)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeVClinical code and descriptionZ634 (Disappearance and death of family member)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeVClinical code and descriptionZ720 (Tobacco use current)Condition onset flag2NMDS-C03 Psychiatric Data (2 x HC records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHCNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierLocal ID to distinguish this eventLegal status codeSMLegal status date Enter a date before event start dateLegal status end date Enter a date after the legal status start dateField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHCNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierLocal ID to distinguish this eventLegal status codeC1Legal status dateEnter a date after the SM legal status end date.** ACTION **Send Extract File for Scenarios NMDS-C01/C02/C03At this point you should extract and send the data you have entered for Scenarios NMDS-C01, NMDS-C02 and NMDS-C03. (Please follow the instructions in Section 9 on the last page of this Test Script). Test Scenarios Part D (‘3 hour rule’)“Test Scenarios Part D” contains three tests where patients are treated in the Emergency Department (ED) for more than 3 hours but are not admitted to an inpatient ward.These tests are designed for an Organisation that is introducing functionality to capture these events in their NMDS system for the first time. Test Scenario NMDS-D01 Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient N is a female who has cut her forearm on broken glass while intoxicated at a party. Wound was cleaned and sutured.Conditions under test: Record details for ED event typically exceeding three hours in duration but where patient is not admitted to an inpatient wardHealth speciality M05 is reportedEvent end type is reported as ERNew Patient Details FieldPlease record all values entered or generatedTest Patient R surnameSmithFirst namesDianeAddressA valid addressDate of birth31/12/1988GenderFEthnicity (primary)21 (NZ Maori)Ethnicity (2)Leave blankEthnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB6184NMDS-D01 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberEnter the NHI for Test Patient NEvent type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter an event start datetime for todayFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeR (Routine admission)Health specialty codeM05 (Emergency medicine)Admission type codeAC (Acute admission)Event end type codeER (Routine discharge from an emergency department acute facility)Event end datetimeEnter event end date the same as event start date. Event end time is to be more than 3 hours after event start time.Principal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventAccident flagSet the Accident flag to ‘Yes’ ACC claim numberEnter a typical ACC45 numberPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFunding agency codeFunding agency codeNMDS-D01 Diagnosis Data (7 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeAClinical code typeBClinical code and descriptionS519 (Open wound of forearm, part unspecified)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeAClinical code and descriptionF100 (Mental and behavioural disorders due to use of alcohol, acute intoxication)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionY904 (Blood alcohol level of 80-99mg/100ml)External cause date of occurrenceSame as event start date (mandatory)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeEClinical code typeEClinical code and descriptionW259 (Contact with unspecified sharp glass)External cause date of occurrenceSame as event start date (mandatory)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionY929 (Unspecified place of occurrence)External cause date of occurrenceSame as event start date (optional)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionU72 (Leisure activity, not elsewhere classified)External cause date of occurrenceSame as event start date (optional)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeOClinical code typeOClinical code and description3002600 [1635] (Repair of wound of skin and subcutaneous tissue of other site, superficial)Operation/procedure dateSame as event start dateCondition onset flagNullTest Scenario NMDS-D02 Completion DetailsEnter reason if unable to completeCompleted – Yes or No?IntroductionTest Patient O is a male who has suffered injuries as a passenger in a car which rolled in a motorway accident. Patient is stabilised, intubated and ventilated, then transferred from ED to another facility.Conditions under test: Record details for ED event typically exceeding three hours in duration but where patient is not admitted to an inpatient wardEvent end type is reported as ETFacility transfer to is reportedHealth speciality M05 is reportedTotal hours on mechanical ventilation are reported New Patient Details FieldPlease record all values entered or generatedTest Patient O surnameWardFirst namesMattAddressA valid addressDate of birth20/05/1986GenderMEthnicity (primary)43 (Indian)Ethnicity (2)Leave blank Ethnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB6290NMDS-D02 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberEnter the NHI for Test Patient OEvent type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter an event start datetime for todayFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeR (Routine admission)Health specialty codeM05 (Emergency medicine)Admission type codeAC (Acute admission)Event end type codeET (Discharged from emergency department acute facility to another facility)Event end datetimeEnter event end date the same as event start date. Event end time is to be more than 3 hours after event start time.Principal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventAccident flagSet the Accident flag to ‘Yes’ ACC claim numberA typical ACC45 numberTotal hours on mechanical ventilationReport total hours as 4 PMS unique identifierUnique PMS identifierClient system identifierClient system identifierFacility transfer toEnter a facility of your choiceFunding agency codeFunding agency codeNMDS-D02 Diagnosis Data (10 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeAClinical code typeBClinical code and descriptionS065 (Traumatic subdural haemorrhage)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHDNo need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetimeAs per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeBClinical code typeBClinical code and descriptionS0601 (Loss of consciousness of unspecified duration)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeBClinical code and descriptionS0188 (Open wound of other parts of head)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeBClinical code typeBClinical code and descriptionS202 (Contusion of thorax)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeBClinical code typeBClinical code and descriptionS8081 (Abrasion of lower leg)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionV4869 (Car occupant injured in noncollision transport accident, passenger, traffic accident, unspecified car [automobile])External cause date of occurrenceSame as event start date (mandatory)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionY9249 (Place of occurrence, unspecified public highway, street or road)External cause date of occurrenceSame as event start date (optional)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeEClinical code typeEClinical code and descriptionU739 (Unspecified activity)External cause date of occurrenceSame as event start date (optional)Condition onset flag2Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description1388200 [569] (Management of continuous ventilatory support, <= 24 hours)Operation/procedure dateSame as event start dateCondition onset flagNullField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start datetime As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15 Diagnosis typeOClinical code typeOClinical code and description 9251599 [1910] (Sedation, ASA 99)Operation/procedure dateSame as event start dateCondition onset flagNullTest Scenario NMDS-D03 Completion DetailsEnter reason if unable to completeCompleted – Yes or No? IntroductionTest Patient P is a female patient who presents to ED with severe headache and is diagnosed with a migraine. Patient is treated and observed in ED overnight and discharge early the next morning (not discharged on the same day).Conditions under test: Record details for ED event typically exceeding three hours in duration but where patient is not admitted to an inpatient wardHealth Speciality M05 is reportedNew Patient Details FieldPlease record all values you enteredTest Patient P surnameJonesFirst namesSusanAddressA valid addressDate of birth20/05/1986GenderFEthnicity (primary)12 (Other European)Ethnicity (2)Leave blank Ethnicity (3)Leave blankNZ resident statusYReturned domicile codeA valid domicile codeReturned NHI numberZAB6796NMDS-D03 Event Details (HE) Test DataField NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHENo need to record hereNHI numberEnter the NHI for Test Patient PEvent type codeIP (Non-psychiatric inpatient event)Event start datetimeEnter event start datetimeFacility codeA valid facility codeEvent local identifierLocal ID to distinguish this eventNo need to record hereMessage functionA1 (Add record) No need to record hereAdmission source codeR (Routine admission)Health specialty codeM05 (Emergency medicine)Admission type codeAC (Acute admission)Event end type codeER (Routine discharge from an emergency department acute facility)Event end datetimeEnter an event end datetime the next date after event start datetime. Event end time is to be more than 3 hours after event start time.Principal health service purchaser35 (DHB funded purchase)Agency codeAgency code for this eventPMS unique identifierUnique PMS identifierClient system identifierClient system identifierFunding agency codeFunding agency codeNMDS-D03 Diagnosis Data (1 x HD records)Field NameExpected NMDS Extract valuePlease record all values entered or generatedRecord typeHD No need to record hereNHI numberAs per HE recordNo need to record hereEvent type codeAs per HE recordNo need to record hereEvent start date As per HE recordNo need to record hereFacility codeAs per HE recordNo need to record hereEvent local identifierAs per HE recordNo need to record hereDiagnosis numberSequential ID for this HD recordClinical coding system ID15Diagnosis typeAClinical code typeAClinical codeG439 (Migraine, unspecified)Condition onset flag2**ACTION** Send Extract File for Scenarios NMDS-D01/D02/D03At this point you should extract and send the data you have entered for Scenarios NMDS-D01, NMDS-D02 and NMDS-D03. (Please follow the instructions in Section 9 on the last page of this Test Script).** End of all Test Scenarios ** Instructions for Transmitting a Test Extract FileEach part of this Test Script results in one extract file being sent to the DM team. Parts A, C and D can be completed independently from one another.Part B cannot be completed until Part A (specifically Test Scenarios NMDS-A03 and NMDS-A04) are completed, including fixing any errors arising from the processing of Part A.Before sending each extract file:Ensure your Organisation’s name is recorded on the front page of the Test ScriptEnsure that page 2 has been completedEmail or fax a copy of pages 1 and 2, together with the completed Test Scenarios for the part of the Test Script that you are extracting, to the Data Management team (email to compliance@t.nz or fax to 04 8162899)Ring the DM team on (04) 816-3456 or 816-2815 and advise them you have sent the completed documentationEnsure you have read the "DHB Compliance Procedures" document which is available on the Website at . This will explain in detail the steps for sending any Compliance file to the DM team and the technical information about extract filesWait for the go-ahead from the DM team to send your extract file.When you have the go-ahead from the DM team to send an extract file:Extract the relevant NMDS patient events for the part of the Test Script you have completedFTP the extract file as per the "DHB Compliance Procedures" document and/or any other instructions from the DM teamSend one extract file at a time, for each part of this Test Script as you complete itSeparate guidelines will be given if you need to send a correction file for any identified errors.Processing Return FilesThe Data Management team will advise you if and when Return files are available for processing. This may take a few days depending on the number of errors that may be found when validating an extract file. In some cases (e.g. if the File Header record is invalid) you may be asked to simply regenerate and transmit a new extract file.You must also complete your normal processing of the Return files in order to show that your PMS handles all aspects of the NMDS data processing pliance CertificationOnce all test results are satisfactory, Provisional NMDS Compliance will be issued. Full compliance will be issued once your first full Production NMDS file is successfully processed in the Compliance Test Environment with no major errors and with a sufficient percentage of events passing both the validation and the load process. ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download