@f1studio/form-spec 5.0.0-alpha.161 → 5.0.0-alpha.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FormSpec.FS/BitmaskHelpers.js.map +1 -0
- package/FormSpec.FS/BlueprintValidation.js.map +1 -0
- package/FormSpec.FS/Components/HelloComponent.js.map +1 -0
- package/FormSpec.FS/Designer.js.map +1 -0
- package/FormSpec.FS/FormSpec.d.ts +1 -16
- package/FormSpec.FS/FormSpec.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpec.js +1 -41
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpec.js.map +1 -1
- package/FormSpec.FS/FormSpecHelpers.js.map +1 -0
- package/FormSpec.FS/FormSpecValues.js.map +1 -0
- package/FormSpec.FS/Helpers.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.d.ts +12 -5
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.js +3 -3
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js.map +1 -0
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CoreMREncoder.js +1 -1
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.d.ts +12 -8
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CoreMRSourceMap.js +17 -12
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.d.ts +2 -2
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.js +2 -1
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.d.ts +3 -3
- package/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js +2 -2
- package/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js.map +1 -0
- package/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.d.ts +0 -57
- package/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/CoreMRTypes.js +0 -237
- package/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.js.map +1 -0
- package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.js.map +1 -0
- package/FormSpec.FS/Integrations/CorEMR/TemplateDecodeTypes.js.map +1 -0
- package/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js.map +1 -0
- package/FormSpec.FS/Integrations/OpenFda/OpenFdaTypes.js.map +1 -0
- package/FormSpec.FS/Interfaces.js.map +1 -0
- package/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js.map +1 -0
- package/FormSpec.FS/Interop/Facade/FormAnswersGate.js.map +1 -0
- package/FormSpec.FS/Interop/FormSpec.Api.Helpers.d.ts +0 -5
- package/FormSpec.FS/Interop/FormSpec.Api.Helpers.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Api.Helpers.js +0 -16
- package/FormSpec.FS/Interop/FormSpec.Api.Helpers.js.map +1 -0
- package/FormSpec.FS/Interop/FormSpec.Api.Option.js.map +1 -0
- package/FormSpec.FS/Interop/FormSpec.Values.Api.Option.js.map +1 -0
- package/FormSpec.FS/Logging/LogTypes.js.map +1 -0
- package/FormSpec.FS/Migrator.js.map +1 -0
- package/FormSpec.FS/PathwayDataExtractor.js.map +1 -0
- package/FormSpec.FS/PathwayExecutor.js.map +1 -0
- package/FormSpec.FS/PathwayValidator.js.map +1 -0
- package/FormSpec.FS/PluginInterface.js.map +1 -0
- package/FormSpec.FS/Prelude.js.map +1 -0
- package/FormSpec.FS/Provenance.js.map +1 -0
- package/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.js.map +1 -0
- package/FormSpec.FS/Renderers/MermaidRenderer.js.map +1 -0
- package/FormSpec.FS/Renderers/PathwayRenderers.js.map +1 -0
- package/FormSpec.FS/TriggerActionDto.d.ts +3 -33
- package/FormSpec.FS/TriggerActionDto.d.ts.map +1 -1
- package/FormSpec.FS/TriggerActionDto.js +110 -0
- package/FormSpec.FS/TriggerActionDto.js.map +1 -0
- package/PathwayExecutor.withPlugins.js.map +1 -0
- package/PluginRegistration.js.map +1 -0
- package/README.md +7 -7
- package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Decode.js +8 -19
- package/Thoth.Json/packages/Thoth.Json/Decode.js.map +1 -0
- package/Thoth.Json/packages/Thoth.Json/Encode.js.map +1 -0
- package/Thoth.Json/packages/Thoth.Json/Extra.js.map +1 -0
- package/Thoth.Json/packages/Thoth.Json/Types.js.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +1 -0
- package/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js.map +1 -0
- package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js +8 -19
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js.map +1 -0
- package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js.map +1 -0
- package/fable_modules/Fable.Promise.3.2.1/AsyncIterable.fs.js.map +1 -0
- package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.3.2.1}/Promise.fs.d.ts.map +1 -1
- package/fable_modules/Fable.Promise.3.2.1/Promise.fs.js.map +1 -0
- package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.3.2.1}/PromiseImpl.fs.d.ts.map +1 -1
- package/fable_modules/Fable.Promise.3.2.1/PromiseImpl.fs.js.map +1 -0
- package/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +1 -0
- package/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +1 -0
- package/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Colors.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/DateParsing.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Helpers.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Internal.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Interop.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Key.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Properties.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/ReactDOM.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/ReactInterop.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/ReactTypes.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/StyleTypes.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Svg.fs.js.map +1 -0
- package/fable_modules/Feliz.2.8.0/Types.fs.js.map +1 -0
- package/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.js.map +1 -0
- package/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.js.map +1 -0
- package/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.js.map +1 -0
- package/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js.map +1 -0
- package/package.json +3 -3
- package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/AllergyFinderField.js +2 -2
- package/plugins/allergyfinder/src/AllergyFinderField.js.map +1 -0
- package/plugins/allergyfinder/src/AllergyLogic.js.map +1 -0
- package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/OpenFdaClient.js +2 -2
- package/plugins/allergyfinder/src/OpenFdaClient.js.map +1 -0
- package/plugins/bmi/src/BMIField.js.map +1 -0
- package/plugins/demographics/src/DemographicsField.js.map +1 -0
- package/plugins/likert/src/LikertField.js.map +1 -0
- package/plugins/signature/src/SignatureField.js.map +1 -0
- package/plugins/vitals/src/VitalsField.js.map +1 -0
- package/plugins/vitals/src/VitalsLogic.js.map +1 -0
- package/src/FormSpec.FS/FormSpec.ts +2 -34
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.ts +13 -6
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts +1 -1
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.ts +19 -14
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.ts +8 -7
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.ts +4 -4
- package/src/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.ts +1 -107
- package/src/FormSpec.FS/Interop/FormSpec.Api.Helpers.ts +1 -21
- package/src/FormSpec.FS/TriggerActionDto.ts +10 -68
- package/src/plugins/allergyfinder/src/AllergyFinderField.ts +2 -2
- package/src/plugins/allergyfinder/src/OpenFdaClient.ts +2 -2
- package/src/vye-os-contracts-fs/src/Clinical/RestPayloads.ts +114 -0
- package/src/vye-os-contracts-fs/src/Clinical/TriggerAction.ts +63 -0
- package/src/vye-os-contracts-fs/src/Core/Ids.ts +72 -0
- package/vye-os-contracts-fs/src/Clinical/RestPayloads.d.ts +46 -0
- package/vye-os-contracts-fs/src/Clinical/RestPayloads.d.ts.map +1 -0
- package/vye-os-contracts-fs/src/Clinical/RestPayloads.js +180 -0
- package/vye-os-contracts-fs/src/Clinical/RestPayloads.js.map +1 -0
- package/vye-os-contracts-fs/src/Clinical/TriggerAction.d.ts +33 -0
- package/vye-os-contracts-fs/src/Clinical/TriggerAction.d.ts.map +1 -0
- package/vye-os-contracts-fs/src/Clinical/TriggerAction.js +146 -0
- package/vye-os-contracts-fs/src/Clinical/TriggerAction.js.map +1 -0
- package/vye-os-contracts-fs/src/Core/Ids.d.ts +31 -0
- package/vye-os-contracts-fs/src/Core/Ids.d.ts.map +1 -0
- package/vye-os-contracts-fs/src/Core/Ids.js +136 -0
- package/vye-os-contracts-fs/src/Core/Ids.js.map +1 -0
- package/FormSpec.TS/FormSpec.FS/BitmaskHelpers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/BlueprintValidation.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Components/HelloComponent.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Designer.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/FormSpecValues.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Helpers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateDecodeTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Integrations/OpenFda/OpenFdaTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interfaces.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/Facade/FormAnswersGate.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Values.Api.Option.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Logging/LogTypes.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Migrator.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayDataExtractor.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayExecutor.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PathwayValidator.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/PluginInterface.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Prelude.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Provenance.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/MermaidRenderer.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/Renderers/PathwayRenderers.js.map +0 -1
- package/FormSpec.TS/FormSpec.FS/TriggerActionDto.js +0 -241
- package/FormSpec.TS/FormSpec.FS/TriggerActionDto.js.map +0 -1
- package/FormSpec.TS/PathwayExecutor.withPlugins.js.map +0 -1
- package/FormSpec.TS/PluginRegistration.js.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Decode.js.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Encode.js.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Extra.js.map +0 -1
- package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Types.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/Promise.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Colors.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Key.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Properties.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactDOM.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactInterop.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactTypes.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/StyleTypes.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Svg.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.2.8.0/Types.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.js.map +0 -1
- package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/AllergyFinderField.js.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/AllergyLogic.js.map +0 -1
- package/FormSpec.TS/plugins/allergyfinder/src/OpenFdaClient.js.map +0 -1
- package/FormSpec.TS/plugins/bmi/src/BMIField.js.map +0 -1
- package/FormSpec.TS/plugins/demographics/src/DemographicsField.js.map +0 -1
- package/FormSpec.TS/plugins/likert/src/LikertField.js.map +0 -1
- package/FormSpec.TS/plugins/signature/src/SignatureField.js.map +0 -1
- package/FormSpec.TS/plugins/vitals/src/VitalsField.js.map +0 -1
- package/FormSpec.TS/plugins/vitals/src/VitalsLogic.js.map +0 -1
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/BitmaskHelpers.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/BlueprintValidation.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Components/HelloComponent.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Designer.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpecHelpers.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpecValues.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Helpers.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRAdapter.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRSectioning.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/FormSystemAdapter.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/ItemTriggerConverter.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/TemplateDecodeTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/TemplateManifestDecoder.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/OpenFda/OpenFdaTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interfaces.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/Facade/BlueprintFilledForm.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/Facade/FormAnswersGate.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Api.Option.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Values.Api.Option.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Logging/LogTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Migrator.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayDataExtractor.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayExecutor.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayValidator.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PluginInterface.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Prelude.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Provenance.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Renderers/FormSpecMarkdownRenderer.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Renderers/MermaidRenderer.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Renderers/PathwayRenderers.js +0 -0
- /package/{FormSpec.TS/PathwayExecutor.withPlugins.js → PathwayExecutor.withPlugins.js} +0 -0
- /package/{FormSpec.TS/PluginRegistration.js → PluginRegistration.js} +0 -0
- /package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Encode.js +0 -0
- /package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Extra.js +0 -0
- /package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Types.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Base.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Error.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Extensions.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Field.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.5.0.1/Form.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules/Fable.Promise.3.2.0 → fable_modules/Fable.Promise.3.2.1}/AsyncIterable.fs.js +0 -0
- /package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.3.2.1}/Promise.fs.d.ts +0 -0
- /package/{FormSpec.TS/fable_modules/Fable.Promise.3.2.0 → fable_modules/Fable.Promise.3.2.1}/Promise.fs.js +0 -0
- /package/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.3.2.1}/PromiseImpl.fs.d.ts +0 -0
- /package/{FormSpec.TS/fable_modules/Fable.Promise.3.2.0 → fable_modules/Fable.Promise.3.2.1}/PromiseImpl.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.React.Types.18.3.0/Fable.React.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Colors.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/DateParsing.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Helpers.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Internal.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Interop.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Key.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Properties.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/ReactDOM.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/ReactInterop.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/ReactTypes.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/StyleTypes.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Svg.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Types.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.Bulma.3.0.0/ElementBuilders.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.Bulma.3.0.0/Modifiers.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.Bulma.3.0.0/Operators.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/AllergyLogic.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/bmi/src/BMIField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/demographics/src/DemographicsField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/likert/src/LikertField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/signature/src/SignatureField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/vitals/src/VitalsField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/vitals/src/VitalsLogic.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Union, Record } from "@fable-org/fable-library-js/Types.js";
|
|
2
2
|
import { IComparable, IEquatable } from "@fable-org/fable-library-js/Util.js";
|
|
3
|
-
import { union_type, list_type, int64_type,
|
|
3
|
+
import { union_type, list_type, int64_type, array_type, float64_type, option_type, obj_type, bool_type, anonRecord_type, class_type, int32_type, record_type, string_type, TypeInfo } from "@fable-org/fable-library-js/Reflection.js";
|
|
4
4
|
import { float64, int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
5
5
|
import { FSharpMap } from "@fable-org/fable-library-js/Map.js";
|
|
6
6
|
import { Option } from "@fable-org/fable-library-js/Option.js";
|
|
@@ -67,96 +67,6 @@ export function EncounterTypes_$reflection(): TypeInfo {
|
|
|
67
67
|
return record_type("FormSpec.Integrations.CorEMR.CoreMRTypes.EncounterTypes", [], EncounterTypes, () => [["Medical", bool_type], ["Mental", bool_type], ["Dental", bool_type], ["Other", bool_type]]);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export class EnrichedTemplate extends Record implements IEquatable<EnrichedTemplate>, IComparable<EnrichedTemplate> {
|
|
71
|
-
readonly FormId: int32;
|
|
72
|
-
readonly FormCode: string;
|
|
73
|
-
readonly FormCodeSource: string;
|
|
74
|
-
readonly Name: string;
|
|
75
|
-
readonly Description: string;
|
|
76
|
-
readonly CurrentVersionId: int32;
|
|
77
|
-
readonly IsIntake: boolean;
|
|
78
|
-
readonly Usage: string;
|
|
79
|
-
readonly EncounterTypes: EncounterTypes;
|
|
80
|
-
readonly RequiresSignature: boolean;
|
|
81
|
-
readonly StructureHash: string;
|
|
82
|
-
readonly ClinicalHash: string;
|
|
83
|
-
readonly CosmeticHash: string;
|
|
84
|
-
readonly ItemCount: int32;
|
|
85
|
-
readonly IsScored: boolean;
|
|
86
|
-
constructor(FormId: int32, FormCode: string, FormCodeSource: string, Name: string, Description: string, CurrentVersionId: int32, IsIntake: boolean, Usage: string, EncounterTypes: EncounterTypes, RequiresSignature: boolean, StructureHash: string, ClinicalHash: string, CosmeticHash: string, ItemCount: int32, IsScored: boolean) {
|
|
87
|
-
super();
|
|
88
|
-
this.FormId = (FormId | 0);
|
|
89
|
-
this.FormCode = FormCode;
|
|
90
|
-
this.FormCodeSource = FormCodeSource;
|
|
91
|
-
this.Name = Name;
|
|
92
|
-
this.Description = Description;
|
|
93
|
-
this.CurrentVersionId = (CurrentVersionId | 0);
|
|
94
|
-
this.IsIntake = IsIntake;
|
|
95
|
-
this.Usage = Usage;
|
|
96
|
-
this.EncounterTypes = EncounterTypes;
|
|
97
|
-
this.RequiresSignature = RequiresSignature;
|
|
98
|
-
this.StructureHash = StructureHash;
|
|
99
|
-
this.ClinicalHash = ClinicalHash;
|
|
100
|
-
this.CosmeticHash = CosmeticHash;
|
|
101
|
-
this.ItemCount = (ItemCount | 0);
|
|
102
|
-
this.IsScored = IsScored;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function EnrichedTemplate_$reflection(): TypeInfo {
|
|
107
|
-
return record_type("FormSpec.Integrations.CorEMR.CoreMRTypes.EnrichedTemplate", [], EnrichedTemplate, () => [["FormId", int32_type], ["FormCode", string_type], ["FormCodeSource", string_type], ["Name", string_type], ["Description", string_type], ["CurrentVersionId", int32_type], ["IsIntake", bool_type], ["Usage", string_type], ["EncounterTypes", EncounterTypes_$reflection()], ["RequiresSignature", bool_type], ["StructureHash", string_type], ["ClinicalHash", string_type], ["CosmeticHash", string_type], ["ItemCount", int32_type], ["IsScored", bool_type]]);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export class EnrichedTemplateCollection extends Record implements IEquatable<EnrichedTemplateCollection>, IComparable<EnrichedTemplateCollection> {
|
|
111
|
-
readonly Schema: string;
|
|
112
|
-
readonly Version: int32;
|
|
113
|
-
readonly GeneratedAt: Date;
|
|
114
|
-
readonly GeneratedFrom: string;
|
|
115
|
-
readonly CoreEmr: Option<{ AppVersion: string, SchemaRevision: string, SchemaVersion: string }>;
|
|
116
|
-
readonly Filter: string;
|
|
117
|
-
readonly FilterDescription: string;
|
|
118
|
-
readonly FormCount: int32;
|
|
119
|
-
readonly Forms: EnrichedTemplate[];
|
|
120
|
-
readonly ElementTypes: FSharpMap<string, ElementType>;
|
|
121
|
-
readonly Stats: TemplateCollectionStats;
|
|
122
|
-
constructor(Schema: string, Version: int32, GeneratedAt: Date, GeneratedFrom: string, CoreEmr: Option<{ AppVersion: string, SchemaRevision: string, SchemaVersion: string }>, Filter: string, FilterDescription: string, FormCount: int32, Forms: EnrichedTemplate[], ElementTypes: FSharpMap<string, ElementType>, Stats: TemplateCollectionStats) {
|
|
123
|
-
super();
|
|
124
|
-
this.Schema = Schema;
|
|
125
|
-
this.Version = (Version | 0);
|
|
126
|
-
this.GeneratedAt = GeneratedAt;
|
|
127
|
-
this.GeneratedFrom = GeneratedFrom;
|
|
128
|
-
this.CoreEmr = CoreEmr;
|
|
129
|
-
this.Filter = Filter;
|
|
130
|
-
this.FilterDescription = FilterDescription;
|
|
131
|
-
this.FormCount = (FormCount | 0);
|
|
132
|
-
this.Forms = Forms;
|
|
133
|
-
this.ElementTypes = ElementTypes;
|
|
134
|
-
this.Stats = Stats;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export function EnrichedTemplateCollection_$reflection(): TypeInfo {
|
|
139
|
-
return record_type("FormSpec.Integrations.CorEMR.CoreMRTypes.EnrichedTemplateCollection", [], EnrichedTemplateCollection, () => [["Schema", string_type], ["Version", int32_type], ["GeneratedAt", class_type("System.DateTimeOffset")], ["GeneratedFrom", string_type], ["CoreEmr", option_type(anonRecord_type(["AppVersion", string_type], ["SchemaRevision", string_type], ["SchemaVersion", string_type]))], ["Filter", string_type], ["FilterDescription", string_type], ["FormCount", int32_type], ["Forms", array_type(EnrichedTemplate_$reflection())], ["ElementTypes", class_type("Microsoft.FSharp.Collections.FSharpMap`2", [string_type, ElementType_$reflection()])], ["Stats", TemplateCollectionStats_$reflection()]]);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export class EnrichedTemplateResponse extends Record implements IEquatable<EnrichedTemplateResponse>, IComparable<EnrichedTemplateResponse> {
|
|
143
|
-
readonly Success: boolean;
|
|
144
|
-
readonly Data: Option<EnrichedTemplateCollection>;
|
|
145
|
-
readonly Error: Option<string>;
|
|
146
|
-
readonly Timestamp: Option<Date>;
|
|
147
|
-
constructor(Success: boolean, Data: Option<EnrichedTemplateCollection>, Error$: Option<string>, Timestamp: Option<Date>) {
|
|
148
|
-
super();
|
|
149
|
-
this.Success = Success;
|
|
150
|
-
this.Data = Data;
|
|
151
|
-
this.Error = Error$;
|
|
152
|
-
this.Timestamp = Timestamp;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export function EnrichedTemplateResponse_$reflection(): TypeInfo {
|
|
157
|
-
return record_type("FormSpec.Integrations.CorEMR.CoreMRTypes.EnrichedTemplateResponse", [], EnrichedTemplateResponse, () => [["Success", bool_type], ["Data", option_type(EnrichedTemplateCollection_$reflection())], ["Error", option_type(string_type)], ["Timestamp", option_type(class_type("System.DateTimeOffset"))]]);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
70
|
export class FormChoice extends Record implements IEquatable<FormChoice> {
|
|
161
71
|
readonly ChoiceId: int32;
|
|
162
72
|
readonly Text: string;
|
|
@@ -713,22 +623,6 @@ export function FormSubmissionResponse_$reflection(): TypeInfo {
|
|
|
713
623
|
return record_type("FormSpec.Integrations.CorEMR.CoreMRTypes.FormSubmissionResponse", [], FormSubmissionResponse, () => [["Success", bool_type], ["Data", option_type(anonRecord_type(["ExternalId", string_type], ["FormRecordId", string_type], ["Status", string_type], ["SubmittedAt", class_type("System.DateTimeOffset")], ["ValidationErrors", option_type(array_type(ValidationError_$reflection()))]))]]);
|
|
714
624
|
}
|
|
715
625
|
|
|
716
|
-
export class CorEmrTemplatesResponse extends Record implements IEquatable<CorEmrTemplatesResponse>, IComparable<CorEmrTemplatesResponse> {
|
|
717
|
-
readonly Success: boolean;
|
|
718
|
-
readonly Data: Option<EnrichedTemplateCollection>;
|
|
719
|
-
readonly Error: Option<string>;
|
|
720
|
-
constructor(Success: boolean, Data: Option<EnrichedTemplateCollection>, Error$: Option<string>) {
|
|
721
|
-
super();
|
|
722
|
-
this.Success = Success;
|
|
723
|
-
this.Data = Data;
|
|
724
|
-
this.Error = Error$;
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
export function CorEmrTemplatesResponse_$reflection(): TypeInfo {
|
|
729
|
-
return record_type("FormSpec.Integrations.CorEMR.CoreMRTypes.CorEmrTemplatesResponse", [], CorEmrTemplatesResponse, () => [["Success", bool_type], ["Data", option_type(EnrichedTemplateCollection_$reflection())], ["Error", option_type(string_type)]]);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
626
|
export class TemplateDetailResponse extends Record implements IEquatable<TemplateDetailResponse>, IComparable<TemplateDetailResponse> {
|
|
733
627
|
readonly Success: boolean;
|
|
734
628
|
readonly Data: Option<CoreMRFormDetail>;
|
|
@@ -6,7 +6,7 @@ import { int32, float64 } from "@fable-org/fable-library-js/Int32.js";
|
|
|
6
6
|
import { append, mapIndexed, tryFind as tryFind_1, map, item as item_2 } from "@fable-org/fable-library-js/Array.js";
|
|
7
7
|
import { length, mapIndexed as mapIndexed_1, filter, choose, map as map_1, singleton, collect, delay, toList } from "@fable-org/fable-library-js/Seq.js";
|
|
8
8
|
import { Auto_generateBoxedEncoder_437914C6, toString } from "../../Thoth.Json/packages/Thoth.Json/Encode.js";
|
|
9
|
-
import { Spec_SingleChoiceInfo,
|
|
9
|
+
import { Spec_SingleChoiceInfo, Spec_FormClassification_$union, ClinicalPathway_StateType_$union, ClinicalPathway_TaskPriority_$union, ClinicalPathway_AlertSeverity_$union, ClinicalPathway_ReferralUrgency_$union, ClinicalPathway_ActionInfo_$union, ClinicalPathway_NavigateToFormAction, ClinicalPathway_MedsetAction, ClinicalPathway_TreatmentAction, ClinicalPathway_ProblemAction, ClinicalPathway_AlertAction, ClinicalPathway_EducationAction, ClinicalPathway_ProcedureAction, ClinicalPathway_TestAction, ClinicalPathway_DocumentationAction, ClinicalPathway_FieldValueSource_$union, ClinicalPathway_SetFieldValueAction, ClinicalPathway_PrescriptionAction, ClinicalPathway_MedicationAction, ClinicalPathway_ReferralAction, Shared_FieldValue, ClinicalPathway_ClinicalPathwaySpec, ClinicalPathway_PathRequirement, ClinicalPathway_ConstraintDefinition, ClinicalPathway_PathwayExecutionMode_SinglePathway, ClinicalPathway_SinglePathwayConfig, ClinicalPathway_SelectionStrategy_HighestPriority, ClinicalPathway_TransitionDefinition, ClinicalPathway_TransitionCondition_FieldCondition, Shared_ConditionValue_Single, ClinicalPathway_FieldEvaluator_Equals, Shared_TransitionKey, ClinicalPathway_StateType_Terminal, ClinicalPathway_TerminalInfo, ClinicalPathway_StateDefinition, ClinicalPathway_StateType_Action, ClinicalPathway_ActionInfo_Task, ClinicalPathway_TaskAction, ClinicalPathway_DueDate_Today, ClinicalPathway_TaskPriority_Medium, ClinicalPathway_TaskPriority_Low, ClinicalPathway_TaskPriority_High, Shared_StateKey, Spec_FieldType_PluginField, Spec_PluginFieldConfig, Spec_FieldType_Matrix, Spec_MatrixInfo, Spec_FormClassification_General, Spec_FormLifecycle_Blueprint, Spec_FieldType_Text, Spec_TextInfo, Spec_FieldType_CheckboxList, Spec_MultiChoiceInfo, Shared_FieldOptionKey, Spec_FieldType_Checkbox, Spec_BooleanInfo, Shared_FieldKey, Shared_FieldOption, Shared_FieldValue_Single, Shared_FieldValue_PluginData, Shared_PluginDataProperty, Shared_PluginPropertyKey, Shared_FieldValue_Matrix, Shared_MatrixAnswer, Shared_MatrixItemKey, Shared_FieldValue_Multiple, Shared_FieldAnswer, Shared_FieldValue_$union, Spec_FormStep$1, Spec_FormField$1, Spec_FieldType_$union, Spec_FormSpec$1, Spec_FormSpec$1_$reflection, Spec_FieldType_$reflection } from "../FormSpec.js";
|
|
10
10
|
import { Auto_generateBoxedDecoder_Z6670B51, fromString } from "../../Thoth.Json/packages/Thoth.Json/Decode.js";
|
|
11
11
|
import { FSharpResult$2_Ok, FSharpResult$2_Error, FSharpResult$2_$union } from "@fable-org/fable-library-js/Result.js";
|
|
12
12
|
import { newGuid, parse, tryParse } from "@fable-org/fable-library-js/Guid.js";
|
|
@@ -1407,26 +1407,6 @@ export function getInstrumentMaxScore(spec: Spec_FormSpec$1<Spec_FieldType_$unio
|
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
1409
|
|
|
1410
|
-
/**
|
|
1411
|
-
* Returns "Exact" or "Inferred" when Classification is ClinicalInstrument, None otherwise.
|
|
1412
|
-
* TypeScript: getInstrumentConfidence(spec: FormSpec) => "Exact" | "Inferred" | null
|
|
1413
|
-
*/
|
|
1414
|
-
export function getInstrumentConfidence(spec: Spec_FormSpec$1<Spec_FieldType_$union>): Option<string> {
|
|
1415
|
-
const matchValue: Spec_FormClassification_$union = spec.Classification;
|
|
1416
|
-
if (matchValue.tag === /* ClinicalInstrument */ 0) {
|
|
1417
|
-
const info: Spec_ClinicalInstrumentInfo = matchValue.fields[0];
|
|
1418
|
-
if (info.Confidence.tag === /* Inferred */ 1) {
|
|
1419
|
-
return "Inferred";
|
|
1420
|
-
}
|
|
1421
|
-
else {
|
|
1422
|
-
return "Exact";
|
|
1423
|
-
}
|
|
1424
|
-
}
|
|
1425
|
-
else {
|
|
1426
|
-
return undefined;
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
1410
|
/**
|
|
1431
1411
|
* Decode CoreMR provenance source map from JSON payload.
|
|
1432
1412
|
* TypeScript: tryDecodeSourceMap(payloadJson: string) => {success: boolean; sourceMap?: CoreMRSourceMap; error?: string}
|
|
@@ -1,67 +1,9 @@
|
|
|
1
|
-
import { Record } from "@fable-org/fable-library-js/Types.js";
|
|
2
|
-
import { int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
3
|
-
import { orElse, defaultArg, map, value as value_2, Option } from "@fable-org/fable-library-js/Option.js";
|
|
4
|
-
import { IComparable, IEquatable } from "@fable-org/fable-library-js/Util.js";
|
|
5
|
-
import { record_type, bool_type, option_type, int32_type, string_type, TypeInfo } from "@fable-org/fable-library-js/Reflection.js";
|
|
6
1
|
import { ClinicalPathway_ActionInfo_$union, ClinicalPathway_MedsetAction, ClinicalPathway_TreatmentAction, ClinicalPathway_ProblemAction, ClinicalPathway_AlertAction, ClinicalPathway_RecurrencePattern, ClinicalPathway_RecurrenceEnd_$union, ClinicalPathway_TaskAction, ClinicalPathway_DueDate_$union, ClinicalPathway_TaskPriority_$union } from "./FormSpec.js";
|
|
2
|
+
import { int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
7
3
|
import { fromDateTimeOffset, today, addDays, toString } from "@fable-org/fable-library-js/Date.js";
|
|
4
|
+
import { orElse, defaultArg, map, Option, value as value_2 } from "@fable-org/fable-library-js/Option.js";
|
|
8
5
|
import { FSharpList, choose } from "@fable-org/fable-library-js/List.js";
|
|
9
|
-
|
|
10
|
-
export class TriggerActionDto extends Record implements IEquatable<TriggerActionDto>, IComparable<TriggerActionDto> {
|
|
11
|
-
readonly ActionType: string;
|
|
12
|
-
readonly TriggerId: int32;
|
|
13
|
-
readonly TriggerActionId: int32;
|
|
14
|
-
readonly CategoryId: int32;
|
|
15
|
-
readonly CategoryName: string;
|
|
16
|
-
readonly Priority: Option<int32>;
|
|
17
|
-
readonly Description: Option<string>;
|
|
18
|
-
readonly DateStart: Option<string>;
|
|
19
|
-
readonly AllDay: Option<boolean>;
|
|
20
|
-
readonly ScheduleEnd: Option<string>;
|
|
21
|
-
readonly ProblemListId: Option<int32>;
|
|
22
|
-
readonly FormItemId: Option<int32>;
|
|
23
|
-
readonly TreatmentId: Option<int32>;
|
|
24
|
-
readonly ScheduleId: Option<int32>;
|
|
25
|
-
readonly ProviderId: Option<int32>;
|
|
26
|
-
readonly Signature: Option<string>;
|
|
27
|
-
readonly SourceRelatedId: Option<int32>;
|
|
28
|
-
readonly RelatedType: Option<int32>;
|
|
29
|
-
readonly Chronic: Option<int32>;
|
|
30
|
-
readonly Severity: Option<int32>;
|
|
31
|
-
readonly Inflammation: Option<int32>;
|
|
32
|
-
readonly MedsetId: Option<int32>;
|
|
33
|
-
readonly PharmacyId: Option<int32>;
|
|
34
|
-
constructor(ActionType: string, TriggerId: int32, TriggerActionId: int32, CategoryId: int32, CategoryName: string, Priority: Option<int32>, Description: Option<string>, DateStart: Option<string>, AllDay: Option<boolean>, ScheduleEnd: Option<string>, ProblemListId: Option<int32>, FormItemId: Option<int32>, TreatmentId: Option<int32>, ScheduleId: Option<int32>, ProviderId: Option<int32>, Signature: Option<string>, SourceRelatedId: Option<int32>, RelatedType: Option<int32>, Chronic: Option<int32>, Severity: Option<int32>, Inflammation: Option<int32>, MedsetId: Option<int32>, PharmacyId: Option<int32>) {
|
|
35
|
-
super();
|
|
36
|
-
this.ActionType = ActionType;
|
|
37
|
-
this.TriggerId = (TriggerId | 0);
|
|
38
|
-
this.TriggerActionId = (TriggerActionId | 0);
|
|
39
|
-
this.CategoryId = (CategoryId | 0);
|
|
40
|
-
this.CategoryName = CategoryName;
|
|
41
|
-
this.Priority = Priority;
|
|
42
|
-
this.Description = Description;
|
|
43
|
-
this.DateStart = DateStart;
|
|
44
|
-
this.AllDay = AllDay;
|
|
45
|
-
this.ScheduleEnd = ScheduleEnd;
|
|
46
|
-
this.ProblemListId = ProblemListId;
|
|
47
|
-
this.FormItemId = FormItemId;
|
|
48
|
-
this.TreatmentId = TreatmentId;
|
|
49
|
-
this.ScheduleId = ScheduleId;
|
|
50
|
-
this.ProviderId = ProviderId;
|
|
51
|
-
this.Signature = Signature;
|
|
52
|
-
this.SourceRelatedId = SourceRelatedId;
|
|
53
|
-
this.RelatedType = RelatedType;
|
|
54
|
-
this.Chronic = Chronic;
|
|
55
|
-
this.Severity = Severity;
|
|
56
|
-
this.Inflammation = Inflammation;
|
|
57
|
-
this.MedsetId = MedsetId;
|
|
58
|
-
this.PharmacyId = PharmacyId;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export function TriggerActionDto_$reflection(): TypeInfo {
|
|
63
|
-
return record_type("F1.Studio.TriggerActions.TriggerActionDto", [], TriggerActionDto, () => [["ActionType", string_type], ["TriggerId", int32_type], ["TriggerActionId", int32_type], ["CategoryId", int32_type], ["CategoryName", string_type], ["Priority", option_type(int32_type)], ["Description", option_type(string_type)], ["DateStart", option_type(string_type)], ["AllDay", option_type(bool_type)], ["ScheduleEnd", option_type(string_type)], ["ProblemListId", option_type(int32_type)], ["FormItemId", option_type(int32_type)], ["TreatmentId", option_type(int32_type)], ["ScheduleId", option_type(int32_type)], ["ProviderId", option_type(int32_type)], ["Signature", option_type(string_type)], ["SourceRelatedId", option_type(int32_type)], ["RelatedType", option_type(int32_type)], ["Chronic", option_type(int32_type)], ["Severity", option_type(int32_type)], ["Inflammation", option_type(int32_type)], ["MedsetId", option_type(int32_type)], ["PharmacyId", option_type(int32_type)]]);
|
|
64
|
-
}
|
|
6
|
+
import { TriggerAction } from "../vye-os-contracts-fs/src/Clinical/TriggerAction.js";
|
|
65
7
|
|
|
66
8
|
/**
|
|
67
9
|
* Convert ClinicalPathway.TaskPriority DU → CoreMR int (1=High, 2=Medium, 3=Low)
|
|
@@ -125,13 +67,13 @@ function requireCategoryId(actionType: string, categoryName: string, categoryIdO
|
|
|
125
67
|
* Direct callers: unit tests (testing base conversion logic in isolation).
|
|
126
68
|
* Production callers: NONE (production always goes through convertActionsForCoreMR).
|
|
127
69
|
*/
|
|
128
|
-
export function convertActionsToBaseDtos(actions: FSharpList<ClinicalPathway_ActionInfo_$union>): FSharpList<
|
|
129
|
-
return choose<ClinicalPathway_ActionInfo_$union,
|
|
70
|
+
export function convertActionsToBaseDtos(actions: FSharpList<ClinicalPathway_ActionInfo_$union>): FSharpList<TriggerAction> {
|
|
71
|
+
return choose<ClinicalPathway_ActionInfo_$union, TriggerAction>((action: ClinicalPathway_ActionInfo_$union): Option<TriggerAction> => {
|
|
130
72
|
switch (action.tag) {
|
|
131
73
|
case /* Task */ 8: {
|
|
132
74
|
const taskAction: ClinicalPathway_TaskAction = action.fields[0];
|
|
133
75
|
const actionType: string = (taskAction.Recurrence != null) ? "recurring_task" : "task";
|
|
134
|
-
return new
|
|
76
|
+
return new TriggerAction(actionType, 0, 0, requireCategoryId(actionType, taskAction.Category, taskAction.CategoryId), taskAction.Category, convertPriority(taskAction.Priority), taskAction.Description, convertDueDate(taskAction.DueDate), true, map<ClinicalPathway_RecurrencePattern, string>((r: ClinicalPathway_RecurrencePattern): string => {
|
|
135
77
|
const matchValue: ClinicalPathway_RecurrenceEnd_$union = r.Until;
|
|
136
78
|
switch (matchValue.tag) {
|
|
137
79
|
case /* AfterOccurrences */ 1: {
|
|
@@ -147,19 +89,19 @@ export function convertActionsToBaseDtos(actions: FSharpList<ClinicalPathway_Act
|
|
|
147
89
|
}
|
|
148
90
|
case /* Alert */ 9: {
|
|
149
91
|
const alertAction: ClinicalPathway_AlertAction = action.fields[0];
|
|
150
|
-
return new
|
|
92
|
+
return new TriggerAction("alert", 0, 0, requireCategoryId("alert", alertAction.Category, alertAction.CategoryId), alertAction.Category, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined);
|
|
151
93
|
}
|
|
152
94
|
case /* Problem */ 10: {
|
|
153
95
|
const problemAction: ClinicalPathway_ProblemAction = action.fields[0];
|
|
154
|
-
return new
|
|
96
|
+
return new TriggerAction("problem", 0, 0, requireCategoryId("problem", problemAction.ProblemName, problemAction.CategoryId), problemAction.ProblemName, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, problemAction.Chronic, problemAction.Severity, problemAction.Inflammation, undefined, undefined);
|
|
155
97
|
}
|
|
156
98
|
case /* Treatment */ 1: {
|
|
157
99
|
const t: ClinicalPathway_TreatmentAction = action.fields[0];
|
|
158
|
-
return new
|
|
100
|
+
return new TriggerAction("treatment", 0, 0, defaultArg(orElse(t.CategoryId, t.TreatmentId), 0), t.Name, map<ClinicalPathway_TaskPriority_$union, int32>(convertPriority, t.Priority), t.Description, convertDueDate(t.DateStart), undefined, convertDueDate(t.Duration), undefined, undefined, t.TreatmentId, t.ScheduleId, t.ProviderId, t.Signature, t.SourceRelatedId, 3, undefined, undefined, undefined, undefined, undefined);
|
|
159
101
|
}
|
|
160
102
|
case /* Medset */ 2: {
|
|
161
103
|
const m: ClinicalPathway_MedsetAction = action.fields[0];
|
|
162
|
-
return new
|
|
104
|
+
return new TriggerAction("medset", 0, 0, defaultArg(orElse(m.CategoryId, m.MedsetId), 0), m.Name, undefined, undefined, convertDueDate(m.DateStart), undefined, undefined, undefined, undefined, undefined, undefined, m.ProviderId, undefined, undefined, undefined, undefined, undefined, undefined, m.MedsetId, m.PharmacyId);
|
|
163
105
|
}
|
|
164
106
|
default:
|
|
165
107
|
return undefined;
|
|
@@ -16,8 +16,8 @@ import { createElement } from "react";
|
|
|
16
16
|
import React from "react";
|
|
17
17
|
import { IRefValue$1, ReactElement } from "../../../fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js";
|
|
18
18
|
import { reactApi } from "../../../fable_modules/Feliz.2.8.0/Interop.fs.js";
|
|
19
|
-
import { PromiseBuilder__Delay_62FBFDE1, PromiseBuilder__Run_212F1D4B } from "../../../fable_modules/Fable.Promise.3.2.
|
|
20
|
-
import { promise } from "../../../fable_modules/Fable.Promise.3.2.
|
|
19
|
+
import { PromiseBuilder__Delay_62FBFDE1, PromiseBuilder__Run_212F1D4B } from "../../../fable_modules/Fable.Promise.3.2.1/Promise.fs.js";
|
|
20
|
+
import { promise } from "../../../fable_modules/Fable.Promise.3.2.1/PromiseImpl.fs.js";
|
|
21
21
|
import { searchAllergens, getAllergenInsights } from "./OpenFdaClient.js";
|
|
22
22
|
import { collect, empty as empty_1, map as map_1, singleton, append, delay, toList } from "@fable-org/fable-library-js/Seq.js";
|
|
23
23
|
import { tryParse, float64, int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
@@ -5,8 +5,8 @@ import { FSharpResult$2_$union } from "@fable-org/fable-library-js/Result.js";
|
|
|
5
5
|
import { ErrorReason_$union } from "../../../Thoth.Json/packages/Thoth.Json/Types.js";
|
|
6
6
|
import { int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
7
7
|
import { empty as empty_1, FSharpList } from "@fable-org/fable-library-js/List.js";
|
|
8
|
-
import { PromiseBuilder__Delay_62FBFDE1, PromiseBuilder__Run_212F1D4B } from "../../../fable_modules/Fable.Promise.3.2.
|
|
9
|
-
import { promise } from "../../../fable_modules/Fable.Promise.3.2.
|
|
8
|
+
import { PromiseBuilder__Delay_62FBFDE1, PromiseBuilder__Run_212F1D4B } from "../../../fable_modules/Fable.Promise.3.2.1/Promise.fs.js";
|
|
9
|
+
import { promise } from "../../../fable_modules/Fable.Promise.3.2.1/PromiseImpl.fs.js";
|
|
10
10
|
import { isNullOrWhiteSpace } from "@fable-org/fable-library-js/String.js";
|
|
11
11
|
import { some } from "@fable-org/fable-library-js/Option.js";
|
|
12
12
|
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Record } from "@fable-org/fable-library-js/Types.js";
|
|
2
|
+
import { int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
3
|
+
import { int32ToString, IComparable, IEquatable } from "@fable-org/fable-library-js/Util.js";
|
|
4
|
+
import { option_type, string_type, record_type, bool_type, int32_type, TypeInfo } from "@fable-org/fable-library-js/Reflection.js";
|
|
5
|
+
import { value, Option } from "@fable-org/fable-library-js/Option.js";
|
|
6
|
+
import { printf, toText } from "@fable-org/fable-library-js/String.js";
|
|
7
|
+
|
|
8
|
+
export class Pagination extends Record implements IEquatable<Pagination>, IComparable<Pagination> {
|
|
9
|
+
readonly Page: int32;
|
|
10
|
+
readonly Limit: int32;
|
|
11
|
+
readonly Total: int32;
|
|
12
|
+
readonly HasMore: boolean;
|
|
13
|
+
constructor(Page: int32, Limit: int32, Total: int32, HasMore: boolean) {
|
|
14
|
+
super();
|
|
15
|
+
this.Page = (Page | 0);
|
|
16
|
+
this.Limit = (Limit | 0);
|
|
17
|
+
this.Total = (Total | 0);
|
|
18
|
+
this.HasMore = HasMore;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function Pagination_$reflection(): TypeInfo {
|
|
23
|
+
return record_type("Vye.Contracts.Clinical.RestPayloads.Pagination", [], Pagination, () => [["Page", int32_type], ["Limit", int32_type], ["Total", int32_type], ["HasMore", bool_type]]);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export class PatientList extends Record implements IEquatable<PatientList>, IComparable<PatientList> {
|
|
27
|
+
readonly Success: boolean;
|
|
28
|
+
readonly PatientsJson: string;
|
|
29
|
+
readonly Count: int32;
|
|
30
|
+
readonly Pagination: Pagination;
|
|
31
|
+
constructor(Success: boolean, PatientsJson: string, Count: int32, Pagination: Pagination) {
|
|
32
|
+
super();
|
|
33
|
+
this.Success = Success;
|
|
34
|
+
this.PatientsJson = PatientsJson;
|
|
35
|
+
this.Count = (Count | 0);
|
|
36
|
+
this.Pagination = Pagination;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function PatientList_$reflection(): TypeInfo {
|
|
41
|
+
return record_type("Vye.Contracts.Clinical.RestPayloads.PatientList", [], PatientList, () => [["Success", bool_type], ["PatientsJson", string_type], ["Count", int32_type], ["Pagination", Pagination_$reflection()]]);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export class NamesIndex extends Record implements IEquatable<NamesIndex>, IComparable<NamesIndex> {
|
|
45
|
+
readonly Success: boolean;
|
|
46
|
+
readonly PatientsJson: string;
|
|
47
|
+
readonly Count: int32;
|
|
48
|
+
readonly CacheStatus: string;
|
|
49
|
+
readonly ReasonCode: string;
|
|
50
|
+
readonly Loaded: Option<int32>;
|
|
51
|
+
readonly Total: Option<int32>;
|
|
52
|
+
constructor(Success: boolean, PatientsJson: string, Count: int32, CacheStatus: string, ReasonCode: string, Loaded: Option<int32>, Total: Option<int32>) {
|
|
53
|
+
super();
|
|
54
|
+
this.Success = Success;
|
|
55
|
+
this.PatientsJson = PatientsJson;
|
|
56
|
+
this.Count = (Count | 0);
|
|
57
|
+
this.CacheStatus = CacheStatus;
|
|
58
|
+
this.ReasonCode = ReasonCode;
|
|
59
|
+
this.Loaded = Loaded;
|
|
60
|
+
this.Total = Total;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function NamesIndex_$reflection(): TypeInfo {
|
|
65
|
+
return record_type("Vye.Contracts.Clinical.RestPayloads.NamesIndex", [], NamesIndex, () => [["Success", bool_type], ["PatientsJson", string_type], ["Count", int32_type], ["CacheStatus", string_type], ["ReasonCode", string_type], ["Loaded", option_type(int32_type)], ["Total", option_type(int32_type)]]);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function boolJson(b: boolean): string {
|
|
69
|
+
if (b) {
|
|
70
|
+
return "true";
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
return "false";
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function intOptJson(o: Option<int32>): string {
|
|
78
|
+
if (o == null) {
|
|
79
|
+
return "null";
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
return int32ToString(value(o));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Emit patient-list JSON. `patientsJson` must already be a JSON array literal.
|
|
88
|
+
*/
|
|
89
|
+
export function encodePatientList(patientsJson: string, count: int32, p: Pagination): string {
|
|
90
|
+
const arg_5: string = boolJson(p.HasMore);
|
|
91
|
+
return toText(printf("{\"success\":true,\"patients\":%s,\"count\":%d,\"pagination\":{\"page\":%d,\"limit\":%d,\"total\":%d,\"hasMore\":%s}}"))(patientsJson)(count)(p.Page)(p.Limit)(p.Total)(arg_5);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function emptyPatientList(page: int32, limit: int32): string {
|
|
95
|
+
return encodePatientList("[]", 0, new Pagination(page, limit, 0, false));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Emit names-index JSON. Escapes are the caller's job for cacheStatus/reasonCode (ASCII tokens).
|
|
100
|
+
*/
|
|
101
|
+
export function encodeNamesIndex(patientsJson: string, count: int32, cacheStatus: string, reasonCode: string, loaded: Option<int32>, total: Option<int32>): string {
|
|
102
|
+
const arg_4: string = intOptJson(loaded);
|
|
103
|
+
const arg_5: string = intOptJson(total);
|
|
104
|
+
return toText(printf("{\"success\":true,\"patients\":%s,\"count\":%d,\"cacheStatus\":\"%s\",\"reasonCode\":\"%s\",\"loaded\":%s,\"total\":%s}"))(patientsJson)(count)(cacheStatus)(reasonCode)(arg_4)(arg_5);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Conduit live names-index — success/patients/count only (no cache envelope).
|
|
109
|
+
*/
|
|
110
|
+
export function encodeNamesIndexLive(patientsJson: string, count: int32): string {
|
|
111
|
+
return toText(printf("{\"success\":true,\"patients\":%s,\"count\":%d}"))(patientsJson)(count);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
//# sourceMappingURL=RestPayloads.ts.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Record } from "@fable-org/fable-library-js/Types.js";
|
|
2
|
+
import { int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
3
|
+
import { Option } from "@fable-org/fable-library-js/Option.js";
|
|
4
|
+
import { IComparable, IEquatable } from "@fable-org/fable-library-js/Util.js";
|
|
5
|
+
import { record_type, bool_type, option_type, int32_type, string_type, TypeInfo } from "@fable-org/fable-library-js/Reflection.js";
|
|
6
|
+
|
|
7
|
+
export class TriggerAction extends Record implements IEquatable<TriggerAction>, IComparable<TriggerAction> {
|
|
8
|
+
readonly ActionType: string;
|
|
9
|
+
readonly TriggerId: int32;
|
|
10
|
+
readonly TriggerActionId: int32;
|
|
11
|
+
readonly CategoryId: int32;
|
|
12
|
+
readonly CategoryName: string;
|
|
13
|
+
readonly Priority: Option<int32>;
|
|
14
|
+
readonly Description: Option<string>;
|
|
15
|
+
readonly DateStart: Option<string>;
|
|
16
|
+
readonly AllDay: Option<boolean>;
|
|
17
|
+
readonly ScheduleEnd: Option<string>;
|
|
18
|
+
readonly ProblemListId: Option<int32>;
|
|
19
|
+
readonly FormItemId: Option<int32>;
|
|
20
|
+
readonly TreatmentId: Option<int32>;
|
|
21
|
+
readonly ScheduleId: Option<int32>;
|
|
22
|
+
readonly ProviderId: Option<int32>;
|
|
23
|
+
readonly Signature: Option<string>;
|
|
24
|
+
readonly SourceRelatedId: Option<int32>;
|
|
25
|
+
readonly RelatedType: Option<int32>;
|
|
26
|
+
readonly Chronic: Option<int32>;
|
|
27
|
+
readonly Severity: Option<int32>;
|
|
28
|
+
readonly Inflammation: Option<int32>;
|
|
29
|
+
readonly MedsetId: Option<int32>;
|
|
30
|
+
readonly PharmacyId: Option<int32>;
|
|
31
|
+
constructor(ActionType: string, TriggerId: int32, TriggerActionId: int32, CategoryId: int32, CategoryName: string, Priority: Option<int32>, Description: Option<string>, DateStart: Option<string>, AllDay: Option<boolean>, ScheduleEnd: Option<string>, ProblemListId: Option<int32>, FormItemId: Option<int32>, TreatmentId: Option<int32>, ScheduleId: Option<int32>, ProviderId: Option<int32>, Signature: Option<string>, SourceRelatedId: Option<int32>, RelatedType: Option<int32>, Chronic: Option<int32>, Severity: Option<int32>, Inflammation: Option<int32>, MedsetId: Option<int32>, PharmacyId: Option<int32>) {
|
|
32
|
+
super();
|
|
33
|
+
this.ActionType = ActionType;
|
|
34
|
+
this.TriggerId = (TriggerId | 0);
|
|
35
|
+
this.TriggerActionId = (TriggerActionId | 0);
|
|
36
|
+
this.CategoryId = (CategoryId | 0);
|
|
37
|
+
this.CategoryName = CategoryName;
|
|
38
|
+
this.Priority = Priority;
|
|
39
|
+
this.Description = Description;
|
|
40
|
+
this.DateStart = DateStart;
|
|
41
|
+
this.AllDay = AllDay;
|
|
42
|
+
this.ScheduleEnd = ScheduleEnd;
|
|
43
|
+
this.ProblemListId = ProblemListId;
|
|
44
|
+
this.FormItemId = FormItemId;
|
|
45
|
+
this.TreatmentId = TreatmentId;
|
|
46
|
+
this.ScheduleId = ScheduleId;
|
|
47
|
+
this.ProviderId = ProviderId;
|
|
48
|
+
this.Signature = Signature;
|
|
49
|
+
this.SourceRelatedId = SourceRelatedId;
|
|
50
|
+
this.RelatedType = RelatedType;
|
|
51
|
+
this.Chronic = Chronic;
|
|
52
|
+
this.Severity = Severity;
|
|
53
|
+
this.Inflammation = Inflammation;
|
|
54
|
+
this.MedsetId = MedsetId;
|
|
55
|
+
this.PharmacyId = PharmacyId;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function TriggerAction_$reflection(): TypeInfo {
|
|
60
|
+
return record_type("Vye.Contracts.Clinical.TriggerAction", [], TriggerAction, () => [["ActionType", string_type], ["TriggerId", int32_type], ["TriggerActionId", int32_type], ["CategoryId", int32_type], ["CategoryName", string_type], ["Priority", option_type(int32_type)], ["Description", option_type(string_type)], ["DateStart", option_type(string_type)], ["AllDay", option_type(bool_type)], ["ScheduleEnd", option_type(string_type)], ["ProblemListId", option_type(int32_type)], ["FormItemId", option_type(int32_type)], ["TreatmentId", option_type(int32_type)], ["ScheduleId", option_type(int32_type)], ["ProviderId", option_type(int32_type)], ["Signature", option_type(string_type)], ["SourceRelatedId", option_type(int32_type)], ["RelatedType", option_type(int32_type)], ["Chronic", option_type(int32_type)], ["Severity", option_type(int32_type)], ["Inflammation", option_type(int32_type)], ["MedsetId", option_type(int32_type)], ["PharmacyId", option_type(int32_type)]]);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
//# sourceMappingURL=TriggerAction.ts.map
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Union } from "@fable-org/fable-library-js/Types.js";
|
|
2
|
+
import { class_type, union_type, string_type, TypeInfo } from "@fable-org/fable-library-js/Reflection.js";
|
|
3
|
+
|
|
4
|
+
export class SiteId extends Union<0, "SiteId"> {
|
|
5
|
+
constructor(Item: string) {
|
|
6
|
+
super();
|
|
7
|
+
this.tag = 0;
|
|
8
|
+
this.fields = [Item];
|
|
9
|
+
}
|
|
10
|
+
readonly tag: 0;
|
|
11
|
+
readonly fields: [string];
|
|
12
|
+
cases() {
|
|
13
|
+
return ["SiteId"];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function SiteId_$reflection(): TypeInfo {
|
|
18
|
+
return union_type("Vye.Contracts.Core.SiteId", [], SiteId, () => [[["Item", string_type]]]);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export class PlatformTenantId extends Union<0, "PlatformTenantId"> {
|
|
22
|
+
constructor(Item: string) {
|
|
23
|
+
super();
|
|
24
|
+
this.tag = 0;
|
|
25
|
+
this.fields = [Item];
|
|
26
|
+
}
|
|
27
|
+
readonly tag: 0;
|
|
28
|
+
readonly fields: [string];
|
|
29
|
+
cases() {
|
|
30
|
+
return ["PlatformTenantId"];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function PlatformTenantId_$reflection(): TypeInfo {
|
|
35
|
+
return union_type("Vye.Contracts.Core.PlatformTenantId", [], PlatformTenantId, () => [[["Item", class_type("System.Guid")]]]);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class OrgId extends Union<0, "OrgId"> {
|
|
39
|
+
constructor(Item: string) {
|
|
40
|
+
super();
|
|
41
|
+
this.tag = 0;
|
|
42
|
+
this.fields = [Item];
|
|
43
|
+
}
|
|
44
|
+
readonly tag: 0;
|
|
45
|
+
readonly fields: [string];
|
|
46
|
+
cases() {
|
|
47
|
+
return ["OrgId"];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function OrgId_$reflection(): TypeInfo {
|
|
52
|
+
return union_type("Vye.Contracts.Core.OrgId", [], OrgId, () => [[["Item", string_type]]]);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class PatientExternalId extends Union<0, "PatientExternalId"> {
|
|
56
|
+
constructor(Item: string) {
|
|
57
|
+
super();
|
|
58
|
+
this.tag = 0;
|
|
59
|
+
this.fields = [Item];
|
|
60
|
+
}
|
|
61
|
+
readonly tag: 0;
|
|
62
|
+
readonly fields: [string];
|
|
63
|
+
cases() {
|
|
64
|
+
return ["PatientExternalId"];
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function PatientExternalId_$reflection(): TypeInfo {
|
|
69
|
+
return union_type("Vye.Contracts.Core.PatientExternalId", [], PatientExternalId, () => [[["Item", string_type]]]);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
//# sourceMappingURL=Ids.ts.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Record } from "@fable-org/fable-library-js/Types.js";
|
|
2
|
+
import { int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
3
|
+
import { IComparable, IEquatable } from "@fable-org/fable-library-js/Util.js";
|
|
4
|
+
import { TypeInfo } from "@fable-org/fable-library-js/Reflection.js";
|
|
5
|
+
import { Option } from "@fable-org/fable-library-js/Option.js";
|
|
6
|
+
export declare class Pagination extends Record implements IEquatable<Pagination>, IComparable<Pagination> {
|
|
7
|
+
readonly Page: int32;
|
|
8
|
+
readonly Limit: int32;
|
|
9
|
+
readonly Total: int32;
|
|
10
|
+
readonly HasMore: boolean;
|
|
11
|
+
constructor(Page: int32, Limit: int32, Total: int32, HasMore: boolean);
|
|
12
|
+
}
|
|
13
|
+
export declare function Pagination_$reflection(): TypeInfo;
|
|
14
|
+
export declare class PatientList extends Record implements IEquatable<PatientList>, IComparable<PatientList> {
|
|
15
|
+
readonly Success: boolean;
|
|
16
|
+
readonly PatientsJson: string;
|
|
17
|
+
readonly Count: int32;
|
|
18
|
+
readonly Pagination: Pagination;
|
|
19
|
+
constructor(Success: boolean, PatientsJson: string, Count: int32, Pagination: Pagination);
|
|
20
|
+
}
|
|
21
|
+
export declare function PatientList_$reflection(): TypeInfo;
|
|
22
|
+
export declare class NamesIndex extends Record implements IEquatable<NamesIndex>, IComparable<NamesIndex> {
|
|
23
|
+
readonly Success: boolean;
|
|
24
|
+
readonly PatientsJson: string;
|
|
25
|
+
readonly Count: int32;
|
|
26
|
+
readonly CacheStatus: string;
|
|
27
|
+
readonly ReasonCode: string;
|
|
28
|
+
readonly Loaded: Option<int32>;
|
|
29
|
+
readonly Total: Option<int32>;
|
|
30
|
+
constructor(Success: boolean, PatientsJson: string, Count: int32, CacheStatus: string, ReasonCode: string, Loaded: Option<int32>, Total: Option<int32>);
|
|
31
|
+
}
|
|
32
|
+
export declare function NamesIndex_$reflection(): TypeInfo;
|
|
33
|
+
/**
|
|
34
|
+
* Emit patient-list JSON. `patientsJson` must already be a JSON array literal.
|
|
35
|
+
*/
|
|
36
|
+
export declare function encodePatientList(patientsJson: string, count: int32, p: Pagination): string;
|
|
37
|
+
export declare function emptyPatientList(page: int32, limit: int32): string;
|
|
38
|
+
/**
|
|
39
|
+
* Emit names-index JSON. Escapes are the caller's job for cacheStatus/reasonCode (ASCII tokens).
|
|
40
|
+
*/
|
|
41
|
+
export declare function encodeNamesIndex(patientsJson: string, count: int32, cacheStatus: string, reasonCode: string, loaded: Option<int32>, total: Option<int32>): string;
|
|
42
|
+
/**
|
|
43
|
+
* Conduit live names-index — success/patients/count only (no cache envelope).
|
|
44
|
+
*/
|
|
45
|
+
export declare function encodeNamesIndexLive(patientsJson: string, count: int32): string;
|
|
46
|
+
//# sourceMappingURL=RestPayloads.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RestPayloads.d.ts","sourceRoot":"","sources":["../../../../FormSpec.TS/vye-os-contracts-fs/src/Clinical/RestPayloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAiB,WAAW,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAC7F,OAAO,EAAgE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACnI,OAAO,EAAS,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAGtE,qBAAa,UAAW,SAAQ,MAAO,YAAW,UAAU,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC;IAC7F,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;gBACd,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO;CAOxE;AAED,wBAAgB,sBAAsB,IAAI,QAAQ,CAEjD;AAED,qBAAa,WAAY,SAAQ,MAAO,YAAW,UAAU,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC;IAChG,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;gBACpB,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU;CAO3F;AAED,wBAAgB,uBAAuB,IAAI,QAAQ,CAElD;AAED,qBAAa,UAAW,SAAQ,MAAO,YAAW,UAAU,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC;IAC7F,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;gBAClB,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;CAUzJ;AAED,wBAAgB,sBAAsB,IAAI,QAAQ,CAEjD;AAoBD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,UAAU,GAAG,MAAM,CAG3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAElE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAIjK;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAE/E"}
|