Enhanced ‘GetClientDemographics’ Call in ‘WSAPI.PM.Client.ClientService’ and ‘WSAPI.PM.Client.ClientServiceV2’
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- Admission (Outpatient)
- Update Client Data
- WSAPI.PM.Client.ClientService.GetClientDemographics
- Avatar
- WSAPI.PM.Client.ClientServiceV2.GetClientDemographics
Scenario 1: WSAPI.PM.Client.ClientService - Verification of 'GetClientDemographics' web service method
Specific Setup:
- Admission:
- An existing client is identified, or a new client is admitted with the 'Veteran', 'Military Related Disability', 'Military Branch Of Service', 'Military Service From', 'Military Service To', 'Gender Identity' and 'Sexual Orientation' fields populated with a desired values. Note the client id and values entered in the fields.
- Access to SoapUI or any other web service testing tool.
Steps
- Open the 'SoapUI' or any other web service testing tool.
- Verify the 'GetClientDemographics' method is added to the Avatar Cal-PM Client Service web service (WSAPI.PM.Client.ClientService.cls).
- Populate all the required fields in the 'GetClientDemographics' web service request for the desired Client ID.
- Submit Client Service 'GetClientDemographics' web service request for desired Client ID.
- Verify the web service request submits successfully.
- Verify the Client Service 'GetClientDemographics' web service response contains the demographics fields: 'GenderIdentity', 'GenderIdentityOther', 'SexualOrientation', 'SexualOrientationOther', 'Veteran', 'MilitaryRelatedDisability', 'MilitaryBranchOfService', 'MilitaryServiceFrom' and 'MilitaryServiceTo' and populated correctly when the data present in the 'Gender Identity', 'Gender Identity (Please Describe)', 'Sexual Orientation', 'Set Sexual Orientation (Please Describe)', 'Veteran', 'Military Related Disability', 'Military Branch Of Service', 'Military Service From' and 'Military Service To' fields in the 'Admission' or 'Update Client Data' form for the client.
- Get out from the SoapUI.
Scenario 2: WSAPI.PM.Client.ClientServiceV2 - Verification of 'GetClientDemographics' web service method
Specific Setup:
- Admission:
- An existing client is identified, or a new client is admitted with the 'Gender Identity', 'Gender Identity (Please Describe)', 'Sexual Orientation', 'Set Sexual Orientation (Please Describe)', 'Veteran', 'Military Related Disability', 'Military Branch Of Service', 'Military Service From' and 'Military Service To' fields populated with a desired values. Note the client id and values entered in the fields.
- Access to SoapUI or any other web service testing tool.
Steps
- Open the 'SoapUI' or any other web service testing tool.
- Verify the 'GetClientDemographics' method is added to the Avatar Cal-PM Client Service web service (WSAPI.PM.Client.ClientServiceV2.cls).
- Populate all the required fields in the 'GetClientDemographics' web service request for the desired Client ID.
- Submit Client Service 'GetClientDemographics' web service request for desired Client ID.
- Verify the web service request submits successfully.
- Verify the Client Service 'GetClientDemographics' web service response contains the demographics fields: 'GenderIdentity', 'GenderIdentityOther', 'SexualOrientation', 'SexualOrientationOther', 'Veteran', 'MilitaryRelatedDisability', 'MilitaryBranchOfService', 'MilitaryServiceFrom' and 'MilitaryServiceTo' and populated correctly when the data present in the 'Gender Identity', 'Gender Identity (Please Describe)', 'Sexual Orientation', 'Set Sexual Orientation (Please Describe)', 'Veteran', 'Military Related Disability', 'Military Branch Of Service', 'Military Service From' and 'Military Service To' fields in the 'Admission' or 'Update Client Data' form for the client.
- Get out from the SoapUI.
|
Topics
• Web Services
|