Skip to main content

HS.FHIRServer.Utils

abstract class HS.FHIRServer.Utils

This class has a subset of methods refactored from HS.FHIR.Util

Method Inventory

Methods

classmethod ConvertToUTC(pDateTime As %String) as %String
API ConvertToUTC takes a date time value and converts it to UTC time. Expected input format is YYYY-MM-DDTHH:MM:SS[.ssss][(+/-)HH:MM]/[Z]. A date-only input value is returned unchanged. A date time input value with the "Z" time zone appended is returned unchanged.
classmethod GetOAuthServerMetaByService(pServiceName As %String) as %DynamicObject
API
GetOAuthMetadataByServiceName derives an endpoint URL from the specified Service Registry entry, then gets the OAuth 2.0 authorization server metadata at that issuer URL. It then returns the metadata as a %DynamicObject.
classmethod URLParamStringToArray(pParametersString As %String, Output pParametersArray As HS.FHIRServer.API.Data.QueryParameters)
API URLParamStringToArray takes a URL parameters string and converts it to an array of $List.

Input:
  • pParametersString : Parameters string exactly as one would see in a request URL.

    Output:
  • pParametersArray : %Library.ArrayOfDataTypes that is an array of $List, indexed by parameter name. Use the GetParameterCount() and GetParameterValue() methods of this class to extract information from this array.
  • classmethod URLParameterArrayToString(pParametersArray As %Library.ArrayOfDataTypes) as %String
    final classmethod isLicensedforRepo() as %Boolean
    FeedbackOpens in a new tab