|
106 | 106 | </Step> |
107 | 107 | <Condition>(raisefault.RaiseFault.MissingAsid.failed = true)</Condition> |
108 | 108 | </FaultRule> |
109 | | -<!-- <FaultRule name="single_asid_ods_header_not_in_partner_list_error">--> |
110 | | -<!-- <Step>--> |
111 | | -<!-- <Condition>(isFhirR4Path = false)</Condition>--> |
112 | | -<!-- <Name>AssignMessage.SetOperationOutcomeVariablesPreR4</Name>--> |
113 | | -<!-- </Step>--> |
114 | | -<!-- <Step>--> |
115 | | -<!-- <Name>AssignMessage.SetOperationOutcomeODSHeaderValueNotInPartnerListPreR4</Name>--> |
116 | | -<!-- </Step>--> |
117 | | -<!-- <Step>--> |
118 | | -<!-- <Name>AssignMessage.OperationOutcomeErrorResponse</Name>--> |
119 | | -<!-- </Step>--> |
120 | | -<!-- <Condition>(FlowCallout.EUOAllowlistVerify.error_description ~~ ".*Invalid ODS code.*")</Condition>)--> |
121 | | -<!-- </FaultRule>--> |
122 | | -<!-- <FaultRule name="single_asid_ods_header_not_in_partner_list_error_fhir_r4">--> |
123 | | -<!-- <Step>--> |
124 | | -<!-- <Name>AssignMessage.SetOperationOutcomeODSHeaderValueNotInPartnerListR4</Name>--> |
125 | | -<!-- </Step>--> |
126 | | -<!-- <Step>--> |
127 | | -<!-- <Name>AssignMessage.OperationOutcomeErrorResponse</Name>--> |
128 | | -<!-- </Step>--> |
129 | | -<!-- <Condition>(FlowCallout.EUOAllowlistVerify.error_description ~~ ".*Invalid ODS code.*") and (isFhirR4Path = true)</Condition>)--> |
130 | | -<!-- </FaultRule>--> |
131 | | -<!-- <FaultRule name="single_asid_ods_header_missing_error">--> |
132 | | -<!-- <Step>--> |
133 | | -<!-- <Condition>(isFhirR4Path = false)</Condition>--> |
134 | | -<!-- <Name>AssignMessage.SetOperationOutcomeVariablesPreR4</Name>--> |
135 | | -<!-- </Step>--> |
136 | | -<!-- <Step>--> |
137 | | -<!-- <Name>AssignMessage.SetOperationOutcomeODSHeaderMissingPreR4</Name>--> |
138 | | -<!-- </Step>--> |
139 | | -<!-- <Step>--> |
140 | | -<!-- <Name>AssignMessage.OperationOutcomeErrorResponse</Name>--> |
141 | | -<!-- </Step>--> |
142 | | -<!-- <Condition>(FlowCallout.EUOAllowlistVerify.error_description ~~ ".*Missing or Empty NHSD-End-User-Organisation-ODS header.*")</Condition>)--> |
143 | | -<!-- </FaultRule>--> |
144 | | -<!-- <FaultRule name="single_asid_ods_header_missing_error_fhir_r4">--> |
145 | | -<!-- <Step>--> |
146 | | -<!-- <Name>AssignMessage.SetOperationOutcomeODSHeaderMissingR4</Name>--> |
147 | | -<!-- </Step>--> |
148 | | -<!-- <Step>--> |
149 | | -<!-- <Name>AssignMessage.OperationOutcomeErrorResponse</Name>--> |
150 | | -<!-- </Step>--> |
151 | | -<!-- <Condition>(FlowCallout.EUOAllowlistVerify.error_description ~~ ".*Missing or Empty NHSD-End-User-Organisation-ODS header.*") and (isFhirR4Path = true)</Condition>)--> |
152 | | -<!-- </FaultRule>--> |
| 109 | + <FaultRule name="single_asid_ods_header_not_in_partner_list_error"> |
| 110 | + <Step> |
| 111 | + <Condition>(isFhirR4Path = false)</Condition> |
| 112 | + <Name>AssignMessage.SetOperationOutcomeVariablesPreR4</Name> |
| 113 | + </Step> |
| 114 | + <Step> |
| 115 | + <Condition>(isFhirR4Path = false)</Condition> |
| 116 | + <Name>AssignMessage.SetOperationOutcomeODSHeaderValueNotInPartnerListPreR4</Name> |
| 117 | + </Step> |
| 118 | + <Step> |
| 119 | + <Condition>(isFhirR4Path = true)</Condition> |
| 120 | + <Name>AssignMessage.SetOperationOutcomeODSHeaderValueNotInPartnerListR4</Name> |
| 121 | + </Step> |
| 122 | + <Step> |
| 123 | + <Name>AssignMessage.OperationOutcomeErrorResponse</Name> |
| 124 | + </Step> |
| 125 | + <Condition>(raisefault.RaiseFault.CheckAllowlistFailed.failed = true)</Condition> |
| 126 | + </FaultRule> |
| 127 | + <!-- <FaultRule name="single_asid_ods_header_missing_error">--> |
| 128 | + <!-- <Step>--> |
| 129 | + <!-- <Condition>(isFhirR4Path = false)</Condition>--> |
| 130 | + <!-- <Name>AssignMessage.SetOperationOutcomeVariablesPreR4</Name>--> |
| 131 | + <!-- </Step>--> |
| 132 | + <!-- <Step>--> |
| 133 | + <!-- <Name>AssignMessage.SetOperationOutcomeODSHeaderMissingPreR4</Name>--> |
| 134 | + <!-- </Step>--> |
| 135 | + <!-- <Step>--> |
| 136 | + <!-- <Name>AssignMessage.OperationOutcomeErrorResponse</Name>--> |
| 137 | + <!-- </Step>--> |
| 138 | + <!-- <Condition>(FlowCallout.EUOAllowlistVerify.error_description ~~ ".*Missing or Empty NHSD-End-User-Organisation-ODS header.*")</Condition>)--> |
| 139 | + <!-- </FaultRule>--> |
| 140 | + <!-- <FaultRule name="single_asid_ods_header_missing_error_fhir_r4">--> |
| 141 | + <!-- <Step>--> |
| 142 | + <!-- <Name>AssignMessage.SetOperationOutcomeODSHeaderMissingR4</Name>--> |
| 143 | + <!-- </Step>--> |
| 144 | + <!-- <Step>--> |
| 145 | + <!-- <Name>AssignMessage.OperationOutcomeErrorResponse</Name>--> |
| 146 | + <!-- </Step>--> |
| 147 | + <!-- <Condition>(FlowCallout.EUOAllowlistVerify.error_description ~~ ".*Missing or Empty NHSD-End-User-Organisation-ODS header.*") and (isFhirR4Path = true)</Condition>)--> |
| 148 | + <!-- </FaultRule>--> |
153 | 149 | </FaultRules> |
154 | 150 | <PreFlow> |
155 | 151 | <Request> |
|
207 | 203 | <Flows> |
208 | 204 | <Flow name="user-restricted-flow"> |
209 | 205 | <Condition>(accesstoken.auth_type == "user")</Condition> |
210 | | - <Request> |
211 | | - <!--AUTHORISED_APPLICATION business function is not supported in user restricted flow --><Step> |
| 206 | + <Request><!--AUTHORISED_APPLICATION business function is not supported in user restricted flow --><Step> |
212 | 207 | <Name>RaiseFault.403Forbidden</Name> |
213 | 208 | <Condition>(request.header.nhsd-ers-business-function == "AUTHORISED_APPLICATION")</Condition> |
214 | 209 | </Step><Step> |
|
0 commit comments