Skip to main content

HS.FHIRServer.HC.FHIRToHS

class HS.FHIRServer.HC.FHIRToHS

This class provides methods for converting FHIRServer request information into an HS request message.

Method Inventory

Parameters

parameter SupportedParams = ,_count,_summary,_id,_elements,family,given,birthdate,gender,address,address-street,address-city,address-state,address-postalcode,address-country,telecom,phone,identifier,;

Methods

classmethod FHIRQueryToPatientSearch(pParameters As HS.FHIRServer.API.Data.QueryParameters = "", pUserID As %String = "", pRoles As %String = "", pSearchMode As %String = "user", pBreakTheGlass As %Boolean = 0, pAffinityDomainCode As %String = "", pURIMode As %String = "strict", ByRef pSpecialHandling As %Integer, ByRef pNoResults As %Boolean) as HS.Message.PatientSearchRequest
Convert FHIRServer Patient Search request information into a HS Patient Search request message and return it.
classmethod HandleSystemOnly(pHSRequest As HS.Message.PatientSearchRequest, pIdentifier, pURIMode, pSC As %Status)
Handle a FHIR identifier search parameter value that is just system (e.g., http://example.com/aa|).
classmethod IsSearchParamSupported(paramName As %String)
classmethod ParseISCURI(pURI As %String, pMode As %String = "strict", Output pType As %String, Output pCode As %String) as %Status
GetURI wraps the logic for obtaining a Code, based on a specified URI.
classmethod SetIdentifier(pHSRequest As HS.Message.PatientSearchRequest, pAA As %String, pId As %String, pAffinityDomainCode As %String = "", pURIMode As %String = "strict", ByRef pSC As %Status)
SetIdentifier takes an assigning authority and identifier and sets the search MPIID or MRN, depending on the input values.
FeedbackOpens in a new tab