Download OpenAPI specification:
This API was modelled on version 1 of the IAR-DST UI. While that version of the UI is no longer publically accessible, viewing the version 2 UI in conjunction with this documentation will assist in understanding how it should be utilised.
Endpoints for obtaining assessment ratings and generating an IAR-DST recommened level of care.
Returns a data structure sufficient to render a form for obtaining the 8 domain ratings from a user.
Utilisation of this end point, while optional, avoids the need to manually copy textual elements of the IAR-DST rating form, minimising the chance of transcription errors. Ideally this should be implemented such that the rating UI is rendered dynamically each time it is used so that any text updates or corrections are incorporated automatically.
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "body": {
- "domainTypes": [
- {
- "id": "string",
- "label": "string",
- "domains": [
- {
- "docUrl": "string",
- "id": "string",
- "label": "string",
- "number": 1,
- "ratings": [
- {
- "id": "string",
- "label": "string",
- "value": 4
}
]
}
]
}
]
}
}
In respose to a request containing all 8 domain ratings the resulting object includes the assessment result (1, 2, 2+, 3+, 4+ or 5), a short label to describe the result and a longer description of the result as well as other useful context.
uuid
Each assessment must be accompanied by a uuid
. For a single session of API
calls for the same rating subject (client/patient) the uuid
must remain the
same.
The purpose of this unique identifier is to faciliate more accurate counting of the number of generated IAR-DST ratings while allowing for multiple calls to the API for the same subject. For example if the user adjusts the domain values during a single session.
Note that the object returned by a GET /assessment
includes a uuid
suitable for this purpose.
uuid required | string <uuid> (IARSessionUUID) Unique identifier for an IAR-DST assessment session |
required | object |
required | object |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "primary": {
- "symptoms": 4,
- "harm": 4,
- "functioning": 4,
- "impact": 4
}, - "contextual": {
- "progress": 4,
- "stressors": 4,
- "support": 4,
- "engagement": 4
}
}
{- "element": {
- "type": "markdown",
- "id": "string",
- "text": "string"
}, - "label": "string",
- "docUrl": "string",
- "id": "string",
- "value": 1,
- "base": 1,
- "orAbove": true,
- "orAboveText": "string"
}