@f1studio/form-spec 5.0.0-alpha.111 → 5.0.0-alpha.113

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 (191) hide show
  1. package/FormSpec.FS/BitmaskHelpers.d.ts +23 -0
  2. package/FormSpec.FS/BitmaskHelpers.d.ts.map +1 -0
  3. package/FormSpec.FS/BlueprintValidation.d.ts +16 -0
  4. package/FormSpec.FS/BlueprintValidation.d.ts.map +1 -0
  5. package/FormSpec.FS/FormSpec.d.ts +19 -5
  6. package/FormSpec.FS/FormSpec.d.ts.map +1 -1
  7. package/FormSpec.FS/FormSpecHelpers.d.ts +4 -0
  8. package/FormSpec.FS/FormSpecHelpers.d.ts.map +1 -1
  9. package/FormSpec.FS/FormSpecValues.d.ts +5 -0
  10. package/FormSpec.FS/FormSpecValues.d.ts.map +1 -1
  11. package/FormSpec.FS/Helpers.d.ts.map +1 -1
  12. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.d.ts +13 -0
  13. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.d.ts.map +1 -0
  14. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.d.ts +22 -0
  15. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.d.ts.map +1 -0
  16. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.d.ts +22 -0
  17. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.d.ts.map +1 -0
  18. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.d.ts +130 -0
  19. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.d.ts.map +1 -0
  20. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.d.ts +37 -0
  21. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.d.ts.map +1 -0
  22. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.d.ts +231 -0
  23. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.d.ts.map +1 -0
  24. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.d.ts +10 -0
  25. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.d.ts.map +1 -0
  26. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.d.ts +55 -0
  27. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.d.ts.map +1 -0
  28. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.d.ts +69 -0
  29. package/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.d.ts.map +1 -0
  30. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.d.ts +21 -0
  31. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.d.ts.map +1 -0
  32. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.d.ts +133 -0
  33. package/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.d.ts.map +1 -0
  34. package/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.d.ts +52 -0
  35. package/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.d.ts.map +1 -0
  36. package/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.d.ts +46 -0
  37. package/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.d.ts.map +1 -0
  38. package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.d.ts +4 -0
  39. package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.d.ts.map +1 -0
  40. package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.d.ts +36 -0
  41. package/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.d.ts.map +1 -0
  42. package/FormSpec.FS/Integrations/CorEMR/CorEmrTemplates.d.ts +95 -0
  43. package/FormSpec.FS/Integrations/CorEMR/CorEmrTemplates.d.ts.map +1 -0
  44. package/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.d.ts +449 -0
  45. package/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.d.ts.map +1 -0
  46. package/FormSpec.FS/Interop/FormSpec.Api.Helpers.d.ts.map +1 -1
  47. package/FormSpec.FS/Interop/FormSpec.Api.Option.d.ts +3 -1
  48. package/FormSpec.FS/Interop/FormSpec.Api.Option.d.ts.map +1 -1
  49. package/FormSpec.FS/Provenance.d.ts +10 -0
  50. package/FormSpec.FS/Provenance.d.ts.map +1 -0
  51. package/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.d.ts.map +1 -1
  52. package/FormSpec.TS/FormSpec.FS/BitmaskHelpers.js +56 -0
  53. package/FormSpec.TS/FormSpec.FS/BitmaskHelpers.js.map +1 -0
  54. package/FormSpec.TS/FormSpec.FS/BitmaskHelpers.ts.map +1 -0
  55. package/FormSpec.TS/FormSpec.FS/BlueprintValidation.js +116 -0
  56. package/FormSpec.TS/FormSpec.FS/BlueprintValidation.js.map +1 -0
  57. package/FormSpec.TS/FormSpec.FS/BlueprintValidation.ts.map +1 -0
  58. package/FormSpec.TS/FormSpec.FS/Designer.js +2 -2
  59. package/FormSpec.TS/FormSpec.FS/Designer.js.map +1 -1
  60. package/FormSpec.TS/FormSpec.FS/Designer.ts.map +1 -1
  61. package/FormSpec.TS/FormSpec.FS/FormSpec.js +72 -3
  62. package/FormSpec.TS/FormSpec.FS/FormSpec.js.map +1 -1
  63. package/FormSpec.TS/FormSpec.FS/FormSpec.ts.map +1 -1
  64. package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.js +201 -3
  65. package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.js.map +1 -1
  66. package/FormSpec.TS/FormSpec.FS/FormSpecHelpers.ts.map +1 -1
  67. package/FormSpec.TS/FormSpec.FS/FormSpecValues.js +38 -3
  68. package/FormSpec.TS/FormSpec.FS/FormSpecValues.js.map +1 -1
  69. package/FormSpec.TS/FormSpec.FS/FormSpecValues.ts.map +1 -1
  70. package/FormSpec.TS/FormSpec.FS/Helpers.js +44 -27
  71. package/FormSpec.TS/FormSpec.FS/Helpers.js.map +1 -1
  72. package/FormSpec.TS/FormSpec.FS/Helpers.ts.map +1 -1
  73. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.js +45 -0
  74. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.js.map +1 -0
  75. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.ts.map +1 -0
  76. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js +145 -0
  77. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.js.map +1 -0
  78. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.ts.map +1 -0
  79. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js +139 -0
  80. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.js.map +1 -0
  81. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.ts.map +1 -0
  82. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js +801 -0
  83. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.js.map +1 -0
  84. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.ts.map +1 -0
  85. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.js +121 -0
  86. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.js.map +1 -0
  87. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.ts.map +1 -0
  88. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js +1380 -0
  89. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.js.map +1 -0
  90. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.ts.map +1 -0
  91. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js +29 -0
  92. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.js.map +1 -0
  93. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.ts.map +1 -0
  94. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js +172 -0
  95. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.js.map +1 -0
  96. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.ts.map +1 -0
  97. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js +406 -0
  98. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.js.map +1 -0
  99. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.ts.map +1 -0
  100. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js +317 -0
  101. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.js.map +1 -0
  102. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts.map +1 -0
  103. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js +622 -0
  104. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.js.map +1 -0
  105. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.ts.map +1 -0
  106. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js +448 -0
  107. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.js.map +1 -0
  108. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.ts.map +1 -0
  109. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.js +198 -0
  110. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.js.map +1 -0
  111. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.ts.map +1 -0
  112. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js +57 -0
  113. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.js.map +1 -0
  114. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.ts.map +1 -0
  115. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js +144 -0
  116. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.js.map +1 -0
  117. package/FormSpec.TS/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.ts.map +1 -0
  118. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CorEmrTemplates.js +258 -0
  119. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CorEmrTemplates.js.map +1 -0
  120. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CorEmrTemplates.ts.map +1 -0
  121. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.js +1768 -0
  122. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.js.map +1 -0
  123. package/FormSpec.TS/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.ts.map +1 -0
  124. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.js +22 -18
  125. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.js.map +1 -1
  126. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Helpers.ts.map +1 -1
  127. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.js +18 -6
  128. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.js.map +1 -1
  129. package/FormSpec.TS/FormSpec.FS/Interop/FormSpec.Api.Option.ts.map +1 -1
  130. package/FormSpec.TS/FormSpec.FS/PathwayExecutor.js +1 -1
  131. package/FormSpec.TS/FormSpec.FS/Provenance.js +41 -0
  132. package/FormSpec.TS/FormSpec.FS/Provenance.js.map +1 -0
  133. package/FormSpec.TS/FormSpec.FS/Provenance.ts.map +1 -0
  134. package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.js +36 -13
  135. package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.js.map +1 -1
  136. package/FormSpec.TS/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.ts.map +1 -1
  137. package/FormSpec.TS/FormSpec.FS/Renderers/PathwayRenderers.js +1 -1
  138. package/FormSpec.TS/PathwayExecutor.withPlugins.js +0 -5
  139. package/FormSpec.TS/PathwayExecutor.withPlugins.js.map +1 -1
  140. package/FormSpec.TS/PluginRegistration.js +2 -0
  141. package/FormSpec.TS/PluginRegistration.js.map +1 -1
  142. package/FormSpec.TS/PluginRegistration.ts.map +1 -1
  143. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.js.map +1 -1
  144. package/FormSpec.TS/fable_modules/Thoth.Json.10.4.1/Encode.fs.ts.map +1 -1
  145. package/FormSpec.TS/fable_modules/project_cracked.json +1 -1
  146. package/FormSpec.TS/plugins/demographics/src/DemographicsField.js +918 -0
  147. package/FormSpec.TS/plugins/demographics/src/DemographicsField.js.map +1 -0
  148. package/FormSpec.TS/plugins/demographics/src/DemographicsField.ts.map +1 -0
  149. package/FormSpec.TS/plugins/likert/src/LikertField.js +1 -1
  150. package/PathwayExecutor.withPlugins.d.ts +0 -5
  151. package/PathwayExecutor.withPlugins.d.ts.map +1 -1
  152. package/README.md +7 -7
  153. package/fable_modules/Thoth.Json.10.4.1/Extra.fs.d.ts +3 -0
  154. package/fable_modules/Thoth.Json.10.4.1/Extra.fs.d.ts.map +1 -0
  155. package/package.json +4 -4
  156. package/plugins/demographics/src/DemographicsField.d.ts +104 -0
  157. package/plugins/demographics/src/DemographicsField.d.ts.map +1 -0
  158. package/src/FormSpec.FS/BitmaskHelpers.ts +52 -0
  159. package/src/FormSpec.FS/BlueprintValidation.ts +108 -0
  160. package/src/FormSpec.FS/Designer.ts +2 -2
  161. package/src/FormSpec.FS/FormSpec.ts +39 -8
  162. package/src/FormSpec.FS/FormSpecHelpers.ts +190 -12
  163. package/src/FormSpec.FS/FormSpecValues.ts +42 -3
  164. package/src/FormSpec.FS/Helpers.ts +44 -27
  165. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRAdapter.ts +37 -0
  166. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRElementTypeMap.ts +103 -0
  167. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFieldTypeMapper.ts +129 -0
  168. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRFormSpecValidator.ts +490 -0
  169. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSectioning.ts +87 -0
  170. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRSemanticReportBuilder.ts +1046 -0
  171. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRStepsBuilder.ts +26 -0
  172. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTemplateToFormSpec.ts +161 -0
  173. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CorEMRTriggerConverter.ts +386 -0
  174. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMREncoder.ts +320 -0
  175. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/CoreMRSourceMap.ts +371 -0
  176. package/src/FormSpec.FS/Integrations/Adapters/CorEMR/FormSpecToCoreMRInsert.ts +372 -0
  177. package/src/FormSpec.FS/Integrations/Adapters/FormSystemAdapter.ts +92 -0
  178. package/src/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormAdapter.ts +51 -0
  179. package/src/FormSpec.FS/Integrations/Adapters/ReactHookForm/ReactHookFormTypes.ts +71 -0
  180. package/src/FormSpec.FS/Integrations/CorEMR/CorEmrTemplates.ts +15 -0
  181. package/src/FormSpec.FS/Integrations/CorEMR/CoreMRTypes.ts +825 -0
  182. package/src/FormSpec.FS/Interop/FormSpec.Api.Helpers.ts +19 -15
  183. package/src/FormSpec.FS/Interop/FormSpec.Api.Option.ts +13 -7
  184. package/src/FormSpec.FS/PathwayExecutor.ts +1 -1
  185. package/src/FormSpec.FS/Provenance.ts +19 -0
  186. package/src/FormSpec.FS/Renderers/FormSpecMarkdownRenderer.ts +32 -12
  187. package/src/FormSpec.FS/Renderers/PathwayRenderers.ts +1 -1
  188. package/src/PathwayExecutor.withPlugins.ts +0 -5
  189. package/src/PluginRegistration.ts +2 -0
  190. package/src/plugins/demographics/src/DemographicsField.ts +502 -0
  191. package/src/plugins/likert/src/LikertField.ts +1 -1
