Skip to main content

HS.BulkFHIR.API.Data.Config

class HS.BulkFHIR.API.Data.Config extends HS.BulkFHIR.API.Data.AdapterConfig

Property Inventory

Method Inventory

Properties

property auth_adapter as %String (MAXLEN = 220) [ Required ];
Name of the auth adapter to use for authenticating and authorizing clients to interact with the Bulk FHIR coordinator
Property methods: auth_adapterDisplayToLogical(), auth_adapterGet(), auth_adapterIsValid(), auth_adapterLogicalToDisplay(), auth_adapterLogicalToOdbc(), auth_adapterNormalize(), auth_adapterSet()
property auth_config as HS.BulkFHIR.API.Data.AdapterConfig (%JSONINCLUDE = "OUTPUTONLY") [ Required ];
Configuration object for the auth adapter. The schema for this object will be defined by the auth adapter itself.
Property methods: auth_configGet(), auth_configGetSwizzled(), auth_configIsValid(), auth_configNewObject(), auth_configSet()
property authorized_users as list of %String;
Non-administrative users who are permitted to initiate exports on this configuration.
Property methods: authorized_usersBuildValueArray(), authorized_usersCollectionToDisplay(), authorized_usersCollectionToOdbc(), authorized_usersDisplayToCollection(), authorized_usersDisplayToLogical(), authorized_usersGet(), authorized_usersGetObject(), authorized_usersGetObjectId(), authorized_usersGetSwizzled(), authorized_usersIsValid(), authorized_usersLogicalToDisplay(), authorized_usersLogicalToOdbc(), authorized_usersNormalize(), authorized_usersOdbcToCollection(), authorized_usersSet(), authorized_usersSetObject(), authorized_usersSetObjectId()
property auto_start as %Boolean [ InitialExpression = 1 , Required ];
If selected, export jobs will start as soon as the export is requested. If deselected, jobs will require manual approval.
Property methods: auto_startDisplayToLogical(), auto_startGet(), auto_startIsValid(), auto_startLogicalToDisplay(), auto_startNormalize(), auto_startSet()
property capability_statement as %String);
Capability statement of resource server
Property methods: capability_statementDisplayToLogical(), capability_statementGet(), capability_statementIsValid(), capability_statementLogicalToDisplay(), capability_statementLogicalToOdbc(), capability_statementNormalize(), capability_statementSet()
property core_fhir_package as %String (MAXLEN = 100);
FHIR package id for this Coordinator. Eg. "hl7.fhir.r4.core@4.0.1"
Property methods: core_fhir_packageDisplayToLogical(), core_fhir_packageGet(), core_fhir_packageIsValid(), core_fhir_packageLogicalToDisplay(), core_fhir_packageLogicalToOdbc(), core_fhir_packageNormalize(), core_fhir_packageSet()
property endpoint_url as %String (MAXLEN = 250) [ Required ];
Relative URL to serve Bulk Export operations from, e.g., "/bulkfhir/r4"
Property methods: endpoint_urlDisplayToLogical(), endpoint_urlGet(), endpoint_urlIsValid(), endpoint_urlLogicalToDisplay(), endpoint_urlLogicalToOdbc(), endpoint_urlNormalize(), endpoint_urlSet()
property fetch_adapter as %String (MAXLEN = 220) [ Required ];
Name of the fetch adapter to use in retreiving clinical data as FHIR.
Property methods: fetch_adapterDisplayToLogical(), fetch_adapterGet(), fetch_adapterIsValid(), fetch_adapterLogicalToDisplay(), fetch_adapterLogicalToOdbc(), fetch_adapterNormalize(), fetch_adapterSet()
property fetch_config as HS.BulkFHIR.API.Data.FetchAdapterConfig (%JSONINCLUDE = "OUTPUTONLY") [ Required ];
Configuration object for the fetch adapter. The schema for this object will be defined by the fetch adapter itself.
Property methods: fetch_configGet(), fetch_configGetSwizzled(), fetch_configIsValid(), fetch_configNewObject(), fetch_configSet()
property name as %String (MAXLEN = 250) [ Required ];
Name for this Bulk FHIR Coordinator. Will be used as the value in the Coordinator's CapabilityStatement name.
Property methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property storage_adapter as %String (MAXLEN = 220) [ Required ];
Name of the storage adapter to use for persisting files generated during the bulk export operation.
Property methods: storage_adapterDisplayToLogical(), storage_adapterGet(), storage_adapterIsValid(), storage_adapterLogicalToDisplay(), storage_adapterLogicalToOdbc(), storage_adapterNormalize(), storage_adapterSet()
property storage_config as HS.BulkFHIR.API.Data.AdapterConfig (%JSONINCLUDE = "OUTPUTONLY") [ Required ];
Configuration object for the storage adapter. The schema for this object will be defined by the storage adapter itself.
Property methods: storage_configGet(), storage_configGetSwizzled(), storage_configIsValid(), storage_configNewObject(), storage_configSet()
property version as %Integer;
denote the version from which this config was created, to support json imports across major code changes
Property methods: versionDisplayToLogical(), versionGet(), versionIsValid(), versionLogicalToDisplay(), versionNormalize(), versionSet(), versionXSDToLogical()

