Skip to content

Commit e5d3091

Browse files
[ERSSUP-89265]-[]-[Added PROVIDER_AUTHORISED_APPLICATION to supported business functions for sandbox Accept Referral endpoint]-[JW]
1 parent 815cf2d commit e5d3091

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sandbox/src/routes/stu3/acceptReferral.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = [
1010
path: '/FHIR/STU3/ReferralRequest/{ubrn}/$ers.acceptReferral',
1111
handler: (request, h) => {
1212

13-
const allowedBusinessFunctions = ["SERVICE_PROVIDER_CLINICIAN", "SERVICE_PROVIDER_CLINICIAN_ADMIN"]
13+
const allowedBusinessFunctions = ["SERVICE_PROVIDER_CLINICIAN", "SERVICE_PROVIDER_CLINICIAN_ADMIN", "PROVIDER_AUTHORISED_APPLICATION"]
1414

1515
const validationResult = validationUtils.validateBusinessFunction(request, h, allowedBusinessFunctions)
1616

tests/sandbox/stu3/test_a013_accept_referral.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class TestAcceptReferral(SandboxTest):
1616
allowed_business_function_data = [
1717
"SERVICE_PROVIDER_CLINICIAN",
1818
"SERVICE_PROVIDER_CLINICIAN_ADMIN",
19+
"PROVIDER_AUTHORISED_APPLICATION",
1920
]
2021

2122
@pytest.fixture

0 commit comments

Comments
 (0)