Download OpenAPI specification:
This API was modelled on version 2 of the IAR-DST UI. Viewing that UI in conjunction with this documentation will assist in understanding how it should be utilised.
developmentalAgeGroup required | string Enum: "child" "adolescent" "adult" "older-adult" Developmental age group |
{- "id": "child",
- "label": "string",
- "ageRange": {
- "label": "string",
- "min": 0,
- "max": 0
}, - "url": "string",
- "assessmentUrl": "string"
}
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.
developmentalAgeGroup required | string Enum: "child" "adolescent" "adult" "older-adult" Developmental age group |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "ageRange": {
- "label": "string",
- "min": 0,
- "max": 0
}, - "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{developmentalAgeGroup}
includes a uuid
suitable for this purpose.
developmentalAgeGroup required | string Enum: "child" "adolescent" "adult" "older-adult" Developmental age group |
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",
- "reportUrl": "string",
- "id": "string",
- "value": 1,
- "base": 1,
- "orAbove": true,
- "orAboveText": "string"
}
Returns a data structure sufficient to render a client referral form.
This structure is a list of nested elements that are largely modelled on HTML elements but are intened to be suitable for rendering a form in any framework.
Utilisation of this end point, while optional, avoids the need to manually copy textual elements of the IAR-DST referral form, minimising the chance of transcription errors. Ideally this should be implemented such that the referral UI is rendered dynamically each time it is used so that any text updates or corrections are incorporated automatically.
A practitioner may select an age group that does not match the client's chronological age. Similarly a practitioner may select a level of care that differs from the IAR-DST derived level of care. In these cases alerts (warnings) should be issued and appropriare reasons or notes captured if the difference is intentional.
The returned data structure includes alert elements containing text and
subordinate elements, such as notes and option selections, that must
be displayed when the alert's active
property is true
.
When an alert object has the active
property set to false
it, and its
subordinate elements, must not be displayed or required.
When an alert object has the active
property set to true
it, and its
subordinate elements, must be displayed and any required elements must not
be omitted. Required elements have the required
property set to true
.
Alerts are always false when returned from this endpoint.
developmentalAgeGroup required | string Enum: "child" "adolescent" "adult" "older-adult" Developmental age group |
locDstDerived required | string Enum: 1 2 "2+" "3+" "4+" 5 Level of care derived from the DST algorithm |
{- "ageRange": {
- "label": "string",
- "min": 0,
- "max": 0
}, - "alertElements": [
- {
- "id": "string",
- "active": true
}
], - "body": [
- { }
]
}
In respose to a request containing the subject's (client/patient) age in
years and practitioner's selected level of care the result is a data
structure sufficient to update a client referral form with active
alerts if needed. Active alerts are indicated by a true
active
attribute associated with their id
.
See GET /report/{developmentalAgeGroup}/{locDstDerived}
for more
detail.
uuid
Each report must be accompanied by a uuid
. For a single session of API
calls for the same 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 referrals 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{developmentalAgeGroup}
includes a uuid
suitable for this purpose.
developmentalAgeGroup required | string Enum: "child" "adolescent" "adult" "older-adult" Developmental age group |
locDstDerived required | string Enum: 1 2 "2+" "3+" "4+" 5 Level of care derived from the DST algorithm |
uuid required | string <uuid> (IARSessionUUID) Unique identifier for an IAR-DST assessment session |
chronologicalAge required | integer >= 5 Age in years |
locPractitionerSpecified required | string (LocBase) Enum: 1 2 3 4 5 Base level of care |
locDiffReasons | Array of strings Default: [] Items Enum: "service-availability" "personal-circumstances-preferences" "clinical-judgement" "other" Reasons for derived level of care differing from practioner selected level of care |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "chronologicalAge": 5,
- "locPractitionerSpecified": 1,
- "locDiffReasons": [ ]
}
{- "ageRange": {
- "label": "string",
- "min": 0,
- "max": 0
}, - "alertElements": [
- {
- "id": "string",
- "active": true
}
]
}