@f1studio/form-spec 5.0.0-alpha.157 → 5.0.0-alpha.160
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.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js +2 -2
- 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 +354 -36
- 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/CorEMRFieldTypeMapper.ts +3 -3
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.ts +4 -4
- package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts +334 -67
- 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/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
|
@@ -12,6 +12,9 @@ _export(exports, {
|
|
|
12
12
|
get Form_PropertyKeys_DiastolicBP () {
|
|
13
13
|
return Form_PropertyKeys_DiastolicBP;
|
|
14
14
|
},
|
|
15
|
+
get Form_PropertyKeys_Height () {
|
|
16
|
+
return Form_PropertyKeys_Height;
|
|
17
|
+
},
|
|
15
18
|
get Form_PropertyKeys_OxygenSaturation () {
|
|
16
19
|
return Form_PropertyKeys_OxygenSaturation;
|
|
17
20
|
},
|
|
@@ -30,6 +33,9 @@ _export(exports, {
|
|
|
30
33
|
get Form_PropertyKeys_Temperature () {
|
|
31
34
|
return Form_PropertyKeys_Temperature;
|
|
32
35
|
},
|
|
36
|
+
get Form_PropertyKeys_Weight () {
|
|
37
|
+
return Form_PropertyKeys_Weight;
|
|
38
|
+
},
|
|
33
39
|
get Form_designerPreview () {
|
|
34
40
|
return Form_designerPreview;
|
|
35
41
|
},
|
|
@@ -119,7 +125,7 @@ function VitalsField_form() {
|
|
|
119
125
|
return (build)=>(config)=>(0, _Basefs.field)(_String.isNullOrEmpty, build, config);
|
|
120
126
|
}
|
|
121
127
|
function VitalsField_VitalsFieldComponent(config) {
|
|
122
|
-
let
|
|
128
|
+
let elems_16;
|
|
123
129
|
const vitalsData = (0, _VitalsLogic.parseVitalsData)(config.Value);
|
|
124
130
|
const vitalsConfig = config.Attributes.Config;
|
|
125
131
|
let patternInput;
|
|
@@ -150,6 +156,64 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
150
156
|
const initial_6 = (0, _Option.defaultArg)((0, _Option.map)((value_12)=>value_12.toString(), vitalsData.PainScale), "");
|
|
151
157
|
patternInput_6 = _Interopfs.reactApi.useState(initial_6);
|
|
152
158
|
const painScale = patternInput_6[0];
|
|
159
|
+
let patternInput_7;
|
|
160
|
+
const initial_7 = (0, _Option.defaultArg)((0, _Option.map)((value_14)=>value_14.toString(), vitalsData.Weight), "");
|
|
161
|
+
patternInput_7 = _Interopfs.reactApi.useState(initial_7);
|
|
162
|
+
const weight = patternInput_7[0];
|
|
163
|
+
let patternInput_8;
|
|
164
|
+
const initial_8 = (0, _Option.defaultArg)((0, _Option.map)((value_16)=>value_16.toString(), vitalsData.Height), "");
|
|
165
|
+
patternInput_8 = _Interopfs.reactApi.useState(initial_8);
|
|
166
|
+
const height = patternInput_8[0];
|
|
167
|
+
const patternInput_9 = _Interopfs.reactApi.useState(vitalsData.UnitSystem);
|
|
168
|
+
const unitSystem = patternInput_9[0];
|
|
169
|
+
const setUnitSystem = patternInput_9[1];
|
|
170
|
+
let computedBMI;
|
|
171
|
+
const parseOpt = (s)=>{
|
|
172
|
+
if ((0, _String.isNullOrWhiteSpace)(s)) {
|
|
173
|
+
return undefined;
|
|
174
|
+
} else {
|
|
175
|
+
let matchValue;
|
|
176
|
+
let outArg = 0;
|
|
177
|
+
matchValue = [
|
|
178
|
+
(0, _Double.tryParse)(s, new _Types.FSharpRef(()=>outArg, (v)=>{
|
|
179
|
+
outArg = v;
|
|
180
|
+
})),
|
|
181
|
+
outArg
|
|
182
|
+
];
|
|
183
|
+
if (matchValue[0]) {
|
|
184
|
+
return matchValue[1];
|
|
185
|
+
} else {
|
|
186
|
+
return undefined;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
const matchValue_1 = parseOpt(weight);
|
|
191
|
+
const matchValue_2 = parseOpt(height);
|
|
192
|
+
let matchResult, h_1, w_1;
|
|
193
|
+
if (matchValue_1 != null) {
|
|
194
|
+
if (matchValue_2 != null) {
|
|
195
|
+
if ((0, _Option.value)(matchValue_1) > 0 && (0, _Option.value)(matchValue_2) > 0) {
|
|
196
|
+
matchResult = 0;
|
|
197
|
+
h_1 = (0, _Option.value)(matchValue_2);
|
|
198
|
+
w_1 = (0, _Option.value)(matchValue_1);
|
|
199
|
+
} else {
|
|
200
|
+
matchResult = 1;
|
|
201
|
+
}
|
|
202
|
+
} else {
|
|
203
|
+
matchResult = 1;
|
|
204
|
+
}
|
|
205
|
+
} else {
|
|
206
|
+
matchResult = 1;
|
|
207
|
+
}
|
|
208
|
+
switch(matchResult){
|
|
209
|
+
case 0:
|
|
210
|
+
{
|
|
211
|
+
computedBMI = (0, _VitalsLogic.computeBMI)((0, _VitalsLogic.convertWeightToImperial)(unitSystem, w_1) * 1, (0, _VitalsLogic.convertHeightToImperial)(unitSystem, h_1) * 1);
|
|
212
|
+
break;
|
|
213
|
+
}
|
|
214
|
+
default:
|
|
215
|
+
computedBMI = undefined;
|
|
216
|
+
}
|
|
153
217
|
const dependencies = [
|
|
154
218
|
temperature,
|
|
155
219
|
systolicBP,
|
|
@@ -157,32 +221,35 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
157
221
|
pulse,
|
|
158
222
|
respiration,
|
|
159
223
|
oxygenSat,
|
|
160
|
-
painScale
|
|
224
|
+
painScale,
|
|
225
|
+
weight,
|
|
226
|
+
height,
|
|
227
|
+
unitSystem
|
|
161
228
|
];
|
|
162
229
|
_Interopfs.reactApi.useEffect(()=>{
|
|
163
|
-
const
|
|
164
|
-
if ((0, _String.isNullOrWhiteSpace)(
|
|
230
|
+
const parseOpt_1 = (s_1)=>{
|
|
231
|
+
if ((0, _String.isNullOrWhiteSpace)(s_1)) {
|
|
165
232
|
return undefined;
|
|
166
233
|
} else {
|
|
167
|
-
let
|
|
168
|
-
let
|
|
169
|
-
|
|
170
|
-
(0, _Double.tryParse)(
|
|
171
|
-
|
|
234
|
+
let matchValue_4;
|
|
235
|
+
let outArg_1 = 0;
|
|
236
|
+
matchValue_4 = [
|
|
237
|
+
(0, _Double.tryParse)(s_1, new _Types.FSharpRef(()=>outArg_1, (v_2)=>{
|
|
238
|
+
outArg_1 = v_2;
|
|
172
239
|
})),
|
|
173
|
-
|
|
240
|
+
outArg_1
|
|
174
241
|
];
|
|
175
|
-
if (
|
|
176
|
-
return
|
|
242
|
+
if (matchValue_4[0]) {
|
|
243
|
+
return matchValue_4[1];
|
|
177
244
|
} else {
|
|
178
245
|
return undefined;
|
|
179
246
|
}
|
|
180
247
|
}
|
|
181
248
|
};
|
|
182
|
-
config.OnChange((0, _VitalsLogic.serializeVitalsData)(new _VitalsLogic.VitalsData(
|
|
249
|
+
config.OnChange((0, _VitalsLogic.serializeVitalsData)(new _VitalsLogic.VitalsData(parseOpt_1(temperature), parseOpt_1(systolicBP), parseOpt_1(diastolicBP), parseOpt_1(pulse), parseOpt_1(respiration), parseOpt_1(oxygenSat), parseOpt_1(painScale), parseOpt_1(weight), parseOpt_1(height), unitSystem)));
|
|
183
250
|
}, dependencies);
|
|
184
251
|
const statusBadge = (clinicalStatus)=>{
|
|
185
|
-
const
|
|
252
|
+
const patternInput_10 = clinicalStatus === "invalid" ? [
|
|
186
253
|
"bg-red-100 text-red-800 border border-red-300",
|
|
187
254
|
"Invalid"
|
|
188
255
|
] : clinicalStatus === "critical" ? [
|
|
@@ -199,16 +266,16 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
199
266
|
"Pending"
|
|
200
267
|
];
|
|
201
268
|
return (0, _react.createElement)("span", {
|
|
202
|
-
className: `inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium ${
|
|
203
|
-
children:
|
|
269
|
+
className: `inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium ${patternInput_10[0]}`,
|
|
270
|
+
children: patternInput_10[1]
|
|
204
271
|
});
|
|
205
272
|
};
|
|
206
|
-
const createVitalInput = (label_1, propertyName,
|
|
207
|
-
let
|
|
208
|
-
const validation = (0, _VitalsLogic.validateVitalsProperty)(propertyName,
|
|
273
|
+
const createVitalInput = (label_1, propertyName, value_22, setValue, unitText, placeholder)=>{
|
|
274
|
+
let matchValue_5, elems_1;
|
|
275
|
+
const validation = (0, _VitalsLogic.validateVitalsProperty)(propertyName, value_22);
|
|
209
276
|
let inputClass;
|
|
210
277
|
const baseClass = "mt-1 block w-full rounded-md border bg-white px-2.5 py-1.5 text-sm text-slate-900 shadow-sm transition placeholder:text-slate-400 focus:outline-none focus:ring-2 disabled:cursor-not-allowed disabled:bg-slate-100 disabled:text-slate-500";
|
|
211
|
-
inputClass = config.ShowError && config.Error != null ? `${baseClass} border-red-400 focus:border-red-500 focus:ring-red-500/30` : `${baseClass} ${
|
|
278
|
+
inputClass = config.ShowError && config.Error != null ? `${baseClass} border-red-400 focus:border-red-500 focus:ring-red-500/30` : `${baseClass} ${matchValue_5 = validation.ClinicalStatus, matchValue_5 === "invalid" ? "border-red-400 focus:border-red-500 focus:ring-red-500/30" : matchValue_5 === "critical" ? "border-red-300 focus:border-red-500 focus:ring-red-500/30" : matchValue_5 === "abnormal" ? "border-amber-300 focus:border-amber-500 focus:ring-amber-500/30" : "border-slate-300 focus:border-sky-500 focus:ring-sky-500/30"}`;
|
|
212
279
|
return (0, _react.createElement)("div", (0, _Util.createObj)((0, _List.ofArray)([
|
|
213
280
|
[
|
|
214
281
|
"className",
|
|
@@ -234,7 +301,7 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
234
301
|
])))), (0, _Seq.delay)(()=>(0, _Seq.append)((0, _Seq.singleton)((0, _react.createElement)("input", {
|
|
235
302
|
type: "number",
|
|
236
303
|
className: inputClass,
|
|
237
|
-
value:
|
|
304
|
+
value: value_22,
|
|
238
305
|
placeholder: placeholder,
|
|
239
306
|
disabled: config.Disabled ? true : config.IsReadOnly,
|
|
240
307
|
onChange: (ev)=>{
|
|
@@ -261,15 +328,15 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
261
328
|
"className",
|
|
262
329
|
"space-y-2.5"
|
|
263
330
|
],
|
|
264
|
-
(
|
|
265
|
-
let
|
|
331
|
+
(elems_16 = (0, _Seq.toList)((0, _Seq.delay)(()=>{
|
|
332
|
+
let elems_12;
|
|
266
333
|
return (0, _Seq.append)((0, _Seq.singleton)((0, _react.createElement)("div", (0, _Util.createObj)((0, _List.ofArray)([
|
|
267
334
|
[
|
|
268
335
|
"className",
|
|
269
336
|
"grid grid-cols-1 auto-rows-min content-start items-start gap-2 md:grid-cols-2 lg:grid-cols-3"
|
|
270
337
|
],
|
|
271
|
-
(
|
|
272
|
-
let systolicValidation, diastolicValidation, elems_7, elems_3, elems_2, elems_6, elems_4,
|
|
338
|
+
(elems_12 = (0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeTemperature ? (0, _Seq.singleton)(createVitalInput("Temperature", "temperature", temperature, patternInput[1], "Normal: 97-99°F", "98.6")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>{
|
|
339
|
+
let systolicValidation, diastolicValidation, elems_7, elems_3, elems_2, elems_6, elems_4, value_74, elems_5, value_93;
|
|
273
340
|
return (0, _Seq.append)(vitalsConfig.IncludeBP ? (systolicValidation = (0, _VitalsLogic.validateVitalsProperty)("systolic_bp", systolicBP), diastolicValidation = (0, _VitalsLogic.validateVitalsProperty)("diastolic_bp", diastolicBP), (0, _Seq.singleton)((0, _react.createElement)("div", (0, _Util.createObj)((0, _List.ofArray)([
|
|
274
341
|
[
|
|
275
342
|
"className",
|
|
@@ -320,9 +387,9 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
320
387
|
"type",
|
|
321
388
|
"number"
|
|
322
389
|
],
|
|
323
|
-
(
|
|
390
|
+
(value_74 = "mt-1 block w-full rounded-md border border-slate-300 bg-white px-2.5 py-1.5 text-sm shadow-sm placeholder:text-slate-400 focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-500/30 disabled:cursor-not-allowed disabled:bg-slate-100 disabled:text-slate-500", [
|
|
324
391
|
"className",
|
|
325
|
-
|
|
392
|
+
value_74
|
|
326
393
|
]),
|
|
327
394
|
[
|
|
328
395
|
"value",
|
|
@@ -361,9 +428,9 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
361
428
|
"type",
|
|
362
429
|
"number"
|
|
363
430
|
],
|
|
364
|
-
(
|
|
431
|
+
(value_93 = "mt-1 block w-full rounded-md border border-slate-300 bg-white px-2.5 py-1.5 text-sm shadow-sm placeholder:text-slate-400 focus:border-sky-500 focus:outline-none focus:ring-2 focus:ring-sky-500/30 disabled:cursor-not-allowed disabled:bg-slate-100 disabled:text-slate-500", [
|
|
365
432
|
"className",
|
|
366
|
-
|
|
433
|
+
value_93
|
|
367
434
|
]),
|
|
368
435
|
[
|
|
369
436
|
"value",
|
|
@@ -401,27 +468,135 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
401
468
|
"children",
|
|
402
469
|
_Interopfs.reactApi.Children.toArray(Array.from(elems_7))
|
|
403
470
|
])
|
|
404
|
-
]))))) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludePulse ? (0, _Seq.singleton)(createVitalInput("Pulse Rate", "pulse", pulse, patternInput_3[1], "BPM", "72")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeRespiration ? (0, _Seq.singleton)(createVitalInput("Respiration Rate", "respiration", respiration, patternInput_4[1], "per minute", "16")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeOxygenSat ? (0, _Seq.singleton)(createVitalInput("Oxygen Saturation", "oxygen_saturation", oxygenSat, patternInput_5[1], "%", "98")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>vitalsConfig.IncludePainScale ? (0, _Seq.singleton)(createVitalInput("Pain Scale", "pain_scale", painScale, patternInput_6[1], "0-10 scale", "0")) : (0, _Seq.empty)()))
|
|
471
|
+
]))))) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludePulse ? (0, _Seq.singleton)(createVitalInput("Pulse Rate", "pulse", pulse, patternInput_3[1], "BPM", "72")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeRespiration ? (0, _Seq.singleton)(createVitalInput("Respiration Rate", "respiration", respiration, patternInput_4[1], "per minute", "16")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeOxygenSat ? (0, _Seq.singleton)(createVitalInput("Oxygen Saturation", "oxygen_saturation", oxygenSat, patternInput_5[1], "%", "98")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludePainScale ? (0, _Seq.singleton)(createVitalInput("Pain Scale", "pain_scale", painScale, patternInput_6[1], "0-10 scale", "0")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>{
|
|
472
|
+
let isImperial, elems_9, elems_8;
|
|
473
|
+
return (0, _Seq.append)((vitalsConfig.IncludeWeight ? true : vitalsConfig.IncludeHeight) ? (isImperial = (0, _Util.equals)(unitSystem, (0, _VitalsLogic.UnitSystem_Imperial)()), (0, _Seq.singleton)((0, _react.createElement)("div", (0, _Util.createObj)((0, _List.ofArray)([
|
|
474
|
+
[
|
|
475
|
+
"className",
|
|
476
|
+
"col-span-full flex items-center justify-end gap-2 -mt-1"
|
|
477
|
+
],
|
|
478
|
+
(elems_9 = [
|
|
479
|
+
(0, _react.createElement)("span", {
|
|
480
|
+
className: "text-xs text-slate-500",
|
|
481
|
+
children: "Units:"
|
|
482
|
+
}),
|
|
483
|
+
(0, _react.createElement)("div", (0, _Util.createObj)((0, _List.ofArray)([
|
|
484
|
+
[
|
|
485
|
+
"className",
|
|
486
|
+
"inline-flex rounded-md border border-slate-200 text-[10px]"
|
|
487
|
+
],
|
|
488
|
+
(elems_8 = [
|
|
489
|
+
(0, _react.createElement)("button", {
|
|
490
|
+
className: isImperial ? "px-2.5 py-0.5 bg-sky-100 text-sky-700 rounded-l-md font-medium" : "px-2.5 py-0.5 text-slate-500 rounded-l-md hover:bg-slate-50",
|
|
491
|
+
children: "Imperial (lbs/in)",
|
|
492
|
+
onClick: (_arg)=>{
|
|
493
|
+
setUnitSystem((0, _VitalsLogic.UnitSystem_Imperial)());
|
|
494
|
+
}
|
|
495
|
+
}),
|
|
496
|
+
(0, _react.createElement)("button", {
|
|
497
|
+
className: !isImperial ? "px-2.5 py-0.5 bg-sky-100 text-sky-700 rounded-r-md font-medium" : "px-2.5 py-0.5 text-slate-500 rounded-r-md hover:bg-slate-50",
|
|
498
|
+
children: "Metric (kg/cm)",
|
|
499
|
+
onClick: (_arg_1)=>{
|
|
500
|
+
setUnitSystem((0, _VitalsLogic.UnitSystem_Metric)());
|
|
501
|
+
}
|
|
502
|
+
})
|
|
503
|
+
], [
|
|
504
|
+
"children",
|
|
505
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_8))
|
|
506
|
+
])
|
|
507
|
+
])))
|
|
508
|
+
], [
|
|
509
|
+
"children",
|
|
510
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_9))
|
|
511
|
+
])
|
|
512
|
+
]))))) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>{
|
|
513
|
+
let weightLabel, weightPlaceholder;
|
|
514
|
+
return (0, _Seq.append)(vitalsConfig.IncludeWeight ? (weightLabel = (0, _Util.equals)(unitSystem, (0, _VitalsLogic.UnitSystem_Imperial)()) ? "Weight (lbs)" : "Weight (kg)", weightPlaceholder = (0, _Util.equals)(unitSystem, (0, _VitalsLogic.UnitSystem_Imperial)()) ? "150" : "68", (0, _Seq.singleton)(createVitalInput(weightLabel, "weight", weight, patternInput_7[1], (0, _Util.equals)(unitSystem, (0, _VitalsLogic.UnitSystem_Imperial)()) ? "Pounds" : "Kilograms", weightPlaceholder))) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>{
|
|
515
|
+
let heightLabel, heightPlaceholder;
|
|
516
|
+
return (0, _Seq.append)(vitalsConfig.IncludeHeight ? (heightLabel = (0, _Util.equals)(unitSystem, (0, _VitalsLogic.UnitSystem_Imperial)()) ? "Height (in)" : "Height (cm)", heightPlaceholder = (0, _Util.equals)(unitSystem, (0, _VitalsLogic.UnitSystem_Imperial)()) ? "68" : "173", (0, _Seq.singleton)(createVitalInput(heightLabel, "height", height, patternInput_8[1], (0, _Util.equals)(unitSystem, (0, _VitalsLogic.UnitSystem_Imperial)()) ? "Inches" : "Centimeters", heightPlaceholder))) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>{
|
|
517
|
+
let elems_11, elems_10;
|
|
518
|
+
if (vitalsConfig.IncludeWeight && vitalsConfig.IncludeHeight && computedBMI != null) {
|
|
519
|
+
const bmi = (0, _Option.value)(computedBMI);
|
|
520
|
+
const patternInput_11 = bmi < 18.5 ? [
|
|
521
|
+
"bg-amber-100 text-amber-700 border-amber-200",
|
|
522
|
+
"Underweight"
|
|
523
|
+
] : bmi < 25 ? [
|
|
524
|
+
"bg-emerald-100 text-emerald-700 border-emerald-200",
|
|
525
|
+
"Normal"
|
|
526
|
+
] : bmi < 30 ? [
|
|
527
|
+
"bg-amber-100 text-amber-700 border-amber-200",
|
|
528
|
+
"Overweight"
|
|
529
|
+
] : [
|
|
530
|
+
"bg-red-100 text-red-700 border-red-200",
|
|
531
|
+
"Obese"
|
|
532
|
+
];
|
|
533
|
+
return (0, _Seq.singleton)((0, _react.createElement)("div", (0, _Util.createObj)((0, _List.ofArray)([
|
|
534
|
+
[
|
|
535
|
+
"className",
|
|
536
|
+
"rounded-lg border border-slate-200 bg-white p-2.5 shadow-sm"
|
|
537
|
+
],
|
|
538
|
+
(elems_11 = [
|
|
539
|
+
(0, _react.createElement)("div", (0, _Util.createObj)((0, _List.ofArray)([
|
|
540
|
+
[
|
|
541
|
+
"className",
|
|
542
|
+
"flex items-center justify-between gap-3"
|
|
543
|
+
],
|
|
544
|
+
(elems_10 = [
|
|
545
|
+
(0, _react.createElement)("label", {
|
|
546
|
+
className: "text-xs font-semibold uppercase tracking-wide text-slate-700",
|
|
547
|
+
children: "BMI"
|
|
548
|
+
}),
|
|
549
|
+
(0, _react.createElement)("span", {
|
|
550
|
+
className: "inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium border " + patternInput_11[0],
|
|
551
|
+
children: patternInput_11[1]
|
|
552
|
+
})
|
|
553
|
+
], [
|
|
554
|
+
"children",
|
|
555
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_10))
|
|
556
|
+
])
|
|
557
|
+
]))),
|
|
558
|
+
(0, _react.createElement)("div", {
|
|
559
|
+
className: "mt-1 text-lg font-semibold text-slate-900",
|
|
560
|
+
children: (0, _String.toText)((0, _String.printf)("%.1f"))(bmi)
|
|
561
|
+
}),
|
|
562
|
+
(0, _react.createElement)("p", {
|
|
563
|
+
className: "mt-1 text-[11px] text-slate-500",
|
|
564
|
+
children: "Auto-computed"
|
|
565
|
+
})
|
|
566
|
+
], [
|
|
567
|
+
"children",
|
|
568
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_11))
|
|
569
|
+
])
|
|
570
|
+
]))));
|
|
571
|
+
} else {
|
|
572
|
+
return (0, _Seq.empty)();
|
|
573
|
+
}
|
|
574
|
+
}));
|
|
575
|
+
}));
|
|
576
|
+
}));
|
|
577
|
+
}))))))))));
|
|
405
578
|
})))), [
|
|
406
579
|
"children",
|
|
407
|
-
_Interopfs.reactApi.Children.toArray(Array.from(
|
|
580
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_12))
|
|
408
581
|
])
|
|
409
582
|
])))), (0, _Seq.delay)(()=>{
|
|
410
|
-
let
|
|
411
|
-
return (0, _List.exists)((
|
|
583
|
+
let elems_15, elems_14, elems_13;
|
|
584
|
+
return (0, _List.exists)((s_2)=>!(0, _String.isNullOrWhiteSpace)(s_2), (0, _List.ofArray)([
|
|
412
585
|
temperature,
|
|
413
586
|
systolicBP,
|
|
414
587
|
diastolicBP,
|
|
415
588
|
pulse,
|
|
416
589
|
respiration,
|
|
417
590
|
oxygenSat,
|
|
418
|
-
painScale
|
|
591
|
+
painScale,
|
|
592
|
+
weight,
|
|
593
|
+
height
|
|
419
594
|
])) ? (0, _Seq.singleton)((0, _react.createElement)("div", (0, _Util.createObj)((0, _List.ofArray)([
|
|
420
595
|
[
|
|
421
596
|
"className",
|
|
422
597
|
"rounded-lg border border-sky-200 bg-sky-50/60 p-2.5 shadow-sm"
|
|
423
598
|
],
|
|
424
|
-
(
|
|
599
|
+
(elems_15 = [
|
|
425
600
|
(0, _react.createElement)("h6", {
|
|
426
601
|
className: "text-xs font-semibold uppercase tracking-wide text-sky-900",
|
|
427
602
|
children: "📋 Vital Signs Summary"
|
|
@@ -431,13 +606,13 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
431
606
|
"className",
|
|
432
607
|
"mt-1.5 text-xs text-slate-700"
|
|
433
608
|
],
|
|
434
|
-
(
|
|
609
|
+
(elems_14 = [
|
|
435
610
|
(0, _react.createElement)("div", (0, _Util.createObj)((0, _List.ofArray)([
|
|
436
611
|
[
|
|
437
612
|
"className",
|
|
438
613
|
"flex flex-wrap gap-1.5"
|
|
439
614
|
],
|
|
440
|
-
(
|
|
615
|
+
(elems_13 = (0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeTemperature && !(0, _String.isNullOrWhiteSpace)(temperature) ? (0, _Seq.singleton)((0, _react.createElement)("span", {
|
|
441
616
|
className: "rounded-md bg-white/80 px-2 py-0.5",
|
|
442
617
|
children: "🌡️ Temp " + temperature + "°F"
|
|
443
618
|
})) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeBP && (!(0, _String.isNullOrWhiteSpace)(systolicBP) ? true : !(0, _String.isNullOrWhiteSpace)(diastolicBP)) ? (0, _Seq.singleton)((0, _react.createElement)("span", {
|
|
@@ -452,28 +627,40 @@ function VitalsField_VitalsFieldComponent(config) {
|
|
|
452
627
|
})) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeOxygenSat && !(0, _String.isNullOrWhiteSpace)(oxygenSat) ? (0, _Seq.singleton)((0, _react.createElement)("span", {
|
|
453
628
|
className: "rounded-md bg-white/80 px-2 py-0.5",
|
|
454
629
|
children: "🩸 O2 " + oxygenSat + "%"
|
|
455
|
-
})) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>vitalsConfig.IncludePainScale && !(0, _String.isNullOrWhiteSpace)(painScale) ? (0, _Seq.singleton)((0, _react.createElement)("span", {
|
|
630
|
+
})) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludePainScale && !(0, _String.isNullOrWhiteSpace)(painScale) ? (0, _Seq.singleton)((0, _react.createElement)("span", {
|
|
456
631
|
className: "rounded-md bg-white/80 px-2 py-0.5",
|
|
457
632
|
children: "😖 Pain " + painScale + "/10"
|
|
458
|
-
})) : (0, _Seq.empty)())))))))
|
|
633
|
+
})) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeWeight && !(0, _String.isNullOrWhiteSpace)(weight) ? (0, _Seq.singleton)((0, _react.createElement)("span", {
|
|
634
|
+
className: "rounded-md bg-white/80 px-2 py-0.5",
|
|
635
|
+
children: "⚖️ " + weight + " " + ((0, _Util.equals)(unitSystem, (0, _VitalsLogic.UnitSystem_Imperial)()) ? "lbs" : "kg")
|
|
636
|
+
})) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeHeight && !(0, _String.isNullOrWhiteSpace)(height) ? (0, _Seq.singleton)((0, _react.createElement)("span", {
|
|
637
|
+
className: "rounded-md bg-white/80 px-2 py-0.5",
|
|
638
|
+
children: "📏 " + height + " " + ((0, _Util.equals)(unitSystem, (0, _VitalsLogic.UnitSystem_Imperial)()) ? "in" : "cm")
|
|
639
|
+
})) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>{
|
|
640
|
+
let arg_1;
|
|
641
|
+
return computedBMI != null ? (0, _Seq.singleton)((0, _react.createElement)("span", {
|
|
642
|
+
className: "rounded-md bg-white/80 px-2 py-0.5",
|
|
643
|
+
children: (arg_1 = (0, _Option.value)(computedBMI), (0, _String.toText)((0, _String.printf)("BMI %.1f"))(arg_1))
|
|
644
|
+
})) : (0, _Seq.empty)();
|
|
645
|
+
})))))))))))))))))), [
|
|
459
646
|
"children",
|
|
460
|
-
_Interopfs.reactApi.Children.toArray(Array.from(
|
|
647
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_13))
|
|
461
648
|
])
|
|
462
649
|
])))
|
|
463
650
|
], [
|
|
464
651
|
"children",
|
|
465
|
-
_Interopfs.reactApi.Children.toArray(Array.from(
|
|
652
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_14))
|
|
466
653
|
])
|
|
467
654
|
])))
|
|
468
655
|
], [
|
|
469
656
|
"children",
|
|
470
|
-
_Interopfs.reactApi.Children.toArray(Array.from(
|
|
657
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_15))
|
|
471
658
|
])
|
|
472
659
|
])))) : (0, _Seq.empty)();
|
|
473
660
|
}));
|
|
474
661
|
})), [
|
|
475
662
|
"children",
|
|
476
|
-
_Interopfs.reactApi.Children.toArray(Array.from(
|
|
663
|
+
_Interopfs.reactApi.Children.toArray(Array.from(elems_16))
|
|
477
664
|
])
|
|
478
665
|
]))));
|
|
479
666
|
}
|
|
@@ -509,9 +696,11 @@ const Form_PropertyKeys_Pulse = new _FormSpec.Shared_PluginPropertyKey("d4e5f678
|
|
|
509
696
|
const Form_PropertyKeys_Respiration = new _FormSpec.Shared_PluginPropertyKey("e5f67890-abcd-ef12-3456-789012345abc");
|
|
510
697
|
const Form_PropertyKeys_OxygenSaturation = new _FormSpec.Shared_PluginPropertyKey("f6789012-3456-789a-bcde-f012345678de");
|
|
511
698
|
const Form_PropertyKeys_PainScale = new _FormSpec.Shared_PluginPropertyKey("67890123-4567-89ab-cdef-0123456789ef");
|
|
699
|
+
const Form_PropertyKeys_Weight = new _FormSpec.Shared_PluginPropertyKey("78901234-5678-9abc-def0-123456789abc");
|
|
700
|
+
const Form_PropertyKeys_Height = new _FormSpec.Shared_PluginPropertyKey("89012345-6789-abcd-ef01-23456789abcd");
|
|
512
701
|
const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter((fieldKey, pluginValue)=>{
|
|
513
702
|
const vitalsData = pluginValue;
|
|
514
|
-
return (0, _FormSpec.Shared_FieldValue_PluginData)((0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.Temperature != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", (0, _Option.value)(vitalsData.Temperature).toString(), "Temperature", "°F", "Body temperature in Fahrenheit")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.SystolicBP != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", (0, _Option.value)(vitalsData.SystolicBP).toString(), "Systolic BP", "mmHg", "Systolic blood pressure")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.DiastolicBP != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", (0, _Option.value)(vitalsData.DiastolicBP).toString(), "Diastolic BP", "mmHg", "Diastolic blood pressure")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.Pulse != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", (0, _Option.value)(vitalsData.Pulse).toString(), "Pulse Rate", "BPM", "Heart rate in beats per minute")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.Respiration != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", (0, _Option.value)(vitalsData.Respiration).toString(), "Respiration Rate", "RPM", "Respiratory rate per minute")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.OxygenSaturation != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", (0, _Option.value)(vitalsData.OxygenSaturation).toString(), "O2 Saturation", "%", "Oxygen saturation percentage")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>vitalsData.PainScale != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", (0, _Option.value)(vitalsData.PainScale).toString(), "Pain Level", "/10", "Pain scale from 0 to 10")) : (0, _Seq.empty)())))))))))))))));
|
|
703
|
+
return (0, _FormSpec.Shared_FieldValue_PluginData)((0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.Temperature != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", (0, _Option.value)(vitalsData.Temperature).toString(), "Temperature", "°F", "Body temperature in Fahrenheit")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.SystolicBP != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", (0, _Option.value)(vitalsData.SystolicBP).toString(), "Systolic BP", "mmHg", "Systolic blood pressure")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.DiastolicBP != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", (0, _Option.value)(vitalsData.DiastolicBP).toString(), "Diastolic BP", "mmHg", "Diastolic blood pressure")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.Pulse != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", (0, _Option.value)(vitalsData.Pulse).toString(), "Pulse Rate", "BPM", "Heart rate in beats per minute")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.Respiration != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", (0, _Option.value)(vitalsData.Respiration).toString(), "Respiration Rate", "RPM", "Respiratory rate per minute")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.OxygenSaturation != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", (0, _Option.value)(vitalsData.OxygenSaturation).toString(), "O2 Saturation", "%", "Oxygen saturation percentage")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.PainScale != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", (0, _Option.value)(vitalsData.PainScale).toString(), "Pain Level", "/10", "Pain scale from 0 to 10")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData.Weight != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Weight, "weight", "float", (0, _Option.value)(vitalsData.Weight).toString(), "Weight", undefined, "Body weight")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>vitalsData.Height != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Height, "height", "float", (0, _Option.value)(vitalsData.Height).toString(), "Height", undefined, "Body height")) : (0, _Seq.empty)())))))))))))))))))));
|
|
515
704
|
}, (fieldValue)=>{
|
|
516
705
|
switch(fieldValue.tag){
|
|
517
706
|
case /* PluginData */ 3:
|
|
@@ -532,7 +721,8 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
532
721
|
return undefined;
|
|
533
722
|
}
|
|
534
723
|
}, (0, _List.tryFind)((p)=>p.Name === name, properties));
|
|
535
|
-
|
|
724
|
+
const unitSystem = (0, _Option.defaultArg)((0, _Option.map)((p_3)=>p_3.Value, (0, _List.tryFind)((p_2)=>p_2.Name === "unit_system", properties)), "imperial") === "metric" ? (0, _VitalsLogic.UnitSystem_Metric)() : (0, _VitalsLogic.UnitSystem_Imperial)();
|
|
725
|
+
return (0, _Option.some)(new _VitalsLogic.VitalsData(getPropertyValue("temperature"), getPropertyValue("systolic_bp"), getPropertyValue("diastolic_bp"), getPropertyValue("pulse"), getPropertyValue("respiration"), getPropertyValue("oxygen_saturation"), getPropertyValue("pain_scale"), getPropertyValue("weight"), getPropertyValue("height"), unitSystem));
|
|
536
726
|
}
|
|
537
727
|
case /* Single */ 0:
|
|
538
728
|
return (0, _Option.some)((0, _VitalsLogic.parseVitalsData)(fieldValue.fields[0].Value));
|
|
@@ -546,15 +736,17 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
546
736
|
"pulse",
|
|
547
737
|
"respiration",
|
|
548
738
|
"oxygen_saturation",
|
|
549
|
-
"pain_scale"
|
|
550
|
-
|
|
739
|
+
"pain_scale",
|
|
740
|
+
"weight",
|
|
741
|
+
"height"
|
|
742
|
+
]), (propertyName)=>propertyName === "temperature" ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", "", "Temperature", "°F", "Body temperature in Fahrenheit") : propertyName === "systolic_bp" ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", "", "Systolic BP", "mmHg", "Systolic blood pressure") : propertyName === "diastolic_bp" ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", "", "Diastolic BP", "mmHg", "Diastolic blood pressure") : propertyName === "pulse" ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", "", "Pulse Rate", "BPM", "Heart rate in beats per minute") : propertyName === "respiration" ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", "", "Respiration Rate", "RPM", "Respiratory rate per minute") : propertyName === "oxygen_saturation" ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", "", "O2 Saturation", "%", "Oxygen saturation percentage") : propertyName === "pain_scale" ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", "", "Pain Level", "/10", "Pain scale from 0 to 10") : propertyName === "weight" ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Weight, "weight", "float", "", "Weight", undefined, "Body weight") : propertyName === "height" ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Height, "height", "float", "", "Height", undefined, "Body height") : undefined, (propertyKey)=>(0, _Util.equals)(propertyKey, Form_PropertyKeys_Temperature) ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", "", "Temperature", "°F", "Body temperature in Fahrenheit") : (0, _Util.equals)(propertyKey, Form_PropertyKeys_SystolicBP) ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", "", "Systolic BP", "mmHg", "Systolic blood pressure") : (0, _Util.equals)(propertyKey, Form_PropertyKeys_DiastolicBP) ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", "", "Diastolic BP", "mmHg", "Diastolic blood pressure") : (0, _Util.equals)(propertyKey, Form_PropertyKeys_Pulse) ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", "", "Pulse Rate", "BPM", "Heart rate in beats per minute") : (0, _Util.equals)(propertyKey, Form_PropertyKeys_Respiration) ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", "", "Respiration Rate", "RPM", "Respiratory rate per minute") : (0, _Util.equals)(propertyKey, Form_PropertyKeys_OxygenSaturation) ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", "", "O2 Saturation", "%", "Oxygen saturation percentage") : (0, _Util.equals)(propertyKey, Form_PropertyKeys_PainScale) ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", "", "Pain Level", "/10", "Pain scale from 0 to 10") : (0, _Util.equals)(propertyKey, Form_PropertyKeys_Weight) ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Weight, "weight", "float", "", "Weight", undefined, "Body weight") : (0, _Util.equals)(propertyKey, Form_PropertyKeys_Height) ? new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Height, "height", "float", "", "Height", undefined, "Body height") : undefined, (propertyName_1, fieldValue_1)=>{
|
|
551
743
|
switch(fieldValue_1.tag){
|
|
552
744
|
case /* PluginData */ 3:
|
|
553
|
-
return (0, _List.tryFind)((
|
|
745
|
+
return (0, _List.tryFind)((p_4)=>p_4.Name === propertyName_1, fieldValue_1.fields[0]);
|
|
554
746
|
case /* Single */ 0:
|
|
555
747
|
{
|
|
556
748
|
const vitalsData_1 = (0, _VitalsLogic.parseVitalsData)(fieldValue_1.fields[0].Value);
|
|
557
|
-
return propertyName_1 === "temperature" ? (0, _Option.map)((v_1)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", v_1.toString(), "Temperature", "°F", "Body temperature in Fahrenheit"), vitalsData_1.Temperature) : propertyName_1 === "systolic_bp" ? (0, _Option.map)((v_2)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", v_2.toString(), "Systolic BP", "mmHg", "Systolic blood pressure"), vitalsData_1.SystolicBP) : propertyName_1 === "diastolic_bp" ? (0, _Option.map)((v_3)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", v_3.toString(), "Diastolic BP", "mmHg", "Diastolic blood pressure"), vitalsData_1.DiastolicBP) : propertyName_1 === "pulse" ? (0, _Option.map)((v_4)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", v_4.toString(), "Pulse Rate", "BPM", "Heart rate in beats per minute"), vitalsData_1.Pulse) : propertyName_1 === "respiration" ? (0, _Option.map)((v_5)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", v_5.toString(), "Respiration Rate", "RPM", "Respiratory rate per minute"), vitalsData_1.Respiration) : propertyName_1 === "oxygen_saturation" ? (0, _Option.map)((v_6)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", v_6.toString(), "O2 Saturation", "%", "Oxygen saturation percentage"), vitalsData_1.OxygenSaturation) : propertyName_1 === "pain_scale" ? (0, _Option.map)((v_7)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", v_7.toString(), "Pain Level", "/10", "Pain scale from 0 to 10"), vitalsData_1.PainScale) : undefined;
|
|
749
|
+
return propertyName_1 === "temperature" ? (0, _Option.map)((v_1)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", v_1.toString(), "Temperature", "°F", "Body temperature in Fahrenheit"), vitalsData_1.Temperature) : propertyName_1 === "systolic_bp" ? (0, _Option.map)((v_2)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", v_2.toString(), "Systolic BP", "mmHg", "Systolic blood pressure"), vitalsData_1.SystolicBP) : propertyName_1 === "diastolic_bp" ? (0, _Option.map)((v_3)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", v_3.toString(), "Diastolic BP", "mmHg", "Diastolic blood pressure"), vitalsData_1.DiastolicBP) : propertyName_1 === "pulse" ? (0, _Option.map)((v_4)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", v_4.toString(), "Pulse Rate", "BPM", "Heart rate in beats per minute"), vitalsData_1.Pulse) : propertyName_1 === "respiration" ? (0, _Option.map)((v_5)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", v_5.toString(), "Respiration Rate", "RPM", "Respiratory rate per minute"), vitalsData_1.Respiration) : propertyName_1 === "oxygen_saturation" ? (0, _Option.map)((v_6)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", v_6.toString(), "O2 Saturation", "%", "Oxygen saturation percentage"), vitalsData_1.OxygenSaturation) : propertyName_1 === "pain_scale" ? (0, _Option.map)((v_7)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", v_7.toString(), "Pain Level", "/10", "Pain scale from 0 to 10"), vitalsData_1.PainScale) : propertyName_1 === "weight" ? (0, _Option.map)((v_8)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Weight, "weight", "float", v_8.toString(), "Weight", undefined, "Body weight"), vitalsData_1.Weight) : propertyName_1 === "height" ? (0, _Option.map)((v_9)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Height, "height", "float", v_9.toString(), "Height", undefined, "Body height"), vitalsData_1.Height) : undefined;
|
|
558
750
|
}
|
|
559
751
|
default:
|
|
560
752
|
return undefined;
|
|
@@ -562,24 +754,24 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
562
754
|
}, (propertyKey_1, fieldValue_2)=>{
|
|
563
755
|
switch(fieldValue_2.tag){
|
|
564
756
|
case /* PluginData */ 3:
|
|
565
|
-
return (0, _List.tryFind)((
|
|
757
|
+
return (0, _List.tryFind)((p_5)=>(0, _Util.equals)(p_5.PropertyKey, propertyKey_1), fieldValue_2.fields[0]);
|
|
566
758
|
case /* Single */ 0:
|
|
567
759
|
{
|
|
568
760
|
const vitalsData_2 = (0, _VitalsLogic.parseVitalsData)(fieldValue_2.fields[0].Value);
|
|
569
|
-
return (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_Temperature) ? (0, _Option.map)((
|
|
761
|
+
return (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_Temperature) ? (0, _Option.map)((v_10)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", v_10.toString(), "Temperature", "°F", "Body temperature in Fahrenheit"), vitalsData_2.Temperature) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_SystolicBP) ? (0, _Option.map)((v_11)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", v_11.toString(), "Systolic BP", "mmHg", "Systolic blood pressure"), vitalsData_2.SystolicBP) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_DiastolicBP) ? (0, _Option.map)((v_12)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", v_12.toString(), "Diastolic BP", "mmHg", "Diastolic blood pressure"), vitalsData_2.DiastolicBP) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_Pulse) ? (0, _Option.map)((v_13)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", v_13.toString(), "Pulse Rate", "BPM", "Heart rate in beats per minute"), vitalsData_2.Pulse) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_Respiration) ? (0, _Option.map)((v_14)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", v_14.toString(), "Respiration Rate", "RPM", "Respiratory rate per minute"), vitalsData_2.Respiration) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_OxygenSaturation) ? (0, _Option.map)((v_15)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", v_15.toString(), "O2 Saturation", "%", "Oxygen saturation percentage"), vitalsData_2.OxygenSaturation) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_PainScale) ? (0, _Option.map)((v_16)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", v_16.toString(), "Pain Level", "/10", "Pain scale from 0 to 10"), vitalsData_2.PainScale) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_Weight) ? (0, _Option.map)((v_17)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Weight, "weight", "float", v_17.toString(), "Weight", undefined, "Body weight"), vitalsData_2.Weight) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_Height) ? (0, _Option.map)((v_18)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Height, "height", "float", v_18.toString(), "Height", undefined, "Body height"), vitalsData_2.Height) : undefined;
|
|
570
762
|
}
|
|
571
763
|
default:
|
|
572
764
|
return undefined;
|
|
573
765
|
}
|
|
574
|
-
}, (propertyName_2,
|
|
766
|
+
}, (propertyName_2, value_2)=>{
|
|
575
767
|
switch(propertyName_2){
|
|
576
768
|
case "temperature":
|
|
577
769
|
{
|
|
578
770
|
let matchValue_1;
|
|
579
771
|
let outArg_1 = 0;
|
|
580
772
|
matchValue_1 = [
|
|
581
|
-
(0, _Double.tryParse)(
|
|
582
|
-
outArg_1 =
|
|
773
|
+
(0, _Double.tryParse)(value_2, new _Types.FSharpRef(()=>outArg_1, (v_19)=>{
|
|
774
|
+
outArg_1 = v_19;
|
|
583
775
|
})),
|
|
584
776
|
outArg_1
|
|
585
777
|
];
|
|
@@ -590,8 +782,8 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
590
782
|
let matchValue_2;
|
|
591
783
|
let outArg_2 = 0;
|
|
592
784
|
matchValue_2 = [
|
|
593
|
-
(0, _Double.tryParse)(
|
|
594
|
-
outArg_2 =
|
|
785
|
+
(0, _Double.tryParse)(value_2, new _Types.FSharpRef(()=>outArg_2, (v_23)=>{
|
|
786
|
+
outArg_2 = v_23;
|
|
595
787
|
})),
|
|
596
788
|
outArg_2
|
|
597
789
|
];
|
|
@@ -602,8 +794,8 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
602
794
|
let matchValue_3;
|
|
603
795
|
let outArg_3 = 0;
|
|
604
796
|
matchValue_3 = [
|
|
605
|
-
(0, _Double.tryParse)(
|
|
606
|
-
outArg_3 =
|
|
797
|
+
(0, _Double.tryParse)(value_2, new _Types.FSharpRef(()=>outArg_3, (v_27)=>{
|
|
798
|
+
outArg_3 = v_27;
|
|
607
799
|
})),
|
|
608
800
|
outArg_3
|
|
609
801
|
];
|
|
@@ -614,8 +806,8 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
614
806
|
let matchValue_4;
|
|
615
807
|
let outArg_4 = 0;
|
|
616
808
|
matchValue_4 = [
|
|
617
|
-
(0, _Double.tryParse)(
|
|
618
|
-
outArg_4 =
|
|
809
|
+
(0, _Double.tryParse)(value_2, new _Types.FSharpRef(()=>outArg_4, (v_31)=>{
|
|
810
|
+
outArg_4 = v_31;
|
|
619
811
|
})),
|
|
620
812
|
outArg_4
|
|
621
813
|
];
|
|
@@ -626,8 +818,8 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
626
818
|
let matchValue_5;
|
|
627
819
|
let outArg_5 = 0;
|
|
628
820
|
matchValue_5 = [
|
|
629
|
-
(0, _Double.tryParse)(
|
|
630
|
-
outArg_5 =
|
|
821
|
+
(0, _Double.tryParse)(value_2, new _Types.FSharpRef(()=>outArg_5, (v_35)=>{
|
|
822
|
+
outArg_5 = v_35;
|
|
631
823
|
})),
|
|
632
824
|
outArg_5
|
|
633
825
|
];
|
|
@@ -638,8 +830,8 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
638
830
|
let matchValue_6;
|
|
639
831
|
let outArg_6 = 0;
|
|
640
832
|
matchValue_6 = [
|
|
641
|
-
(0, _Double.tryParse)(
|
|
642
|
-
outArg_6 =
|
|
833
|
+
(0, _Double.tryParse)(value_2, new _Types.FSharpRef(()=>outArg_6, (v_39)=>{
|
|
834
|
+
outArg_6 = v_39;
|
|
643
835
|
})),
|
|
644
836
|
outArg_6
|
|
645
837
|
];
|
|
@@ -650,13 +842,37 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
650
842
|
let matchValue_7;
|
|
651
843
|
let outArg_7 = 0;
|
|
652
844
|
matchValue_7 = [
|
|
653
|
-
(0, _Double.tryParse)(
|
|
654
|
-
outArg_7 =
|
|
845
|
+
(0, _Double.tryParse)(value_2, new _Types.FSharpRef(()=>outArg_7, (v_43)=>{
|
|
846
|
+
outArg_7 = v_43;
|
|
655
847
|
})),
|
|
656
848
|
outArg_7
|
|
657
849
|
];
|
|
658
850
|
return matchValue_7[0] ? (0, _VitalsLogic.isValidPainScale)(matchValue_7[1]) ? (0, _Result.FSharpResult$2_Ok)(undefined) : (0, _Result.FSharpResult$2_Error)("Pain scale must be between 0-10, got " + matchValue_7[1].toString()) : (0, _Result.FSharpResult$2_Error)("Pain scale must be a valid number");
|
|
659
851
|
}
|
|
852
|
+
case "weight":
|
|
853
|
+
{
|
|
854
|
+
let matchValue_8;
|
|
855
|
+
let outArg_8 = 0;
|
|
856
|
+
matchValue_8 = [
|
|
857
|
+
(0, _Double.tryParse)(value_2, new _Types.FSharpRef(()=>outArg_8, (v_47)=>{
|
|
858
|
+
outArg_8 = v_47;
|
|
859
|
+
})),
|
|
860
|
+
outArg_8
|
|
861
|
+
];
|
|
862
|
+
return matchValue_8[0] ? (0, _VitalsLogic.isValidWeight)(matchValue_8[1]) ? (0, _Result.FSharpResult$2_Ok)(undefined) : (0, _Result.FSharpResult$2_Error)("Weight out of valid range") : (0, _Result.FSharpResult$2_Error)("Weight must be a valid number");
|
|
863
|
+
}
|
|
864
|
+
case "height":
|
|
865
|
+
{
|
|
866
|
+
let matchValue_9;
|
|
867
|
+
let outArg_9 = 0;
|
|
868
|
+
matchValue_9 = [
|
|
869
|
+
(0, _Double.tryParse)(value_2, new _Types.FSharpRef(()=>outArg_9, (v_50)=>{
|
|
870
|
+
outArg_9 = v_50;
|
|
871
|
+
})),
|
|
872
|
+
outArg_9
|
|
873
|
+
];
|
|
874
|
+
return matchValue_9[0] ? (0, _VitalsLogic.isValidHeight)(matchValue_9[1]) ? (0, _Result.FSharpResult$2_Ok)(undefined) : (0, _Result.FSharpResult$2_Error)("Height out of valid range") : (0, _Result.FSharpResult$2_Error)("Height must be a valid number");
|
|
875
|
+
}
|
|
660
876
|
default:
|
|
661
877
|
return (0, _Result.FSharpResult$2_Error)("Unknown property: " + propertyName_2);
|
|
662
878
|
}
|
|
@@ -667,7 +883,7 @@ const Form_enhancedVitalsConverter = new _PluginInterface.IPluginValueConverter(
|
|
|
667
883
|
case /* Single */ 0:
|
|
668
884
|
{
|
|
669
885
|
const vitalsData_3 = (0, _VitalsLogic.parseVitalsData)(fieldValue_3.fields[0].Value);
|
|
670
|
-
return (0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.Temperature != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", (0, _Option.value)(vitalsData_3.Temperature).toString(), "Temperature", "°F", "Body temperature in Fahrenheit")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.SystolicBP != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", (0, _Option.value)(vitalsData_3.SystolicBP).toString(), "Systolic BP", "mmHg", "Systolic blood pressure")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.DiastolicBP != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", (0, _Option.value)(vitalsData_3.DiastolicBP).toString(), "Diastolic BP", "mmHg", "Diastolic blood pressure")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.Pulse != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", (0, _Option.value)(vitalsData_3.Pulse).toString(), "Pulse Rate", "BPM", "Heart rate in beats per minute")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.Respiration != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", (0, _Option.value)(vitalsData_3.Respiration).toString(), "Respiration Rate", "RPM", "Respiratory rate per minute")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.OxygenSaturation != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", (0, _Option.value)(vitalsData_3.OxygenSaturation).toString(), "O2 Saturation", "%", "Oxygen saturation percentage")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>vitalsData_3.PainScale != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", (0, _Option.value)(vitalsData_3.PainScale).toString(), "Pain Level", "/10", "Pain scale from 0 to 10")) : (0, _Seq.empty)()))))))))))))));
|
|
886
|
+
return (0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.Temperature != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", (0, _Option.value)(vitalsData_3.Temperature).toString(), "Temperature", "°F", "Body temperature in Fahrenheit")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.SystolicBP != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", (0, _Option.value)(vitalsData_3.SystolicBP).toString(), "Systolic BP", "mmHg", "Systolic blood pressure")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.DiastolicBP != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", (0, _Option.value)(vitalsData_3.DiastolicBP).toString(), "Diastolic BP", "mmHg", "Diastolic blood pressure")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.Pulse != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", (0, _Option.value)(vitalsData_3.Pulse).toString(), "Pulse Rate", "BPM", "Heart rate in beats per minute")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.Respiration != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", (0, _Option.value)(vitalsData_3.Respiration).toString(), "Respiration Rate", "RPM", "Respiratory rate per minute")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.OxygenSaturation != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", (0, _Option.value)(vitalsData_3.OxygenSaturation).toString(), "O2 Saturation", "%", "Oxygen saturation percentage")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.PainScale != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", (0, _Option.value)(vitalsData_3.PainScale).toString(), "Pain Level", "/10", "Pain scale from 0 to 10")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>(0, _Seq.append)(vitalsData_3.Weight != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Weight, "weight", "float", (0, _Option.value)(vitalsData_3.Weight).toString(), "Weight", undefined, "Body weight")) : (0, _Seq.empty)(), (0, _Seq.delay)(()=>vitalsData_3.Height != null ? (0, _Seq.singleton)(new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Height, "height", "float", (0, _Option.value)(vitalsData_3.Height).toString(), "Height", undefined, "Body height")) : (0, _Seq.empty)()))))))))))))))))));
|
|
671
887
|
}
|
|
672
888
|
default:
|
|
673
889
|
return (0, _List.empty)();
|