@f1studio/form-spec 5.0.0-alpha.156 → 5.0.0-alpha.159
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 +56 -24
- package/FormSpec.FS/FormSpec.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpec.js +172 -12
- 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.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js +5 -2
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.d.ts +46 -5
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CoreMREncoder.js +333 -13
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.d.ts +19 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.d.ts.map +1 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.js +99 -0
- package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.js.map +1 -0
- 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.js.map +1 -0
- package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.d.ts +1 -1
- package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/ItemTriggerConverter.js +18 -10
- 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.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/TemplateManifestDecoder.js +3 -63
- 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.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Api.Helpers.js +31 -10
- 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.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayDataExtractor.js +67 -42
- package/FormSpec.FS/PathwayDataExtractor.js.map +1 -0
- package/FormSpec.FS/PathwayExecutor.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayExecutor.js +20 -6
- 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 +26 -10
- package/FormSpec.FS/TriggerActionDto.d.ts.map +1 -1
- package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/TriggerActionDto.js +82 -17
- 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/Thoth.Json/packages/Thoth.Json/Decode.d.ts +2 -2
- package/Thoth.Json/packages/Thoth.Json/Decode.d.ts.map +1 -1
- package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Decode.js +69 -63
- package/Thoth.Json/packages/Thoth.Json/Decode.js.map +1 -0
- package/Thoth.Json/packages/Thoth.Json/Encode.d.ts.map +1 -1
- package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Encode.js +10 -6
- 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/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.0/AsyncIterable.fs.js.map +1 -0
- package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js.map +1 -0
- package/fable_modules/Fable.Promise.3.2.0/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 +1 -1
- package/plugins/allergyfinder/src/AllergyFinderField.js.map +1 -0
- package/plugins/allergyfinder/src/AllergyLogic.js.map +1 -0
- 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.d.ts +2 -0
- package/plugins/vitals/src/VitalsField.d.ts.map +1 -1
- package/{FormSpec.TS/plugins → plugins}/vitals/src/VitalsField.js +283 -67
- package/plugins/vitals/src/VitalsField.js.map +1 -0
- package/plugins/vitals/src/VitalsLogic.d.ts +41 -4
- package/plugins/vitals/src/VitalsLogic.d.ts.map +1 -1
- package/{FormSpec.TS/plugins → plugins}/vitals/src/VitalsLogic.js +176 -11
- package/plugins/vitals/src/VitalsLogic.js.map +1 -0
- package/src/FormSpec.FS/FormSpec.ts +98 -26
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.ts +4 -4
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts +314 -45
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.ts +105 -0
- package/src/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.ts +18 -16
- package/src/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.ts +12 -86
- package/src/FormSpec.FS/Interop/FormSpec.Api.Helpers.ts +30 -11
- package/src/FormSpec.FS/PathwayDataExtractor.ts +65 -44
- package/src/FormSpec.FS/PathwayExecutor.ts +22 -10
- package/src/FormSpec.FS/TriggerActionDto.ts +64 -29
- package/src/Thoth.Json/packages/Thoth.Json/Decode.ts +55 -38
- package/src/Thoth.Json/packages/Thoth.Json/Encode.ts +16 -10
- package/src/plugins/vitals/src/VitalsField.ts +203 -65
- package/src/plugins/vitals/src/VitalsLogic.ts +140 -14
- 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/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.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/CorEMRTemplateMapper.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/CoreMRSourceMap.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.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/CoreMRTypes.js +0 -0
- /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/TemplateDecodeTypes.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}/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/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/ColorField.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_modules}/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Promise.3.2.0/Promise.fs.js +0 -0
- /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Promise.3.2.0/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/AllergyFinderField.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/AllergyLogic.js +0 -0
- /package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/OpenFdaClient.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
|
@@ -1,53 +1,61 @@
|
|
|
1
|
-
import { ClinicalPathway_TerminalInfo, Shared_StateKey, ClinicalPathway_StateType_$union, ClinicalPathway_EvaluationInfo, ClinicalPathway_ActionInfo_$union, ClinicalPathway_MedicationAction, ClinicalPathway_FieldValueSource_$union, ClinicalPathway_SetFieldValueAction, ClinicalPathway_NavigateToFormAction, ClinicalPathway_PrescriptionAction, ClinicalPathway_ProblemAction, ClinicalPathway_AlertAction, ClinicalPathway_TaskAction, ClinicalPathway_DocumentationAction, ClinicalPathway_ReferralAction, ClinicalPathway_TestAction, ClinicalPathway_EducationAction, ClinicalPathway_ProcedureAction } from "./FormSpec.js";
|
|
1
|
+
import { ClinicalPathway_TerminalInfo, Shared_StateKey, ClinicalPathway_StateType_$union, ClinicalPathway_EvaluationInfo, ClinicalPathway_ActionInfo_$union, ClinicalPathway_MedicationAction, ClinicalPathway_FieldValueSource_$union, ClinicalPathway_SetFieldValueAction, ClinicalPathway_NavigateToFormAction, ClinicalPathway_PrescriptionAction, ClinicalPathway_ProblemAction, ClinicalPathway_AlertAction, ClinicalPathway_TaskAction, ClinicalPathway_DocumentationAction, ClinicalPathway_ReferralAction, ClinicalPathway_TestAction, ClinicalPathway_EducationAction, ClinicalPathway_ProcedureAction, ClinicalPathway_MedsetAction, ClinicalPathway_TreatmentAction } from "./FormSpec.js";
|
|
2
2
|
import { split, replace, join, isNullOrWhiteSpace, substring, printf, toText } from "@fable-org/fable-library-js/String.js";
|
|
3
|
+
import { Option, value as value_1, defaultArg } from "@fable-org/fable-library-js/Option.js";
|
|
3
4
|
import { singleton, append, map, FSharpList, empty } from "@fable-org/fable-library-js/List.js";
|
|
4
|
-
import { Option, value } from "@fable-org/fable-library-js/Option.js";
|
|
5
5
|
import { item, map as map_1 } from "@fable-org/fable-library-js/Array.js";
|
|
6
6
|
import { int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
7
7
|
|
|
8
8
|
export function extractActionText(action: ClinicalPathway_ActionInfo_$union): string {
|
|
9
9
|
switch (action.tag) {
|
|
10
|
-
case /*
|
|
10
|
+
case /* Treatment */ 1: {
|
|
11
|
+
const t: ClinicalPathway_TreatmentAction = action.fields[0];
|
|
12
|
+
return toText(printf("Treatment: %s"))(t.Name);
|
|
13
|
+
}
|
|
14
|
+
case /* Medset */ 2: {
|
|
15
|
+
const m_1: ClinicalPathway_MedsetAction = action.fields[0];
|
|
16
|
+
return toText(printf("Medset: %s"))(m_1.Name);
|
|
17
|
+
}
|
|
18
|
+
case /* Procedure */ 6: {
|
|
11
19
|
const p: ClinicalPathway_ProcedureAction = action.fields[0];
|
|
12
20
|
return toText(printf("Procedure: %s"))(p.Name);
|
|
13
21
|
}
|
|
14
|
-
case /* Education */
|
|
22
|
+
case /* Education */ 5: {
|
|
15
23
|
const e: ClinicalPathway_EducationAction = action.fields[0];
|
|
16
24
|
return "Education";
|
|
17
25
|
}
|
|
18
|
-
case /* Test */
|
|
19
|
-
const
|
|
20
|
-
return toText(printf("Test: %s"))(
|
|
26
|
+
case /* Test */ 3: {
|
|
27
|
+
const t_1: ClinicalPathway_TestAction = action.fields[0];
|
|
28
|
+
return toText(printf("Test: %s"))(t_1.TestName);
|
|
21
29
|
}
|
|
22
|
-
case /* Referral */
|
|
30
|
+
case /* Referral */ 4: {
|
|
23
31
|
const r: ClinicalPathway_ReferralAction = action.fields[0];
|
|
24
32
|
return toText(printf("Refer to %s"))(r.Target);
|
|
25
33
|
}
|
|
26
|
-
case /* Documentation */
|
|
34
|
+
case /* Documentation */ 7: {
|
|
27
35
|
const d: ClinicalPathway_DocumentationAction = action.fields[0];
|
|
28
36
|
return toText(printf("Document: %s"))(d.FormName);
|
|
29
37
|
}
|
|
30
|
-
case /* Task */
|
|
31
|
-
const
|
|
32
|
-
return toText(printf("Task: %s"))(
|
|
38
|
+
case /* Task */ 8: {
|
|
39
|
+
const t_2: ClinicalPathway_TaskAction = action.fields[0];
|
|
40
|
+
return toText(printf("Task: %s"))(t_2.Description);
|
|
33
41
|
}
|
|
34
|
-
case /* Alert */
|
|
42
|
+
case /* Alert */ 9: {
|
|
35
43
|
const a: ClinicalPathway_AlertAction = action.fields[0];
|
|
36
44
|
return toText(printf("Alert: %s"))(a.Message);
|
|
37
45
|
}
|
|
38
|
-
case /* Problem */
|
|
46
|
+
case /* Problem */ 10: {
|
|
39
47
|
const p_1: ClinicalPathway_ProblemAction = action.fields[0];
|
|
40
48
|
return toText(printf("Problem: %s"))(p_1.ProblemName);
|
|
41
49
|
}
|
|
42
|
-
case /* Prescription */
|
|
50
|
+
case /* Prescription */ 11: {
|
|
43
51
|
const p_2: ClinicalPathway_PrescriptionAction = action.fields[0];
|
|
44
52
|
return toText(printf("Prescription: %s"))(p_2.Medication);
|
|
45
53
|
}
|
|
46
|
-
case /* NavigateToForm */
|
|
54
|
+
case /* NavigateToForm */ 13: {
|
|
47
55
|
const n: ClinicalPathway_NavigateToFormAction = action.fields[0];
|
|
48
56
|
return toText(printf("Navigate to: %s"))(n.FormId);
|
|
49
57
|
}
|
|
50
|
-
case /* SetFieldValue */
|
|
58
|
+
case /* SetFieldValue */ 12: {
|
|
51
59
|
const s: ClinicalPathway_SetFieldValueAction = action.fields[0];
|
|
52
60
|
const fieldGuid: string = s.TargetField.fields[0];
|
|
53
61
|
const shortGuid: string = (fieldGuid.length > 8) ? (substring(fieldGuid, 0, 8) + "...") : fieldGuid;
|
|
@@ -80,43 +88,52 @@ export function extractActionText(action: ClinicalPathway_ActionInfo_$union): st
|
|
|
80
88
|
|
|
81
89
|
export function extractActionDetails(action: ClinicalPathway_ActionInfo_$union): string {
|
|
82
90
|
switch (action.tag) {
|
|
83
|
-
case /*
|
|
91
|
+
case /* Treatment */ 1: {
|
|
92
|
+
const t: ClinicalPathway_TreatmentAction = action.fields[0];
|
|
93
|
+
const arg_5: string = defaultArg(t.Signature, "");
|
|
94
|
+
return toText(printf("Treatment: %s (%s)"))(t.Name)(arg_5);
|
|
95
|
+
}
|
|
96
|
+
case /* Medset */ 2: {
|
|
97
|
+
const m_1: ClinicalPathway_MedsetAction = action.fields[0];
|
|
98
|
+
return toText(printf("Medset: %s"))(m_1.Name);
|
|
99
|
+
}
|
|
100
|
+
case /* Procedure */ 6:
|
|
84
101
|
return action.fields[0].Name;
|
|
85
|
-
case /* Education */
|
|
102
|
+
case /* Education */ 5:
|
|
86
103
|
return join("; ", action.fields[0].Topics);
|
|
87
|
-
case /* Test */
|
|
88
|
-
const
|
|
89
|
-
return toText(printf("Test: %s"))(
|
|
104
|
+
case /* Test */ 3: {
|
|
105
|
+
const t_1: ClinicalPathway_TestAction = action.fields[0];
|
|
106
|
+
return toText(printf("Test: %s"))(t_1.TestName);
|
|
90
107
|
}
|
|
91
|
-
case /* Referral */
|
|
108
|
+
case /* Referral */ 4: {
|
|
92
109
|
const r: ClinicalPathway_ReferralAction = action.fields[0];
|
|
93
110
|
return toText(printf("Refer to %s (%s)"))(r.Target)(r.Reason);
|
|
94
111
|
}
|
|
95
|
-
case /* Documentation */
|
|
112
|
+
case /* Documentation */ 7: {
|
|
96
113
|
const d: ClinicalPathway_DocumentationAction = action.fields[0];
|
|
97
114
|
return toText(printf("Document: %s"))(d.FormName);
|
|
98
115
|
}
|
|
99
|
-
case /* Task */
|
|
100
|
-
const
|
|
101
|
-
return toText(printf("Task: %s"))(
|
|
116
|
+
case /* Task */ 8: {
|
|
117
|
+
const t_2: ClinicalPathway_TaskAction = action.fields[0];
|
|
118
|
+
return toText(printf("Task: %s"))(t_2.Description);
|
|
102
119
|
}
|
|
103
|
-
case /* Alert */
|
|
120
|
+
case /* Alert */ 9: {
|
|
104
121
|
const a: ClinicalPathway_AlertAction = action.fields[0];
|
|
105
122
|
return toText(printf("Alert: %s"))(a.Message);
|
|
106
123
|
}
|
|
107
|
-
case /* Problem */
|
|
124
|
+
case /* Problem */ 10: {
|
|
108
125
|
const p_1: ClinicalPathway_ProblemAction = action.fields[0];
|
|
109
126
|
return toText(printf("Problem: %s"))(p_1.ProblemName);
|
|
110
127
|
}
|
|
111
|
-
case /* Prescription */
|
|
128
|
+
case /* Prescription */ 11: {
|
|
112
129
|
const p_2: ClinicalPathway_PrescriptionAction = action.fields[0];
|
|
113
130
|
return toText(printf("Prescription: %s"))(p_2.Medication);
|
|
114
131
|
}
|
|
115
|
-
case /* NavigateToForm */
|
|
132
|
+
case /* NavigateToForm */ 13: {
|
|
116
133
|
const n: ClinicalPathway_NavigateToFormAction = action.fields[0];
|
|
117
134
|
return toText(printf("Navigate to: %s"))(n.FormId);
|
|
118
135
|
}
|
|
119
|
-
case /* SetFieldValue */
|
|
136
|
+
case /* SetFieldValue */ 12: {
|
|
120
137
|
const s: ClinicalPathway_SetFieldValueAction = action.fields[0];
|
|
121
138
|
const guid: string = s.TargetField.fields[0];
|
|
122
139
|
let valueText: string;
|
|
@@ -146,27 +163,31 @@ export function extractActionDetails(action: ClinicalPathway_ActionInfo_$union):
|
|
|
146
163
|
|
|
147
164
|
export function extractActionType(action: ClinicalPathway_ActionInfo_$union): string {
|
|
148
165
|
switch (action.tag) {
|
|
149
|
-
case /*
|
|
166
|
+
case /* Treatment */ 1:
|
|
167
|
+
return "Treatment";
|
|
168
|
+
case /* Medset */ 2:
|
|
169
|
+
return "Medset";
|
|
170
|
+
case /* Procedure */ 6:
|
|
150
171
|
return "Procedure";
|
|
151
|
-
case /* Education */
|
|
172
|
+
case /* Education */ 5:
|
|
152
173
|
return "Education";
|
|
153
|
-
case /* Test */
|
|
174
|
+
case /* Test */ 3:
|
|
154
175
|
return "Test";
|
|
155
|
-
case /* Referral */
|
|
176
|
+
case /* Referral */ 4:
|
|
156
177
|
return "Referral";
|
|
157
|
-
case /* Documentation */
|
|
178
|
+
case /* Documentation */ 7:
|
|
158
179
|
return "Documentation";
|
|
159
|
-
case /* Task */
|
|
180
|
+
case /* Task */ 8:
|
|
160
181
|
return "Task";
|
|
161
|
-
case /* Alert */
|
|
182
|
+
case /* Alert */ 9:
|
|
162
183
|
return "Alert";
|
|
163
|
-
case /* Problem */
|
|
184
|
+
case /* Problem */ 10:
|
|
164
185
|
return "Problem";
|
|
165
|
-
case /* Prescription */
|
|
186
|
+
case /* Prescription */ 11:
|
|
166
187
|
return "Prescription";
|
|
167
|
-
case /* SetFieldValue */
|
|
188
|
+
case /* SetFieldValue */ 12:
|
|
168
189
|
return "SetFieldValue";
|
|
169
|
-
case /* NavigateToForm */
|
|
190
|
+
case /* NavigateToForm */ 13:
|
|
170
191
|
return "NavigateToForm";
|
|
171
192
|
default:
|
|
172
193
|
return "Medication";
|
|
@@ -175,7 +196,7 @@ export function extractActionType(action: ClinicalPathway_ActionInfo_$union): st
|
|
|
175
196
|
|
|
176
197
|
export function extractEvaluationDetails(evaluation: ClinicalPathway_EvaluationInfo): [string, FSharpList<string>] {
|
|
177
198
|
let matchValue: Option<FSharpList<string>>;
|
|
178
|
-
return [evaluation.EvaluationName, (matchValue = evaluation.EvaluationNotes, (matchValue == null) ? empty<string>() :
|
|
199
|
+
return [evaluation.EvaluationName, (matchValue = evaluation.EvaluationNotes, (matchValue == null) ? empty<string>() : value_1(matchValue))] as [string, FSharpList<string>];
|
|
179
200
|
}
|
|
180
201
|
|
|
181
202
|
export function extractEvaluationName(evaluation: ClinicalPathway_EvaluationInfo): string {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FSharpRef, Record, Union } from "@fable-org/fable-library-js/Types.js";
|
|
2
|
-
import { fold, findIndex, tryPick, sortByDescending, truncate, length, sortBy, tryHead, filter as filter_1, ofArray as ofArray_1, append, empty, head, tail, concat, singleton, forAll,
|
|
2
|
+
import { fold, findIndex, tryPick, sortByDescending, truncate, length, sortBy, tryHead, filter as filter_1, ofArray as ofArray_1, append, empty, head, tail, concat, exists, singleton, forAll, collect, map as map_1, sumBy, sum, isEmpty, choose, tryFind, FSharpList } from "@fable-org/fable-library-js/List.js";
|
|
3
3
|
import { tuple_type, bool_type, float64_type, lambda_type, class_type, record_type, int32_type, union_type, list_type, string_type, TypeInfo } from "@fable-org/fable-library-js/Reflection.js";
|
|
4
4
|
import { ClinicalPathway_PathwayExecutionMode_$reflection, ClinicalPathway_SetFieldValueAction, ClinicalPathway_FieldValueSource_$union, ClinicalPathway_PathwayExecutionMode_$union, ClinicalPathway_SelectionStrategy_$union, ClinicalPathway_CombinationStrategy_$union, ClinicalPathway_StateType_$union, ClinicalPathway_StateDefinition, Shared_PluginPropertyKey, Shared_FieldOptionKey, ClinicalPathway_TransitionCondition_$union, ClinicalPathway_LogicalOp_$union, ClinicalPathway_StateEvaluator_$union, Shared_FieldValue_Single, Shared_ConditionValue_$union, Shared_MatrixAnswer, ClinicalPathway_FieldEvaluator_$union, Shared_PluginDataProperty, Shared_PluginDataProperty_$reflection, Spec_Score, Spec_ScoreRange, Spec_FormStep$1, Spec_FormField$1, Shared_FieldValue_$union, Shared_MatrixItemKey, Shared_FieldAnswer, Shared_FieldOption, Spec_FieldType, Shared_TransitionKey_$reflection, Shared_TransitionKey, Shared_FieldKey_$reflection, ClinicalPathway_ActionInfo_$reflection, Spec_FormSpec$1_$reflection, Spec_FieldType_$reflection, ClinicalPathway_ClinicalPathwaySpec_$reflection, Shared_FieldKey, ClinicalPathway_ActionInfo_$union, Spec_FieldType_$union, Spec_FormSpec$1, ClinicalPathway_ClinicalPathwaySpec, Shared_StateKey_$reflection, Shared_StateKey, ClinicalPathway_TransitionDefinition_$reflection, ClinicalPathway_TransitionDefinition } from "./FormSpec.js";
|
|
5
5
|
import { tryParse as tryParse_1, float64, int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
6
6
|
import { int32ToString, equals, compare, comparePrimitives, IComparable, IEquatable } from "@fable-org/fable-library-js/Util.js";
|
|
7
|
-
import { difference, union, empty as empty_1, FSharpSet__get_IsEmpty, FSharpSet__get_Count, contains, ofList as ofList_1,
|
|
7
|
+
import { difference, union, empty as empty_1, FSharpSet__get_IsEmpty, FSharpSet__get_Count, contains, isSubset, ofArray, FSharpSet__Contains, ofList as ofList_1, map as map_2, toList, FSharpSet } from "@fable-org/fable-library-js/Set.js";
|
|
8
8
|
import { toArray, orElse, filter, map, defaultArg, value as value_4, bind, Option } from "@fable-org/fable-library-js/Option.js";
|
|
9
9
|
import { tryFind as tryFind_1, FSharpMap, ofList, toList as toList_1 } from "@fable-org/fable-library-js/Map.js";
|
|
10
10
|
import { updateField, getFieldDetails, FieldDetails$1, fieldToDetails } from "./FormSpecValues.js";
|
|
@@ -511,18 +511,30 @@ export function evaluateFieldCondition(actualValue: string, evaluator: ClinicalP
|
|
|
511
511
|
return false;
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
case /* InSet */ 2:
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
514
|
+
case /* InSet */ 2: {
|
|
515
|
+
const values: FSharpList<string> = evaluator.fields[0];
|
|
516
|
+
const actualParts: string[] = map_3<string, string>((s: string): string => s.trim().toLocaleLowerCase(), actualValue.split(","));
|
|
517
|
+
const expectedSet: FSharpSet<string> = ofList_1<string>(map_1<string, string>((v_9: string): string => v_9.trim().toLocaleLowerCase(), values), {
|
|
518
|
+
Compare: comparePrimitives,
|
|
519
|
+
});
|
|
520
|
+
return actualParts.some((part: string): boolean => FSharpSet__Contains(expectedSet, part));
|
|
521
|
+
}
|
|
522
|
+
case /* NotInSet */ 3: {
|
|
523
|
+
const values_1: FSharpList<string> = evaluator.fields[0];
|
|
524
|
+
const actualParts_1: string[] = map_3<string, string>((s_1: string): string => s_1.trim().toLocaleLowerCase(), actualValue.split(","));
|
|
525
|
+
const expectedSet_1: FSharpSet<string> = ofList_1<string>(map_1<string, string>((v_10: string): string => v_10.trim().toLocaleLowerCase(), values_1), {
|
|
526
|
+
Compare: comparePrimitives,
|
|
527
|
+
});
|
|
528
|
+
return !actualParts_1.some((part_1: string): boolean => FSharpSet__Contains(expectedSet_1, part_1));
|
|
529
|
+
}
|
|
518
530
|
case /* ContainsAll */ 4: {
|
|
519
531
|
const values_2: FSharpList<string> = evaluator.fields[0];
|
|
520
|
-
const
|
|
532
|
+
const actualParts_2: FSharpSet<string> = ofArray<string>(map_3<string, string>((s_2: string): string => s_2.trim().toLocaleLowerCase(), actualValue.split(",")), {
|
|
521
533
|
Compare: comparePrimitives,
|
|
522
534
|
});
|
|
523
|
-
return isSubset<string>(ofList_1<string>(map_1<string, string>((
|
|
535
|
+
return isSubset<string>(ofList_1<string>(map_1<string, string>((s_3: string): string => s_3.trim().toLocaleLowerCase(), values_2), {
|
|
524
536
|
Compare: comparePrimitives,
|
|
525
|
-
}),
|
|
537
|
+
}), actualParts_2);
|
|
526
538
|
}
|
|
527
539
|
default:
|
|
528
540
|
return actualValue.trim().toLocaleLowerCase() === expectedValue.trim().toLocaleLowerCase();
|
|
@@ -1192,7 +1204,7 @@ export function executeSetFieldValueAction(action: ClinicalPathway_SetFieldValue
|
|
|
1192
1204
|
* Execute an action and return updated form spec
|
|
1193
1205
|
*/
|
|
1194
1206
|
export function executeAction(action: ClinicalPathway_ActionInfo_$union, formSpec: Spec_FormSpec$1<Spec_FieldType_$union>): Spec_FormSpec$1<Spec_FieldType_$union> {
|
|
1195
|
-
if (action.tag === /* SetFieldValue */
|
|
1207
|
+
if (action.tag === /* SetFieldValue */ 12) {
|
|
1196
1208
|
return executeSetFieldValueAction(action.fields[0], formSpec);
|
|
1197
1209
|
}
|
|
1198
1210
|
else {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Record } from "@fable-org/fable-library-js/Types.js";
|
|
2
2
|
import { int32 } from "@fable-org/fable-library-js/Int32.js";
|
|
3
|
-
import { map, value, Option } from "@fable-org/fable-library-js/Option.js";
|
|
3
|
+
import { orElse, defaultArg, map, value as value_2, Option } from "@fable-org/fable-library-js/Option.js";
|
|
4
4
|
import { IComparable, IEquatable } from "@fable-org/fable-library-js/Util.js";
|
|
5
5
|
import { record_type, bool_type, option_type, int32_type, string_type, TypeInfo } from "@fable-org/fable-library-js/Reflection.js";
|
|
6
|
-
import { ClinicalPathway_ActionInfo_$union, ClinicalPathway_ProblemAction, ClinicalPathway_AlertAction, ClinicalPathway_RecurrencePattern, ClinicalPathway_RecurrenceEnd_$union, ClinicalPathway_TaskAction, ClinicalPathway_DueDate_$union, ClinicalPathway_TaskPriority_$union } from "./FormSpec.js";
|
|
6
|
+
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";
|
|
7
7
|
import { fromDateTimeOffset, today, addDays, toString } from "@fable-org/fable-library-js/Date.js";
|
|
8
8
|
import { FSharpList, choose } from "@fable-org/fable-library-js/List.js";
|
|
9
9
|
|
|
@@ -20,7 +20,18 @@ export class TriggerActionDto extends Record implements IEquatable<TriggerAction
|
|
|
20
20
|
readonly ScheduleEnd: Option<string>;
|
|
21
21
|
readonly ProblemListId: Option<int32>;
|
|
22
22
|
readonly FormItemId: Option<int32>;
|
|
23
|
-
|
|
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>) {
|
|
24
35
|
super();
|
|
25
36
|
this.ActionType = ActionType;
|
|
26
37
|
this.TriggerId = (TriggerId | 0);
|
|
@@ -34,11 +45,22 @@ export class TriggerActionDto extends Record implements IEquatable<TriggerAction
|
|
|
34
45
|
this.ScheduleEnd = ScheduleEnd;
|
|
35
46
|
this.ProblemListId = ProblemListId;
|
|
36
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;
|
|
37
59
|
}
|
|
38
60
|
}
|
|
39
61
|
|
|
40
62
|
export function TriggerActionDto_$reflection(): TypeInfo {
|
|
41
|
-
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)]]);
|
|
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)]]);
|
|
42
64
|
}
|
|
43
65
|
|
|
44
66
|
/**
|
|
@@ -56,20 +78,22 @@ export function convertPriority(priority: ClinicalPathway_TaskPriority_$union):
|
|
|
56
78
|
}
|
|
57
79
|
|
|
58
80
|
/**
|
|
59
|
-
* Convert ClinicalPathway.DueDate DU →
|
|
81
|
+
* Convert ClinicalPathway.DueDate DU → date-only string (yyyy-MM-dd).
|
|
82
|
+
* Date-only format avoids timezone offset issues — the conduit computes
|
|
83
|
+
* date_end as end-of-day from the date portion.
|
|
60
84
|
*/
|
|
61
85
|
export function convertDueDate(dueDate: ClinicalPathway_DueDate_$union): string {
|
|
62
86
|
switch (dueDate.tag) {
|
|
63
87
|
case /* Tomorrow */ 1:
|
|
64
|
-
return toString(addDays(today(), 1), "
|
|
88
|
+
return toString(addDays(today(), 1), "yyyy-MM-dd");
|
|
65
89
|
case /* DaysFromNow */ 2: {
|
|
66
90
|
const days: int32 = dueDate.fields[0] | 0;
|
|
67
|
-
return toString(addDays(today(), days), "
|
|
91
|
+
return toString(addDays(today(), days), "yyyy-MM-dd");
|
|
68
92
|
}
|
|
69
93
|
case /* SpecificDate */ 3:
|
|
70
|
-
return toString(fromDateTimeOffset(dueDate.fields[0], 0), "
|
|
94
|
+
return toString(fromDateTimeOffset(dueDate.fields[0], 0), "yyyy-MM-dd");
|
|
71
95
|
default:
|
|
72
|
-
return toString(today(), "
|
|
96
|
+
return toString(today(), "yyyy-MM-dd");
|
|
73
97
|
}
|
|
74
98
|
}
|
|
75
99
|
|
|
@@ -77,31 +101,34 @@ function requireCategoryId(actionType: string, categoryName: string, categoryIdO
|
|
|
77
101
|
if (categoryIdOpt == null) {
|
|
78
102
|
throw new Error(`TriggerActionDto.convert: missing categoryId for actionType='${actionType}' category='${categoryName}'. CoreMR submit requires provenance category IDs.`);
|
|
79
103
|
}
|
|
80
|
-
else if (
|
|
81
|
-
const id_1: int32 =
|
|
104
|
+
else if (value_2(categoryIdOpt) > 0) {
|
|
105
|
+
const id_1: int32 = value_2(categoryIdOpt) | 0;
|
|
82
106
|
return id_1 | 0;
|
|
83
107
|
}
|
|
84
108
|
else {
|
|
85
|
-
const id_2: int32 =
|
|
109
|
+
const id_2: int32 = value_2(categoryIdOpt) | 0;
|
|
86
110
|
throw new Error(`TriggerActionDto.convert: invalid categoryId=${id_2} for actionType='${actionType}' category='${categoryName}'. categoryId must be > 0.`);
|
|
87
111
|
}
|
|
88
112
|
}
|
|
89
113
|
|
|
90
114
|
/**
|
|
91
|
-
*
|
|
92
|
-
*
|
|
115
|
+
* BASE conversion: ClinicalPathway ActionInfo → TriggerActionDto.
|
|
116
|
+
* Provider-agnostic — converts only Task, Alert, Problem (generic clinical actions).
|
|
93
117
|
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* SetFieldValue, NavigateToForm (these are either Phase 2 or F1-internal).
|
|
118
|
+
* DOES NOT produce treatment or medset DTOs (those map to Medication in the pathway,
|
|
119
|
+
* which this function skips). DOES NOT enrich with trigger IDs from provenance.
|
|
97
120
|
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
121
|
+
* For CoreMR publishing, use CoreMRTriggerEnrichment.convertActionsForCoreMR instead —
|
|
122
|
+
* it calls this function internally, then adds treatment/medset DTOs and enriches
|
|
123
|
+
* with trigger IDs from provenance.
|
|
124
|
+
*
|
|
125
|
+
* Direct callers: unit tests (testing base conversion logic in isolation).
|
|
126
|
+
* Production callers: NONE (production always goes through convertActionsForCoreMR).
|
|
100
127
|
*/
|
|
101
|
-
export function
|
|
128
|
+
export function convertActionsToBaseDtos(actions: FSharpList<ClinicalPathway_ActionInfo_$union>): FSharpList<TriggerActionDto> {
|
|
102
129
|
return choose<ClinicalPathway_ActionInfo_$union, TriggerActionDto>((action: ClinicalPathway_ActionInfo_$union): Option<TriggerActionDto> => {
|
|
103
130
|
switch (action.tag) {
|
|
104
|
-
case /* Task */
|
|
131
|
+
case /* Task */ 8: {
|
|
105
132
|
const taskAction: ClinicalPathway_TaskAction = action.fields[0];
|
|
106
133
|
const actionType: string = (taskAction.Recurrence != null) ? "recurring_task" : "task";
|
|
107
134
|
return new TriggerActionDto(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 => {
|
|
@@ -109,22 +136,30 @@ export function convert(actions: FSharpList<ClinicalPathway_ActionInfo_$union>):
|
|
|
109
136
|
switch (matchValue.tag) {
|
|
110
137
|
case /* AfterOccurrences */ 1: {
|
|
111
138
|
const n: int32 = matchValue.fields[0] | 0;
|
|
112
|
-
return toString(addDays(today(), n), "
|
|
139
|
+
return toString(addDays(today(), n), "yyyy-MM-dd");
|
|
113
140
|
}
|
|
114
141
|
case /* Never */ 2:
|
|
115
|
-
return toString(addDays(today(), 7), "
|
|
142
|
+
return toString(addDays(today(), 7), "yyyy-MM-dd");
|
|
116
143
|
default:
|
|
117
|
-
return toString(fromDateTimeOffset(matchValue.fields[0], 0), "
|
|
144
|
+
return toString(fromDateTimeOffset(matchValue.fields[0], 0), "yyyy-MM-dd");
|
|
118
145
|
}
|
|
119
|
-
}, taskAction.Recurrence), undefined, undefined);
|
|
146
|
+
}, taskAction.Recurrence), undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined);
|
|
120
147
|
}
|
|
121
|
-
case /* Alert */
|
|
148
|
+
case /* Alert */ 9: {
|
|
122
149
|
const alertAction: ClinicalPathway_AlertAction = action.fields[0];
|
|
123
|
-
return new TriggerActionDto("alert", 0, 0, requireCategoryId("alert", alertAction.Category, alertAction.CategoryId), alertAction.Category, undefined, undefined, undefined, undefined, undefined, undefined, undefined);
|
|
150
|
+
return new TriggerActionDto("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);
|
|
124
151
|
}
|
|
125
|
-
case /* Problem */
|
|
152
|
+
case /* Problem */ 10: {
|
|
126
153
|
const problemAction: ClinicalPathway_ProblemAction = action.fields[0];
|
|
127
|
-
return new TriggerActionDto("problem", 0, 0, requireCategoryId("problem", problemAction.ProblemName, problemAction.CategoryId), problemAction.ProblemName, undefined, undefined, undefined, undefined, undefined, undefined, undefined);
|
|
154
|
+
return new TriggerActionDto("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
|
+
}
|
|
156
|
+
case /* Treatment */ 1: {
|
|
157
|
+
const t: ClinicalPathway_TreatmentAction = action.fields[0];
|
|
158
|
+
return new TriggerActionDto("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
|
+
}
|
|
160
|
+
case /* Medset */ 2: {
|
|
161
|
+
const m: ClinicalPathway_MedsetAction = action.fields[0];
|
|
162
|
+
return new TriggerActionDto("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);
|
|
128
163
|
}
|
|
129
164
|
default:
|
|
130
165
|
return undefined;
|