Interface IServerConnectorService
Namespace: FhirCodeGenBlazor.Services
Assembly: FhirCodeGenBlazor.dll
Syntax
public interface IServerConnectorService
Methods
| Improve this Doc View SourceInit()
Initializes this object.
Declaration
void Init()
ParseCapabilityJson(String, String)
Parse capability JSON.
Declaration
FhirCapabiltyStatement ParseCapabilityJson(string json, string smartConfigJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
json | The JSON. |
System. |
smartConfigJson | The smart configuration JSON. |
Returns
Type | Description |
---|---|
Fhir |
A FhirCapabiltyStatement. |
TryGetServerInfo(String, Boolean, Dictionary<String, IEnumerable<String>>, out String, out FhirCapabiltyStatement)
Attempts to get server information.
Declaration
bool TryGetServerInfo(string serverUrl, bool resolveExternal, Dictionary<string, IEnumerable<string>> headers, out string json, out FhirCapabiltyStatement serverInfo)
Parameters
Type | Name | Description |
---|---|---|
System. |
serverUrl | URL of the server. |
System. |
resolveExternal | True to resolve external. |
Dictionary<System. |
headers | The headers. |
System. |
json | [out] The JSON. |
Fhir |
serverInfo | [out] Information describing the server. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |