This testsuite is designed to verify the GetRequestOutcome contract.
Global variables used
- webServiceUrl
This testsuite is designed to verify the GetRequestOutcome contract.
Verifies that the result only contains information within the date boundaries for the given patient.
Verifies that the result only contains information with correct CareUnitHsaId for the given patient.
The patient should have several RequestOutcome records, with at least one record from the given CareUnitHsaId.
The DocumentId's of the expected RequestOutcome records should be added as a comma-separated list in the
expectedDocumentIds field.
The DocumentId's of ReferralOutcome records from other CareUnit's should be added as a comma-separated list in the
unexpectedDocumentIds field.
The fields httpHeaderHsaId and logicalAddress should contain values that does not affect the list of RequestOutcome records.
Verifies that the result only contains information with correct PatientId.
Enter a PatientId that is stored in the source system.
The DocumentId's of the expected RequestOutcome records should be added as a comma-separated list in the
expectedDocumentIds field.
The DocumentId's of RequestOutcome records from other CareUnit's should be added as a comma-separated list in the
unexpectedDocumentIds field.
The fields httpHeaderHsaId and logicalAddress should contain values that does not affect the list of RequestOutcome records.
Verifies that the service returns an empty result instead of a Soap Fault if a non-existing PatientId is given.
Enter a PatientId that is not found in the source system.
Verifies that the result only contains information for a single CareContact.
Enter a PatientId, CareContactId and SourceSystemHSAid that is stored in the source system.
Add one or more DocumentId's of records that should be included in the response based on the
filtering rules to the field 'expectedDocumentIds'.
Add one or more DocumentId's of records that should not be included in the response based on the
filtering rules to the field 'unexpectedDocumentIds'.
The fields httpHeaderHsaId and logicalAddress should contain values that does not affect the list of RequestOutcome records.
Verifies that the service returns an empty result instead of a Soap Fault if a non-existing
CareContactId is given.
Enter a PatientId that exists in the source system and a CareContactId and sourceSystemHSAid that is not found in the source system.
The fields httpHeaderHsaId and logicalAddress should contain values that does not affect the list of RequestOutcome records.
Verifies that the result only contains information with correct PatientId, and that the source
system should filter ReferralOutcome records based on the HttpHeader 'x-rivta-original-serviceconsumer-hsaid'.
Enter a PatientId that has more than one RequestOutcomeRecord in the source system.
Add one or more DocumentId's of records that should be included in the response based on the
filtering rules to the field 'expectedDocumentIds'.
Add one or more DocumentId's of records that should not be included in the response based on the
filtering rules to the field 'unexpectedDocumentIds'.
The field logicalAddress should contain a value that does not affect the list of CareContacts.
The test verifies that the source system returns a Soap Fault if the sourceSystemHSAid
is empty when careContactId has a value.
Enter a PatientId and a CareContactId of a CareContact that should be found in the source system.
The fields httpHeaderHsaId and logicalAddress should contain values that does not affect the list of CareContacts.
The test verifies that the source system returns a Soap Fault if the logicalAddress and
sourceSystemHSAid doesn't match.
Enter PatientId and a CareContactId and the correct SourceSystemHSAid of a CareContact that should be found in the source system.
The field logicalAddress should not match SourceSystemHSAid.
The field httpHeaderHsaId should contain a value that does not affect the list of records.