.. _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/data-specification/index.html. .. _data-model: Data model ---------- .. _data-model-diagram: .. figure:: figures/data-model-v3.0.svg :alt: headspace 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: +--------------+------------+ | key | value | +--------------+------------+ | type | HEADSPACE | +--------------+------------+ | version | 2.0 | +--------------+------------+ ---------- .. _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 `_. ---------- .. _episode-data-elements: Episode ^^^^^^^ Same as standard `PMHC MDS Episode `_. ---------- .. _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 ---------- .. _outcome-collection-occasion-data-elements: Outcome Collection Occasion ^^^^^^^^^^^^^^^^^^^^^^^^^^^ See `PMHC MDS Outcome Collection Occasion `_ for a definitation of an outcome collection occasion. Outcome Collection Occasions are managed by headspace via upload. .. _k10p-data-elements: K10+ """" Reporting individual item scores will eventually be required. In the short term, respondents can either report all 14 item scores or report the K10 total score as well as item scores for the 4 extra items in the K10+. .. csv-table:: K10+ record layout :file: record/k10p-collection-occasion.csv :header-rows: 1 When the client’s responses to Q1-10 are all recorded as 1 'None of the time', they are not required to answer questions 11-14. Where a question has not been answered please select a response of 'Not stated / missing'. .. _k5-data-elements: K5 "" Reporting individual item scores will eventually be required. In the short term, respondents can either report all 5 item scores or report the K5 total score. .. csv-table:: K5 record layout :file: record/k5-collection-occasion.csv :header-rows: 1 .. _sdq-data-elements: SDQ """ Please refer to the SDQ notes at `PMHC MDS SDQ `_ .. csv-table:: SDQ record layout :file: record/sdq-collection-occasion.csv :header-rows: 1 ---------- .. 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/headspace-v2-spec-meta.zip>`_