description :
The purpose of this test is to verify the responses of the NCP-A to NCP-B requests, testing the responses or no responses according to the role of the user on the NCP-B side.
There are three steps in this test, for the same patientId, but with different roles, on the TRC Assertion. All the steps are to query for a patient summary using the trandaction FetchDocumentService.
To execute this test you have to provide a patientId on your NCP-A, that has a CDA PatientSummary document.
Step 1 : fetch a document with role = Doctor. Patient Summary shall be accessable for the requesting participant.
Step 2 : fetch a dcument with role = Pharmasict. Patient Summary shall not be accessable for the requesting participant.
Step 3 : fetch a dcument with role = Nurse. Patient Summary shall not be accessable for the requesting participant.