Skip to main content
AskMe (beta)
Loading icon

HS.BulkFHIR.Storage.File.Config

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

Property Inventory

Parameters

parameter SETTINGS = file_url:::File URL,directory:::Directory,max_file_size:::Maximum File Size (bytes),expire_after_mins:::Expire after minutes;

Properties

property directory as %String (MAXLEN = 512) [ InitialExpression = ##class(%Library.File).NormalizeDirectory($system.Util.ManagerDirectory()_"Temp/BulkFHIR/"_$namespace) ];
Storage location of ndjson files, which defaults to the instance mgr/Temp/BulkFHIR/$namespace/ and will contain session directories with resource group directories and files. Distinct directories must be used between namespaces due to collisions in session identifiers.
Property methods: directoryDisplayToLogical(), directoryGet(), directoryIsValid(), directoryLogicalToDisplay(), directoryLogicalToOdbc(), directoryNormalize(), directorySet()
property expire_after_mins as %Integer (MINVAL = 0) [ InitialExpression = 1440 , Required ];
How many minutes after the export is completed before the files are deemed expired, and may be deleted.
Property methods: expire_after_minsDisplayToLogical(), expire_after_minsGet(), expire_after_minsIsValid(), expire_after_minsLogicalToDisplay(), expire_after_minsNormalize(), expire_after_minsSet(), expire_after_minsXSDToLogical()
property file_url as %String (MAXLEN = 512) [ Required ];
CSP Application URL to serve bulk export files. Multiple configurations in a single namespace can use the same URL. Eg. "/file" or "/bulkfhir/file"
Property methods: file_urlDisplayToLogical(), file_urlGet(), file_urlIsValid(), file_urlLogicalToDisplay(), file_urlLogicalToOdbc(), file_urlNormalize(), file_urlSet()
property max_file_size as %Integer (MINVAL = 1) [ InitialExpression = 1000000000 , Required ];
Maximum size (in bytes) any file will be exported as. Note that this cannot be honored if a single resource is larger than this value.
Property methods: max_file_sizeDisplayToLogical(), max_file_sizeGet(), max_file_sizeIsValid(), max_file_sizeLogicalToDisplay(), max_file_sizeNormalize(), max_file_sizeSet(), max_file_sizeXSDToLogical()

Inherited Members

Inherited Methods

FeedbackOpens in a new tab