/
data-model-and-specifications.rst
169 lines (106 loc) · 4.5 KB
/
data-model-and-specifications.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
.. _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 <https://docs.pmhc-mds.com/projects/data-specification/en/v2/data-model-and-specifications.html#collection-occasion-diagram>`_ 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 <https://docs.pmhc-mds.com/data-specification/data-model-and-specifications.html#provider-organisation-data-elements>`_.
----------
.. _practitioner-data-elements:
Practitioner
^^^^^^^^^^^^
Same as standard `PMHC MDS Practitioner <https://docs.pmhc-mds.com/data-specification/data-model-and-specifications.html#practitioner-data-elements>`_.
----------
.. _client-data-elements:
Client
^^^^^^
Same as standard `PMHC MDS Client <https://docs.pmhc-mds.com/data-specification/data-model-and-specifications.html#client-data-elements>`_.
----------
.. _episode-data-elements:
Episode
^^^^^^^
Same as standard `PMHC MDS Episode <https://docs.pmhc-mds.com/data-specification/data-model-and-specifications.html#episode-data-elements>`_.
----------
.. _service-contact-data-elements:
Service Contact
^^^^^^^^^^^^^^^
See `PMHC MDS Service Contact <https://docs.pmhc-mds.com/data-specification/data-model-and-specifications.html#key-concepts-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 <https://docs.pmhc-mds.com/data-specification/data-model-and-specifications.html#key-concepts-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 <https://docs.pmhc-mds.com/data-specification/data-model-and-specifications.html#sdq-data-elements>`_
.. 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>`_