Join Discord
Powered by
Return data on successful as OperationOutcome
# support
a
ahmed_eltabarani
12/12/2023, 6:38 PM
HL7 FHIR has own shape fore success/error response
https://www.hl7.org/fhir/r5/operationoutcome.html
I want to return a successful response with some data like
accessToken
,
refreshToken
... etc. how can put these data in OperationOutcome shape
ahmed_eltabarani
12/13/2023, 11:22 AM
@rahul1
Sorry but can you please guide me here
r
rahul1
12/13/2023, 9:52 PM
HI
@ahmed_eltabarani
, for introductory questions like this I would encourage you to review the code in our Github repo Here I've run a search for all the places where we contruct OperationOutcomes:
https://github.com/search?q=repo:medplum/medplum%20OperationOutcome&type=code
154
Views
Previous
Next