@@ -0,0 +1,1768 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
+ });
10
+ }
11
+ _export(exports, {
12
+ get ConditionalRule () {
13
+ return ConditionalRule;
14
+ },
15
+ get ConditionalRule_$reflection () {
16
+ return ConditionalRule_$reflection;
17
+ },
18
+ get CorEmrTemplatesResponse () {
19
+ return CorEmrTemplatesResponse;
20
+ },
21
+ get CorEmrTemplatesResponse_$reflection () {
22
+ return CorEmrTemplatesResponse_$reflection;
23
+ },
24
+ get CoreMRAdapterRelationship () {
25
+ return CoreMRAdapterRelationship;
26
+ },
27
+ get CoreMRAdapterRelationship_$reflection () {
28
+ return CoreMRAdapterRelationship_$reflection;
29
+ },
30
+ get CoreMRChoice () {
31
+ return CoreMRChoice;
32
+ },
33
+ get CoreMRChoice_$reflection () {
34
+ return CoreMRChoice_$reflection;
35
+ },
36
+ get CoreMREnhancementMetadata () {
37
+ return CoreMREnhancementMetadata;
38
+ },
39
+ get CoreMREnhancementMetadata_$reflection () {
40
+ return CoreMREnhancementMetadata_$reflection;
41
+ },
42
+ get CoreMRError () {
43
+ return CoreMRError;
44
+ },
45
+ get CoreMRError_$reflection () {
46
+ return CoreMRError_$reflection;
47
+ },
48
+ get CoreMRFormData () {
49
+ return CoreMRFormData;
50
+ },
51
+ get CoreMRFormData_$reflection () {
52
+ return CoreMRFormData_$reflection;
53
+ },
54
+ get CoreMRFormDetail () {
55
+ return CoreMRFormDetail;
56
+ },
57
+ get CoreMRFormDetail_$reflection () {
58
+ return CoreMRFormDetail_$reflection;
59
+ },
60
+ get CoreMRFormMetadata () {
61
+ return CoreMRFormMetadata;
62
+ },
63
+ get CoreMRFormMetadata_$reflection () {
64
+ return CoreMRFormMetadata_$reflection;
65
+ },
66
+ get CoreMRItem () {
67
+ return CoreMRItem;
68
+ },
69
+ get CoreMRItem_$reflection () {
70
+ return CoreMRItem_$reflection;
71
+ },
72
+ get CoreMRResult$1 () {
73
+ return CoreMRResult$1;
74
+ },
75
+ get CoreMRResult$1_$reflection () {
76
+ return CoreMRResult$1_$reflection;
77
+ },
78
+ get CoreMRResult$1_Failure () {
79
+ return CoreMRResult$1_Failure;
80
+ },
81
+ get CoreMRResult$1_Success () {
82
+ return CoreMRResult$1_Success;
83
+ },
84
+ get CoreMRTag () {
85
+ return CoreMRTag;
86
+ },
87
+ get CoreMRTag_$reflection () {
88
+ return CoreMRTag_$reflection;
89
+ },
90
+ get CoreMRTrigger () {
91
+ return CoreMRTrigger;
92
+ },
93
+ get CoreMRTriggerCondition () {
94
+ return CoreMRTriggerCondition;
95
+ },
96
+ get CoreMRTriggerCondition_$reflection () {
97
+ return CoreMRTriggerCondition_$reflection;
98
+ },
99
+ get CoreMRTriggerEvent () {
100
+ return CoreMRTriggerEvent;
101
+ },
102
+ get CoreMRTriggerEvent_$reflection () {
103
+ return CoreMRTriggerEvent_$reflection;
104
+ },
105
+ get CoreMRTrigger_$reflection () {
106
+ return CoreMRTrigger_$reflection;
107
+ },
108
+ get CoreMRValidationError () {
109
+ return CoreMRValidationError;
110
+ },
111
+ get CoreMRValidationError_$reflection () {
112
+ return CoreMRValidationError_$reflection;
113
+ },
114
+ get ElementType () {
115
+ return ElementType;
116
+ },
117
+ get ElementType_$reflection () {
118
+ return ElementType_$reflection;
119
+ },
120
+ get EncounterTypes () {
121
+ return EncounterTypes;
122
+ },
123
+ get EncounterTypes_$reflection () {
124
+ return EncounterTypes_$reflection;
125
+ },
126
+ get EnrichedTemplate () {
127
+ return EnrichedTemplate;
128
+ },
129
+ get EnrichedTemplateCollection () {
130
+ return EnrichedTemplateCollection;
131
+ },
132
+ get EnrichedTemplateCollection_$reflection () {
133
+ return EnrichedTemplateCollection_$reflection;
134
+ },
135
+ get EnrichedTemplateResponse () {
136
+ return EnrichedTemplateResponse;
137
+ },
138
+ get EnrichedTemplateResponse_$reflection () {
139
+ return EnrichedTemplateResponse_$reflection;
140
+ },
141
+ get EnrichedTemplate_$reflection () {
142
+ return EnrichedTemplate_$reflection;
143
+ },
144
+ get FormChoice () {
145
+ return FormChoice;
146
+ },
147
+ get FormChoice_$reflection () {
148
+ return FormChoice_$reflection;
149
+ },
150
+ get FormDetailResponse () {
151
+ return FormDetailResponse;
152
+ },
153
+ get FormDetailResponse_$reflection () {
154
+ return FormDetailResponse_$reflection;
155
+ },
156
+ get FormItem () {
157
+ return FormItem;
158
+ },
159
+ get FormItem_$reflection () {
160
+ return FormItem_$reflection;
161
+ },
162
+ get FormResponse () {
163
+ return FormResponse;
164
+ },
165
+ get FormResponse_$reflection () {
166
+ return FormResponse_$reflection;
167
+ },
168
+ get FormStep () {
169
+ return FormStep;
170
+ },
171
+ get FormStep_$reflection () {
172
+ return FormStep_$reflection;
173
+ },
174
+ get FormSubmissionRequest () {
175
+ return FormSubmissionRequest;
176
+ },
177
+ get FormSubmissionRequest_$reflection () {
178
+ return FormSubmissionRequest_$reflection;
179
+ },
180
+ get FormSubmissionResponse () {
181
+ return FormSubmissionResponse;
182
+ },
183
+ get FormSubmissionResponse_$reflection () {
184
+ return FormSubmissionResponse_$reflection;
185
+ },
186
+ get ItemValidation () {
187
+ return ItemValidation;
188
+ },
189
+ get ItemValidation_$reflection () {
190
+ return ItemValidation_$reflection;
191
+ },
192
+ get PatientSearchResponse () {
193
+ return PatientSearchResponse;
194
+ },
195
+ get PatientSearchResponse_$reflection () {
196
+ return PatientSearchResponse_$reflection;
197
+ },
198
+ get PatientSummary () {
199
+ return PatientSummary;
200
+ },
201
+ get PatientSummary_$reflection () {
202
+ return PatientSummary_$reflection;
203
+ },
204
+ get ScoreCategory () {
205
+ return ScoreCategory;
206
+ },
207
+ get ScoreCategory_$reflection () {
208
+ return ScoreCategory_$reflection;
209
+ },
210
+ get ScoringConfig () {
211
+ return ScoringConfig;
212
+ },
213
+ get ScoringConfig_$reflection () {
214
+ return ScoringConfig_$reflection;
215
+ },
216
+ get TemplateCollectionStats () {
217
+ return TemplateCollectionStats;
218
+ },
219
+ get TemplateCollectionStats_$reflection () {
220
+ return TemplateCollectionStats_$reflection;
221
+ },
222
+ get TemplateDetailResponse () {
223
+ return TemplateDetailResponse;
224
+ },
225
+ get TemplateDetailResponse_$reflection () {
226
+ return TemplateDetailResponse_$reflection;
227
+ },
228
+ get ValidationError () {
229
+ return ValidationError;
230
+ },
231
+ get ValidationError_$reflection () {
232
+ return ValidationError_$reflection;
233
+ },
234
+ get ValidationRules () {
235
+ return ValidationRules;
236
+ },
237
+ get ValidationRules_$reflection () {
238
+ return ValidationRules_$reflection;
239
+ }
240
+ });
241
+ const _Types = require("@fable-org/fable-library-js/Types.js");
242
+ const _Reflection = require("@fable-org/fable-library-js/Reflection.js");
243
+ class ElementType extends _Types.Record {
244
+ constructor(Code, ValueEncoding, TextField){
245
+ super();
246
+ this.Code = Code;
247
+ this.ValueEncoding = ValueEncoding;
248
+ this.TextField = TextField;
249
+ }
250
+ }
251
+ function ElementType_$reflection() {
252
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.ElementType", [], ElementType, ()=>[
253
+ [
254
+ "Code",
255
+ _Reflection.string_type
256
+ ],
257
+ [
258
+ "ValueEncoding",
259
+ _Reflection.string_type
260
+ ],
261
+ [
262
+ "TextField",
263
+ _Reflection.string_type
264
+ ]
265
+ ]);
266
+ }
267
+ class TemplateCollectionStats extends _Types.Record {
268
+ constructor(TotalForms, WithCodes, WithSyntheticCodes, WithScoring, WithSignature, ByUsage, ByElementType, CodeExtraction){
269
+ super();
270
+ this.TotalForms = TotalForms | 0;
271
+ this.WithCodes = WithCodes | 0;
272
+ this.WithSyntheticCodes = WithSyntheticCodes | 0;
273
+ this.WithScoring = WithScoring | 0;
274
+ this.WithSignature = WithSignature | 0;
275
+ this.ByUsage = ByUsage;
276
+ this.ByElementType = ByElementType;
277
+ this.CodeExtraction = CodeExtraction;
278
+ }
279
+ }
280
+ function TemplateCollectionStats_$reflection() {
281
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.TemplateCollectionStats", [], TemplateCollectionStats, ()=>[
282
+ [
283
+ "TotalForms",
284
+ _Reflection.int32_type
285
+ ],
286
+ [
287
+ "WithCodes",
288
+ _Reflection.int32_type
289
+ ],
290
+ [
291
+ "WithSyntheticCodes",
292
+ _Reflection.int32_type
293
+ ],
294
+ [
295
+ "WithScoring",
296
+ _Reflection.int32_type
297
+ ],
298
+ [
299
+ "WithSignature",
300
+ _Reflection.int32_type
301
+ ],
302
+ [
303
+ "ByUsage",
304
+ (0, _Reflection.class_type)("Microsoft.FSharp.Collections.FSharpMap`2", [
305
+ _Reflection.string_type,
306
+ _Reflection.int32_type
307
+ ])
308
+ ],
309
+ [
310
+ "ByElementType",
311
+ (0, _Reflection.class_type)("Microsoft.FSharp.Collections.FSharpMap`2", [
312
+ _Reflection.string_type,
313
+ _Reflection.int32_type
314
+ ])
315
+ ],
316
+ [
317
+ "CodeExtraction",
318
+ (0, _Reflection.anonRecord_type)([
319
+ "BySource",
320
+ (0, _Reflection.anonRecord_type)([
321
+ "Description",
322
+ _Reflection.int32_type
323
+ ], [
324
+ "Generated",
325
+ _Reflection.int32_type
326
+ ], [
327
+ "Name",
328
+ _Reflection.int32_type
329
+ ])
330
+ ], [
331
+ "Extracted",
332
+ _Reflection.int32_type
333
+ ], [
334
+ "Generated",
335
+ _Reflection.int32_type
336
+ ], [
337
+ "Regex",
338
+ _Reflection.string_type
339
+ ])
340
+ ]
341
+ ]);
342
+ }
343
+ class EncounterTypes extends _Types.Record {
344
+ constructor(Medical, Mental, Dental, Other){
345
+ super();
346
+ this.Medical = Medical;
347
+ this.Mental = Mental;
348
+ this.Dental = Dental;
349
+ this.Other = Other;
350
+ }
351
+ }
352
+ function EncounterTypes_$reflection() {
353
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.EncounterTypes", [], EncounterTypes, ()=>[
354
+ [
355
+ "Medical",
356
+ _Reflection.bool_type
357
+ ],
358
+ [
359
+ "Mental",
360
+ _Reflection.bool_type
361
+ ],
362
+ [
363
+ "Dental",
364
+ _Reflection.bool_type
365
+ ],
366
+ [
367
+ "Other",
368
+ _Reflection.bool_type
369
+ ]
370
+ ]);
371
+ }
372
+ class EnrichedTemplate extends _Types.Record {
373
+ constructor(FormId, FormCode, FormCodeSource, Name, Description, CurrentVersionId, IsIntake, Usage, EncounterTypes, RequiresSignature, StructureHash, ClinicalHash, CosmeticHash, ItemCount, IsScored){
374
+ super();
375
+ this.FormId = FormId | 0;
376
+ this.FormCode = FormCode;
377
+ this.FormCodeSource = FormCodeSource;
378
+ this.Name = Name;
379
+ this.Description = Description;
380
+ this.CurrentVersionId = CurrentVersionId | 0;
381
+ this.IsIntake = IsIntake;
382
+ this.Usage = Usage;
383
+ this.EncounterTypes = EncounterTypes;
384
+ this.RequiresSignature = RequiresSignature;
385
+ this.StructureHash = StructureHash;
386
+ this.ClinicalHash = ClinicalHash;
387
+ this.CosmeticHash = CosmeticHash;
388
+ this.ItemCount = ItemCount | 0;
389
+ this.IsScored = IsScored;
390
+ }
391
+ }
392
+ function EnrichedTemplate_$reflection() {
393
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.EnrichedTemplate", [], EnrichedTemplate, ()=>[
394
+ [
395
+ "FormId",
396
+ _Reflection.int32_type
397
+ ],
398
+ [
399
+ "FormCode",
400
+ _Reflection.string_type
401
+ ],
402
+ [
403
+ "FormCodeSource",
404
+ _Reflection.string_type
405
+ ],
406
+ [
407
+ "Name",
408
+ _Reflection.string_type
409
+ ],
410
+ [
411
+ "Description",
412
+ _Reflection.string_type
413
+ ],
414
+ [
415
+ "CurrentVersionId",
416
+ _Reflection.int32_type
417
+ ],
418
+ [
419
+ "IsIntake",
420
+ _Reflection.bool_type
421
+ ],
422
+ [
423
+ "Usage",
424
+ _Reflection.string_type
425
+ ],
426
+ [
427
+ "EncounterTypes",
428
+ EncounterTypes_$reflection()
429
+ ],
430
+ [
431
+ "RequiresSignature",
432
+ _Reflection.bool_type
433
+ ],
434
+ [
435
+ "StructureHash",
436
+ _Reflection.string_type
437
+ ],
438
+ [
439
+ "ClinicalHash",
440
+ _Reflection.string_type
441
+ ],
442
+ [
443
+ "CosmeticHash",
444
+ _Reflection.string_type
445
+ ],
446
+ [
447
+ "ItemCount",
448
+ _Reflection.int32_type
449
+ ],
450
+ [
451
+ "IsScored",
452
+ _Reflection.bool_type
453
+ ]
454
+ ]);
455
+ }
456
+ class EnrichedTemplateCollection extends _Types.Record {
457
+ constructor(Schema, Version, GeneratedAt, GeneratedFrom, CoreEmr, Filter, FilterDescription, FormCount, Forms, ElementTypes, Stats){
458
+ super();
459
+ this.Schema = Schema;
460
+ this.Version = Version | 0;
461
+ this.GeneratedAt = GeneratedAt;
462
+ this.GeneratedFrom = GeneratedFrom;
463
+ this.CoreEmr = CoreEmr;
464
+ this.Filter = Filter;
465
+ this.FilterDescription = FilterDescription;
466
+ this.FormCount = FormCount | 0;
467
+ this.Forms = Forms;
468
+ this.ElementTypes = ElementTypes;
469
+ this.Stats = Stats;
470
+ }
471
+ }
472
+ function EnrichedTemplateCollection_$reflection() {
473
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.EnrichedTemplateCollection", [], EnrichedTemplateCollection, ()=>[
474
+ [
475
+ "Schema",
476
+ _Reflection.string_type
477
+ ],
478
+ [
479
+ "Version",
480
+ _Reflection.int32_type
481
+ ],
482
+ [
483
+ "GeneratedAt",
484
+ (0, _Reflection.class_type)("System.DateTimeOffset")
485
+ ],
486
+ [
487
+ "GeneratedFrom",
488
+ _Reflection.string_type
489
+ ],
490
+ [
491
+ "CoreEmr",
492
+ (0, _Reflection.option_type)((0, _Reflection.anonRecord_type)([
493
+ "AppVersion",
494
+ _Reflection.string_type
495
+ ], [
496
+ "SchemaRevision",
497
+ _Reflection.string_type
498
+ ], [
499
+ "SchemaVersion",
500
+ _Reflection.string_type
501
+ ]))
502
+ ],
503
+ [
504
+ "Filter",
505
+ _Reflection.string_type
506
+ ],
507
+ [
508
+ "FilterDescription",
509
+ _Reflection.string_type
510
+ ],
511
+ [
512
+ "FormCount",
513
+ _Reflection.int32_type
514
+ ],
515
+ [
516
+ "Forms",
517
+ (0, _Reflection.array_type)(EnrichedTemplate_$reflection())
518
+ ],
519
+ [
520
+ "ElementTypes",
521
+ (0, _Reflection.class_type)("Microsoft.FSharp.Collections.FSharpMap`2", [
522
+ _Reflection.string_type,
523
+ ElementType_$reflection()
524
+ ])
525
+ ],
526
+ [
527
+ "Stats",
528
+ TemplateCollectionStats_$reflection()
529
+ ]
530
+ ]);
531
+ }
532
+ class EnrichedTemplateResponse extends _Types.Record {
533
+ constructor(Success, Data, Error$, Timestamp){
534
+ super();
535
+ this.Success = Success;
536
+ this.Data = Data;
537
+ this.Error = Error$;
538
+ this.Timestamp = Timestamp;
539
+ }
540
+ }
541
+ function EnrichedTemplateResponse_$reflection() {
542
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.EnrichedTemplateResponse", [], EnrichedTemplateResponse, ()=>[
543
+ [
544
+ "Success",
545
+ _Reflection.bool_type
546
+ ],
547
+ [
548
+ "Data",
549
+ (0, _Reflection.option_type)(EnrichedTemplateCollection_$reflection())
550
+ ],
551
+ [
552
+ "Error",
553
+ (0, _Reflection.option_type)(_Reflection.string_type)
554
+ ],
555
+ [
556
+ "Timestamp",
557
+ (0, _Reflection.option_type)((0, _Reflection.class_type)("System.DateTimeOffset"))
558
+ ]
559
+ ]);
560
+ }
561
+ class FormChoice extends _Types.Record {
562
+ constructor(ChoiceId, Text$, Value, Score, IsOther){
563
+ super();
564
+ this.ChoiceId = ChoiceId | 0;
565
+ this.Text = Text$;
566
+ this.Value = Value;
567
+ this.Score = Score;
568
+ this.IsOther = IsOther;
569
+ }
570
+ }
571
+ function FormChoice_$reflection() {
572
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.FormChoice", [], FormChoice, ()=>[
573
+ [
574
+ "ChoiceId",
575
+ _Reflection.int32_type
576
+ ],
577
+ [
578
+ "Text",
579
+ _Reflection.string_type
580
+ ],
581
+ [
582
+ "Value",
583
+ _Reflection.obj_type
584
+ ],
585
+ [
586
+ "Score",
587
+ (0, _Reflection.option_type)(_Reflection.int32_type)
588
+ ],
589
+ [
590
+ "IsOther",
591
+ (0, _Reflection.option_type)(_Reflection.bool_type)
592
+ ]
593
+ ]);
594
+ }
595
+ class ItemValidation extends _Types.Record {
596
+ constructor(Type, Pattern, Min, Max, Message){
597
+ super();
598
+ this.Type = Type;
599
+ this.Pattern = Pattern;
600
+ this.Min = Min;
601
+ this.Max = Max;
602
+ this.Message = Message;
603
+ }
604
+ }
605
+ function ItemValidation_$reflection() {
606
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.ItemValidation", [], ItemValidation, ()=>[
607
+ [
608
+ "Type",
609
+ _Reflection.string_type
610
+ ],
611
+ [
612
+ "Pattern",
613
+ (0, _Reflection.option_type)(_Reflection.string_type)
614
+ ],
615
+ [
616
+ "Min",
617
+ (0, _Reflection.option_type)(_Reflection.float64_type)
618
+ ],
619
+ [
620
+ "Max",
621
+ (0, _Reflection.option_type)(_Reflection.float64_type)
622
+ ],
623
+ [
624
+ "Message",
625
+ (0, _Reflection.option_type)(_Reflection.string_type)
626
+ ]
627
+ ]);
628
+ }
629
+ class ConditionalRule extends _Types.Record {
630
+ constructor(ItemId, Operator, Value){
631
+ super();
632
+ this.ItemId = ItemId | 0;
633
+ this.Operator = Operator;
634
+ this.Value = Value;
635
+ }
636
+ }
637
+ function ConditionalRule_$reflection() {
638
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.ConditionalRule", [], ConditionalRule, ()=>[
639
+ [
640
+ "ItemId",
641
+ _Reflection.int32_type
642
+ ],
643
+ [
644
+ "Operator",
645
+ _Reflection.string_type
646
+ ],
647
+ [
648
+ "Value",
649
+ _Reflection.obj_type
650
+ ]
651
+ ]);
652
+ }
653
+ class FormItem extends _Types.Record {
654
+ constructor(ItemId, StepId, ItemOrder, ItemType, ItemTypeCode, Prompt, HelpText, Required, Choices, Validation, ConditionalOn){
655
+ super();
656
+ this.ItemId = ItemId | 0;
657
+ this.StepId = StepId | 0;
658
+ this.ItemOrder = ItemOrder | 0;
659
+ this.ItemType = ItemType | 0;
660
+ this.ItemTypeCode = ItemTypeCode;
661
+ this.Prompt = Prompt;
662
+ this.HelpText = HelpText;
663
+ this.Required = Required;
664
+ this.Choices = Choices;
665
+ this.Validation = Validation;
666
+ this.ConditionalOn = ConditionalOn;
667
+ }
668
+ }
669
+ function FormItem_$reflection() {
670
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.FormItem", [], FormItem, ()=>[
671
+ [
672
+ "ItemId",
673
+ _Reflection.int32_type
674
+ ],
675
+ [
676
+ "StepId",
677
+ _Reflection.int32_type
678
+ ],
679
+ [
680
+ "ItemOrder",
681
+ _Reflection.int32_type
682
+ ],
683
+ [
684
+ "ItemType",
685
+ _Reflection.int32_type
686
+ ],
687
+ [
688
+ "ItemTypeCode",
689
+ _Reflection.string_type
690
+ ],
691
+ [
692
+ "Prompt",
693
+ _Reflection.string_type
694
+ ],
695
+ [
696
+ "HelpText",
697
+ (0, _Reflection.option_type)(_Reflection.string_type)
698
+ ],
699
+ [
700
+ "Required",
701
+ _Reflection.bool_type
702
+ ],
703
+ [
704
+ "Choices",
705
+ (0, _Reflection.option_type)((0, _Reflection.array_type)(FormChoice_$reflection()))
706
+ ],
707
+ [
708
+ "Validation",
709
+ (0, _Reflection.option_type)(ItemValidation_$reflection())
710
+ ],
711
+ [
712
+ "ConditionalOn",
713
+ (0, _Reflection.option_type)(ConditionalRule_$reflection())
714
+ ]
715
+ ]);
716
+ }
717
+ class FormStep extends _Types.Record {
718
+ constructor(StepId, StepOrder, Title, Description, ItemCount){
719
+ super();
720
+ this.StepId = StepId | 0;
721
+ this.StepOrder = StepOrder | 0;
722
+ this.Title = Title;
723
+ this.Description = Description;
724
+ this.ItemCount = ItemCount | 0;
725
+ }
726
+ }
727
+ function FormStep_$reflection() {
728
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.FormStep", [], FormStep, ()=>[
729
+ [
730
+ "StepId",
731
+ _Reflection.int32_type
732
+ ],
733
+ [
734
+ "StepOrder",
735
+ _Reflection.int32_type
736
+ ],
737
+ [
738
+ "Title",
739
+ _Reflection.string_type
740
+ ],
741
+ [
742
+ "Description",
743
+ (0, _Reflection.option_type)(_Reflection.string_type)
744
+ ],
745
+ [
746
+ "ItemCount",
747
+ _Reflection.int32_type
748
+ ]
749
+ ]);
750
+ }
751
+ class ScoreCategory extends _Types.Record {
752
+ constructor(Name, MinScore, MaxScore, Severity, Interpretation){
753
+ super();
754
+ this.Name = Name;
755
+ this.MinScore = MinScore | 0;
756
+ this.MaxScore = MaxScore | 0;
757
+ this.Severity = Severity;
758
+ this.Interpretation = Interpretation;
759
+ }
760
+ }
761
+ function ScoreCategory_$reflection() {
762
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.ScoreCategory", [], ScoreCategory, ()=>[
763
+ [
764
+ "Name",
765
+ _Reflection.string_type
766
+ ],
767
+ [
768
+ "MinScore",
769
+ _Reflection.int32_type
770
+ ],
771
+ [
772
+ "MaxScore",
773
+ _Reflection.int32_type
774
+ ],
775
+ [
776
+ "Severity",
777
+ _Reflection.string_type
778
+ ],
779
+ [
780
+ "Interpretation",
781
+ _Reflection.string_type
782
+ ]
783
+ ]);
784
+ }
785
+ class ScoringConfig extends _Types.Record {
786
+ constructor(Enabled, TotalPossible, Categories, Interpretation){
787
+ super();
788
+ this.Enabled = Enabled;
789
+ this.TotalPossible = TotalPossible | 0;
790
+ this.Categories = Categories;
791
+ this.Interpretation = Interpretation;
792
+ }
793
+ }
794
+ function ScoringConfig_$reflection() {
795
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.ScoringConfig", [], ScoringConfig, ()=>[
796
+ [
797
+ "Enabled",
798
+ _Reflection.bool_type
799
+ ],
800
+ [
801
+ "TotalPossible",
802
+ _Reflection.int32_type
803
+ ],
804
+ [
805
+ "Categories",
806
+ (0, _Reflection.option_type)((0, _Reflection.array_type)(ScoreCategory_$reflection()))
807
+ ],
808
+ [
809
+ "Interpretation",
810
+ (0, _Reflection.option_type)(_Reflection.string_type)
811
+ ]
812
+ ]);
813
+ }
814
+ class ValidationRules extends _Types.Record {
815
+ constructor(RequireAllRequired, AllowPartialSubmit, CustomRules){
816
+ super();
817
+ this.RequireAllRequired = RequireAllRequired;
818
+ this.AllowPartialSubmit = AllowPartialSubmit;
819
+ this.CustomRules = CustomRules;
820
+ }
821
+ }
822
+ function ValidationRules_$reflection() {
823
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.ValidationRules", [], ValidationRules, ()=>[
824
+ [
825
+ "RequireAllRequired",
826
+ _Reflection.bool_type
827
+ ],
828
+ [
829
+ "AllowPartialSubmit",
830
+ _Reflection.bool_type
831
+ ],
832
+ [
833
+ "CustomRules",
834
+ (0, _Reflection.option_type)((0, _Reflection.array_type)(_Reflection.string_type))
835
+ ]
836
+ ]);
837
+ }
838
+ class CoreMRError extends _Types.Record {
839
+ constructor(Success, Error$, Details, Timestamp, Path){
840
+ super();
841
+ this.Success = Success;
842
+ this.Error = Error$;
843
+ this.Details = Details;
844
+ this.Timestamp = Timestamp;
845
+ this.Path = Path;
846
+ }
847
+ }
848
+ function CoreMRError_$reflection() {
849
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRError", [], CoreMRError, ()=>[
850
+ [
851
+ "Success",
852
+ _Reflection.bool_type
853
+ ],
854
+ [
855
+ "Error",
856
+ _Reflection.string_type
857
+ ],
858
+ [
859
+ "Details",
860
+ (0, _Reflection.option_type)(_Reflection.obj_type)
861
+ ],
862
+ [
863
+ "Timestamp",
864
+ (0, _Reflection.class_type)("System.DateTimeOffset")
865
+ ],
866
+ [
867
+ "Path",
868
+ (0, _Reflection.option_type)(_Reflection.string_type)
869
+ ]
870
+ ]);
871
+ }
872
+ class ValidationError extends _Types.Record {
873
+ constructor(Field, Message, Code){
874
+ super();
875
+ this.Field = Field;
876
+ this.Message = Message;
877
+ this.Code = Code;
878
+ }
879
+ }
880
+ function ValidationError_$reflection() {
881
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.ValidationError", [], ValidationError, ()=>[
882
+ [
883
+ "Field",
884
+ _Reflection.string_type
885
+ ],
886
+ [
887
+ "Message",
888
+ _Reflection.string_type
889
+ ],
890
+ [
891
+ "Code",
892
+ _Reflection.string_type
893
+ ]
894
+ ]);
895
+ }
896
+ class CoreMRValidationError extends _Types.Record {
897
+ constructor(Success, Error$, ValidationErrors, Timestamp){
898
+ super();
899
+ this.Success = Success;
900
+ this.Error = Error$;
901
+ this.ValidationErrors = ValidationErrors;
902
+ this.Timestamp = Timestamp;
903
+ }
904
+ }
905
+ function CoreMRValidationError_$reflection() {
906
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRValidationError", [], CoreMRValidationError, ()=>[
907
+ [
908
+ "Success",
909
+ _Reflection.bool_type
910
+ ],
911
+ [
912
+ "Error",
913
+ _Reflection.string_type
914
+ ],
915
+ [
916
+ "ValidationErrors",
917
+ (0, _Reflection.array_type)(ValidationError_$reflection())
918
+ ],
919
+ [
920
+ "Timestamp",
921
+ (0, _Reflection.class_type)("System.DateTimeOffset")
922
+ ]
923
+ ]);
924
+ }
925
+ class CoreMRFormMetadata extends _Types.Record {
926
+ constructor(FormId, FormName, Description, VersionId, VersionNumber, DatePublished, RequiresSignature, IsIntake, Keywords, HideDemos){
927
+ super();
928
+ this.FormId = FormId | 0;
929
+ this.FormName = FormName;
930
+ this.Description = Description;
931
+ this.VersionId = VersionId | 0;
932
+ this.VersionNumber = VersionNumber | 0;
933
+ this.DatePublished = DatePublished;
934
+ this.RequiresSignature = RequiresSignature;
935
+ this.IsIntake = IsIntake;
936
+ this.Keywords = Keywords;
937
+ this.HideDemos = HideDemos;
938
+ }
939
+ }
940
+ function CoreMRFormMetadata_$reflection() {
941
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRFormMetadata", [], CoreMRFormMetadata, ()=>[
942
+ [
943
+ "FormId",
944
+ _Reflection.int32_type
945
+ ],
946
+ [
947
+ "FormName",
948
+ _Reflection.string_type
949
+ ],
950
+ [
951
+ "Description",
952
+ (0, _Reflection.option_type)(_Reflection.string_type)
953
+ ],
954
+ [
955
+ "VersionId",
956
+ _Reflection.int32_type
957
+ ],
958
+ [
959
+ "VersionNumber",
960
+ _Reflection.int32_type
961
+ ],
962
+ [
963
+ "DatePublished",
964
+ (0, _Reflection.option_type)((0, _Reflection.class_type)("System.DateTime"))
965
+ ],
966
+ [
967
+ "RequiresSignature",
968
+ _Reflection.bool_type
969
+ ],
970
+ [
971
+ "IsIntake",
972
+ _Reflection.bool_type
973
+ ],
974
+ [
975
+ "Keywords",
976
+ _Reflection.string_type
977
+ ],
978
+ [
979
+ "HideDemos",
980
+ _Reflection.string_type
981
+ ]
982
+ ]);
983
+ }
984
+ class CoreMRItem extends _Types.Record {
985
+ constructor(ItemId, Sequence, NestingLevel, SequenceText, ItemTypeId, ItemTypeName, HasChoices, HasText, HasDate, Label, IsRequired, GenderRequired, Highlight, Code, Uuid, ParentId, ChildId, ValidatorChoices, ValidatorText, ValidatorMsg){
986
+ super();
987
+ this.ItemId = ItemId | 0;
988
+ this.Sequence = Sequence | 0;
989
+ this.NestingLevel = NestingLevel | 0;
990
+ this.SequenceText = SequenceText;
991
+ this.ItemTypeId = ItemTypeId | 0;
992
+ this.ItemTypeName = ItemTypeName;
993
+ this.HasChoices = HasChoices;
994
+ this.HasText = HasText;
995
+ this.HasDate = HasDate;
996
+ this.Label = Label;
997
+ this.IsRequired = IsRequired;
998
+ this.GenderRequired = GenderRequired;
999
+ this.Highlight = Highlight;
1000
+ this.Code = Code;
1001
+ this.Uuid = Uuid;
1002
+ this.ParentId = ParentId;
1003
+ this.ChildId = ChildId;
1004
+ this.ValidatorChoices = ValidatorChoices | 0;
1005
+ this.ValidatorText = ValidatorText | 0;
1006
+ this.ValidatorMsg = ValidatorMsg;
1007
+ }
1008
+ }
1009
+ function CoreMRItem_$reflection() {
1010
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRItem", [], CoreMRItem, ()=>[
1011
+ [
1012
+ "ItemId",
1013
+ _Reflection.int32_type
1014
+ ],
1015
+ [
1016
+ "Sequence",
1017
+ _Reflection.int32_type
1018
+ ],
1019
+ [
1020
+ "NestingLevel",
1021
+ _Reflection.int32_type
1022
+ ],
1023
+ [
1024
+ "SequenceText",
1025
+ (0, _Reflection.option_type)(_Reflection.string_type)
1026
+ ],
1027
+ [
1028
+ "ItemTypeId",
1029
+ _Reflection.int32_type
1030
+ ],
1031
+ [
1032
+ "ItemTypeName",
1033
+ _Reflection.string_type
1034
+ ],
1035
+ [
1036
+ "HasChoices",
1037
+ _Reflection.bool_type
1038
+ ],
1039
+ [
1040
+ "HasText",
1041
+ _Reflection.bool_type
1042
+ ],
1043
+ [
1044
+ "HasDate",
1045
+ _Reflection.bool_type
1046
+ ],
1047
+ [
1048
+ "Label",
1049
+ _Reflection.string_type
1050
+ ],
1051
+ [
1052
+ "IsRequired",
1053
+ _Reflection.bool_type
1054
+ ],
1055
+ [
1056
+ "GenderRequired",
1057
+ (0, _Reflection.option_type)(_Reflection.string_type)
1058
+ ],
1059
+ [
1060
+ "Highlight",
1061
+ (0, _Reflection.option_type)(_Reflection.string_type)
1062
+ ],
1063
+ [
1064
+ "Code",
1065
+ (0, _Reflection.option_type)(_Reflection.string_type)
1066
+ ],
1067
+ [
1068
+ "Uuid",
1069
+ (0, _Reflection.option_type)(_Reflection.string_type)
1070
+ ],
1071
+ [
1072
+ "ParentId",
1073
+ (0, _Reflection.option_type)(_Reflection.int32_type)
1074
+ ],
1075
+ [
1076
+ "ChildId",
1077
+ (0, _Reflection.option_type)(_Reflection.int32_type)
1078
+ ],
1079
+ [
1080
+ "ValidatorChoices",
1081
+ _Reflection.int32_type
1082
+ ],
1083
+ [
1084
+ "ValidatorText",
1085
+ _Reflection.int32_type
1086
+ ],
1087
+ [
1088
+ "ValidatorMsg",
1089
+ (0, _Reflection.option_type)(_Reflection.string_type)
1090
+ ]
1091
+ ]);
1092
+ }
1093
+ class CoreMRChoice extends _Types.Record {
1094
+ constructor(ChoiceId, ItemId, Sequence, Text$, Score, BitPosition, Code, Highlight){
1095
+ super();
1096
+ this.ChoiceId = ChoiceId | 0;
1097
+ this.ItemId = ItemId | 0;
1098
+ this.Sequence = Sequence | 0;
1099
+ this.Text = Text$;
1100
+ this.Score = Score | 0;
1101
+ this.BitPosition = BitPosition;
1102
+ this.Code = Code;
1103
+ this.Highlight = Highlight;
1104
+ }
1105
+ }
1106
+ function CoreMRChoice_$reflection() {
1107
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRChoice", [], CoreMRChoice, ()=>[
1108
+ [
1109
+ "ChoiceId",
1110
+ _Reflection.int32_type
1111
+ ],
1112
+ [
1113
+ "ItemId",
1114
+ _Reflection.int32_type
1115
+ ],
1116
+ [
1117
+ "Sequence",
1118
+ _Reflection.int32_type
1119
+ ],
1120
+ [
1121
+ "Text",
1122
+ _Reflection.string_type
1123
+ ],
1124
+ [
1125
+ "Score",
1126
+ _Reflection.int32_type
1127
+ ],
1128
+ [
1129
+ "BitPosition",
1130
+ (0, _Reflection.option_type)(_Reflection.int32_type)
1131
+ ],
1132
+ [
1133
+ "Code",
1134
+ (0, _Reflection.option_type)(_Reflection.string_type)
1135
+ ],
1136
+ [
1137
+ "Highlight",
1138
+ (0, _Reflection.option_type)(_Reflection.string_type)
1139
+ ]
1140
+ ]);
1141
+ }
1142
+ class CoreMRTriggerCondition extends _Types.Record {
1143
+ constructor(ConditionId, TriggerId, ChangeType, Placement, Operator, Answers){
1144
+ super();
1145
+ this.ConditionId = ConditionId | 0;
1146
+ this.TriggerId = TriggerId | 0;
1147
+ this.ChangeType = ChangeType;
1148
+ this.Placement = Placement;
1149
+ this.Operator = Operator;
1150
+ this.Answers = Answers;
1151
+ }
1152
+ }
1153
+ function CoreMRTriggerCondition_$reflection() {
1154
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRTriggerCondition", [], CoreMRTriggerCondition, ()=>[
1155
+ [
1156
+ "ConditionId",
1157
+ _Reflection.int32_type
1158
+ ],
1159
+ [
1160
+ "TriggerId",
1161
+ _Reflection.int32_type
1162
+ ],
1163
+ [
1164
+ "ChangeType",
1165
+ (0, _Reflection.option_type)(_Reflection.string_type)
1166
+ ],
1167
+ [
1168
+ "Placement",
1169
+ (0, _Reflection.option_type)(_Reflection.string_type)
1170
+ ],
1171
+ [
1172
+ "Operator",
1173
+ _Reflection.string_type
1174
+ ],
1175
+ [
1176
+ "Answers",
1177
+ (0, _Reflection.list_type)(_Reflection.int32_type)
1178
+ ]
1179
+ ]);
1180
+ }
1181
+ class CoreMRTriggerEvent extends _Types.Record {
1182
+ constructor(EventId, TriggerId, EventType, EventParams){
1183
+ super();
1184
+ this.EventId = EventId | 0;
1185
+ this.TriggerId = TriggerId | 0;
1186
+ this.EventType = EventType;
1187
+ this.EventParams = EventParams;
1188
+ }
1189
+ }
1190
+ function CoreMRTriggerEvent_$reflection() {
1191
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRTriggerEvent", [], CoreMRTriggerEvent, ()=>[
1192
+ [
1193
+ "EventId",
1194
+ _Reflection.int32_type
1195
+ ],
1196
+ [
1197
+ "TriggerId",
1198
+ _Reflection.int32_type
1199
+ ],
1200
+ [
1201
+ "EventType",
1202
+ _Reflection.string_type
1203
+ ],
1204
+ [
1205
+ "EventParams",
1206
+ (0, _Reflection.class_type)("Microsoft.FSharp.Collections.FSharpMap`2", [
1207
+ _Reflection.string_type,
1208
+ _Reflection.string_type
1209
+ ])
1210
+ ]
1211
+ ]);
1212
+ }
1213
+ class CoreMRTrigger extends _Types.Record {
1214
+ constructor(TriggerId, TargetItemId, TriggerOn, TriggerOrder, ExclusiveTag, Active, Conditions, Events){
1215
+ super();
1216
+ this.TriggerId = TriggerId | 0;
1217
+ this.TargetItemId = TargetItemId | 0;
1218
+ this.TriggerOn = TriggerOn;
1219
+ this.TriggerOrder = TriggerOrder | 0;
1220
+ this.ExclusiveTag = ExclusiveTag;
1221
+ this.Active = Active;
1222
+ this.Conditions = Conditions;
1223
+ this.Events = Events;
1224
+ }
1225
+ }
1226
+ function CoreMRTrigger_$reflection() {
1227
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRTrigger", [], CoreMRTrigger, ()=>[
1228
+ [
1229
+ "TriggerId",
1230
+ _Reflection.int32_type
1231
+ ],
1232
+ [
1233
+ "TargetItemId",
1234
+ _Reflection.int32_type
1235
+ ],
1236
+ [
1237
+ "TriggerOn",
1238
+ _Reflection.string_type
1239
+ ],
1240
+ [
1241
+ "TriggerOrder",
1242
+ _Reflection.int32_type
1243
+ ],
1244
+ [
1245
+ "ExclusiveTag",
1246
+ _Reflection.string_type
1247
+ ],
1248
+ [
1249
+ "Active",
1250
+ _Reflection.bool_type
1251
+ ],
1252
+ [
1253
+ "Conditions",
1254
+ (0, _Reflection.list_type)(CoreMRTriggerCondition_$reflection())
1255
+ ],
1256
+ [
1257
+ "Events",
1258
+ (0, _Reflection.list_type)(CoreMRTriggerEvent_$reflection())
1259
+ ]
1260
+ ]);
1261
+ }
1262
+ class CoreMRTag extends _Types.Record {
1263
+ constructor(TagId, TagName, Facility, Active){
1264
+ super();
1265
+ this.TagId = TagId | 0;
1266
+ this.TagName = TagName;
1267
+ this.Facility = Facility | 0;
1268
+ this.Active = Active;
1269
+ }
1270
+ }
1271
+ function CoreMRTag_$reflection() {
1272
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRTag", [], CoreMRTag, ()=>[
1273
+ [
1274
+ "TagId",
1275
+ _Reflection.int32_type
1276
+ ],
1277
+ [
1278
+ "TagName",
1279
+ _Reflection.string_type
1280
+ ],
1281
+ [
1282
+ "Facility",
1283
+ _Reflection.int32_type
1284
+ ],
1285
+ [
1286
+ "Active",
1287
+ _Reflection.bool_type
1288
+ ]
1289
+ ]);
1290
+ }
1291
+ class CoreMRFormData extends _Types.Record {
1292
+ constructor(Metadata, Items, Choices, Triggers, Tags){
1293
+ super();
1294
+ this.Metadata = Metadata;
1295
+ this.Items = Items;
1296
+ this.Choices = Choices;
1297
+ this.Triggers = Triggers;
1298
+ this.Tags = Tags;
1299
+ }
1300
+ }
1301
+ function CoreMRFormData_$reflection() {
1302
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRFormData", [], CoreMRFormData, ()=>[
1303
+ [
1304
+ "Metadata",
1305
+ CoreMRFormMetadata_$reflection()
1306
+ ],
1307
+ [
1308
+ "Items",
1309
+ (0, _Reflection.list_type)(CoreMRItem_$reflection())
1310
+ ],
1311
+ [
1312
+ "Choices",
1313
+ (0, _Reflection.list_type)(CoreMRChoice_$reflection())
1314
+ ],
1315
+ [
1316
+ "Triggers",
1317
+ (0, _Reflection.list_type)(CoreMRTrigger_$reflection())
1318
+ ],
1319
+ [
1320
+ "Tags",
1321
+ (0, _Reflection.list_type)(CoreMRTag_$reflection())
1322
+ ]
1323
+ ]);
1324
+ }
1325
+ class CoreMRFormDetail extends _Types.Record {
1326
+ constructor(Metadata, Items, Choices, Triggers, Tags, SemanticReport){
1327
+ super();
1328
+ this.Metadata = Metadata;
1329
+ this.Items = Items;
1330
+ this.Choices = Choices;
1331
+ this.Triggers = Triggers;
1332
+ this.Tags = Tags;
1333
+ this.SemanticReport = SemanticReport;
1334
+ }
1335
+ }
1336
+ function CoreMRFormDetail_$reflection() {
1337
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRFormDetail", [], CoreMRFormDetail, ()=>[
1338
+ [
1339
+ "Metadata",
1340
+ CoreMRFormMetadata_$reflection()
1341
+ ],
1342
+ [
1343
+ "Items",
1344
+ (0, _Reflection.list_type)(CoreMRItem_$reflection())
1345
+ ],
1346
+ [
1347
+ "Choices",
1348
+ (0, _Reflection.list_type)(CoreMRChoice_$reflection())
1349
+ ],
1350
+ [
1351
+ "Triggers",
1352
+ (0, _Reflection.list_type)(CoreMRTrigger_$reflection())
1353
+ ],
1354
+ [
1355
+ "Tags",
1356
+ (0, _Reflection.list_type)(CoreMRTag_$reflection())
1357
+ ],
1358
+ [
1359
+ "SemanticReport",
1360
+ (0, _Reflection.option_type)(_Reflection.string_type)
1361
+ ]
1362
+ ]);
1363
+ }
1364
+ class FormDetailResponse extends _Types.Record {
1365
+ constructor(Success, Data, Error$, Timestamp){
1366
+ super();
1367
+ this.Success = Success;
1368
+ this.Data = Data;
1369
+ this.Error = Error$;
1370
+ this.Timestamp = Timestamp;
1371
+ }
1372
+ }
1373
+ function FormDetailResponse_$reflection() {
1374
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.FormDetailResponse", [], FormDetailResponse, ()=>[
1375
+ [
1376
+ "Success",
1377
+ _Reflection.bool_type
1378
+ ],
1379
+ [
1380
+ "Data",
1381
+ (0, _Reflection.option_type)(CoreMRFormDetail_$reflection())
1382
+ ],
1383
+ [
1384
+ "Error",
1385
+ (0, _Reflection.option_type)(_Reflection.string_type)
1386
+ ],
1387
+ [
1388
+ "Timestamp",
1389
+ (0, _Reflection.option_type)((0, _Reflection.class_type)("System.DateTimeOffset"))
1390
+ ]
1391
+ ]);
1392
+ }
1393
+ class PatientSummary extends _Types.Record {
1394
+ constructor(ExternalId, FirstName, LastName, DateOfBirth, Status){
1395
+ super();
1396
+ this.ExternalId = ExternalId;
1397
+ this.FirstName = FirstName;
1398
+ this.LastName = LastName;
1399
+ this.DateOfBirth = DateOfBirth;
1400
+ this.Status = Status;
1401
+ }
1402
+ }
1403
+ function PatientSummary_$reflection() {
1404
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.PatientSummary", [], PatientSummary, ()=>[
1405
+ [
1406
+ "ExternalId",
1407
+ _Reflection.string_type
1408
+ ],
1409
+ [
1410
+ "FirstName",
1411
+ _Reflection.string_type
1412
+ ],
1413
+ [
1414
+ "LastName",
1415
+ _Reflection.string_type
1416
+ ],
1417
+ [
1418
+ "DateOfBirth",
1419
+ (0, _Reflection.class_type)("System.DateTimeOffset")
1420
+ ],
1421
+ [
1422
+ "Status",
1423
+ _Reflection.string_type
1424
+ ]
1425
+ ]);
1426
+ }
1427
+ class PatientSearchResponse extends _Types.Record {
1428
+ constructor(Success, Data, Pagination){
1429
+ super();
1430
+ this.Success = Success;
1431
+ this.Data = Data;
1432
+ this.Pagination = Pagination;
1433
+ }
1434
+ }
1435
+ function PatientSearchResponse_$reflection() {
1436
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.PatientSearchResponse", [], PatientSearchResponse, ()=>[
1437
+ [
1438
+ "Success",
1439
+ _Reflection.bool_type
1440
+ ],
1441
+ [
1442
+ "Data",
1443
+ (0, _Reflection.array_type)(PatientSummary_$reflection())
1444
+ ],
1445
+ [
1446
+ "Pagination",
1447
+ (0, _Reflection.anonRecord_type)([
1448
+ "HasMore",
1449
+ _Reflection.bool_type
1450
+ ], [
1451
+ "Limit",
1452
+ _Reflection.int32_type
1453
+ ], [
1454
+ "Page",
1455
+ _Reflection.int32_type
1456
+ ], [
1457
+ "Total",
1458
+ _Reflection.int32_type
1459
+ ])
1460
+ ]
1461
+ ]);
1462
+ }
1463
+ class FormResponse extends _Types.Record {
1464
+ constructor(ItemId, Value, Text$, Score){
1465
+ super();
1466
+ this.ItemId = ItemId | 0;
1467
+ this.Value = Value;
1468
+ this.Text = Text$;
1469
+ this.Score = Score;
1470
+ }
1471
+ }
1472
+ function FormResponse_$reflection() {
1473
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.FormResponse", [], FormResponse, ()=>[
1474
+ [
1475
+ "ItemId",
1476
+ _Reflection.int32_type
1477
+ ],
1478
+ [
1479
+ "Value",
1480
+ _Reflection.obj_type
1481
+ ],
1482
+ [
1483
+ "Text",
1484
+ (0, _Reflection.option_type)(_Reflection.string_type)
1485
+ ],
1486
+ [
1487
+ "Score",
1488
+ (0, _Reflection.option_type)(_Reflection.int32_type)
1489
+ ]
1490
+ ]);
1491
+ }
1492
+ class FormSubmissionRequest extends _Types.Record {
1493
+ constructor(FormId, FormName, ExternalId, Responses, CompletedAt, SubmittedBy){
1494
+ super();
1495
+ this.FormId = FormId | 0;
1496
+ this.FormName = FormName;
1497
+ this.ExternalId = ExternalId;
1498
+ this.Responses = Responses;
1499
+ this.CompletedAt = CompletedAt;
1500
+ this.SubmittedBy = SubmittedBy;
1501
+ }
1502
+ }
1503
+ function FormSubmissionRequest_$reflection() {
1504
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.FormSubmissionRequest", [], FormSubmissionRequest, ()=>[
1505
+ [
1506
+ "FormId",
1507
+ _Reflection.int32_type
1508
+ ],
1509
+ [
1510
+ "FormName",
1511
+ _Reflection.string_type
1512
+ ],
1513
+ [
1514
+ "ExternalId",
1515
+ _Reflection.string_type
1516
+ ],
1517
+ [
1518
+ "Responses",
1519
+ (0, _Reflection.array_type)(FormResponse_$reflection())
1520
+ ],
1521
+ [
1522
+ "CompletedAt",
1523
+ (0, _Reflection.option_type)((0, _Reflection.class_type)("System.DateTimeOffset"))
1524
+ ],
1525
+ [
1526
+ "SubmittedBy",
1527
+ (0, _Reflection.option_type)(_Reflection.string_type)
1528
+ ]
1529
+ ]);
1530
+ }
1531
+ class FormSubmissionResponse extends _Types.Record {
1532
+ constructor(Success, Data){
1533
+ super();
1534
+ this.Success = Success;
1535
+ this.Data = Data;
1536
+ }
1537
+ }
1538
+ function FormSubmissionResponse_$reflection() {
1539
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.FormSubmissionResponse", [], FormSubmissionResponse, ()=>[
1540
+ [
1541
+ "Success",
1542
+ _Reflection.bool_type
1543
+ ],
1544
+ [
1545
+ "Data",
1546
+ (0, _Reflection.option_type)((0, _Reflection.anonRecord_type)([
1547
+ "ExternalId",
1548
+ _Reflection.string_type
1549
+ ], [
1550
+ "FormRecordId",
1551
+ _Reflection.string_type
1552
+ ], [
1553
+ "Status",
1554
+ _Reflection.string_type
1555
+ ], [
1556
+ "SubmittedAt",
1557
+ (0, _Reflection.class_type)("System.DateTimeOffset")
1558
+ ], [
1559
+ "ValidationErrors",
1560
+ (0, _Reflection.option_type)((0, _Reflection.array_type)(ValidationError_$reflection()))
1561
+ ]))
1562
+ ]
1563
+ ]);
1564
+ }
1565
+ class CorEmrTemplatesResponse extends _Types.Record {
1566
+ constructor(Success, Data, Error$){
1567
+ super();
1568
+ this.Success = Success;
1569
+ this.Data = Data;
1570
+ this.Error = Error$;
1571
+ }
1572
+ }
1573
+ function CorEmrTemplatesResponse_$reflection() {
1574
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CorEmrTemplatesResponse", [], CorEmrTemplatesResponse, ()=>[
1575
+ [
1576
+ "Success",
1577
+ _Reflection.bool_type
1578
+ ],
1579
+ [
1580
+ "Data",
1581
+ (0, _Reflection.option_type)(EnrichedTemplateCollection_$reflection())
1582
+ ],
1583
+ [
1584
+ "Error",
1585
+ (0, _Reflection.option_type)(_Reflection.string_type)
1586
+ ]
1587
+ ]);
1588
+ }
1589
+ class TemplateDetailResponse extends _Types.Record {
1590
+ constructor(Success, Data, Error$){
1591
+ super();
1592
+ this.Success = Success;
1593
+ this.Data = Data;
1594
+ this.Error = Error$;
1595
+ }
1596
+ }
1597
+ function TemplateDetailResponse_$reflection() {
1598
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.TemplateDetailResponse", [], TemplateDetailResponse, ()=>[
1599
+ [
1600
+ "Success",
1601
+ _Reflection.bool_type
1602
+ ],
1603
+ [
1604
+ "Data",
1605
+ (0, _Reflection.option_type)(CoreMRFormDetail_$reflection())
1606
+ ],
1607
+ [
1608
+ "Error",
1609
+ (0, _Reflection.option_type)(_Reflection.string_type)
1610
+ ]
1611
+ ]);
1612
+ }
1613
+ class CoreMREnhancementMetadata extends _Types.Record {
1614
+ constructor(SourceType, FormId, FormName, StructureHash, ClinicalHash, VersionId, ImportedFrom, ImportedAt){
1615
+ super();
1616
+ this.SourceType = SourceType;
1617
+ this.FormId = FormId | 0;
1618
+ this.FormName = FormName;
1619
+ this.StructureHash = StructureHash;
1620
+ this.ClinicalHash = ClinicalHash;
1621
+ this.VersionId = VersionId | 0;
1622
+ this.ImportedFrom = ImportedFrom;
1623
+ this.ImportedAt = ImportedAt;
1624
+ }
1625
+ }
1626
+ function CoreMREnhancementMetadata_$reflection() {
1627
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMREnhancementMetadata", [], CoreMREnhancementMetadata, ()=>[
1628
+ [
1629
+ "SourceType",
1630
+ _Reflection.string_type
1631
+ ],
1632
+ [
1633
+ "FormId",
1634
+ _Reflection.int32_type
1635
+ ],
1636
+ [
1637
+ "FormName",
1638
+ _Reflection.string_type
1639
+ ],
1640
+ [
1641
+ "StructureHash",
1642
+ _Reflection.string_type
1643
+ ],
1644
+ [
1645
+ "ClinicalHash",
1646
+ _Reflection.string_type
1647
+ ],
1648
+ [
1649
+ "VersionId",
1650
+ _Reflection.int32_type
1651
+ ],
1652
+ [
1653
+ "ImportedFrom",
1654
+ _Reflection.string_type
1655
+ ],
1656
+ [
1657
+ "ImportedAt",
1658
+ (0, _Reflection.class_type)("System.DateTimeOffset")
1659
+ ]
1660
+ ]);
1661
+ }
1662
+ class CoreMRAdapterRelationship extends _Types.Record {
1663
+ constructor(BlueprintId, LineageRootId, TenantId, AdapterType, CoreMRAnchors, Enhancement){
1664
+ super();
1665
+ this.BlueprintId = BlueprintId;
1666
+ this.LineageRootId = LineageRootId;
1667
+ this.TenantId = TenantId;
1668
+ this.AdapterType = AdapterType;
1669
+ this.CoreMRAnchors = CoreMRAnchors;
1670
+ this.Enhancement = Enhancement;
1671
+ }
1672
+ }
1673
+ function CoreMRAdapterRelationship_$reflection() {
1674
+ return (0, _Reflection.record_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRAdapterRelationship", [], CoreMRAdapterRelationship, ()=>[
1675
+ [
1676
+ "BlueprintId",
1677
+ (0, _Reflection.class_type)("System.Guid")
1678
+ ],
1679
+ [
1680
+ "LineageRootId",
1681
+ (0, _Reflection.class_type)("System.Guid")
1682
+ ],
1683
+ [
1684
+ "TenantId",
1685
+ (0, _Reflection.class_type)("System.Guid")
1686
+ ],
1687
+ [
1688
+ "AdapterType",
1689
+ _Reflection.string_type
1690
+ ],
1691
+ [
1692
+ "CoreMRAnchors",
1693
+ (0, _Reflection.anonRecord_type)([
1694
+ "ClinicalHash",
1695
+ _Reflection.string_type
1696
+ ], [
1697
+ "FormId",
1698
+ _Reflection.int32_type
1699
+ ], [
1700
+ "StructureHash",
1701
+ _Reflection.string_type
1702
+ ], [
1703
+ "VersionId",
1704
+ _Reflection.int32_type
1705
+ ])
1706
+ ],
1707
+ [
1708
+ "Enhancement",
1709
+ (0, _Reflection.anonRecord_type)([
1710
+ "CreatedAt",
1711
+ (0, _Reflection.class_type)("System.DateTimeOffset")
1712
+ ], [
1713
+ "CreatedBy",
1714
+ (0, _Reflection.option_type)(_Reflection.string_type)
1715
+ ], [
1716
+ "FailureReason",
1717
+ (0, _Reflection.option_type)(_Reflection.string_type)
1718
+ ], [
1719
+ "SessionId",
1720
+ (0, _Reflection.class_type)("System.Guid")
1721
+ ], [
1722
+ "Status",
1723
+ _Reflection.string_type
1724
+ ])
1725
+ ]
1726
+ ]);
1727
+ }
1728
+ function CoreMRResult$1_Success(Item) {
1729
+ return new CoreMRResult$1(0, [
1730
+ Item
1731
+ ]);
1732
+ }
1733
+ function CoreMRResult$1_Failure(Item) {
1734
+ return new CoreMRResult$1(1, [
1735
+ Item
1736
+ ]);
1737
+ }
1738
+ class CoreMRResult$1 extends _Types.Union {
1739
+ cases() {
1740
+ return [
1741
+ "Success",
1742
+ "Failure"
1743
+ ];
1744
+ }
1745
+ constructor(tag, fields){
1746
+ super(), this.tag = tag, this.fields = fields;
1747
+ }
1748
+ }
1749
+ function CoreMRResult$1_$reflection(gen0) {
1750
+ return (0, _Reflection.union_type)("FormSpec.Integrations.CorEMR.CoreMRTypes.CoreMRResult`1", [
1751
+ gen0
1752
+ ], CoreMRResult$1, ()=>[
1753
+ [
1754
+ [
1755
+ "Item",
1756
+ gen0
1757
+ ]
1758
+ ],
1759
+ [
1760
+ [
1761
+ "Item",
1762
+ CoreMRError_$reflection()
1763
+ ]
1764
+ ]
1765
+ ]);
1766
+ } //# sourceMappingURL=CoreMRTypes.ts.map
1767
+
1768
+ //# sourceMappingURL=CoreMRTypes.js.map