This document is the principal reference for all providers who submit data to PRIMHD; business and data quality analysts involved in supporting and maintaining the PRIMHD collection; and vendors and software suppliers who are developing or delivering the technical capability to DHBs or NGOs.
It describes the electronic file format used to send data to PRIMHD, including layout, error messages and business rules used to validate the data fields within the PRIMHD records file.
These schemas for the PRIMHD extract make up part of the PRIMHD file specification.
- PRIMHD Referral Discharge Schema v2.3.2 (xsd, 14 KB)
- PRIMHD Legal Status v2.3 (xsd, 5 KB)
- PRIMHD Referral Discharge Schema v2.4 (xsd, 14 KB)
- PRIMHD Legas Status v2.4 (xsd, 5 KB)
Compliance Test Scripts
These are designed to test DHB and NGO compliance with the PRIMHD File Specification, to ensure that submitted data complies with the PRIMHD data set, code set and business rules. The scripts can be downloaded as a PDF or Word Document.
- PRIMHD Compliance Test Scripts v2.6 (Word, 1.18 MB)
- PRIMHD Compliance Test Scripts v2.6 (PDF, 921 KB)