mirror of
https://github.com/DIGI-UW/HaitiHealthBox.git
synced 2026-11-05 22:35:47 +00:00
16 lines
661 B
Gherkin
16 lines
661 B
Gherkin
Feature: FHIR server available via OpenHIM
|
|
|
|
Rule: Authorised clients should be able to access the FHIR server through the OpenHIM
|
|
|
|
Scenario: An authorised client searches for a patient
|
|
Given a patient, Jane Doe, exists in the FHIR server
|
|
And an authorised client, Alice, exists in the OpenHIM
|
|
When Alice searches for a patient
|
|
Then Alice is able to get a result
|
|
|
|
Scenario: An un-authorised client searches for a patient
|
|
Given a patient, Jane Doe, exists in the FHIR server
|
|
And an authorised client, Alice, exists in the OpenHIM
|
|
When Malice searches for a patient
|
|
Then Malice is NOT able to get a result
|