Methods

method %OnValidateObject() as %Status
Inherited description: This callback method is invoked by the %ValidateObject() method to provide notification that the current object is being validated.

If this method returns an error then %ValidateObject() will fail.

classmethod FromJson(json) as HS.BulkFHIR.API.Data.Config
@API Converts a json string or %DynamicObject into an instance of the config object
classmethod GUISettings() as %DynamicArray
Inherited description: Optional custom settings for the GUI, i.e. how the end user will interact with the config class and its properties Each property setting may be customized according to the following schema: { name: string (must match precisely name of property in the class) ignore: boolean (if true, no other property need be set - this property will be ignored by GUI and inaccessible to user) display_name: string (name of the field shown to user) Defaults to prettified version of snake case property name description: string (description of the field shown to the user in a hint) Defaults to the property's in-line comment in code is_advanced: boolean (whether the field should be nested in a collapsible "advanced setting" group) If true and the property is required, the property SHOULD have a default, or else results in a poor UX input_type: string (the type of field shown to user) with following value list: "input", "select", "radio", "binary-checkbox", "number". If "select" or "radio", then options must be provided either via literal property VALUELIST or the "presetOptions" GUI setting (see below). If binary-checkbox, the property must be typed %Boolean. Defaults according to the property type as follow: If %Integer or %Double, then "number" If %Boolean, then "binary-checkbox" If VALUELIST is provided, then "select" If the type is a different config class, then special "nested-setting", and the GUI setting for this property will be defined in the "nested_setting" property (see below). Else, "input" preset_options: string (preset list of options available) with following value list (enforced by parameter ValidPresetOptions) "credentials", list of credentials configured in the BFC namespace "client_auth_oauth_clients", list of non-resource OAuth clients as available in the instance. If this preset option is chosen, the UI will show a selectable table of OAuth clients. "oauth_clients", list of all OAuth clients as available in the instance. If this preset option is chosen, the UI will show a selectable table of OAuth clients. "auth_adapters", list of auth adapters available in the BFC namespace "fetch_adapters", list of fetch adapters available in the BFC namespace "client_auth_adapters", list of client auth adapters available in the BFC namespace "storage_adapters", list of storage adapters available in the BFC namespace "tls_configurations", list of TLS configurations "local_fhir_endpoints", list of FHIR Server endpoints local to the instance "fhir_resources", list of applicable FHIR resource types - only applicable if sister property "endpoint_url" exists (as is in HS.BulkFHIR.API.Data.FetchAdapterConfig or subclass, since it relies on discovering what resources the FHIR server supports) default: any (defaults to InitialExpression or %onNew override) required: boolean (whether the property is required, defaults to whether the property is marked as required or not in the class definition) /// The following properties are calculated based on the property and not customizable collection: boolean (calculated from whether the element is a list) nested_setting: array of nested instances of this schema (applies when the property type is a nested config class and thus inputType is "nested-setting") type: string (property data type) options: { name: string, value: string } (derived from VALUELIST/DISPLAYLIST literal properties, not evaluated if preset_options is defined) max_length: number (derived from MAXLEN literal property) }

Inherited Members

Inherited Methods

FeedbackOpens in a new tab