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