PHQ9 - Avatar CWS Web Service
The Avatar CWS WEBSVC.PHQ9 web service is used to manage PHQ9 assessment data in myAvatar.
Operations
The web service supports the following operations:
AddPHQ9 call
Used to file a PHQ9 assessment.
Parameters with no properties
| Parameter | Properties | Value Accepted | Notes |
|---|---|---|---|
| SystemCode | N/A | Avatar System Code | Examples: UAT, LIVE, etc. |
| UserName | N/A | Avatar User ID | |
| Password | N/A | Avatar Password | |
| ClientID | N/A | Avatar Client ID | |
| EpisodeNumber | N/A | Avatar Episode Number |
Parameters with properties
| Parameter | Properties | Value Accepted | Notes |
|---|---|---|---|
| PHQ9Info | WEBSVC.PHQ9Object | WEBSVC.PHQ9Object | The property is itself an object - details provided below. |
DeletePHQ9 call
Used to delete a previously filed PHQ9 assessment
Parameters with no properties
| Parameter | Properties | Value Accepted | Notes |
|---|---|---|---|
| SystemCode | N/A | Avatar System Code | Examples: UAT, LIVE, etc. |
| UserName | N/A | Avatar User ID | |
| Password | N/A | Avatar Password | |
| ClientID | N/A | Avatar Client ID | |
| EpisodeNumber | N/A | Avatar Episode Number | |
| UniqueID | N/A | PHQ9 assessment unique ID (unique to the provided client only) |
EditPHQ9 call
Used to edit a previously filed PHQ9 assessment
Parameters with no properties
| Parameter | Properties | Value Accepted | Notes |
|---|---|---|---|
| SystemCode | N/A | Avatar System Code | Examples: UAT, LIVE, etc. |
| UserName | N/A | Avatar User ID | |
| Password | N/A | Avatar Password | |
| ClientID | N/A | Avatar Client ID | |
| EpisodeNumber | N/A | Avatar Episode Number | |
| UniqueID | N/A | PHQ9 assessment unique ID (unique to the provided client only) |
Parameters with properties
| Parameter | Properties | Value Accepted | Notes |
|---|---|---|---|
| PHQ9Info | WEBSVC.PHQ9Object | WEBSVC.PHQ9Object | The property is itself an object - details provided below. |
GetDictionaryItems
Used to retrieve the dictionary code sets associated with the specified option.
Parameters with no properties
| Parameter | Properties | Value Accepted | Notes |
|---|---|---|---|
| SystemCode | N/A | Avatar System Code | Examples: UAT, LIVE, etc. |
| UserName | N/A | Avatar User ID | |
| Password | N/A | Avatar Password |
Object class: WEBSVC.PHQ9Object
| Parameter | Properties | Value Accepted | Notes |
|---|---|---|---|
| WEBSVC.PHQ9Object | AppetiteProblem | Dictionary Code: field #27008 in CWS file | |
| AssessmentDate | Date | ||
| AssessmentPractitioner | Staff ID | ||
| AssessmentStatus | Dictionary Code: field #27019 in CWS file | Draft/Final status value | |
| ConcentratingIssue | Dictionary Code: field #27004 in CWS file | Several assessment questions are mapped to this dictionary field (27004) | |
| DifficultToManage | Dictionary Code: field #27013 in CWS file | ||
| FeelingBad | Dictionary Code: field #27004 in CWS file | ||
| FeelingDown | Dictionary Code: field #27004 in CWS file | ||
| FeelingTired | Dictionary Code: field #27004 in CWS file | ||
| LittleInterest | Dictionary Code: field #27004 in CWS file | ||
| MovementSpeedUnsual | Dictionary Code: field #27004 in CWS file | ||
| ReasonForNotAdministering | Free Text | ||
| SelfHurtThoughts | Dictionary Code: field #27004 in CWS file | ||
| SleepTrouble | Dictionary Code: field #27004 in CWS file | ||
| Date | |||
| Date | |||
| Date | |||
| Date | |||
| Date | |||
| Free Text | |||
| Free Text | |||
| Free Text | |||
| Free Text | |||
| Free Text | |||
| Free Text | |||
| Free Text | |||
| Free Text | |||
| Free Text | |||
| Free Text | |||
| SS Multiple Select Dictionary | |||
| SS Multiple Select Dictionary | |||
| SS Multiple Select Dictionary | |||
| SS Multiple Select Dictionary | |||
| SS Multiple Select Dictionary | |||
| SS Multiple Select Dictionary | |||
| SS Multiple Select Dictionary | |||
| SS Multiple Select Dictionary | |||
| SS Multiple Select Dictionary | |||
| SS Multiple Select Dictionary | |||
| Staff ID | |||
| Staff ID | |||
| Staff ID | |||
| Staff ID | |||
| Staff ID | |||
| Scrolling Free Text | |||
| Scrolling Free Text | |||
| Scrolling Free Text | |||
| Scrolling Free Text | |||
| Scrolling Free Text | |||
| SS Single Select Dictionary | |||
| SS Single Select Dictionary | |||
| SS Single Select Dictionary | |||
| SS Single Select Dictionary | |||
| SS Single Select Dictionary | |||
| SS Single Select Dictionary | |||
| SS Single Select Dictionary | |||
| SS Single Select Dictionary | |||
| SS Single Select Dictionary | |||
| SS Single Select Dictionary | |||
| Time | |||
| Time | |||
| Time | |||
| Time | |||
| Time |
