@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.
Files changed (420) hide show
  1. package/FormSpec.FS/BitmaskHelpers.js.map +1 -0
  2. package/FormSpec.FS/BlueprintValidation.js.map +1 -0
  3. package/FormSpec.FS/Components/HelloComponent.js.map +1 -0
  4. package/FormSpec.FS/Designer.js.map +1 -0
  5. package/FormSpec.FS/FormSpec.d.ts +56 -24
  6. package/FormSpec.FS/FormSpec.d.ts.map +1 -1
  7. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpec.js +172 -12
  8. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpec.js.map +1 -1
  9. package/FormSpec.FS/FormSpecHelpers.js.map +1 -0
  10. package/FormSpec.FS/FormSpecValues.js.map +1 -0
  11. package/FormSpec.FS/Helpers.js.map +1 -0
  12. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.js.map +1 -0
  13. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js.map +1 -0
  14. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js.map +1 -0
  15. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js.map +1 -0
  16. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.js.map +1 -0
  17. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js.map +1 -0
  18. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js.map +1 -0
  19. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.js.map +1 -0
  20. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +1 -0
  21. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.d.ts.map +1 -1
  22. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js +5 -2
  23. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js.map +1 -0
  24. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.d.ts +46 -5
  25. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.d.ts.map +1 -1
  26. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CoreMREncoder.js +333 -13
  27. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +1 -0
  28. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +1 -0
  29. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.d.ts +19 -0
  30. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.d.ts.map +1 -0
  31. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.js +99 -0
  32. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.js.map +1 -0
  33. package/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js.map +1 -0
  34. package/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.js.map +1 -0
  35. package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js.map +1 -0
  36. package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js.map +1 -0
  37. package/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.js.map +1 -0
  38. package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.d.ts +1 -1
  39. package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.d.ts.map +1 -1
  40. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/ItemTriggerConverter.js +18 -10
  41. package/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.js.map +1 -0
  42. package/FormSpec.FS/Integrations/CorEMR/TemplateDecodeTypes.js.map +1 -0
  43. package/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.d.ts.map +1 -1
  44. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/TemplateManifestDecoder.js +3 -63
  45. package/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js.map +1 -0
  46. package/FormSpec.FS/Integrations/OpenFda/OpenFdaTypes.js.map +1 -0
  47. package/FormSpec.FS/Interfaces.js.map +1 -0
  48. package/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js.map +1 -0
  49. package/FormSpec.FS/Interop/Facade/FormAnswersGate.js.map +1 -0
  50. package/FormSpec.FS/Interop/FormSpec.Api.Helpers.d.ts.map +1 -1
  51. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Api.Helpers.js +31 -10
  52. package/FormSpec.FS/Interop/FormSpec.Api.Helpers.js.map +1 -0
  53. package/FormSpec.FS/Interop/FormSpec.Api.Option.js.map +1 -0
  54. package/FormSpec.FS/Interop/FormSpec.Values.Api.Option.js.map +1 -0
  55. package/FormSpec.FS/Logging/LogTypes.js.map +1 -0
  56. package/FormSpec.FS/Migrator.js.map +1 -0
  57. package/FormSpec.FS/PathwayDataExtractor.d.ts.map +1 -1
  58. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayDataExtractor.js +67 -42
  59. package/FormSpec.FS/PathwayDataExtractor.js.map +1 -0
  60. package/FormSpec.FS/PathwayExecutor.d.ts.map +1 -1
  61. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayExecutor.js +20 -6
  62. package/FormSpec.FS/PathwayExecutor.js.map +1 -0
  63. package/FormSpec.FS/PathwayValidator.js.map +1 -0
  64. package/FormSpec.FS/PluginInterface.js.map +1 -0
  65. package/FormSpec.FS/Prelude.js.map +1 -0
  66. package/FormSpec.FS/Provenance.js.map +1 -0
  67. package/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.js.map +1 -0
  68. package/FormSpec.FS/Renderers/MermaidRenderer.js.map +1 -0
  69. package/FormSpec.FS/Renderers/PathwayRenderers.js.map +1 -0
  70. package/FormSpec.FS/TriggerActionDto.d.ts +26 -10
  71. package/FormSpec.FS/TriggerActionDto.d.ts.map +1 -1
  72. package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/TriggerActionDto.js +82 -17
  73. package/FormSpec.FS/TriggerActionDto.js.map +1 -0
  74. package/PathwayExecutor.withPlugins.js.map +1 -0
  75. package/PluginRegistration.js.map +1 -0
  76. package/README.md +7 -7
  77. package/Thoth.Json/packages/Thoth.Json/Decode.d.ts +2 -2
  78. package/Thoth.Json/packages/Thoth.Json/Decode.d.ts.map +1 -1
  79. package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Decode.js +69 -63
  80. package/Thoth.Json/packages/Thoth.Json/Decode.js.map +1 -0
  81. package/Thoth.Json/packages/Thoth.Json/Encode.d.ts.map +1 -1
  82. package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Encode.js +10 -6
  83. package/Thoth.Json/packages/Thoth.Json/Encode.js.map +1 -0
  84. package/Thoth.Json/packages/Thoth.Json/Extra.js.map +1 -0
  85. package/Thoth.Json/packages/Thoth.Json/Types.js.map +1 -0
  86. package/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +1 -0
  87. package/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +1 -0
  88. package/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +1 -0
  89. package/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +1 -0
  90. package/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +1 -0
  91. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js.map +1 -0
  92. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js.map +1 -0
  93. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js.map +1 -0
  94. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js.map +1 -0
  95. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js.map +1 -0
  96. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js.map +1 -0
  97. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js.map +1 -0
  98. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js.map +1 -0
  99. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js.map +1 -0
  100. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js.map +1 -0
  101. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js.map +1 -0
  102. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js.map +1 -0
  103. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js.map +1 -0
  104. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js.map +1 -0
  105. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js.map +1 -0
  106. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js.map +1 -0
  107. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js.map +1 -0
  108. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js.map +1 -0
  109. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js.map +1 -0
  110. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js.map +1 -0
  111. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js.map +1 -0
  112. package/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js.map +1 -0
  113. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js.map +1 -0
  114. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js.map +1 -0
  115. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js.map +1 -0
  116. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js.map +1 -0
  117. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js.map +1 -0
  118. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js.map +1 -0
  119. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js.map +1 -0
  120. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js.map +1 -0
  121. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js.map +1 -0
  122. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js.map +1 -0
  123. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js.map +1 -0
  124. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js.map +1 -0
  125. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js.map +1 -0
  126. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js.map +1 -0
  127. package/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js.map +1 -0
  128. package/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js.map +1 -0
  129. package/fable_modules/Fable.Promise.3.2.0/Promise.fs.js.map +1 -0
  130. package/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js.map +1 -0
  131. package/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +1 -0
  132. package/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +1 -0
  133. package/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +1 -0
  134. package/fable_modules/Feliz.2.8.0/Colors.fs.js.map +1 -0
  135. package/fable_modules/Feliz.2.8.0/DateParsing.fs.js.map +1 -0
  136. package/fable_modules/Feliz.2.8.0/Helpers.fs.js.map +1 -0
  137. package/fable_modules/Feliz.2.8.0/Internal.fs.js.map +1 -0
  138. package/fable_modules/Feliz.2.8.0/Interop.fs.js.map +1 -0
  139. package/fable_modules/Feliz.2.8.0/Key.fs.js.map +1 -0
  140. package/fable_modules/Feliz.2.8.0/Properties.fs.js.map +1 -0
  141. package/fable_modules/Feliz.2.8.0/ReactDOM.fs.js.map +1 -0
  142. package/fable_modules/Feliz.2.8.0/ReactInterop.js.map +1 -0
  143. package/fable_modules/Feliz.2.8.0/ReactTypes.fs.js.map +1 -0
  144. package/fable_modules/Feliz.2.8.0/StyleTypes.fs.js.map +1 -0
  145. package/fable_modules/Feliz.2.8.0/Svg.fs.js.map +1 -0
  146. package/fable_modules/Feliz.2.8.0/Types.fs.js.map +1 -0
  147. package/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.js.map +1 -0
  148. package/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.js.map +1 -0
  149. package/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.js.map +1 -0
  150. package/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js.map +1 -0
  151. package/package.json +1 -1
  152. package/plugins/allergyfinder/src/AllergyFinderField.js.map +1 -0
  153. package/plugins/allergyfinder/src/AllergyLogic.js.map +1 -0
  154. package/plugins/allergyfinder/src/OpenFdaClient.js.map +1 -0
  155. package/plugins/bmi/src/BMIField.js.map +1 -0
  156. package/plugins/demographics/src/DemographicsField.js.map +1 -0
  157. package/plugins/likert/src/LikertField.js.map +1 -0
  158. package/plugins/signature/src/SignatureField.js.map +1 -0
  159. package/plugins/vitals/src/VitalsField.d.ts +2 -0
  160. package/plugins/vitals/src/VitalsField.d.ts.map +1 -1
  161. package/{FormSpec.TS/plugins → plugins}/vitals/src/VitalsField.js +283 -67
  162. package/plugins/vitals/src/VitalsField.js.map +1 -0
  163. package/plugins/vitals/src/VitalsLogic.d.ts +41 -4
  164. package/plugins/vitals/src/VitalsLogic.d.ts.map +1 -1
  165. package/{FormSpec.TS/plugins → plugins}/vitals/src/VitalsLogic.js +176 -11
  166. package/plugins/vitals/src/VitalsLogic.js.map +1 -0
  167. package/src/FormSpec.FS/FormSpec.ts +98 -26
  168. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.ts +4 -4
  169. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts +314 -45
  170. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRTriggerEnrichment.ts +105 -0
  171. package/src/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.ts +18 -16
  172. package/src/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.ts +12 -86
  173. package/src/FormSpec.FS/Interop/FormSpec.Api.Helpers.ts +30 -11
  174. package/src/FormSpec.FS/PathwayDataExtractor.ts +65 -44
  175. package/src/FormSpec.FS/PathwayExecutor.ts +22 -10
  176. package/src/FormSpec.FS/TriggerActionDto.ts +64 -29
  177. package/src/Thoth.Json/packages/Thoth.Json/Decode.ts +55 -38
  178. package/src/Thoth.Json/packages/Thoth.Json/Encode.ts +16 -10
  179. package/src/plugins/vitals/src/VitalsField.ts +203 -65
  180. package/src/plugins/vitals/src/VitalsLogic.ts +140 -14
  181. package/FormSpec.TS/FormSpec.FS/BitmaskHelpers.js.map +0 -1
  182. package/FormSpec.TS/FormSpec.FS/BlueprintValidation.js.map +0 -1
  183. package/FormSpec.TS/FormSpec.FS/Components/HelloComponent.js.map +0 -1
  184. package/FormSpec.TS/FormSpec.FS/Designer.js.map +0 -1
  185. package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.js.map +0 -1
  186. package/FormSpec.TS/FormSpec.FS/FormSpecValues.js.map +0 -1
  187. package/FormSpec.TS/FormSpec.FS/Helpers.js.map +0 -1
  188. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.js.map +0 -1
  189. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js.map +0 -1
  190. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js.map +0 -1
  191. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js.map +0 -1
  192. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.js.map +0 -1
  193. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js.map +0 -1
  194. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js.map +0 -1
  195. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.js.map +0 -1
  196. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +0 -1
  197. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js.map +0 -1
  198. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +0 -1
  199. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +0 -1
  200. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js.map +0 -1
  201. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.js.map +0 -1
  202. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js.map +0 -1
  203. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js.map +0 -1
  204. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.js.map +0 -1
  205. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/ItemTriggerConverter.js.map +0 -1
  206. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateDecodeTypes.js.map +0 -1
  207. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/TemplateManifestDecoder.js.map +0 -1
  208. package/FormSpec.TS/FormSpec.FS/Integrations/OpenFda/OpenFdaTypes.js.map +0 -1
  209. package/FormSpec.TS/FormSpec.FS/Interfaces.js.map +0 -1
  210. package/FormSpec.TS/FormSpec.FS/Interop/Facade/BlueprintFilledForm.js.map +0 -1
  211. package/FormSpec.TS/FormSpec.FS/Interop/Facade/FormAnswersGate.js.map +0 -1
  212. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.js.map +0 -1
  213. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.js.map +0 -1
  214. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Values.Api.Option.js.map +0 -1
  215. package/FormSpec.TS/FormSpec.FS/Logging/LogTypes.js.map +0 -1
  216. package/FormSpec.TS/FormSpec.FS/Migrator.js.map +0 -1
  217. package/FormSpec.TS/FormSpec.FS/PathwayDataExtractor.js.map +0 -1
  218. package/FormSpec.TS/FormSpec.FS/PathwayExecutor.js.map +0 -1
  219. package/FormSpec.TS/FormSpec.FS/PathwayValidator.js.map +0 -1
  220. package/FormSpec.TS/FormSpec.FS/PluginInterface.js.map +0 -1
  221. package/FormSpec.TS/FormSpec.FS/Prelude.js.map +0 -1
  222. package/FormSpec.TS/FormSpec.FS/Provenance.js.map +0 -1
  223. package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.js.map +0 -1
  224. package/FormSpec.TS/FormSpec.FS/Renderers/MermaidRenderer.js.map +0 -1
  225. package/FormSpec.TS/FormSpec.FS/Renderers/PathwayRenderers.js.map +0 -1
  226. package/FormSpec.TS/FormSpec.FS/TriggerActionDto.js.map +0 -1
  227. package/FormSpec.TS/PathwayExecutor.withPlugins.js.map +0 -1
  228. package/FormSpec.TS/PluginRegistration.js.map +0 -1
  229. package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Decode.js.map +0 -1
  230. package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Encode.js.map +0 -1
  231. package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Extra.js.map +0 -1
  232. package/FormSpec.TS/Thoth.Json/packages/Thoth.Json/Types.js.map +0 -1
  233. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Base.fs.js.map +0 -1
  234. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Error.fs.js.map +0 -1
  235. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Extensions.fs.js.map +0 -1
  236. package/FormSpec.TS/fable_modules/Fable.Form.3.0.0/Field.fs.js.map +0 -1
  237. package/FormSpec.TS/fable_modules/Fable.Form.Simple.5.0.1/Form.fs.js.map +0 -1
  238. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js.map +0 -1
  239. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js.map +0 -1
  240. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js.map +0 -1
  241. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js.map +0 -1
  242. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js.map +0 -1
  243. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js.map +0 -1
  244. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js.map +0 -1
  245. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js.map +0 -1
  246. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js.map +0 -1
  247. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js.map +0 -1
  248. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js.map +0 -1
  249. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js.map +0 -1
  250. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js.map +0 -1
  251. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js.map +0 -1
  252. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js.map +0 -1
  253. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js.map +0 -1
  254. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js.map +0 -1
  255. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js.map +0 -1
  256. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js.map +0 -1
  257. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js.map +0 -1
  258. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js.map +0 -1
  259. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js.map +0 -1
  260. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js.map +0 -1
  261. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js.map +0 -1
  262. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js.map +0 -1
  263. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js.map +0 -1
  264. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js.map +0 -1
  265. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js.map +0 -1
  266. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js.map +0 -1
  267. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js.map +0 -1
  268. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js.map +0 -1
  269. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js.map +0 -1
  270. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js.map +0 -1
  271. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js.map +0 -1
  272. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js.map +0 -1
  273. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js.map +0 -1
  274. package/FormSpec.TS/fable_modules/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js.map +0 -1
  275. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js.map +0 -1
  276. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/Promise.fs.js.map +0 -1
  277. package/FormSpec.TS/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js.map +0 -1
  278. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js.map +0 -1
  279. package/FormSpec.TS/fable_modules/Fable.React.Types.18.3.0/Fable.React.fs.js.map +0 -1
  280. package/FormSpec.TS/fable_modules/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js.map +0 -1
  281. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Colors.fs.js.map +0 -1
  282. package/FormSpec.TS/fable_modules/Feliz.2.8.0/DateParsing.fs.js.map +0 -1
  283. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Helpers.fs.js.map +0 -1
  284. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Internal.fs.js.map +0 -1
  285. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Interop.fs.js.map +0 -1
  286. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Key.fs.js.map +0 -1
  287. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Properties.fs.js.map +0 -1
  288. package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactDOM.fs.js.map +0 -1
  289. package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactInterop.js.map +0 -1
  290. package/FormSpec.TS/fable_modules/Feliz.2.8.0/ReactTypes.fs.js.map +0 -1
  291. package/FormSpec.TS/fable_modules/Feliz.2.8.0/StyleTypes.fs.js.map +0 -1
  292. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Svg.fs.js.map +0 -1
  293. package/FormSpec.TS/fable_modules/Feliz.2.8.0/Types.fs.js.map +0 -1
  294. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/ElementBuilders.fs.js.map +0 -1
  295. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Modifiers.fs.js.map +0 -1
  296. package/FormSpec.TS/fable_modules/Feliz.Bulma.3.0.0/Operators.fs.js.map +0 -1
  297. package/FormSpec.TS/fable_modules/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js.map +0 -1
  298. package/FormSpec.TS/plugins/allergyfinder/src/AllergyFinderField.js.map +0 -1
  299. package/FormSpec.TS/plugins/allergyfinder/src/AllergyLogic.js.map +0 -1
  300. package/FormSpec.TS/plugins/allergyfinder/src/OpenFdaClient.js.map +0 -1
  301. package/FormSpec.TS/plugins/bmi/src/BMIField.js.map +0 -1
  302. package/FormSpec.TS/plugins/demographics/src/DemographicsField.js.map +0 -1
  303. package/FormSpec.TS/plugins/likert/src/LikertField.js.map +0 -1
  304. package/FormSpec.TS/plugins/signature/src/SignatureField.js.map +0 -1
  305. package/FormSpec.TS/plugins/vitals/src/VitalsField.js.map +0 -1
  306. package/FormSpec.TS/plugins/vitals/src/VitalsLogic.js.map +0 -1
  307. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/BitmaskHelpers.js +0 -0
  308. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/BlueprintValidation.js +0 -0
  309. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Components/HelloComponent.js +0 -0
  310. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Designer.js +0 -0
  311. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpecHelpers.js +0 -0
  312. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/FormSpecValues.js +0 -0
  313. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Helpers.js +0 -0
  314. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRAdapter.js +0 -0
  315. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js +0 -0
  316. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js +0 -0
  317. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js +0 -0
  318. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRSectioning.js +0 -0
  319. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js +0 -0
  320. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js +0 -0
  321. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTemplateMapper.js +0 -0
  322. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js +0 -0
  323. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/CoreMRSourceMap.js +0 -0
  324. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js +0 -0
  325. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/FormSystemAdapter.js +0 -0
  326. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js +0 -0
  327. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js +0 -0
  328. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/CoreMRTypes.js +0 -0
  329. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/CorEMR/TemplateDecodeTypes.js +0 -0
  330. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Integrations/OpenFda/OpenFdaTypes.js +0 -0
  331. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interfaces.js +0 -0
  332. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/Facade/BlueprintFilledForm.js +0 -0
  333. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/Facade/FormAnswersGate.js +0 -0
  334. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Api.Option.js +0 -0
  335. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Interop/FormSpec.Values.Api.Option.js +0 -0
  336. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Logging/LogTypes.js +0 -0
  337. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Migrator.js +0 -0
  338. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PathwayValidator.js +0 -0
  339. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/PluginInterface.js +0 -0
  340. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Prelude.js +0 -0
  341. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Provenance.js +0 -0
  342. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Renderers/FormSpecMarkdownRenderer.js +0 -0
  343. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Renderers/MermaidRenderer.js +0 -0
  344. /package/{FormSpec.TS/FormSpec.FS → FormSpec.FS}/Renderers/PathwayRenderers.js +0 -0
  345. /package/{FormSpec.TS/PathwayExecutor.withPlugins.js → PathwayExecutor.withPlugins.js} +0 -0
  346. /package/{FormSpec.TS/PluginRegistration.js → PluginRegistration.js} +0 -0
  347. /package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Extra.js +0 -0
  348. /package/{FormSpec.TS/Thoth.Json → Thoth.Json}/packages/Thoth.Json/Types.js +0 -0
  349. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Base.fs.js +0 -0
  350. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Error.fs.js +0 -0
  351. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Extensions.fs.js +0 -0
  352. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.3.0.0/Field.fs.js +0 -0
  353. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.5.0.1/Form.fs.js +0 -0
  354. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/CheckboxField.fs.js +0 -0
  355. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/ColorField.fs.js +0 -0
  356. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/DateField.fs.js +0 -0
  357. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/DateTimeLocalField.fs.js +0 -0
  358. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/EmailField.fs.js +0 -0
  359. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/FileField.fs.js +0 -0
  360. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Form.fs.js +0 -0
  361. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/FormList.fs.js +0 -0
  362. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Group.fs.js +0 -0
  363. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Html.View.fs.js +0 -0
  364. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/InputField.fs.js +0 -0
  365. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/NumberField.fs.js +0 -0
  366. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/PasswordField.fs.js +0 -0
  367. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/RadioField.fs.js +0 -0
  368. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/SearchField.fs.js +0 -0
  369. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Section.fs.js +0 -0
  370. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/SelectField.fs.js +0 -0
  371. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TelField.fs.js +0 -0
  372. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TextField.fs.js +0 -0
  373. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TextareaField.fs.js +0 -0
  374. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/TimeField.fs.js +0 -0
  375. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Bulma.5.0.1/Types.fs.js +0 -0
  376. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/CheckboxField.fs.js +0 -0
  377. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/ColorField.fs.js +0 -0
  378. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/DateField.fs.js +0 -0
  379. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/DateTimeLocalField.fs.js +0 -0
  380. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/EmailField.fs.js +0 -0
  381. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/NumberField.fs.js +0 -0
  382. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/PasswordField.fs.js +0 -0
  383. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/RadioField.fs.js +0 -0
  384. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/RangeField.fs.js +0 -0
  385. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/SearchField.fs.js +0 -0
  386. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/SelectField.fs.js +0 -0
  387. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TelField.fs.js +0 -0
  388. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TextField.fs.js +0 -0
  389. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TextareaField.fs.js +0 -0
  390. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Form.Simple.Fields.Html.1.0.1/TimeField.fs.js +0 -0
  391. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Promise.3.2.0/AsyncIterable.fs.js +0 -0
  392. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Promise.3.2.0/Promise.fs.js +0 -0
  393. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.Promise.3.2.0/PromiseImpl.fs.js +0 -0
  394. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.React.Types.18.3.0/Fable.React.Hooks.fs.js +0 -0
  395. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.React.Types.18.3.0/Fable.React.fs.js +0 -0
  396. /package/{FormSpec.TS/fable_modules → fable_modules}/Fable.ReactDom.Types.18.2.0/Fable.ReactDom.fs.js +0 -0
  397. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Colors.fs.js +0 -0
  398. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/DateParsing.fs.js +0 -0
  399. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Helpers.fs.js +0 -0
  400. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Internal.fs.js +0 -0
  401. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Interop.fs.js +0 -0
  402. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Key.fs.js +0 -0
  403. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Properties.fs.js +0 -0
  404. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/ReactDOM.fs.js +0 -0
  405. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/ReactInterop.js +0 -0
  406. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/ReactTypes.fs.js +0 -0
  407. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/StyleTypes.fs.js +0 -0
  408. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Svg.fs.js +0 -0
  409. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.2.8.0/Types.fs.js +0 -0
  410. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.Bulma.3.0.0/ElementBuilders.fs.js +0 -0
  411. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.Bulma.3.0.0/Modifiers.fs.js +0 -0
  412. /package/{FormSpec.TS/fable_modules → fable_modules}/Feliz.Bulma.3.0.0/Operators.fs.js +0 -0
  413. /package/{FormSpec.TS/fable_modules → fable_modules}/Glutinum.Feliz.ReactSignaturePadWrapper.1.0.2/Types.fs.js +0 -0
  414. /package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/AllergyFinderField.js +0 -0
  415. /package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/AllergyLogic.js +0 -0
  416. /package/{FormSpec.TS/plugins → plugins}/allergyfinder/src/OpenFdaClient.js +0 -0
  417. /package/{FormSpec.TS/plugins → plugins}/bmi/src/BMIField.js +0 -0
  418. /package/{FormSpec.TS/plugins → plugins}/demographics/src/DemographicsField.js +0 -0
  419. /package/{FormSpec.TS/plugins → plugins}/likert/src/LikertField.js +0 -0
  420. /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 elems_12;
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 parseOpt = (s)=>{
164
- if ((0, _String.isNullOrWhiteSpace)(s)) {
230
+ const parseOpt_1 = (s_1)=>{
231
+ if ((0, _String.isNullOrWhiteSpace)(s_1)) {
165
232
  return undefined;
166
233
  } else {
167
- let matchValue;
168
- let outArg = 0;
169
- matchValue = [
170
- (0, _Double.tryParse)(s, new _Types.FSharpRef(()=>outArg, (v)=>{
171
- outArg = v;
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
- outArg
240
+ outArg_1
174
241
  ];
175
- if (matchValue[0]) {
176
- return matchValue[1];
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(parseOpt(temperature), parseOpt(systolicBP), parseOpt(diastolicBP), parseOpt(pulse), parseOpt(respiration), parseOpt(oxygenSat), parseOpt(painScale))));
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 patternInput_7 = clinicalStatus === "invalid" ? [
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 ${patternInput_7[0]}`,
203
- children: patternInput_7[1]
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, value_18, setValue, unitText, placeholder)=>{
207
- let matchValue_1, elems_1;
208
- const validation = (0, _VitalsLogic.validateVitalsProperty)(propertyName, value_18);
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} ${matchValue_1 = validation.ClinicalStatus, matchValue_1 === "invalid" ? "border-red-400 focus:border-red-500 focus:ring-red-500/30" : matchValue_1 === "critical" ? "border-red-300 focus:border-red-500 focus:ring-red-500/30" : matchValue_1 === "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"}`;
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: value_18,
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
- (elems_12 = (0, _Seq.toList)((0, _Seq.delay)(()=>{
265
- let elems_8;
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
- (elems_8 = (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)(()=>{
272
- let systolicValidation, diastolicValidation, elems_7, elems_3, elems_2, elems_6, elems_4, value_70, elems_5, value_89;
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
- (value_70 = "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", [
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
- value_70
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
- (value_89 = "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", [
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
- value_89
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(elems_8))
580
+ _Interopfs.reactApi.Children.toArray(Array.from(elems_12))
408
581
  ])
409
582
  ])))), (0, _Seq.delay)(()=>{
410
- let elems_11, elems_10, elems_9;
411
- return (0, _List.exists)((s_1)=>!(0, _String.isNullOrWhiteSpace)(s_1), (0, _List.ofArray)([
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
- (elems_11 = [
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
- (elems_10 = [
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
- (elems_9 = (0, _Seq.toList)((0, _Seq.delay)(()=>(0, _Seq.append)(vitalsConfig.IncludeTemperature && !(0, _String.isNullOrWhiteSpace)(temperature) ? (0, _Seq.singleton)((0, _react.createElement)("span", {
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(elems_9))
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(elems_10))
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(elems_11))
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(elems_12))
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
- 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")));
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
- ]), (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") : 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") : undefined, (propertyName_1, fieldValue_1)=>{
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)((p_2)=>p_2.Name === propertyName_1, fieldValue_1.fields[0]);
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)((p_3)=>(0, _Util.equals)(p_3.PropertyKey, propertyKey_1), fieldValue_2.fields[0]);
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)((v_8)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Temperature, "temperature", "float", v_8.toString(), "Temperature", "°F", "Body temperature in Fahrenheit"), vitalsData_2.Temperature) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_SystolicBP) ? (0, _Option.map)((v_9)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_SystolicBP, "systolic_bp", "float", v_9.toString(), "Systolic BP", "mmHg", "Systolic blood pressure"), vitalsData_2.SystolicBP) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_DiastolicBP) ? (0, _Option.map)((v_10)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_DiastolicBP, "diastolic_bp", "float", v_10.toString(), "Diastolic BP", "mmHg", "Diastolic blood pressure"), vitalsData_2.DiastolicBP) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_Pulse) ? (0, _Option.map)((v_11)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Pulse, "pulse", "float", v_11.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_12)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_Respiration, "respiration", "float", v_12.toString(), "Respiration Rate", "RPM", "Respiratory rate per minute"), vitalsData_2.Respiration) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_OxygenSaturation) ? (0, _Option.map)((v_13)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_OxygenSaturation, "oxygen_saturation", "float", v_13.toString(), "O2 Saturation", "%", "Oxygen saturation percentage"), vitalsData_2.OxygenSaturation) : (0, _Util.equals)(propertyKey_1, Form_PropertyKeys_PainScale) ? (0, _Option.map)((v_14)=>new _FormSpec.Shared_PluginDataProperty(Form_PropertyKeys_PainScale, "pain_scale", "float", v_14.toString(), "Pain Level", "/10", "Pain scale from 0 to 10"), vitalsData_2.PainScale) : undefined;
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, value_1)=>{
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)(value_1, new _Types.FSharpRef(()=>outArg_1, (v_15)=>{
582
- outArg_1 = v_15;
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)(value_1, new _Types.FSharpRef(()=>outArg_2, (v_19)=>{
594
- outArg_2 = v_19;
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)(value_1, new _Types.FSharpRef(()=>outArg_3, (v_23)=>{
606
- outArg_3 = v_23;
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)(value_1, new _Types.FSharpRef(()=>outArg_4, (v_27)=>{
618
- outArg_4 = v_27;
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)(value_1, new _Types.FSharpRef(()=>outArg_5, (v_31)=>{
630
- outArg_5 = v_31;
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)(value_1, new _Types.FSharpRef(()=>outArg_6, (v_35)=>{
642
- outArg_6 = v_35;
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)(value_1, new _Types.FSharpRef(()=>outArg_7, (v_39)=>{
654
- outArg_7 = v_39;
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)();