@medplum/react 2.0.4 → 2.0.5

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 (329) hide show
  1. package/dist/cjs/index.cjs +85 -31
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/cjs/index.min.cjs +1 -1
  4. package/dist/esm/DiagnosticReportDisplay/DiagnosticReportDisplay.mjs +64 -22
  5. package/dist/esm/DiagnosticReportDisplay/DiagnosticReportDisplay.mjs.map +1 -1
  6. package/dist/esm/FhirPathTable/FhirPathTable.mjs +5 -1
  7. package/dist/esm/FhirPathTable/FhirPathTable.mjs.map +1 -1
  8. package/dist/esm/ResourceName/ResourceName.mjs +13 -6
  9. package/dist/esm/ResourceName/ResourceName.mjs.map +1 -1
  10. package/dist/esm/SearchControl/SearchControl.mjs +1 -1
  11. package/dist/esm/SearchControl/SearchControl.mjs.map +1 -1
  12. package/dist/esm/auth/AuthenticationForm.mjs +2 -1
  13. package/dist/esm/auth/AuthenticationForm.mjs.map +1 -1
  14. package/dist/esm/auth/ChooseProfileForm.mjs +7 -3
  15. package/dist/esm/auth/ChooseProfileForm.mjs.map +1 -1
  16. package/dist/esm/index.min.mjs +1 -1
  17. package/dist/esm/useResource/useResource.mjs +5 -3
  18. package/dist/esm/useResource/useResource.mjs.map +1 -1
  19. package/dist/{cjs → types}/DiagnosticReportDisplay/DiagnosticReportDisplay.d.ts +4 -0
  20. package/dist/types/icons/IconAdjustmentsHorizontal.d.ts +0 -0
  21. package/package.json +6 -8
  22. package/tsconfig.build.json +9 -0
  23. package/dist/cjs/AddressInput/AddressInput.stories.d.ts +0 -6
  24. package/dist/cjs/AttachmentArrayInput/AttachmentArrayInput.stories.d.ts +0 -6
  25. package/dist/cjs/AttachmentButton/AttachmentButton.stories.d.ts +0 -7
  26. package/dist/cjs/AttachmentInput/AttachmentInput.stories.d.ts +0 -6
  27. package/dist/cjs/CodeInput/CodeInput.stories.d.ts +0 -6
  28. package/dist/cjs/CodeableConceptDisplay/CodeableConceptDisplay.stories.d.ts +0 -8
  29. package/dist/cjs/CodeableConceptInput/CodeableConceptInput.stories.d.ts +0 -6
  30. package/dist/cjs/DescriptionList/DescriptionList.stories.d.ts +0 -5
  31. package/dist/cjs/DiagnosticReportDisplay/DiagnosticReportDisplay.stories.d.ts +0 -7
  32. package/dist/cjs/EncounterTimeline/EncounterTimeline.stories.d.ts +0 -5
  33. package/dist/cjs/FhirPathDisplay/FhirPathDisplay.stories.d.ts +0 -7
  34. package/dist/cjs/Logo/Logo.stories.d.ts +0 -5
  35. package/dist/cjs/MoneyInput/MoneyInput.stories.d.ts +0 -6
  36. package/dist/cjs/NoteDisplay/NoteDisplay.stories.d.ts +0 -7
  37. package/dist/cjs/PatientTimeline/PatientTimeline.stories.d.ts +0 -5
  38. package/dist/cjs/PeriodInput/PeriodInput.stories.d.ts +0 -6
  39. package/dist/cjs/PlanDefinitionBuilder/PlanDefinitionBuilder.stories.d.ts +0 -7
  40. package/dist/cjs/QuantityInput/QuantityInput.stories.d.ts +0 -7
  41. package/dist/cjs/QuestionnaireBuilder/QuestionnaireBuilder.stories.d.ts +0 -7
  42. package/dist/cjs/QuestionnaireForm/QuestionnaireForm.stories.d.ts +0 -12
  43. package/dist/cjs/ReferenceInput/ReferenceInput.stories.d.ts +0 -6
  44. package/dist/cjs/ReferenceRangeEditor/ReferenceRangeEditor.stories.d.ts +0 -7
  45. package/dist/cjs/RequestGroupDisplay/RequestGroupDisplay.stories.d.ts +0 -6
  46. package/dist/cjs/ResourceAvatar/ResourceAvatar.stories.d.ts +0 -10
  47. package/dist/cjs/ResourceBlame/ResourceBlame.stories.d.ts +0 -5
  48. package/dist/cjs/ResourceDiffTable/ResourceDiffTable.stories.d.ts +0 -5
  49. package/dist/cjs/ResourceForm/ResourceForm.stories.d.ts +0 -13
  50. package/dist/cjs/ResourceHistoryTable/ResourceHistoryTable.stories.d.ts +0 -5
  51. package/dist/cjs/ResourceInput/ResourceInput.stories.d.ts +0 -6
  52. package/dist/cjs/ResourceTable/ResourceTable.stories.d.ts +0 -11
  53. package/dist/cjs/Scheduler/Scheduler.stories.d.ts +0 -5
  54. package/dist/cjs/SearchControl/SearchControl.stories.d.ts +0 -14
  55. package/dist/cjs/StatusBadge/StatusBadge.stories.d.ts +0 -5
  56. package/dist/cjs/Timeline/Timeline.stories.d.ts +0 -5
  57. package/dist/cjs/TimingInput/TimingInput.stories.d.ts +0 -6
  58. package/dist/cjs/auth/RegisterForm.stories.d.ts +0 -7
  59. package/dist/cjs/auth/SignInForm.stories.d.ts +0 -8
  60. package/dist/esm/AddressDisplay/AddressDisplay.d.ts +0 -6
  61. package/dist/esm/AddressInput/AddressInput.d.ts +0 -8
  62. package/dist/esm/AddressInput/AddressInput.stories.d.ts +0 -6
  63. package/dist/esm/AnnotationInput/AnnotationInput.d.ts +0 -8
  64. package/dist/esm/AsyncAutocomplete/AsyncAutocomplete.d.ts +0 -14
  65. package/dist/esm/AttachmentArrayDisplay/AttachmentArrayDisplay.d.ts +0 -7
  66. package/dist/esm/AttachmentArrayInput/AttachmentArrayInput.d.ts +0 -9
  67. package/dist/esm/AttachmentArrayInput/AttachmentArrayInput.stories.d.ts +0 -6
  68. package/dist/esm/AttachmentButton/AttachmentButton.d.ts +0 -11
  69. package/dist/esm/AttachmentButton/AttachmentButton.stories.d.ts +0 -7
  70. package/dist/esm/AttachmentDisplay/AttachmentDisplay.d.ts +0 -7
  71. package/dist/esm/AttachmentInput/AttachmentInput.d.ts +0 -9
  72. package/dist/esm/AttachmentInput/AttachmentInput.stories.d.ts +0 -6
  73. package/dist/esm/BackboneElementDisplay/BackboneElementDisplay.d.ts +0 -9
  74. package/dist/esm/BackboneElementInput/BackboneElementInput.d.ts +0 -9
  75. package/dist/esm/CalendarInput/CalendarInput.d.ts +0 -15
  76. package/dist/esm/CheckboxFormSection/CheckboxFormSection.d.ts +0 -8
  77. package/dist/esm/CodeInput/CodeInput.d.ts +0 -10
  78. package/dist/esm/CodeInput/CodeInput.stories.d.ts +0 -6
  79. package/dist/esm/CodeableConceptDisplay/CodeableConceptDisplay.d.ts +0 -6
  80. package/dist/esm/CodeableConceptDisplay/CodeableConceptDisplay.stories.d.ts +0 -8
  81. package/dist/esm/CodeableConceptInput/CodeableConceptInput.d.ts +0 -10
  82. package/dist/esm/CodeableConceptInput/CodeableConceptInput.stories.d.ts +0 -6
  83. package/dist/esm/CodingDisplay/CodingDisplay.d.ts +0 -6
  84. package/dist/esm/CodingInput/CodingInput.d.ts +0 -10
  85. package/dist/esm/ContactDetailDisplay/ContactDetailDisplay.d.ts +0 -6
  86. package/dist/esm/ContactDetailInput/ContactDetailInput.d.ts +0 -8
  87. package/dist/esm/ContactPointDisplay/ContactPointDisplay.d.ts +0 -6
  88. package/dist/esm/ContactPointInput/ContactPointInput.d.ts +0 -8
  89. package/dist/esm/Container/Container.d.ts +0 -3
  90. package/dist/esm/DateTimeInput/DateTimeInput.d.ts +0 -30
  91. package/dist/esm/DefaultResourceTimeline/DefaultResourceTimeline.d.ts +0 -6
  92. package/dist/esm/DescriptionList/DescriptionList.d.ts +0 -11
  93. package/dist/esm/DescriptionList/DescriptionList.stories.d.ts +0 -5
  94. package/dist/esm/DiagnosticReportDisplay/DiagnosticReportDisplay.d.ts +0 -12
  95. package/dist/esm/DiagnosticReportDisplay/DiagnosticReportDisplay.stories.d.ts +0 -7
  96. package/dist/esm/Document/Document.d.ts +0 -3
  97. package/dist/esm/EncounterTimeline/EncounterTimeline.d.ts +0 -6
  98. package/dist/esm/EncounterTimeline/EncounterTimeline.stories.d.ts +0 -5
  99. package/dist/esm/ErrorBoundary/ErrorBoundary.d.ts +0 -18
  100. package/dist/esm/ExtensionInput/ExtensionInput.d.ts +0 -8
  101. package/dist/esm/FhirPathDisplay/FhirPathDisplay.d.ts +0 -9
  102. package/dist/esm/FhirPathDisplay/FhirPathDisplay.stories.d.ts +0 -7
  103. package/dist/esm/FhirPathTable/FhirPathTable.d.ts +0 -28
  104. package/dist/esm/Form/Form.d.ts +0 -8
  105. package/dist/esm/Form/FormUtils.d.ts +0 -5
  106. package/dist/esm/FormSection/FormSection.d.ts +0 -10
  107. package/dist/esm/GoogleButton/GoogleButton.d.ts +0 -8
  108. package/dist/esm/HumanNameDisplay/HumanNameDisplay.d.ts +0 -8
  109. package/dist/esm/HumanNameInput/HumanNameInput.d.ts +0 -8
  110. package/dist/esm/IdentifierDisplay/IdentifierDisplay.d.ts +0 -6
  111. package/dist/esm/IdentifierInput/IdentifierInput.d.ts +0 -8
  112. package/dist/esm/Logo/Logo.d.ts +0 -6
  113. package/dist/esm/Logo/Logo.stories.d.ts +0 -5
  114. package/dist/esm/MedplumLink/MedplumLink.d.ts +0 -11
  115. package/dist/esm/MedplumProvider/MedplumProvider.d.ts +0 -42
  116. package/dist/esm/MoneyDisplay/MoneyDisplay.d.ts +0 -6
  117. package/dist/esm/MoneyInput/MoneyInput.d.ts +0 -10
  118. package/dist/esm/MoneyInput/MoneyInput.stories.d.ts +0 -6
  119. package/dist/esm/NoteDisplay/NoteDisplay.d.ts +0 -6
  120. package/dist/esm/NoteDisplay/NoteDisplay.stories.d.ts +0 -7
  121. package/dist/esm/OperationOutcomeAlert/OperationOutcomeAlert.d.ts +0 -7
  122. package/dist/esm/Panel/Panel.d.ts +0 -11
  123. package/dist/esm/PatientTimeline/PatientTimeline.d.ts +0 -6
  124. package/dist/esm/PatientTimeline/PatientTimeline.stories.d.ts +0 -5
  125. package/dist/esm/PeriodInput/PeriodInput.d.ts +0 -8
  126. package/dist/esm/PeriodInput/PeriodInput.stories.d.ts +0 -6
  127. package/dist/esm/PlanDefinitionBuilder/PlanDefinitionBuilder.d.ts +0 -7
  128. package/dist/esm/PlanDefinitionBuilder/PlanDefinitionBuilder.stories.d.ts +0 -7
  129. package/dist/esm/QuantityDisplay/QuantityDisplay.d.ts +0 -6
  130. package/dist/esm/QuantityInput/QuantityInput.d.ts +0 -9
  131. package/dist/esm/QuantityInput/QuantityInput.stories.d.ts +0 -7
  132. package/dist/esm/QuestionnaireBuilder/QuestionnaireBuilder.d.ts +0 -7
  133. package/dist/esm/QuestionnaireBuilder/QuestionnaireBuilder.stories.d.ts +0 -7
  134. package/dist/esm/QuestionnaireForm/QuestionnaireForm.d.ts +0 -16
  135. package/dist/esm/QuestionnaireForm/QuestionnaireForm.stories.d.ts +0 -12
  136. package/dist/esm/RangeDisplay/RangeDisplay.d.ts +0 -6
  137. package/dist/esm/RangeInput/RangeInput.d.ts +0 -14
  138. package/dist/esm/RatioDisplay/RatioDisplay.d.ts +0 -6
  139. package/dist/esm/RatioInput/RatioInput.d.ts +0 -14
  140. package/dist/esm/ReferenceDisplay/ReferenceDisplay.d.ts +0 -7
  141. package/dist/esm/ReferenceInput/ReferenceInput.d.ts +0 -10
  142. package/dist/esm/ReferenceInput/ReferenceInput.stories.d.ts +0 -6
  143. package/dist/esm/ReferenceRangeEditor/ReferenceRangeEditor.d.ts +0 -26
  144. package/dist/esm/ReferenceRangeEditor/ReferenceRangeEditor.stories.d.ts +0 -7
  145. package/dist/esm/RequestGroupDisplay/RequestGroupDisplay.d.ts +0 -8
  146. package/dist/esm/RequestGroupDisplay/RequestGroupDisplay.stories.d.ts +0 -6
  147. package/dist/esm/ResourceArrayDisplay/ResourceArrayDisplay.d.ts +0 -11
  148. package/dist/esm/ResourceArrayInput/ResourceArrayInput.d.ts +0 -11
  149. package/dist/esm/ResourceAvatar/ResourceAvatar.d.ts +0 -8
  150. package/dist/esm/ResourceAvatar/ResourceAvatar.stories.d.ts +0 -10
  151. package/dist/esm/ResourceBadge/ResourceBadge.d.ts +0 -7
  152. package/dist/esm/ResourceBlame/ResourceBlame.d.ts +0 -9
  153. package/dist/esm/ResourceBlame/ResourceBlame.stories.d.ts +0 -5
  154. package/dist/esm/ResourceDiff/ResourceDiff.d.ts +0 -8
  155. package/dist/esm/ResourceDiffTable/ResourceDiffTable.d.ts +0 -7
  156. package/dist/esm/ResourceDiffTable/ResourceDiffTable.stories.d.ts +0 -5
  157. package/dist/esm/ResourceForm/ResourceForm.d.ts +0 -10
  158. package/dist/esm/ResourceForm/ResourceForm.stories.d.ts +0 -13
  159. package/dist/esm/ResourceHistoryTable/ResourceHistoryTable.d.ts +0 -8
  160. package/dist/esm/ResourceHistoryTable/ResourceHistoryTable.stories.d.ts +0 -5
  161. package/dist/esm/ResourceInput/ResourceInput.d.ts +0 -11
  162. package/dist/esm/ResourceInput/ResourceInput.stories.d.ts +0 -6
  163. package/dist/esm/ResourceName/ResourceName.d.ts +0 -8
  164. package/dist/esm/ResourcePropertyDisplay/ResourcePropertyDisplay.d.ts +0 -24
  165. package/dist/esm/ResourcePropertyInput/ResourcePropertyInput.d.ts +0 -21
  166. package/dist/esm/ResourceTable/ResourceTable.d.ts +0 -20
  167. package/dist/esm/ResourceTable/ResourceTable.stories.d.ts +0 -11
  168. package/dist/esm/ResourceTimeline/ResourceTimeline.d.ts +0 -10
  169. package/dist/esm/Scheduler/Scheduler.d.ts +0 -7
  170. package/dist/esm/Scheduler/Scheduler.stories.d.ts +0 -5
  171. package/dist/esm/SearchControl/SearchControl.d.ts +0 -39
  172. package/dist/esm/SearchControl/SearchControl.stories.d.ts +0 -14
  173. package/dist/esm/SearchControl/SearchControlField.d.ts +0 -40
  174. package/dist/esm/SearchControl/SearchUtils.d.ts +0 -153
  175. package/dist/esm/SearchFieldEditor/SearchFieldEditor.d.ts +0 -10
  176. package/dist/esm/SearchFilterEditor/SearchFilterEditor.d.ts +0 -9
  177. package/dist/esm/SearchFilterValueDialog/SearchFilterValueDialog.d.ts +0 -14
  178. package/dist/esm/SearchFilterValueDisplay/SearchFilterValueDisplay.d.ts +0 -7
  179. package/dist/esm/SearchFilterValueInput/SearchFilterValueInput.d.ts +0 -10
  180. package/dist/esm/SearchPopupMenu/SearchPopupMenu.d.ts +0 -10
  181. package/dist/esm/ServiceRequestTimeline/ServiceRequestTimeline.d.ts +0 -6
  182. package/dist/esm/StatusBadge/StatusBadge.d.ts +0 -5
  183. package/dist/esm/StatusBadge/StatusBadge.stories.d.ts +0 -5
  184. package/dist/esm/Timeline/Timeline.d.ts +0 -14
  185. package/dist/esm/Timeline/Timeline.stories.d.ts +0 -5
  186. package/dist/esm/TimingInput/TimingInput.d.ts +0 -8
  187. package/dist/esm/TimingInput/TimingInput.stories.d.ts +0 -6
  188. package/dist/esm/ValueSetAutocomplete/ValueSetAutocomplete.d.ts +0 -7
  189. package/dist/esm/auth/AuthenticationForm.d.ts +0 -25
  190. package/dist/esm/auth/ChooseProfileForm.d.ts +0 -9
  191. package/dist/esm/auth/ChooseScopeForm.d.ts +0 -8
  192. package/dist/esm/auth/MfaForm.d.ts +0 -7
  193. package/dist/esm/auth/NewProjectForm.d.ts +0 -7
  194. package/dist/esm/auth/NewUserForm.d.ts +0 -10
  195. package/dist/esm/auth/RegisterForm.d.ts +0 -10
  196. package/dist/esm/auth/RegisterForm.stories.d.ts +0 -7
  197. package/dist/esm/auth/SignInForm.d.ts +0 -23
  198. package/dist/esm/auth/SignInForm.stories.d.ts +0 -8
  199. package/dist/esm/constants.d.ts +0 -1
  200. package/dist/esm/index.d.ts +0 -88
  201. package/dist/esm/stories/covid19.d.ts +0 -15
  202. package/dist/esm/stories/referenceLab.d.ts +0 -5
  203. package/dist/esm/test.setup.d.ts +0 -1
  204. package/dist/esm/useResource/useResource.d.ts +0 -8
  205. package/dist/esm/utils/blame.d.ts +0 -8
  206. package/dist/esm/utils/date.d.ts +0 -7
  207. package/dist/esm/utils/diff.d.ts +0 -16
  208. package/dist/esm/utils/dom.d.ts +0 -15
  209. package/dist/esm/utils/outcomes.d.ts +0 -3
  210. package/dist/esm/utils/questionnaire.d.ts +0 -21
  211. package/dist/esm/utils/recaptcha.d.ts +0 -12
  212. package/dist/esm/utils/script.d.ts +0 -5
  213. package/icons-unique.txt +0 -36
  214. package/icons.txt +0 -44
  215. /package/dist/{cjs → types}/AddressDisplay/AddressDisplay.d.ts +0 -0
  216. /package/dist/{cjs → types}/AddressInput/AddressInput.d.ts +0 -0
  217. /package/dist/{cjs → types}/AnnotationInput/AnnotationInput.d.ts +0 -0
  218. /package/dist/{cjs → types}/AsyncAutocomplete/AsyncAutocomplete.d.ts +0 -0
  219. /package/dist/{cjs → types}/AttachmentArrayDisplay/AttachmentArrayDisplay.d.ts +0 -0
  220. /package/dist/{cjs → types}/AttachmentArrayInput/AttachmentArrayInput.d.ts +0 -0
  221. /package/dist/{cjs → types}/AttachmentButton/AttachmentButton.d.ts +0 -0
  222. /package/dist/{cjs → types}/AttachmentDisplay/AttachmentDisplay.d.ts +0 -0
  223. /package/dist/{cjs → types}/AttachmentInput/AttachmentInput.d.ts +0 -0
  224. /package/dist/{cjs → types}/BackboneElementDisplay/BackboneElementDisplay.d.ts +0 -0
  225. /package/dist/{cjs → types}/BackboneElementInput/BackboneElementInput.d.ts +0 -0
  226. /package/dist/{cjs → types}/CalendarInput/CalendarInput.d.ts +0 -0
  227. /package/dist/{cjs → types}/CheckboxFormSection/CheckboxFormSection.d.ts +0 -0
  228. /package/dist/{cjs → types}/CodeInput/CodeInput.d.ts +0 -0
  229. /package/dist/{cjs → types}/CodeableConceptDisplay/CodeableConceptDisplay.d.ts +0 -0
  230. /package/dist/{cjs → types}/CodeableConceptInput/CodeableConceptInput.d.ts +0 -0
  231. /package/dist/{cjs → types}/CodingDisplay/CodingDisplay.d.ts +0 -0
  232. /package/dist/{cjs → types}/CodingInput/CodingInput.d.ts +0 -0
  233. /package/dist/{cjs → types}/ContactDetailDisplay/ContactDetailDisplay.d.ts +0 -0
  234. /package/dist/{cjs → types}/ContactDetailInput/ContactDetailInput.d.ts +0 -0
  235. /package/dist/{cjs → types}/ContactPointDisplay/ContactPointDisplay.d.ts +0 -0
  236. /package/dist/{cjs → types}/ContactPointInput/ContactPointInput.d.ts +0 -0
  237. /package/dist/{cjs → types}/Container/Container.d.ts +0 -0
  238. /package/dist/{cjs → types}/DateTimeInput/DateTimeInput.d.ts +0 -0
  239. /package/dist/{cjs → types}/DefaultResourceTimeline/DefaultResourceTimeline.d.ts +0 -0
  240. /package/dist/{cjs → types}/DescriptionList/DescriptionList.d.ts +0 -0
  241. /package/dist/{cjs → types}/Document/Document.d.ts +0 -0
  242. /package/dist/{cjs → types}/EncounterTimeline/EncounterTimeline.d.ts +0 -0
  243. /package/dist/{cjs → types}/ErrorBoundary/ErrorBoundary.d.ts +0 -0
  244. /package/dist/{cjs → types}/ExtensionInput/ExtensionInput.d.ts +0 -0
  245. /package/dist/{cjs → types}/FhirPathDisplay/FhirPathDisplay.d.ts +0 -0
  246. /package/dist/{cjs → types}/FhirPathTable/FhirPathTable.d.ts +0 -0
  247. /package/dist/{cjs → types}/Form/Form.d.ts +0 -0
  248. /package/dist/{cjs → types}/Form/FormUtils.d.ts +0 -0
  249. /package/dist/{cjs → types}/FormSection/FormSection.d.ts +0 -0
  250. /package/dist/{cjs → types}/GoogleButton/GoogleButton.d.ts +0 -0
  251. /package/dist/{cjs → types}/HumanNameDisplay/HumanNameDisplay.d.ts +0 -0
  252. /package/dist/{cjs → types}/HumanNameInput/HumanNameInput.d.ts +0 -0
  253. /package/dist/{cjs → types}/IdentifierDisplay/IdentifierDisplay.d.ts +0 -0
  254. /package/dist/{cjs → types}/IdentifierInput/IdentifierInput.d.ts +0 -0
  255. /package/dist/{cjs → types}/Logo/Logo.d.ts +0 -0
  256. /package/dist/{cjs → types}/MedplumLink/MedplumLink.d.ts +0 -0
  257. /package/dist/{cjs → types}/MedplumProvider/MedplumProvider.d.ts +0 -0
  258. /package/dist/{cjs → types}/MoneyDisplay/MoneyDisplay.d.ts +0 -0
  259. /package/dist/{cjs → types}/MoneyInput/MoneyInput.d.ts +0 -0
  260. /package/dist/{cjs → types}/NoteDisplay/NoteDisplay.d.ts +0 -0
  261. /package/dist/{cjs → types}/OperationOutcomeAlert/OperationOutcomeAlert.d.ts +0 -0
  262. /package/dist/{cjs → types}/Panel/Panel.d.ts +0 -0
  263. /package/dist/{cjs → types}/PatientTimeline/PatientTimeline.d.ts +0 -0
  264. /package/dist/{cjs → types}/PeriodInput/PeriodInput.d.ts +0 -0
  265. /package/dist/{cjs → types}/PlanDefinitionBuilder/PlanDefinitionBuilder.d.ts +0 -0
  266. /package/dist/{cjs → types}/QuantityDisplay/QuantityDisplay.d.ts +0 -0
  267. /package/dist/{cjs → types}/QuantityInput/QuantityInput.d.ts +0 -0
  268. /package/dist/{cjs → types}/QuestionnaireBuilder/QuestionnaireBuilder.d.ts +0 -0
  269. /package/dist/{cjs → types}/QuestionnaireForm/QuestionnaireForm.d.ts +0 -0
  270. /package/dist/{cjs → types}/RangeDisplay/RangeDisplay.d.ts +0 -0
  271. /package/dist/{cjs → types}/RangeInput/RangeInput.d.ts +0 -0
  272. /package/dist/{cjs → types}/RatioDisplay/RatioDisplay.d.ts +0 -0
  273. /package/dist/{cjs → types}/RatioInput/RatioInput.d.ts +0 -0
  274. /package/dist/{cjs → types}/ReferenceDisplay/ReferenceDisplay.d.ts +0 -0
  275. /package/dist/{cjs → types}/ReferenceInput/ReferenceInput.d.ts +0 -0
  276. /package/dist/{cjs → types}/ReferenceRangeEditor/ReferenceRangeEditor.d.ts +0 -0
  277. /package/dist/{cjs → types}/RequestGroupDisplay/RequestGroupDisplay.d.ts +0 -0
  278. /package/dist/{cjs → types}/ResourceArrayDisplay/ResourceArrayDisplay.d.ts +0 -0
  279. /package/dist/{cjs → types}/ResourceArrayInput/ResourceArrayInput.d.ts +0 -0
  280. /package/dist/{cjs → types}/ResourceAvatar/ResourceAvatar.d.ts +0 -0
  281. /package/dist/{cjs → types}/ResourceBadge/ResourceBadge.d.ts +0 -0
  282. /package/dist/{cjs → types}/ResourceBlame/ResourceBlame.d.ts +0 -0
  283. /package/dist/{cjs → types}/ResourceDiff/ResourceDiff.d.ts +0 -0
  284. /package/dist/{cjs → types}/ResourceDiffTable/ResourceDiffTable.d.ts +0 -0
  285. /package/dist/{cjs → types}/ResourceForm/ResourceForm.d.ts +0 -0
  286. /package/dist/{cjs → types}/ResourceHistoryTable/ResourceHistoryTable.d.ts +0 -0
  287. /package/dist/{cjs → types}/ResourceInput/ResourceInput.d.ts +0 -0
  288. /package/dist/{cjs → types}/ResourceName/ResourceName.d.ts +0 -0
  289. /package/dist/{cjs → types}/ResourcePropertyDisplay/ResourcePropertyDisplay.d.ts +0 -0
  290. /package/dist/{cjs → types}/ResourcePropertyInput/ResourcePropertyInput.d.ts +0 -0
  291. /package/dist/{cjs → types}/ResourceTable/ResourceTable.d.ts +0 -0
  292. /package/dist/{cjs → types}/ResourceTimeline/ResourceTimeline.d.ts +0 -0
  293. /package/dist/{cjs → types}/Scheduler/Scheduler.d.ts +0 -0
  294. /package/dist/{cjs → types}/SearchControl/SearchControl.d.ts +0 -0
  295. /package/dist/{cjs → types}/SearchControl/SearchControlField.d.ts +0 -0
  296. /package/dist/{cjs → types}/SearchControl/SearchUtils.d.ts +0 -0
  297. /package/dist/{cjs → types}/SearchFieldEditor/SearchFieldEditor.d.ts +0 -0
  298. /package/dist/{cjs → types}/SearchFilterEditor/SearchFilterEditor.d.ts +0 -0
  299. /package/dist/{cjs → types}/SearchFilterValueDialog/SearchFilterValueDialog.d.ts +0 -0
  300. /package/dist/{cjs → types}/SearchFilterValueDisplay/SearchFilterValueDisplay.d.ts +0 -0
  301. /package/dist/{cjs → types}/SearchFilterValueInput/SearchFilterValueInput.d.ts +0 -0
  302. /package/dist/{cjs → types}/SearchPopupMenu/SearchPopupMenu.d.ts +0 -0
  303. /package/dist/{cjs → types}/ServiceRequestTimeline/ServiceRequestTimeline.d.ts +0 -0
  304. /package/dist/{cjs → types}/StatusBadge/StatusBadge.d.ts +0 -0
  305. /package/dist/{cjs → types}/Timeline/Timeline.d.ts +0 -0
  306. /package/dist/{cjs → types}/TimingInput/TimingInput.d.ts +0 -0
  307. /package/dist/{cjs → types}/ValueSetAutocomplete/ValueSetAutocomplete.d.ts +0 -0
  308. /package/dist/{cjs → types}/auth/AuthenticationForm.d.ts +0 -0
  309. /package/dist/{cjs → types}/auth/ChooseProfileForm.d.ts +0 -0
  310. /package/dist/{cjs → types}/auth/ChooseScopeForm.d.ts +0 -0
  311. /package/dist/{cjs → types}/auth/MfaForm.d.ts +0 -0
  312. /package/dist/{cjs → types}/auth/NewProjectForm.d.ts +0 -0
  313. /package/dist/{cjs → types}/auth/NewUserForm.d.ts +0 -0
  314. /package/dist/{cjs → types}/auth/RegisterForm.d.ts +0 -0
  315. /package/dist/{cjs → types}/auth/SignInForm.d.ts +0 -0
  316. /package/dist/{cjs → types}/constants.d.ts +0 -0
  317. /package/dist/{cjs → types}/index.d.ts +0 -0
  318. /package/dist/{cjs → types}/stories/covid19.d.ts +0 -0
  319. /package/dist/{cjs → types}/stories/referenceLab.d.ts +0 -0
  320. /package/dist/{cjs → types}/test.setup.d.ts +0 -0
  321. /package/dist/{cjs → types}/useResource/useResource.d.ts +0 -0
  322. /package/dist/{cjs → types}/utils/blame.d.ts +0 -0
  323. /package/dist/{cjs → types}/utils/date.d.ts +0 -0
  324. /package/dist/{cjs → types}/utils/diff.d.ts +0 -0
  325. /package/dist/{cjs → types}/utils/dom.d.ts +0 -0
  326. /package/dist/{cjs → types}/utils/outcomes.d.ts +0 -0
  327. /package/dist/{cjs → types}/utils/questionnaire.d.ts +0 -0
  328. /package/dist/{cjs → types}/utils/recaptcha.d.ts +0 -0
  329. /package/dist/{cjs → types}/utils/script.d.ts +0 -0
