This testsuite is designed to verify the GetCareContact contract.
Global variables used
- webServiceUrl
This testsuite is designed to verify the GetCareContact contract.
Verifies that the result only contains information within the date boundaries for the given patient.
This test will require at least nine CareContacts:
Verifies that the result only contains information with correct CareUnitHsaId for the given patient.
The patient should have several CareContacts, with at least one CareContact from the given CareUnitHsaId.
The CareContactId's of the expected CareContacts should be added as a comma-separated list in the
expectedDocumentIds field.
The CareContactId's of CareContacts from other CareUnit's should be added as a comma-separated list in the
unexpectedDocumentIds field.
Verifies that the result only contains information with correct CareGiverHSAId for the given patient.
The patient should have several CareContacts, with at least one CareContact from the given CareGiverHSAId.
The CareContactId's of the expected CareContacts should be added as a comma-separated list in the
expectedDocumentIds field.
The CareContactId's of CareContacts from other CareUnit's should be added as a comma-separated list in the
unexpectedDocumentIds field.
Verifies that the result only contains information with correct PatientId.
Enter a PatientId that is stored in the source system.
The CareContactId's of the expected CareContacts should be added as a comma-separated list in the
expectedDocumentIds field.
The CareContactId's of CareContacts from other CareUnit's should be added as a comma-separated list in the
unexpectedDocumentIds field.
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 CareContactId.
Enter a PatientId, CareContactId and sourceSystemHSAid that exists in the source system.
The fields httpHeaderHsaId and logicalAddress should contain values that does not affect the list of CareContacts.
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 CareContacts.
Verifies that the result only contains information with correct PatientId, and that the source
system should filter CareContacts based on the HttpHeader 'x-rivta-original-serviceconsumer-hsaid'.
Enter a PatientId that has more than one CareContact in the source system.
Add one or more CareContactId's of contacts that should be included in the response based on the
filtering rules to the field 'expectedDocumentIds'.
Add one or more CareContactId's of contacts 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.