.. _data-model-and-specifications: Data model and specifications ============================= headspace specifications are an extension of the Primary Mental Health Care Minimum Data Set (PMHC MDS); the current PMHC MDS Data model and specification rules still apply. These are available to be viewed at https://docs.pmhc-mds.com/projects/data-specification/en/latest/index.html. .. _key-concepts: Key concepts ------------ See `PMHC MDS Key concepts `_ for an explanation of key concepts used in the PMHC MDS. .. _data-model: Data model ---------- .. _data-model-diagram: .. figure:: figures/data-model-v4.0.svg :alt: headspace v4.0 PMHC data model headspace data model *within the PMHC MDS* **Note:** `PMHC MDS Collection Occasion records `_ for more details about Collection Occasion records. .. _record-formats: Record formats -------------- .. _metadata-data-elements: Metadata ^^^^^^^^ The Metadata table must be included in file uploads in order to identify the type and version of the uploaded data. .. csv-table:: Metadata record layout :file: record/metadata.csv :header-rows: 1 For this version of the specification the required content is shown in the following table: .. include:: shared/metadata-content.rst ---------- .. _provider-organisation-data-elements: Provider Organisation ^^^^^^^^^^^^^^^^^^^^^ Same as standard `PMHC MDS Provider Organisation `_. ---------- .. _practitioner-data-elements: Practitioner ^^^^^^^^^^^^ Same as standard `PMHC MDS Practitioner `_. ---------- .. _client-data-elements: Client ^^^^^^ Same as standard `PMHC MDS Client `_. ---------- .. _intake-data-elements: Intake ^^^^^^ See `PMHC MDS Intake `_ for definition of an intake. Intakes are managed by headspace via upload. .. csv-table:: Intake record layout :file: record/intake.csv :header-rows: 1 ---------- .. _intake-episode-data-elements: Intake Episode ^^^^^^^^^^^^^^ Same as standard `PMHC MDS Intake Episode `_. ---------- .. _episode-data-elements: Episode ^^^^^^^ See `PMHC MDS Episode `_ for definition of an episode. Episodes are managed by headspace via upload. .. csv-table:: Episode record layout :file: record/episode.csv :header-rows: 1 ---------- .. _service-contact-data-elements: Service Contact ^^^^^^^^^^^^^^^ See `PMHC MDS Service Contact `_ for definition of a service contact. Service contacts are managed by headspace via upload. .. csv-table:: Service contact record layout :file: record/service-contact.csv :header-rows: 1 ---------- .. _service-contact-practitioner-data-elements: Service Contact Practitioner ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ See `PMHC MDS Service Contact Practitioner `_ for definition of a service contact practitioner. Service contacts practitioners are managed by headspace via upload. .. csv-table:: Service contact practitioner record layout :file: record/service-contact-practitioner.csv :header-rows: 1 ---------- .. _collection-occasion-data-elements: Collection Occasion ^^^^^^^^^^^^^^^^^^^ See `PMHC MDS Collection Occasion `_ for a definition of an outcome collection occasion. Collection Occasions are managed by headspace via upload. .. csv-table:: Collection Occasion record layout :file: record/collection-occasion.csv :header-rows: 1 .. _measure-data-elements: Measures ^^^^^^^^ .. _intake_measures: Measures at Intake """""""""""""""""" .. _iar-dst-data-elements: IAR-DST ''''''' Same as standard `PMHC MDS IAR-DST `_. .. _episode_measures: Measures during an Episode """""""""""""""""""""""""" .. _k10p-data-elements: K10+ """" Same as standard `PMHC MDS K10+ `_. .. _k5-data-elements: K5 "" Same as standard `PMHC MDS K5 `_. .. _sdq-data-elements: SDQ """ Same as standard `PMHC MDS SDQ `_. ---------- .. _definitions: .. include:: include/definitions.rst .. _data-specifications-download: Download Specification Files ---------------------------- Available for software developers designing extracts for the PMHC MDS, please click the link below to download the PMHC MDS Specification files: * `Specification zip <../_static/pmhcmds-spec-headspace-meta.zip>`_ These files conform to the CSV on the Web (CSVW) standard that is defined at https://csvw.org/. They are used: * to generate the :ref:`record-formats` and :ref:`definitions` sections of the data specification documentation * in the first pass of upload validations