Skip to main content

HS.FHIRServer.Util.Outcome

abstract class HS.FHIRServer.Util.Outcome

Helper Class that creates OperationOutcome resources as directed This is take from the equivalent methods in HS.FHIR.Util, but it creates a JSON resource rather than emitting to a stream.

Method Inventory

Methods

classmethod Create(pSeverity As %String, pText As %String, pCode As %String = "", pExpression As %String = "") as %DynamicObject
CreateOperationOutcomeStream creates a FHIR OperationOutcome resource stream using the specified inputs.
classmethod CreateFromStatus(pStatus As %Status, Output httpStatus="") as %DynamicObject
CreateOperationOutcomeStream creates a FHIR OperationOutcome resource stream using the specified inputs.
classmethod MapStatusCode(statusCode As %String, Output httpCode As %Integer, Output outcomeCode As %String)
FeedbackOpens in a new tab