Skip to main content

HS.Types.FHIR.Errors

deprecated class HS.Types.FHIR.Errors extends %Library.RegisteredObject

THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.
HS.Types.FHIR.Errors provides a means for gathering multiple FHIR errors, warnings and/or informational messages, and for creating a FHIR resource stream or FHIR resource object from that collection.

Property Inventory

Method Inventory

Properties

property Errors as list of HS.Types.FHIR.Error;
Property methods: ErrorsBuildValueArray(), ErrorsCollectionToDisplay(), ErrorsCollectionToOdbc(), ErrorsDisplayToCollection(), ErrorsGet(), ErrorsGetObject(), ErrorsGetObjectId(), ErrorsGetSwizzled(), ErrorsIsValid(), ErrorsOdbcToCollection(), ErrorsSet(), ErrorsSetObject(), ErrorsSetObjectId()
property HighestError as %String;
Property methods: HighestErrorDisplayToLogical(), HighestErrorGet(), HighestErrorIsValid(), HighestErrorLogicalToDisplay(), HighestErrorLogicalToOdbc(), HighestErrorNormalize(), HighestErrorSet()

Methods

deprecated method GenerateOperationOutcomeObj(pResourceSchema As %String, ByRef pOperationOutcome) as %Status
THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.
GenerateOperationOutcomeObj generates a FHIR OperationOutcome resource object from the information in the Errors collection of this class instance.
Input:
  • pResourceSchema : (required) Class package to use as the root of FHIR resource schemas. Example is "HS.FHIR.vSTU3.Model.Resource".
    Output:
  • pOperationOutcome : FHIR OperationOutcome resource object.
  • deprecated method GenerateOperationOutcomeStream(pContentType As %String, pFormatFHIROutput As %Boolean = 0, ByRef pStream) as %Status
    THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.
    GenerateOperationOutcomeStream generates a FHIR OperationOutcome resource stream from the information in the Errors collection of this class instance.
    Input:
  • pContentType : (required) May be the ContentType from a FHIR request, or even just "json" or "xml".
  • pFormatFHIROutput : 1 = include indent and line ending formatting, 0 = do not add formatting.
    Output:
  • pStream : FHIR OperationOutcome resource stream.
  • deprecated method logError(pCode, pSeverity, pDetailsText, pLocation, pDetailsCode, pDetailsDescription, pDiagnostics, pExpression)
    THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.

    Inherited Members

    Inherited Methods

    FeedbackOpens in a new tab