CheckWare partner API reference guide

Datatypes

OverviewDatatypesWebservice operationsChangelog

treatmentInstance

Treatment instance is a health unit created for respondent. Respondant may have more than one treatments.
If respondent woludn't have any treatment it will be impossible to assign him eny assessments, plans etc.
All elements like assessments, assessment plans etc. are assign to treatment instead of respondent directly.

Grouping method: sequence
Multiplicity: 1 .. 1

ElementMultiplicityTypeRestrictionDescription
treatmentInstanceID1 .. 1treatmentInstanceID 


The unique identifier for this treatment instance. It is auto generated by system.

treatmentTypeID1 .. 1treatmentTypeID 


The identifier for the treatment type. It can not be modified.

respondentID1 .. 1respondentID 


The identifier for the respondent - owner of treatment. It can not be modified after adding.

name1 .. 1string 

Name of treatment

startAt0 .. 1dateTime 

The date and time of start of treatment. If it desn't send current date and time will set up.

endAt0 .. 1dateTime 

The date and time of end of treatment.

createdAt0 .. 1dateTime 

The date and time when treatment was created. Only for read. It can not be modified.

enabled1 .. 1boolean 

Flag if treatment is enabled or not.

treatmentInstanceAttributeCollection0 .. 1treatmentInstanceAttributeCollection 

Collection of treatment instance attributes

userIDCollection0 .. 1userIDCollection 

Collection of clinician usernames assigned directly to treatment.

treatmentInstanceRoleCollection0 .. 1treatmentInstanceRoleCollection 

Collection of treatment instance roles assigned to treatment and set by clinicians/respondents