@@ -1,153 +0,0 @@
1
- /// <reference types="react" />
2
- import { Filter, Operator, SearchRequest } from '@medplum/core';
3
- import { Resource, SearchParameter } from '@medplum/fhirtypes';
4
- import { SearchControlField } from './SearchControlField';
5
- /**
6
- * Sets the array of filters.
7
- *
8
- * @param {Array} filters The new filters.
9
- */
10
- export declare function setFilters(definition: SearchRequest, filters: Filter[]): SearchRequest;
11
- /**
12
- * Clears all of the filters.
13
- */
14
- export declare function clearFilters(definition: SearchRequest): SearchRequest;
15
- /**
16
- * Clears all of the filters on a certain field.
17
- *
18
- * @param {string} code The field key name to clear filters.
19
- */
20
- export declare function clearFiltersOnField(definition: SearchRequest, code: string): SearchRequest;
21
- /**
22
- * Adds a filter.
23
- *
24
- * @param {string} field The field key name.
25
- * @param {Operator} op The operation key name.
26
- * @param {?string} value The filter value.
27
- * @param {boolean=} opt_clear Optional flag to clear filters on the field.
28
- */
29
- export declare function addFilter(definition: SearchRequest, field: string, op: Operator, value?: string, opt_clear?: boolean): SearchRequest;
30
- /**
31
- * Adds a field.
32
- *
33
- * @param {string} field The field key name.
34
- */
35
- export declare function addField(definition: SearchRequest, field: string): SearchRequest;
36
- /**
37
- * Deletes a filter at the specified index.
38
- *
39
- * @param {number} index The filter index.
40
- */
41
- export declare function deleteFilter(definition: SearchRequest, index: number): SearchRequest;
42
- /**
43
- * Adds a filter that constrains the specified field to "yesterday".
44
- *
45
- * @param {string} field The field key name.
46
- */
47
- export declare function addYesterdayFilter(definition: SearchRequest, field: string): SearchRequest;
48
- /**
49
- * Adds a filter that constrains the specified field to "today".
50
- *
51
- * @param {string} field The field key name.
52
- */
53
- export declare function addTodayFilter(definition: SearchRequest, field: string): SearchRequest;
54
- /**
55
- * Adds a filter that constrains the specified field to "tomorrow".
56
- *
57
- * @param {string} field The field key name.
58
- */
59
- export declare function addTomorrowFilter(definition: SearchRequest, field: string): SearchRequest;
60
- /**
61
- * Adds a filter that constrains the specified field to "last month".
62
- *
63
- * @param {string} field The field key name.
64
- */
65
- export declare function addLastMonthFilter(definition: SearchRequest, field: string): SearchRequest;
66
- /**
67
- * Adds a filter that constrains the specified field to "this month".
68
- *
69
- * @param {string} field The field key name.
70
- */
71
- export declare function addThisMonthFilter(definition: SearchRequest, field: string): SearchRequest;
72
- /**
73
- * Adds a filter that constrains the specified field to "next month".
74
- *
75
- * @param {string} field The field key name.
76
- */
77
- export declare function addNextMonthFilter(definition: SearchRequest, field: string): SearchRequest;
78
- /**
79
- * Adds a filter that constrains the specified field to the year to date.
80
- *
81
- * @param {string} field The field key name.
82
- */
83
- export declare function addYearToDateFilter(definition: SearchRequest, field: string): SearchRequest;
84
- /**
85
- * Adds a filter for a date between two dates (inclusive of both dates).
86
- *
87
- * @param {string} field The field key name.
88
- * @param {Date} d1 The start date.
89
- * @param {Date} d2 The end date.
90
- */
91
- export declare function addDateFilterBetween(definition: SearchRequest, field: string, d1: Date, d2: Date): SearchRequest;
92
- /**
93
- * Adds a filter that constrains the specified field to "missing".
94
- *
95
- * @param {string} field The field key name.
96
- */
97
- export declare function addMissingFilter(definition: SearchRequest, field: string, value?: boolean): SearchRequest;
98
- /**
99
- * Sets the offset (starting at zero).
100
- *
101
- * @param {number} offset The offset number.
102
- */
103
- export declare function setOffset(definition: SearchRequest, offset: number): SearchRequest;
104
- /**
105
- * Creates a new search request with the search offset at the specified page.
106
- * @param definition The search definition.
107
- * @param page The new page number
108
- * @return The new search definition.
109
- */
110
- export declare function setPage(definition: SearchRequest, page: number): SearchRequest;
111
- /**
112
- * Sorts the search by the specified key, and optional direction.
113
- * Direction defaults to ascending ('asc') if not specified.
114
- *
115
- * @param {string} sortField The sort key.
116
- */
117
- export declare function setSort(definition: SearchRequest, sort: string, desc?: boolean): SearchRequest;
118
- /**
119
- * Toggles the sort of the search by key.
120
- * If the search is already sorted by the key, reverses the direction.
121
- * If the search is not sorted by the key, sort in ascending order.
122
- *
123
- * @param {string} key The field key name.
124
- */
125
- export declare function toggleSort(definition: SearchRequest, key: string): SearchRequest;
126
- export declare function getSortField(definition: SearchRequest): string | undefined;
127
- export declare function isSortDescending(definition: SearchRequest): boolean;
128
- /**
129
- * Returns a list of operators for a search parameter.
130
- * @param searchParam The search parameter.
131
- * @returns The list of operators that can be used for the search parameter.
132
- */
133
- export declare function getSearchOperators(searchParam: SearchParameter): Operator[] | undefined;
134
- /**
135
- * Returns a string representing the operation.
136
- *
137
- * @param {string} op The operation code.
138
- * @return {string} A display string for the operation.
139
- */
140
- export declare function getOpString(op: Operator): string;
141
- /**
142
- * Returns a field display name.
143
- * @param key The field key.
144
- * @returns The field display name.
145
- */
146
- export declare function buildFieldNameString(key: string): string;
147
- /**
148
- * Returns a fragment to be displayed in the search table for the value.
149
- * @param resource The parent resource.
150
- * @param key The search code or FHIRPath expression.
151
- * @returns The fragment to display.
152
- */
153
- export declare function renderValue(resource: Resource, field: SearchControlField): string | JSX.Element | null | undefined;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { SearchRequest } from '@medplum/core';
3
- interface SearchFieldEditorProps {
4
- visible: boolean;
5
- search: SearchRequest;
6
- onOk: (search: SearchRequest) => void;
7
- onCancel: () => void;
8
- }
9
- export declare function SearchFieldEditor(props: SearchFieldEditorProps): JSX.Element | null;
10
- export {};
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { SearchRequest } from '@medplum/core';
3
- export interface SearchFilterEditorProps {
4
- visible: boolean;
5
- search: SearchRequest;
6
- onOk: (search: SearchRequest) => void;
7
- onCancel: () => void;
8
- }
9
- export declare function SearchFilterEditor(props: SearchFilterEditorProps): JSX.Element | null;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { Filter } from '@medplum/core';
3
- import { SearchParameter } from '@medplum/fhirtypes';
4
- export interface SearchFilterValueDialogProps {
5
- title: string;
6
- visible: boolean;
7
- resourceType: string;
8
- searchParam?: SearchParameter;
9
- filter?: Filter;
10
- defaultValue?: string;
11
- onOk: (filter: Filter) => void;
12
- onCancel: () => void;
13
- }
14
- export declare function SearchFilterValueDialog(props: SearchFilterValueDialogProps): JSX.Element | null;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { Filter } from '@medplum/core';
3
- export interface SearchFilterValueDisplayProps {
4
- readonly resourceType: string;
5
- readonly filter: Filter;
6
- }
7
- export declare function SearchFilterValueDisplay(props: SearchFilterValueDisplayProps): JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { SearchParameter } from '@medplum/fhirtypes';
3
- export interface SearchFilterValueInputProps {
4
- resourceType: string;
5
- searchParam: SearchParameter;
6
- defaultValue?: string;
7
- autoFocus?: boolean;
8
- onChange: (value: string) => void;
9
- }
10
- export declare function SearchFilterValueInput(props: SearchFilterValueInputProps): JSX.Element | null;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { Filter, SearchRequest } from '@medplum/core';
3
- import { SearchParameter } from '@medplum/fhirtypes';
4
- export interface SearchPopupMenuProps {
5
- search: SearchRequest;
6
- searchParams?: SearchParameter[];
7
- onPrompt: (searchParam: SearchParameter, filter: Filter) => void;
8
- onChange: (definition: SearchRequest) => void;
9
- }
10
- export declare function SearchPopupMenu(props: SearchPopupMenuProps): JSX.Element | null;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { Reference, ServiceRequest } from '@medplum/fhirtypes';
3
- export interface ServiceRequestTimelineProps {
4
- serviceRequest: ServiceRequest | Reference<ServiceRequest>;
5
- }
6
- export declare function ServiceRequestTimeline(props: ServiceRequestTimelineProps): JSX.Element;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export interface StatusBadgeProps {
3
- readonly status: string;
4
- }
5
- export declare function StatusBadge(props: StatusBadgeProps): JSX.Element;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
3
- declare const _default: Meta<import("@storybook/react").Args>;
4
- export default _default;
5
- export declare const ExampleStatuses: () => JSX.Element;
@@ -1,14 +0,0 @@
1
- import { Reference, Resource } from '@medplum/fhirtypes';
2
- import React from 'react';
3
- import { PanelProps } from '../Panel/Panel';
4
- export interface TimelineProps {
5
- children?: React.ReactNode;
6
- }
7
- export declare function Timeline(props: TimelineProps): JSX.Element;
8
- export interface TimelineItemProps extends PanelProps {
9
- resource: Resource;
10
- profile?: Reference;
11
- padding?: boolean;
12
- popupMenuItems?: React.ReactNode;
13
- }
14
- export declare function TimelineItem(props: TimelineItemProps): JSX.Element;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
3
- declare const _default: Meta<import("@storybook/react").Args>;
4
- export default _default;
5
- export declare const Basic: () => JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { Timing } from '@medplum/fhirtypes';
3
- export interface TimingInputProps {
4
- name: string;
5
- defaultValue?: Timing;
6
- onChange?: (newValue: Timing) => void;
7
- }
8
- export declare function TimingInput(props: TimingInputProps): JSX.Element;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
3
- declare const _default: Meta<import("@storybook/react").Args>;
4
- export default _default;
5
- export declare const Example: () => JSX.Element;
6
- export declare const DefaultValue: () => JSX.Element;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { ElementDefinition, ValueSetExpansionContains } from '@medplum/fhirtypes';
3
- import { AsyncAutocompleteProps } from '../AsyncAutocomplete/AsyncAutocomplete';
4
- export interface ValueSetAutocompleteProps extends Omit<AsyncAutocompleteProps<ValueSetExpansionContains>, 'loadOptions' | 'toKey' | 'toOption'> {
5
- elementDefinition: ElementDefinition;
6
- }
7
- export declare function ValueSetAutocomplete(props: ValueSetAutocompleteProps): JSX.Element;
@@ -1,25 +0,0 @@
1
- import { BaseLoginRequest, LoginAuthenticationResponse } from '@medplum/core';
2
- import React from 'react';
3
- export interface AuthenticationFormProps extends BaseLoginRequest {
4
- readonly disableGoogleAuth?: boolean;
5
- readonly onForgotPassword?: () => void;
6
- readonly onRegister?: () => void;
7
- readonly handleAuthResponse: (response: LoginAuthenticationResponse) => void;
8
- readonly children?: React.ReactNode;
9
- }
10
- export declare function AuthenticationForm(props: AuthenticationFormProps): JSX.Element;
11
- export interface EmailFormProps extends BaseLoginRequest {
12
- readonly disableGoogleAuth?: boolean;
13
- readonly onRegister?: () => void;
14
- readonly handleAuthResponse: (response: LoginAuthenticationResponse) => void;
15
- readonly setEmail: (email: string) => void;
16
- readonly children?: React.ReactNode;
17
- }
18
- export declare function EmailForm(props: EmailFormProps): JSX.Element;
19
- export interface PasswordFormProps extends BaseLoginRequest {
20
- readonly email: string;
21
- readonly onForgotPassword?: () => void;
22
- readonly handleAuthResponse: (response: LoginAuthenticationResponse) => void;
23
- readonly children?: React.ReactNode;
24
- }
25
- export declare function PasswordForm(props: PasswordFormProps): JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { LoginAuthenticationResponse } from '@medplum/core';
3
- import { ProjectMembership } from '@medplum/fhirtypes';
4
- export interface ChooseProfileFormProps {
5
- login: string;
6
- memberships: ProjectMembership[];
7
- handleAuthResponse: (response: LoginAuthenticationResponse) => void;
8
- }
9
- export declare function ChooseProfileForm(props: ChooseProfileFormProps): JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { LoginAuthenticationResponse } from '@medplum/core';
3
- export interface ChooseScopeFormProps {
4
- login: string;
5
- scope: string | undefined;
6
- handleAuthResponse: (response: LoginAuthenticationResponse) => void;
7
- }
8
- export declare function ChooseScopeForm(props: ChooseScopeFormProps): JSX.Element;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { LoginAuthenticationResponse } from '@medplum/core';
3
- export interface MfaFormProps {
4
- login: string;
5
- handleAuthResponse: (response: LoginAuthenticationResponse) => void;
6
- }
7
- export declare function MfaForm(props: MfaFormProps): JSX.Element;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { LoginAuthenticationResponse } from '@medplum/core';
3
- export interface NewProjectFormProps {
4
- login: string;
5
- handleAuthResponse: (response: LoginAuthenticationResponse) => void;
6
- }
7
- export declare function NewProjectForm(props: NewProjectFormProps): JSX.Element;
@@ -1,10 +0,0 @@
1
- import { LoginAuthenticationResponse } from '@medplum/core';
2
- import React from 'react';
3
- export interface NewUserFormProps {
4
- readonly projectId: string;
5
- readonly googleClientId?: string;
6
- readonly recaptchaSiteKey: string;
7
- readonly children?: React.ReactNode;
8
- readonly handleAuthResponse: (response: LoginAuthenticationResponse) => void;
9
- }
10
- export declare function NewUserForm(props: NewUserFormProps): JSX.Element;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- export interface RegisterFormProps {
3
- readonly type: 'patient' | 'project';
4
- readonly projectId?: string;
5
- readonly googleClientId?: string;
6
- readonly recaptchaSiteKey: string;
7
- readonly children?: React.ReactNode;
8
- readonly onSuccess: () => void;
9
- }
10
- export declare function RegisterForm(props: RegisterFormProps): JSX.Element;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
3
- declare const _default: Meta<import("@storybook/react").Args>;
4
- export default _default;
5
- export declare function Basic(): JSX.Element;
6
- export declare function WithFooter(): JSX.Element;
7
- export declare function WithGoogle(): JSX.Element;
@@ -1,23 +0,0 @@
1
- import { BaseLoginRequest } from '@medplum/core';
2
- import React from 'react';
3
- export interface SignInFormProps extends BaseLoginRequest {
4
- readonly login?: string;
5
- readonly chooseScopes?: boolean;
6
- readonly disableGoogleAuth?: boolean;
7
- readonly onSuccess?: () => void;
8
- readonly onForgotPassword?: () => void;
9
- readonly onRegister?: () => void;
10
- readonly onCode?: (code: string) => void;
11
- readonly children?: React.ReactNode;
12
- }
13
- /**
14
- * The SignInForm component allows users to sign in to Medplum.
15
- *
16
- * "Signing in" is a multi-step process:
17
- * 1) Authentication - identify the user
18
- * 2) MFA - If MFA is enabled, prompt for MFA code
19
- * 3) Choose profile - If the user has multiple profiles, prompt to choose one
20
- * 4) Choose scope - If the user has multiple scopes, prompt to choose one
21
- * 5) Success - Return to the caller with either a code or a redirect
22
- */
23
- export declare function SignInForm(props: SignInFormProps): JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react';
3
- declare const _default: Meta<import("@storybook/react").Args>;
4
- export default _default;
5
- export declare function Basic(): JSX.Element;
6
- export declare function WithLinks(): JSX.Element;
7
- export declare function WithFooter(): JSX.Element;
8
- export declare function WithGoogle(): JSX.Element;
@@ -1 +0,0 @@
1
- export declare const DEFAULT_IGNORED_PROPERTIES: string[];
@@ -1,88 +0,0 @@
1
- export * from './AddressDisplay/AddressDisplay';
2
- export * from './AddressInput/AddressInput';
3
- export * from './AnnotationInput/AnnotationInput';
4
- export * from './AsyncAutocomplete/AsyncAutocomplete';
5
- export * from './AttachmentArrayDisplay/AttachmentArrayDisplay';
6
- export * from './AttachmentArrayInput/AttachmentArrayInput';
7
- export * from './AttachmentButton/AttachmentButton';
8
- export * from './AttachmentDisplay/AttachmentDisplay';
9
- export * from './AttachmentInput/AttachmentInput';
10
- export * from './auth/RegisterForm';
11
- export * from './auth/SignInForm';
12
- export * from './BackboneElementDisplay/BackboneElementDisplay';
13
- export * from './BackboneElementInput/BackboneElementInput';
14
- export * from './CalendarInput/CalendarInput';
15
- export * from './CheckboxFormSection/CheckboxFormSection';
16
- export * from './CodeableConceptDisplay/CodeableConceptDisplay';
17
- export * from './CodeableConceptInput/CodeableConceptInput';
18
- export * from './CodeInput/CodeInput';
19
- export * from './CodingDisplay/CodingDisplay';
20
- export * from './CodingInput/CodingInput';
21
- export * from './ContactDetailDisplay/ContactDetailDisplay';
22
- export * from './ContactDetailInput/ContactDetailInput';
23
- export * from './ContactPointDisplay/ContactPointDisplay';
24
- export * from './ContactPointInput/ContactPointInput';
25
- export * from './Container/Container';
26
- export * from './DateTimeInput/DateTimeInput';
27
- export * from './DefaultResourceTimeline/DefaultResourceTimeline';
28
- export * from './DescriptionList/DescriptionList';
29
- export * from './DiagnosticReportDisplay/DiagnosticReportDisplay';
30
- export * from './Document/Document';
31
- export * from './EncounterTimeline/EncounterTimeline';
32
- export * from './ErrorBoundary/ErrorBoundary';
33
- export * from './FhirPathTable/FhirPathTable';
34
- export * from './Form/Form';
35
- export * from './Form/FormUtils';
36
- export * from './FormSection/FormSection';
37
- export * from './HumanNameDisplay/HumanNameDisplay';
38
- export * from './HumanNameInput/HumanNameInput';
39
- export * from './IdentifierDisplay/IdentifierDisplay';
40
- export * from './IdentifierInput/IdentifierInput';
41
- export * from './Logo/Logo';
42
- export * from './MedplumLink/MedplumLink';
43
- export * from './MedplumProvider/MedplumProvider';
44
- export * from './MoneyDisplay/MoneyDisplay';
45
- export * from './MoneyInput/MoneyInput';
46
- export * from './OperationOutcomeAlert/OperationOutcomeAlert';
47
- export * from './Panel/Panel';
48
- export * from './PatientTimeline/PatientTimeline';
49
- export * from './PlanDefinitionBuilder/PlanDefinitionBuilder';
50
- export * from './QuantityDisplay/QuantityDisplay';
51
- export * from './QuantityInput/QuantityInput';
52
- export * from './QuestionnaireBuilder/QuestionnaireBuilder';
53
- export * from './QuestionnaireForm/QuestionnaireForm';
54
- export * from './RangeDisplay/RangeDisplay';
55
- export * from './RangeInput/RangeInput';
56
- export * from './ReferenceDisplay/ReferenceDisplay';
57
- export * from './ReferenceInput/ReferenceInput';
58
- export * from './ReferenceRangeEditor/ReferenceRangeEditor';
59
- export * from './RequestGroupDisplay/RequestGroupDisplay';
60
- export * from './ResourceArrayDisplay/ResourceArrayDisplay';
61
- export * from './ResourceArrayInput/ResourceArrayInput';
62
- export * from './ResourceAvatar/ResourceAvatar';
63
- export * from './ResourceBadge/ResourceBadge';
64
- export * from './ResourceBlame/ResourceBlame';
65
- export * from './ResourceDiff/ResourceDiff';
66
- export * from './ResourceForm/ResourceForm';
67
- export * from './ResourceHistoryTable/ResourceHistoryTable';
68
- export * from './ResourceInput/ResourceInput';
69
- export * from './ResourceName/ResourceName';
70
- export * from './ResourcePropertyDisplay/ResourcePropertyDisplay';
71
- export * from './ResourcePropertyInput/ResourcePropertyInput';
72
- export * from './ResourceTable/ResourceTable';
73
- export * from './ResourceTimeline/ResourceTimeline';
74
- export * from './Scheduler/Scheduler';
75
- export * from './SearchControl/SearchControl';
76
- export * from './SearchControl/SearchUtils';
77
- export * from './SearchFieldEditor/SearchFieldEditor';
78
- export * from './SearchFilterEditor/SearchFilterEditor';
79
- export * from './ServiceRequestTimeline/ServiceRequestTimeline';
80
- export * from './StatusBadge/StatusBadge';
81
- export * from './Timeline/Timeline';
82
- export * from './TimingInput/TimingInput';
83
- export * from './useResource/useResource';
84
- export * from './utils/date';
85
- export * from './utils/outcomes';
86
- export * from './utils/questionnaire';
87
- export * from './utils/recaptcha';
88
- export * from './utils/script';
@@ -1,15 +0,0 @@
1
- import { ActivityDefinition, ObservationDefinition, PlanDefinition, Questionnaire, RequestGroup, ServiceRequest, SpecimenDefinition, Task } from '@medplum/fhirtypes';
2
- export declare const Covid19AssessmentQuestionnaire: Questionnaire;
3
- export declare const Covid19NasalSpecimen: SpecimenDefinition;
4
- export declare const Covid19PCRObservationDefinition: ObservationDefinition;
5
- export declare const Covid19PCRTest: ActivityDefinition;
6
- export declare const Covid19ReviewReport: ActivityDefinition;
7
- export declare const Covid19CarePlanDefinition: PlanDefinition;
8
- export declare const Covid19PCRLabService: PlanDefinition;
9
- export declare const Covid19AssessmentTask: Task;
10
- export declare const Covid19InitialConsultTask: Task;
11
- export declare const Covid19PCRServiceRequest: ServiceRequest;
12
- export declare const Covid19PCRTask: Task;
13
- export declare const Covid19ReviewLabsTask: Task;
14
- export declare const Covid19FollowUpConsultTask: Task;
15
- export declare const Covid19RequestGroup: RequestGroup;
@@ -1,5 +0,0 @@
1
- import { DiagnosticReport, Observation, ObservationDefinition } from '@medplum/fhirtypes';
2
- export declare const TestosteroneDefinition: ObservationDefinition;
3
- export declare const HDLDefinition: ObservationDefinition;
4
- export declare const CreatinineObservation: Observation;
5
- export declare const ExampleReport: DiagnosticReport;
@@ -1 +0,0 @@
1
- import '@testing-library/jest-dom';
@@ -1,8 +0,0 @@
1
- import { OperationOutcome, Reference, Resource } from '@medplum/fhirtypes';
2
- /**
3
- * React Hook to use a FHIR reference.
4
- * Handles the complexity of resolving references and caching resources.
5
- * @param value The resource or reference to resource.
6
- * @returns The resolved resource.
7
- */
8
- export declare function useResource<T extends Resource>(value: Reference<T> | T | undefined, setOutcome?: (outcome: OperationOutcome) => void): T | undefined;
@@ -1,8 +0,0 @@
1
- import { Bundle, Meta } from '@medplum/fhirtypes';
2
- export interface BlameRow {
3
- id: string;
4
- meta: Meta;
5
- value: string;
6
- span: number;
7
- }
8
- export declare function blame(history: Bundle): BlameRow[];
@@ -1,7 +0,0 @@
1
- import { Resource } from '@medplum/fhirtypes';
2
- /**
3
- * Sorts an array of resources in place by meta.lastUpdated ascending.
4
- * @param resources Array of resources.
5
- * @param timelineResource Optional primary resource of a timeline view. If specified, the primary resource will be sorted by meta.lastUpdated descending.
6
- */
7
- export declare function sortByDateAndPriority(resources: Resource[], timelineResource?: Resource): void;
@@ -1,16 +0,0 @@
1
- export declare function diff(original: string[], revised: string[]): Delta[];
2
- export interface PathNode {
3
- readonly i: number;
4
- readonly j: number;
5
- readonly prev: PathNode | undefined;
6
- readonly snake: boolean;
7
- }
8
- export interface Delta {
9
- readonly original: Chunk;
10
- readonly revised: Chunk;
11
- readonly type: 'change' | 'delete' | 'insert';
12
- }
13
- export interface Chunk {
14
- readonly position: number;
15
- readonly lines: string[];
16
- }
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Kills a browser event.
4
- * Prevents default behavior.
5
- * Stops event propagation.
6
- * @param e The event.
7
- */
8
- export declare function killEvent(e: Event | React.SyntheticEvent): void;
9
- /**
10
- * Returns true if the element is a checkbox or a table cell containing a checkbox.
11
- * Table cells containing checkboxes are commonly accidentally clicked.
12
- * @param el The HTML DOM element.
13
- * @returns True if the element is a checkbox or a table cell containing a checkbox.
14
- */
15
- export declare function isCheckboxCell(el: Element): boolean;
@@ -1,3 +0,0 @@
1
- import { OperationOutcome, OperationOutcomeIssue } from '@medplum/fhirtypes';
2
- export declare function getErrorsForInput(outcome: OperationOutcome | undefined, expression: string | undefined): string | undefined;
3
- export declare function getIssuesForExpression(outcome: OperationOutcome | undefined, expression: string | undefined): OperationOutcomeIssue[] | undefined;
@@ -1,21 +0,0 @@
1
- import { QuestionnaireItem } from '@medplum/fhirtypes';
2
- export declare enum QuestionnaireItemType {
3
- group = "group",
4
- display = "display",
5
- question = "question",
6
- boolean = "boolean",
7
- decimal = "decimal",
8
- integer = "integer",
9
- date = "date",
10
- dateTime = "dateTime",
11
- time = "time",
12
- string = "string",
13
- text = "text",
14
- url = "url",
15
- choice = "choice",
16
- openChoice = "open-choice",
17
- attachment = "attachment",
18
- reference = "reference",
19
- quantity = "quantity"
20
- }
21
- export declare function isChoiceQuestion(item: QuestionnaireItem): boolean;