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.
- PRIMHD File Specification v2.3.6 (docx 1.5MB)
- PRIMHD File Specification v2.3.6 (pdf 1.8MB)
- PRIMHD File Specification v2.4 (pdf 1.8MB)
These schemas for the PRIMHD extract make up part of the PRIMHD file specification.
- PRIMHD Referral Discharge Schema v2.3.2 (xsd 14KB)
- PRIMHD Legal Status v2.3 (xsd 5KB)
- PRIMHD Referral Discharge Schema v2.4 (xsd 14KB)
- PRIMHD Legas Status v2.4 (xsd 5KB)
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.5 (Word, 1.11 MB)
- PRIMHD Compliance Test Scripts v2.5 (PDF, 876 KB)