@aehrc/smart-forms-renderer 1.0.0-alpha.42.dev10 → 1.0.0-alpha.42.dev2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/main.ts +34 -0
- package/.storybook/preview.tsx +40 -0
- package/lib/components/Alert.styles.d.ts +2 -2
- package/lib/components/Box.styles.d.ts +3 -3
- package/lib/components/FormComponents/AttachmentItem/AttachmentField.js +2 -2
- package/lib/components/FormComponents/AttachmentItem/AttachmentField.js.map +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentFieldWrapper.js +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentFieldWrapper.js.map +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentFileCollector.js +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentFileCollector.js.map +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentFileDropBox.js +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentFileDropBox.js.map +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentFileDropBox.styles.d.ts +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentItem.js +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentItem.js.map +1 -1
- package/lib/components/FormComponents/AttachmentItem/AttachmentUrlField.js +3 -3
- package/lib/components/FormComponents/AttachmentItem/AttachmentUrlField.js.map +1 -1
- package/lib/components/FormComponents/BooleanItem/BooleanField.js +4 -4
- package/lib/components/FormComponents/BooleanItem/BooleanField.js.map +1 -1
- package/lib/components/FormComponents/BooleanItem/BooleanItem.js +2 -2
- package/lib/components/FormComponents/BooleanItem/BooleanItem.js.map +1 -1
- package/lib/components/FormComponents/Button.styles.d.ts +0 -1
- package/lib/components/FormComponents/ChoiceItems/CheckboxOptionList.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceAutocompleteField.js +2 -2
- package/lib/components/FormComponents/ChoiceItems/ChoiceAutocompleteField.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceAutocompleteItem.js +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceAutocompleteItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionFields.js +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionItem.js +2 -2
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetFields.js +3 -3
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetItem.js +2 -2
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceItemSwitcher.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionFields.js +3 -3
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionView.js +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionView.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetFields.js +5 -5
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetItem.js +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionFields.js +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionView.js +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionView.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerValueSetFields.js +3 -3
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerValueSetFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerValueSetItem.js +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerValueSetItem.js.map +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateItem/CustomDateField.js +2 -2
- package/lib/components/FormComponents/DateTimeItems/CustomDateItem/CustomDateField.js.map +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateItem/CustomDateItem.js +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateItem/CustomDateItem.js.map +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateItem/DatePicker.js +2 -2
- package/lib/components/FormComponents/DateTimeItems/CustomDateItem/DatePicker.js.map +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateItem/DatePickerButton.js +2 -2
- package/lib/components/FormComponents/DateTimeItems/CustomDateItem/DatePickerButton.js.map +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateItem/MuiDatePicker.d.ts +1 -2
- package/lib/components/FormComponents/DateTimeItems/CustomDateTimeItem/CustomDateTimeItem.js +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateTimeItem/CustomDateTimeItem.js.map +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateTimeItem/CustomTimeField.js +2 -2
- package/lib/components/FormComponents/DateTimeItems/CustomDateTimeItem/CustomTimeField.js.map +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateTimeItem/DateTimeField.js +1 -1
- package/lib/components/FormComponents/DateTimeItems/CustomDateTimeItem/DateTimeField.js.map +1 -1
- package/lib/components/FormComponents/DateTimeItems/utils/parseDate.js.map +1 -1
- package/lib/components/FormComponents/DateTimeItems/utils/parseTime.js.map +1 -1
- package/lib/components/FormComponents/DecimalItem/DecimalField.js +1 -1
- package/lib/components/FormComponents/DecimalItem/DecimalField.js.map +1 -1
- package/lib/components/FormComponents/DecimalItem/DecimalItem.js +2 -2
- package/lib/components/FormComponents/DecimalItem/DecimalItem.js.map +1 -1
- package/lib/components/FormComponents/DisplayItem/DisplayInstructions.js +1 -1
- package/lib/components/FormComponents/DisplayItem/DisplayInstructions.js.map +1 -1
- package/lib/components/FormComponents/DisplayItem/DisplayInstructions.styles.d.ts +1 -1
- package/lib/components/FormComponents/DisplayItem/DisplayItem.js +1 -1
- package/lib/components/FormComponents/DisplayItem/DisplayItem.js.map +1 -1
- package/lib/components/FormComponents/GridGroup/GridGroup.js +2 -2
- package/lib/components/FormComponents/GridGroup/GridGroup.js.map +1 -1
- package/lib/components/FormComponents/GridGroup/GridRow.js +2 -2
- package/lib/components/FormComponents/GridGroup/GridRow.js.map +1 -1
- package/lib/components/FormComponents/GridGroup/GridTable.js +2 -2
- package/lib/components/FormComponents/GridGroup/GridTable.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/GroupAccordion.styles.d.ts +12 -13
- package/lib/components/FormComponents/GroupItem/GroupHeading.js +2 -2
- package/lib/components/FormComponents/GroupItem/GroupHeading.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/GroupItem.js +1 -1
- package/lib/components/FormComponents/GroupItem/GroupItem.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/GroupItem.styles.d.ts +0 -1
- package/lib/components/FormComponents/GroupItem/GroupItemSwitcher.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/GroupItemView.js +7 -7
- package/lib/components/FormComponents/GroupItem/GroupItemView.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/NextPageButton.js +1 -1
- package/lib/components/FormComponents/GroupItem/NextPageButton.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/NextTabButton.js +1 -1
- package/lib/components/FormComponents/GroupItem/NextTabButton.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/PageButtonWrapper.js +1 -1
- package/lib/components/FormComponents/GroupItem/PageButtonWrapper.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/PreviousPageButton.js +1 -1
- package/lib/components/FormComponents/GroupItem/PreviousPageButton.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/PreviousTabButton.js +1 -1
- package/lib/components/FormComponents/GroupItem/PreviousTabButton.js.map +1 -1
- package/lib/components/FormComponents/GroupItem/TabButtonsWrapper.js +1 -1
- package/lib/components/FormComponents/GroupItem/TabButtonsWrapper.js.map +1 -1
- package/lib/components/FormComponents/IntegerItem/IntegerField.js +1 -1
- package/lib/components/FormComponents/IntegerItem/IntegerField.js.map +1 -1
- package/lib/components/FormComponents/IntegerItem/IntegerItem.js +1 -1
- package/lib/components/FormComponents/IntegerItem/IntegerItem.js.map +1 -1
- package/lib/components/FormComponents/Item.styles.d.ts +0 -1
- package/lib/components/FormComponents/ItemParts/CheckboxSingle.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/CheckboxSingleWithOpenLabel.js +1 -1
- package/lib/components/FormComponents/ItemParts/CheckboxSingleWithOpenLabel.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/ClearInputButton.js +3 -3
- package/lib/components/FormComponents/ItemParts/ClearInputButton.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/ContextDisplayItem.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/DisplayUnitText.js +1 -1
- package/lib/components/FormComponents/ItemParts/DisplayUnitText.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/FadingCheckIcon.js +1 -1
- package/lib/components/FormComponents/ItemParts/FadingCheckIcon.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/FlyoverHoverCard.js +3 -3
- package/lib/components/FormComponents/ItemParts/FlyoverHoverCard.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/FlyoverItem.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/ItemFieldGrid.js +1 -1
- package/lib/components/FormComponents/ItemParts/ItemFieldGrid.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/ItemLabel.js +2 -2
- package/lib/components/FormComponents/ItemParts/ItemLabel.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/ItemTextSwitcher.js +3 -3
- package/lib/components/FormComponents/ItemParts/ItemTextSwitcher.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/RadioButtonWithOpenLabel.js +1 -1
- package/lib/components/FormComponents/ItemParts/RadioButtonWithOpenLabel.js.map +1 -1
- package/lib/components/FormComponents/ItemParts/RadioOptionList.js.map +1 -1
- package/lib/components/FormComponents/Lists.styles.d.ts +0 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceAutocompleteField.js +4 -4
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceAutocompleteField.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceAutocompleteItem.js +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceAutocompleteItem.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionFields.js +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionItem.js +2 -2
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerValueSetFields.js +3 -3
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerValueSetFields.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerValueSetItem.js +2 -2
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerValueSetItem.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceItemSwitcher.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionFields.js +2 -2
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionItem.js +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerValueSetFields.js +4 -4
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerValueSetFields.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerValueSetItem.js +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerValueSetItem.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceSelectAnswerOptionField.js +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceSelectAnswerOptionField.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceSelectAnswerOptionItem.js +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceSelectAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceSelectAnswerValueSetField.js +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceSelectAnswerValueSetField.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceSelectAnswerValueSetItem.js +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceSelectAnswerValueSetItem.js.map +1 -1
- package/lib/components/FormComponents/QuantityItem/QuantityComparatorField.js +1 -1
- package/lib/components/FormComponents/QuantityItem/QuantityComparatorField.js.map +1 -1
- package/lib/components/FormComponents/QuantityItem/QuantityField.js +1 -1
- package/lib/components/FormComponents/QuantityItem/QuantityField.js.map +1 -1
- package/lib/components/FormComponents/QuantityItem/QuantityItem.js +2 -2
- package/lib/components/FormComponents/QuantityItem/QuantityItem.js.map +1 -1
- package/lib/components/FormComponents/QuantityItem/QuantityUnitField.js +5 -1
- package/lib/components/FormComponents/QuantityItem/QuantityUnitField.js.map +1 -1
- package/lib/components/FormComponents/RepeatGroup/AddItemButton.js +1 -1
- package/lib/components/FormComponents/RepeatGroup/AddItemButton.js.map +1 -1
- package/lib/components/FormComponents/RepeatGroup/DeleteItemButton.js +1 -1
- package/lib/components/FormComponents/RepeatGroup/DeleteItemButton.js.map +1 -1
- package/lib/components/FormComponents/RepeatGroup/RepeatGroup.js.map +1 -1
- package/lib/components/FormComponents/RepeatGroup/RepeatGroupItem.js +1 -1
- package/lib/components/FormComponents/RepeatGroup/RepeatGroupItem.js.map +1 -1
- package/lib/components/FormComponents/RepeatGroup/RepeatGroupView.js +9 -9
- package/lib/components/FormComponents/RepeatGroup/RepeatGroupView.js.map +1 -1
- package/lib/components/FormComponents/RepeatItem/AddItemButton.js +1 -1
- package/lib/components/FormComponents/RepeatItem/AddItemButton.js.map +1 -1
- package/lib/components/FormComponents/RepeatItem/RemoveItemButton.js +1 -1
- package/lib/components/FormComponents/RepeatItem/RemoveItemButton.js.map +1 -1
- package/lib/components/FormComponents/RepeatItem/RepeatField.js +1 -1
- package/lib/components/FormComponents/RepeatItem/RepeatField.js.map +1 -1
- package/lib/components/FormComponents/RepeatItem/RepeatItem.js +3 -3
- package/lib/components/FormComponents/RepeatItem/RepeatItem.js.map +1 -1
- package/lib/components/FormComponents/RepeatItem/RepeatItem.styles.d.ts +0 -1
- package/lib/components/FormComponents/SingleItem/NestedSingleItemAccordion.styles.d.ts +13 -14
- package/lib/components/FormComponents/SingleItem/SingleItem.js.map +1 -1
- package/lib/components/FormComponents/SingleItem/SingleItemSwitcher.js.map +1 -1
- package/lib/components/FormComponents/SingleItem/SingleItemView.js +3 -3
- package/lib/components/FormComponents/SingleItem/SingleItemView.js.map +1 -1
- package/lib/components/FormComponents/SingleItem/SingleNestedItems.js +2 -2
- package/lib/components/FormComponents/SingleItem/SingleNestedItems.js.map +1 -1
- package/lib/components/FormComponents/SingleItem/StopPropagationWrapper.js +2 -2
- package/lib/components/FormComponents/SingleItem/StopPropagationWrapper.js.map +1 -1
- package/lib/components/FormComponents/SliderItem/Slider.styles.d.ts +2 -3
- package/lib/components/FormComponents/SliderItem/SliderDisplayValue.js +1 -1
- package/lib/components/FormComponents/SliderItem/SliderDisplayValue.js.map +1 -1
- package/lib/components/FormComponents/SliderItem/SliderField.js +2 -2
- package/lib/components/FormComponents/SliderItem/SliderField.js.map +1 -1
- package/lib/components/FormComponents/SliderItem/SliderItem.js +2 -2
- package/lib/components/FormComponents/SliderItem/SliderItem.js.map +1 -1
- package/lib/components/FormComponents/SliderItem/SliderLabels.js +2 -2
- package/lib/components/FormComponents/SliderItem/SliderLabels.js.map +1 -1
- package/lib/components/FormComponents/StringItem/StringField.js +1 -1
- package/lib/components/FormComponents/StringItem/StringField.js.map +1 -1
- package/lib/components/FormComponents/StringItem/StringItem.js +1 -1
- package/lib/components/FormComponents/StringItem/StringItem.js.map +1 -1
- package/lib/components/FormComponents/Tables/AddRowButton.js +1 -1
- package/lib/components/FormComponents/Tables/AddRowButton.js.map +1 -1
- package/lib/components/FormComponents/Tables/GroupTable.js.map +1 -1
- package/lib/components/FormComponents/Tables/GroupTableBody.js +2 -2
- package/lib/components/FormComponents/Tables/GroupTableBody.js.map +1 -1
- package/lib/components/FormComponents/Tables/GroupTableRow.js +2 -2
- package/lib/components/FormComponents/Tables/GroupTableRow.js.map +1 -1
- package/lib/components/FormComponents/Tables/GroupTableRowCells.js +1 -1
- package/lib/components/FormComponents/Tables/GroupTableRowCells.js.map +1 -1
- package/lib/components/FormComponents/Tables/GroupTableView.js +6 -6
- package/lib/components/FormComponents/Tables/GroupTableView.js.map +1 -1
- package/lib/components/FormComponents/Tables/RemoveRowButton.js +1 -1
- package/lib/components/FormComponents/Tables/RemoveRowButton.js.map +1 -1
- package/lib/components/FormComponents/Tables/SelectRowButton.js +1 -1
- package/lib/components/FormComponents/Tables/SelectRowButton.js.map +1 -1
- package/lib/components/FormComponents/Tables/Table.styles.d.ts +0 -1
- package/lib/components/FormComponents/TextItem/TextField.js +1 -1
- package/lib/components/FormComponents/TextItem/TextField.js.map +1 -1
- package/lib/components/FormComponents/TextItem/TextItem.js +1 -1
- package/lib/components/FormComponents/TextItem/TextItem.js.map +1 -1
- package/lib/components/FormComponents/TimeItem/TimeField.js +2 -2
- package/lib/components/FormComponents/TimeItem/TimeField.js.map +1 -1
- package/lib/components/FormComponents/TimeItem/TimeItem.js +1 -1
- package/lib/components/FormComponents/TimeItem/TimeItem.js.map +1 -1
- package/lib/components/FormComponents/UrlItem/UrlField.js +1 -1
- package/lib/components/FormComponents/UrlItem/UrlField.js.map +1 -1
- package/lib/components/FormComponents/UrlItem/UrlItem.js +1 -1
- package/lib/components/FormComponents/UrlItem/UrlItem.js.map +1 -1
- package/lib/components/Lists.styles.d.ts +0 -1
- package/lib/components/Renderer/BaseRenderer.js +3 -3
- package/lib/components/Renderer/BaseRenderer.js.map +1 -1
- package/lib/components/Renderer/FormBodyCollapsible.js +2 -2
- package/lib/components/Renderer/FormBodyCollapsible.js.map +1 -1
- package/lib/components/Renderer/FormBodyPageContainer.js +3 -3
- package/lib/components/Renderer/FormBodyPageContainer.js.map +1 -1
- package/lib/components/Renderer/FormBodyPaginated.js +4 -4
- package/lib/components/Renderer/FormBodyPaginated.js.map +1 -1
- package/lib/components/Renderer/FormBodySingleCollapsible.js +3 -3
- package/lib/components/Renderer/FormBodySingleCollapsible.js.map +1 -1
- package/lib/components/Renderer/FormBodySingleCollapsibleWrapper.js +1 -1
- package/lib/components/Renderer/FormBodySingleCollapsibleWrapper.js.map +1 -1
- package/lib/components/Renderer/FormBodyTabbed.js +3 -3
- package/lib/components/Renderer/FormBodyTabbed.js.map +1 -1
- package/lib/components/Renderer/FormTopLevelItem.js +2 -2
- package/lib/components/Renderer/FormTopLevelItem.js.map +1 -1
- package/lib/components/Renderer/SmartFormsRenderer.js +2 -2
- package/lib/components/Renderer/SmartFormsRenderer.js.map +1 -1
- package/lib/components/Tabs/CompleteTabButton.js +1 -1
- package/lib/components/Tabs/CompleteTabButton.js.map +1 -1
- package/lib/components/Tabs/FormBodySingleTab.js +2 -2
- package/lib/components/Tabs/FormBodySingleTab.js.map +1 -1
- package/lib/components/Tabs/FormBodyTabList.js +1 -1
- package/lib/components/Tabs/FormBodyTabList.js.map +1 -1
- package/lib/components/Tabs/FormBodyTabListWrapper.js +1 -1
- package/lib/components/Tabs/FormBodyTabListWrapper.js.map +1 -1
- package/lib/components/Tabs/ShowCompletedTabsSection.js +2 -2
- package/lib/components/Tabs/ShowCompletedTabsSection.js.map +1 -1
- package/lib/hooks/UseFileDrop.js.map +1 -1
- package/lib/hooks/useAttachmentUrlValidation.js.map +1 -1
- package/lib/hooks/useBooleanCalculatedExpression.js.map +1 -1
- package/lib/hooks/useBuildForm.js.map +1 -1
- package/lib/hooks/useCodingCalculatedExpression.js.map +1 -1
- package/lib/hooks/useDateTimeNonEmpty.js.map +1 -1
- package/lib/hooks/useDateValidation.js.map +1 -1
- package/lib/hooks/useDecimalCalculatedExpression.js.map +1 -1
- package/lib/hooks/useDisplayCqfAndCalculatedExpression.js.map +1 -1
- package/lib/hooks/useFocusTabHeading.js.map +1 -1
- package/lib/hooks/useGroupTableRows.d.ts +0 -1
- package/lib/hooks/useHidden.js.map +1 -1
- package/lib/hooks/useInitialiseForm.js.map +1 -1
- package/lib/hooks/useInitialiseGroupTableRows.js.map +1 -1
- package/lib/hooks/useInitialiseRepeatAnswers.js.map +1 -1
- package/lib/hooks/useInitialiseRepeatGroups.js.map +1 -1
- package/lib/hooks/useIntegerCalculatedExpression.js.map +1 -1
- package/lib/hooks/useNextAndPreviousVisiblePages.js.map +1 -1
- package/lib/hooks/useNextAndPreviousVisibleTabs.js.map +1 -1
- package/lib/hooks/useOpenLabel.d.ts +0 -1
- package/lib/hooks/useOpenLabel.js.map +1 -1
- package/lib/hooks/useParseXhtml.js +1 -1
- package/lib/hooks/useParseXhtml.js.map +1 -1
- package/lib/hooks/useQuantityCalculatedExpression.js.map +1 -1
- package/lib/hooks/useReadOnly.js.map +1 -1
- package/lib/hooks/useResponsive.js.map +1 -1
- package/lib/hooks/useStringCalculatedExpression.js.map +1 -1
- package/lib/hooks/useTerminologyServerQuery.js.map +1 -1
- package/lib/hooks/useTimeValidation.js.map +1 -1
- package/lib/hooks/useValidationFeedback.js +1 -1
- package/lib/hooks/useValidationFeedback.js.map +1 -1
- package/lib/hooks/useValueSetCodings.js.map +1 -1
- package/lib/stores/questionnaireStore.d.ts +1 -1
- package/lib/stores/questionnaireStore.js +1 -1
- package/lib/stores/questionnaireStore.js.map +1 -1
- package/lib/stores/rendererStylingStore.d.ts +4 -4
- package/lib/stores/selector.js.map +1 -1
- package/lib/stories/storybookWrappers/InitialiseFormWrapperForStorybook.js +2 -2
- package/lib/stories/storybookWrappers/InitialiseFormWrapperForStorybook.js.map +1 -1
- package/lib/theme/RendererThemeProvider.js +1 -1
- package/lib/theme/RendererThemeProvider.js.map +1 -1
- package/lib/theme/themeOptions.js +24 -24
- package/lib/theme/themeOptions.js.map +1 -1
- package/lib/theme/typography.js +15 -15
- package/lib/theme/typography.js.map +1 -1
- package/lib/utils/calculatedExpression.js.map +1 -1
- package/lib/utils/choice.js.map +1 -1
- package/lib/utils/computedUpdates.js.map +1 -1
- package/lib/utils/enableWhen.js.map +1 -1
- package/lib/utils/enableWhenExpression.js.map +1 -1
- package/lib/utils/extractObservation.js.map +1 -1
- package/lib/utils/fhirpath.js +1 -1
- package/lib/utils/fhirpath.js.map +1 -1
- package/lib/utils/fileUtils.js.map +1 -1
- package/lib/utils/formChanges.js.map +1 -1
- package/lib/utils/genericRecursive.js.map +1 -1
- package/lib/utils/getExpressionsFromItem.js.map +1 -1
- package/lib/utils/headingVariant.js.map +1 -1
- package/lib/utils/initialise.js.map +1 -1
- package/lib/utils/itemControl.js.map +1 -1
- package/lib/utils/manageForm.js.map +1 -1
- package/lib/utils/mapItem.js.map +1 -1
- package/lib/utils/misc.js.map +1 -1
- package/lib/utils/openChoice.js.map +1 -1
- package/lib/utils/page.js.map +1 -1
- package/lib/utils/parameterisedValueSets.js.map +1 -1
- package/lib/utils/parseInputs.js.map +1 -1
- package/lib/utils/qItem.js.map +1 -1
- package/lib/utils/qrItem.js.map +1 -1
- package/lib/utils/quantity.js.map +1 -1
- package/lib/utils/questionnaireResponseStoreUtils/updatableResponseItems.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/addAdditionalVariables.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/addDisplayToCodings.js +4 -4
- package/lib/utils/questionnaireStoreUtils/addDisplayToCodings.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/createQuestionaireModel.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/extractContainedValueSets.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/extractLaunchContext.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/extractOtherExtensions.js +1 -1
- package/lib/utils/questionnaireStoreUtils/extractOtherExtensions.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/extractPages.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/extractTabs.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/extractTargetConstraint.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/extractVariables.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/insertAnswerOptions.js.map +1 -1
- package/lib/utils/questionnaireStoreUtils/resolveValueSets.js +1 -1
- package/lib/utils/questionnaireStoreUtils/resolveValueSets.js.map +1 -1
- package/lib/utils/removeEmptyAnswers.js.map +1 -1
- package/lib/utils/removeRepeatId.js.map +1 -1
- package/lib/utils/repopulateIntoResponse.js.map +1 -1
- package/lib/utils/repopulateItems.js.map +1 -1
- package/lib/utils/slider.js.map +1 -1
- package/lib/utils/tabs.js.map +1 -1
- package/lib/utils/targetConstraint.js +2 -2
- package/lib/utils/targetConstraint.js.map +1 -1
- package/lib/utils/validate.d.ts +40 -40
- package/lib/utils/validate.js.map +1 -1
- package/lib/utils/valueSet.js.map +1 -1
- package/package.json +22 -17
- package/src/components/FormComponents/DecimalItem/DecimalField.tsx +1 -1
- package/src/components/FormComponents/ItemParts/DisplayUnitText.tsx +1 -5
- package/src/components/FormComponents/ItemParts/ItemTextSwitcher.tsx +2 -2
- package/src/components/FormComponents/QuantityItem/QuantityUnitField.tsx +10 -1
- package/src/stories/assets/fhirClient/mockFhirClient.ts +52 -0
- package/src/stories/assets/patients/PatSmartForm.ts +281 -0
- package/src/stories/assets/practitioners/PracPrimaryPeter.ts +38 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreAllergyIntolerance.json +209 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreCondition.json +220 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreEncounter.json +299 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreImmunization.json +175 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreMedicationRequest.json +229 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreObservationBP.json +359 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreObservationBodyHeight.json +195 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreObservationBodyWeight.json +195 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreObservationHeartRate.json +195 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreObservationSmokingStatus.json +174 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCorePatient.json +495 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCorePractitioner.json +139 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCorePractitionerRole.json +216 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreProcedure.json +199 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreRespirationRate.json +195 -0
- package/src/stories/assets/questionnaires/AuCoreTestingJson/AuCoreWaistCircumference.json +195 -0
- package/src/stories/assets/questionnaires/QAdvancedAdditionalDisplayContent.ts +113 -0
- package/src/stories/assets/questionnaires/QAdvancedControlAppearance.ts +865 -0
- package/src/stories/assets/questionnaires/QAdvancedOther.ts +494 -0
- package/src/stories/assets/questionnaires/QAdvancedTextApperance.ts +503 -0
- package/src/stories/assets/questionnaires/QAttachment.ts +38 -0
- package/src/stories/assets/questionnaires/QAuCoreTesting.ts +3796 -0
- package/src/stories/assets/questionnaires/QBehaviorCalculations.ts +643 -0
- package/src/stories/assets/questionnaires/QBehaviorChoiceRestriction.ts +281 -0
- package/src/stories/assets/questionnaires/QBehaviorOther.ts +1241 -0
- package/src/stories/assets/questionnaires/QBehaviorValueConstraints.ts +508 -0
- package/src/stories/assets/questionnaires/QBoolean.ts +180 -0
- package/src/stories/assets/questionnaires/QButtonTester.ts +497 -0
- package/src/stories/assets/questionnaires/QChoice.ts +493 -0
- package/src/stories/assets/questionnaires/QDate.ts +56 -0
- package/src/stories/assets/questionnaires/QDateTime.ts +56 -0
- package/src/stories/assets/questionnaires/QDecimal.ts +56 -0
- package/src/stories/assets/questionnaires/QDisplay.ts +197 -0
- package/src/stories/assets/questionnaires/QFormPopulation.ts +1349 -0
- package/src/stories/assets/questionnaires/QGroup.ts +52 -0
- package/src/stories/assets/questionnaires/QGroupTableTester.ts +461 -0
- package/src/stories/assets/questionnaires/QIdRemoverDebugger.ts +161 -0
- package/src/stories/assets/questionnaires/QInteger.ts +119 -0
- package/src/stories/assets/questionnaires/QItemControlDisplay.ts +558 -0
- package/src/stories/assets/questionnaires/QItemControlGroup.ts +1530 -0
- package/src/stories/assets/questionnaires/QItemControlQuestion.ts +1271 -0
- package/src/stories/assets/questionnaires/QMbs715Tester.ts +32888 -0
- package/src/stories/assets/questionnaires/QOpenChoice.ts +151 -0
- package/src/stories/assets/questionnaires/QParameterisedValueSets.ts +312 -0
- package/src/stories/assets/questionnaires/QPrePopTester.ts +543 -0
- package/src/stories/assets/questionnaires/QQuantity.ts +365 -0
- package/src/stories/assets/questionnaires/QReference.ts +38 -0
- package/src/stories/assets/questionnaires/QSingleItems.ts +251 -0
- package/src/stories/assets/questionnaires/QString.ts +131 -0
- package/src/stories/assets/questionnaires/QTerminologyControl.ts +59 -0
- package/src/stories/assets/questionnaires/QText.ts +169 -0
- package/src/stories/assets/questionnaires/QTime.ts +38 -0
- package/src/stories/assets/questionnaires/QUrl.ts +38 -0
- package/src/stories/assets/questionnaires/QValidateTester.ts +118 -0
- package/src/stories/assets/questionnaires/index.ts +43 -0
- package/src/stories/itemTypes/Attachment.stories.tsx +39 -0
- package/src/stories/itemTypes/Boolean.stories.tsx +65 -0
- package/src/stories/itemTypes/Choice.stories.tsx +78 -0
- package/src/stories/itemTypes/Date.stories.tsx +46 -0
- package/src/stories/itemTypes/DateTime.stories.tsx +45 -0
- package/src/stories/itemTypes/Decimal.stories.tsx +56 -0
- package/src/stories/itemTypes/Display.stories.tsx +55 -0
- package/src/stories/itemTypes/Group.stories.tsx +39 -0
- package/src/stories/itemTypes/Integer.stories.tsx +55 -0
- package/src/stories/itemTypes/OpenChoice.stories.tsx +64 -0
- package/src/stories/itemTypes/Quantity.stories.tsx +71 -0
- package/src/stories/itemTypes/Reference.stories.tsx +39 -0
- package/src/stories/itemTypes/String.stories.tsx +51 -0
- package/src/stories/itemTypes/Text.stories.tsx +51 -0
- package/src/stories/itemTypes/Time.stories.tsx +39 -0
- package/src/stories/itemTypes/Url.stories.tsx +39 -0
- package/src/stories/sdc/AdvancedAdditionalDisplayContent.stories.tsx +51 -0
- package/src/stories/sdc/AdvancedControlAppearance.stories.tsx +90 -0
- package/src/stories/sdc/AdvancedOther.stories.tsx +76 -0
- package/src/stories/sdc/AdvancedTextAppearance.stories.tsx +104 -0
- package/src/stories/sdc/BehaviorCalculations.stories.tsx +69 -0
- package/src/stories/sdc/BehaviorChoiceRestriction.stories.tsx +76 -0
- package/src/stories/sdc/BehaviorOther.stories.tsx +97 -0
- package/src/stories/sdc/BehaviorValueConstraints.stories.tsx +88 -0
- package/src/stories/sdc/FormPopulation.stories.tsx +97 -0
- package/src/stories/sdc/ItemControlDisplay.stories.tsx +69 -0
- package/src/stories/sdc/ItemControlGroup.stories.tsx +90 -0
- package/src/stories/sdc/ItemControlQuestion.stories.tsx +118 -0
- package/src/stories/sdc/OtherExtensions.stories.tsx +39 -0
- package/src/stories/sdc/ParameterisedValueSets.stories.tsx +48 -0
- package/src/stories/storybookWrappers/BuildFormButtonForStorybook.tsx +54 -0
- package/src/stories/storybookWrappers/BuildFormButtonTesterWrapperForStorybook.tsx +76 -0
- package/src/stories/storybookWrappers/BuildFormWrapperForStorybook.tsx +61 -0
- package/src/stories/storybookWrappers/FormValidationTesterWrapperForStorybook.tsx +70 -0
- package/src/stories/storybookWrappers/FormValidationViewerForStorybook.tsx +28 -0
- package/src/stories/storybookWrappers/IdRemoverButtonForStorybook.tsx +49 -0
- package/src/stories/storybookWrappers/IdRemoverDebuggerWrapperForStorybook.tsx +84 -0
- package/src/stories/storybookWrappers/InitialiseFormWrapperForStorybook.tsx +105 -0
- package/src/stories/storybookWrappers/PrePopButtonForStorybook.tsx +56 -0
- package/src/stories/storybookWrappers/PrePopWrapperForStorybook.tsx +114 -0
- package/src/stories/storybookWrappers/TestCssSheet.css +17 -0
- package/src/stories/storybookWrappers/ValidateFormButtonForStorybook.tsx +41 -0
- package/src/stories/storybookWrappers/globals.ts +18 -0
- package/src/stories/storybookWrappers/iframeResizerChild.js +1063 -0
- package/src/stories/storybookWrappers/index.ts +19 -0
- package/src/stories/storybookWrappers/populateCallbackForStorybook.ts +55 -0
- package/src/stories/testing/AuCoreTester.stories.tsx +196 -0
- package/src/stories/testing/BuildFormButtonTesterWrapper.stories.tsx +40 -0
- package/src/stories/testing/GroupTableTester.stories.tsx +39 -0
- package/src/stories/testing/IdRemoverDebuggerWrapper.stories.tsx +39 -0
- package/src/stories/testing/Mbs715Tester.stories.tsx +57 -0
- package/src/stories/testing/PrePopButtonTesterWrapper.stories.tsx +55 -0
- package/src/stories/testing/ValidateFormTesterWrapper.stories.tsx +39 -0
- package/tsconfig.json +1 -1
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "Questionnaire",
|
|
3
|
+
"id": "AuCoreAllergyIntolerance",
|
|
4
|
+
"extension": [
|
|
5
|
+
{
|
|
6
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
|
|
7
|
+
"extension": [
|
|
8
|
+
{
|
|
9
|
+
"url": "name",
|
|
10
|
+
"valueCoding": {
|
|
11
|
+
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
|
|
12
|
+
"code": "patient"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"url": "type",
|
|
17
|
+
"valueCode": "Patient"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"url": "description",
|
|
21
|
+
"valueString": "The patient that is to be used to pre-populate the form"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"url": "http://hl7.org/fhir/StructureDefinition/variable",
|
|
27
|
+
"valueExpression": {
|
|
28
|
+
"name": "AllergyIntolerance",
|
|
29
|
+
"language": "application/x-fhir-query",
|
|
30
|
+
"expression": "AllergyIntolerance?patient={{%patient.id}}"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"version": "0.5.0-ci-build",
|
|
35
|
+
"name": "AU Core AllergyIntolerance",
|
|
36
|
+
"title": "AU Core AllergyIntolerance",
|
|
37
|
+
"status": "draft",
|
|
38
|
+
"date": "2024-07-15",
|
|
39
|
+
"item": [
|
|
40
|
+
{
|
|
41
|
+
"linkId": "allergy-intolerance",
|
|
42
|
+
"text": "AU Core AllergyIntolerance",
|
|
43
|
+
"type": "group",
|
|
44
|
+
"repeats": false,
|
|
45
|
+
"item": [
|
|
46
|
+
{
|
|
47
|
+
"linkId": "patient-details",
|
|
48
|
+
"text": "Patient Details",
|
|
49
|
+
"type": "group",
|
|
50
|
+
"item": [
|
|
51
|
+
{
|
|
52
|
+
"extension": [
|
|
53
|
+
{
|
|
54
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
55
|
+
"valueExpression": {
|
|
56
|
+
"language": "text/fhirpath",
|
|
57
|
+
"expression": "%patient.id"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"linkId": "patient-id",
|
|
62
|
+
"text": "Patient ID",
|
|
63
|
+
"type": "string",
|
|
64
|
+
"required": true,
|
|
65
|
+
"readOnly": true
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"extension": [
|
|
69
|
+
{
|
|
70
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
71
|
+
"valueExpression": {
|
|
72
|
+
"language": "text/fhirpath",
|
|
73
|
+
"expression": "(%patient.name.where(use='official').select((family | (given | prefix).join(' ')).join(', ').where($this != '') | text)).first()"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"linkId": "patient-name",
|
|
78
|
+
"text": "Patient Name",
|
|
79
|
+
"type": "string",
|
|
80
|
+
"required": true,
|
|
81
|
+
"readOnly": true
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"linkId": "first-resource-note",
|
|
87
|
+
"text": "This questionnaire only uses the first AllergyTolerance resource of a reference patient.",
|
|
88
|
+
"_text": {
|
|
89
|
+
"extension": [
|
|
90
|
+
{
|
|
91
|
+
"url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
|
|
92
|
+
"valueString": "<div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"padding-bottom: 8px;\">\r\n <b>This questionnaire only uses the first AllergyIntolerance resource of a reference patient.</b>\r\n</div>"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"type": "display"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"extension": [
|
|
100
|
+
{
|
|
101
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
102
|
+
"valueExpression": {
|
|
103
|
+
"language": "text/fhirpath",
|
|
104
|
+
"expression": "%AllergyIntolerance.entry[0].resource.clinicalStatus.coding"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"linkId": "clinical-status",
|
|
109
|
+
"text": "Clinical Status",
|
|
110
|
+
"type": "choice",
|
|
111
|
+
"answerValueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"extension": [
|
|
115
|
+
{
|
|
116
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
117
|
+
"valueExpression": {
|
|
118
|
+
"language": "text/fhirpath",
|
|
119
|
+
"expression": "%AllergyIntolerance.entry[0].resource.verificationStatus.coding"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"linkId": "verification-status",
|
|
124
|
+
"text": "Verification Status",
|
|
125
|
+
"type": "choice",
|
|
126
|
+
"answerValueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"extension": [
|
|
130
|
+
{
|
|
131
|
+
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
|
|
132
|
+
"valueCodeableConcept": {
|
|
133
|
+
"coding": [
|
|
134
|
+
{
|
|
135
|
+
"system": "http://hl7.org/fhir/questionnaire-item-control",
|
|
136
|
+
"code": "autocomplete"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
143
|
+
"valueExpression": {
|
|
144
|
+
"language": "text/fhirpath",
|
|
145
|
+
"expression": "%AllergyIntolerance.entry[0].resource.code.coding"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"linkId": "code",
|
|
150
|
+
"text": "Code",
|
|
151
|
+
"type": "open-choice",
|
|
152
|
+
"required": true,
|
|
153
|
+
"answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/indicator-hypersensitivity-intolerance-to-substance-2"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"extension": [
|
|
157
|
+
{
|
|
158
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
159
|
+
"valueExpression": {
|
|
160
|
+
"language": "text/fhirpath",
|
|
161
|
+
"expression": "%AllergyIntolerance.entry[0].resource.onset"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"linkId": "onset",
|
|
166
|
+
"text": "Onset[x]",
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"linkId": "reaction",
|
|
171
|
+
"text": "Reaction",
|
|
172
|
+
"type": "group",
|
|
173
|
+
"item": [
|
|
174
|
+
{
|
|
175
|
+
"extension": [
|
|
176
|
+
{
|
|
177
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
178
|
+
"valueExpression": {
|
|
179
|
+
"language": "text/fhirpath",
|
|
180
|
+
"expression": "%AllergyIntolerance.entry[0].resource.reaction.manifestation[0].coding"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"linkId": "reaction-manifestation",
|
|
185
|
+
"text": "Reaction Manifestation",
|
|
186
|
+
"type": "choice",
|
|
187
|
+
"answerValueSet": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"extension": [
|
|
191
|
+
{
|
|
192
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
193
|
+
"valueExpression": {
|
|
194
|
+
"language": "text/fhirpath",
|
|
195
|
+
"expression": "%AllergyIntolerance.entry[0].resource.reaction.severity"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"linkId": "reaction-severity",
|
|
200
|
+
"text": "Reaction Severity",
|
|
201
|
+
"type": "choice",
|
|
202
|
+
"answerValueSet": "http://hl7.org/fhir/ValueSet/reaction-event-severity"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "Questionnaire",
|
|
3
|
+
"id": "AuCoreCondition",
|
|
4
|
+
"extension": [
|
|
5
|
+
{
|
|
6
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
|
|
7
|
+
"extension": [
|
|
8
|
+
{
|
|
9
|
+
"url": "name",
|
|
10
|
+
"valueCoding": {
|
|
11
|
+
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
|
|
12
|
+
"code": "patient"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"url": "type",
|
|
17
|
+
"valueCode": "Patient"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"url": "description",
|
|
21
|
+
"valueString": "The patient that is to be used to pre-populate the form"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"url": "http://hl7.org/fhir/StructureDefinition/variable",
|
|
27
|
+
"valueExpression": {
|
|
28
|
+
"name": "Condition",
|
|
29
|
+
"language": "application/x-fhir-query",
|
|
30
|
+
"expression": "Condition?patient={{%patient.id}}"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"version": "0.5.0-ci-build",
|
|
35
|
+
"name": "AU Core Condition",
|
|
36
|
+
"title": "AU Core Condition",
|
|
37
|
+
"status": "draft",
|
|
38
|
+
"date": "2024-07-15",
|
|
39
|
+
"item": [
|
|
40
|
+
{
|
|
41
|
+
"linkId": "condition",
|
|
42
|
+
"text": "AU Core Condition",
|
|
43
|
+
"type": "group",
|
|
44
|
+
"repeats": false,
|
|
45
|
+
"item": [
|
|
46
|
+
{
|
|
47
|
+
"linkId": "patient-details",
|
|
48
|
+
"text": "Patient Details",
|
|
49
|
+
"type": "group",
|
|
50
|
+
"item": [
|
|
51
|
+
{
|
|
52
|
+
"extension": [
|
|
53
|
+
{
|
|
54
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
55
|
+
"valueExpression": {
|
|
56
|
+
"language": "text/fhirpath",
|
|
57
|
+
"expression": "%patient.id"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"linkId": "patient-id",
|
|
62
|
+
"text": "Patient ID",
|
|
63
|
+
"type": "string",
|
|
64
|
+
"required": true,
|
|
65
|
+
"readOnly": true
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"extension": [
|
|
69
|
+
{
|
|
70
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
71
|
+
"valueExpression": {
|
|
72
|
+
"language": "text/fhirpath",
|
|
73
|
+
"expression": "(%patient.name.where(use='official').select((family | (given\n| prefix).join(' ')).join(', ').where($this != '') | text)).first()"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"linkId": "patient-name",
|
|
78
|
+
"text": "Patient Name",
|
|
79
|
+
"type": "string",
|
|
80
|
+
"required": true,
|
|
81
|
+
"readOnly": true
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"linkId": "first-condition-note",
|
|
87
|
+
"text": "This questionnaire only uses the first Condition resource of a referenced patient.",
|
|
88
|
+
"_text": {
|
|
89
|
+
"extension": [
|
|
90
|
+
{
|
|
91
|
+
"url": "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
|
|
92
|
+
"valueString": "<div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"padding-bottom:\n8px;\">\r\n <b>This questionnaire only uses the first Condition resource of a referenced patient.</b>\r\n</div>"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"type": "display"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"linkId": "clinical-status",
|
|
100
|
+
"text": "Clinical Status",
|
|
101
|
+
"type": "choice",
|
|
102
|
+
"answerValueSet": "http://hl7.org/fhir/ValueSet/condition-clinical",
|
|
103
|
+
"extension": [
|
|
104
|
+
{
|
|
105
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
106
|
+
"valueExpression": {
|
|
107
|
+
"language": "text/fhirpath",
|
|
108
|
+
"expression": "%Condition.entry[0].resource.clinicalStatus.coding"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"linkId": "verification-status",
|
|
115
|
+
"text": "Verification Status",
|
|
116
|
+
"type": "choice",
|
|
117
|
+
"answerValueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status",
|
|
118
|
+
"extension": [
|
|
119
|
+
{
|
|
120
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
121
|
+
"valueExpression": {
|
|
122
|
+
"language": "text/fhirpath",
|
|
123
|
+
"expression": "%Condition.entry[0].resource.verificationStatus.coding"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"linkId": "category",
|
|
130
|
+
"text": "Category",
|
|
131
|
+
"type": "choice",
|
|
132
|
+
"required": true,
|
|
133
|
+
"answerValueSet": "http://hl7.org/fhir/ValueSet/condition-category",
|
|
134
|
+
"extension": [
|
|
135
|
+
{
|
|
136
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
137
|
+
"valueExpression": {
|
|
138
|
+
"language": "text/fhirpath",
|
|
139
|
+
"expression": "%Condition.entry[0].resource.category.coding"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"linkId": "severity",
|
|
146
|
+
"text": "Severity",
|
|
147
|
+
"type": "choice",
|
|
148
|
+
"answerValueSet": "http://hl7.org/fhir/ValueSet/condition-severity",
|
|
149
|
+
"extension": [
|
|
150
|
+
{
|
|
151
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
152
|
+
"valueExpression": {
|
|
153
|
+
"language": "text/fhirpath",
|
|
154
|
+
"expression": "%Condition.entry[0].resource.severity.coding"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"linkId": "code",
|
|
161
|
+
"text": "Code",
|
|
162
|
+
"type": "choice",
|
|
163
|
+
"required": true,
|
|
164
|
+
"answerValueSet": "http://hl7.org/fhir/ValueSet/condition-code",
|
|
165
|
+
"extension": [
|
|
166
|
+
{
|
|
167
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
168
|
+
"valueExpression": {
|
|
169
|
+
"language": "text/fhirpath",
|
|
170
|
+
"expression": "%Condition.entry[0].resource.code.coding"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"extension": [
|
|
177
|
+
{
|
|
178
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
179
|
+
"valueExpression": {
|
|
180
|
+
"language": "text/fhirpath",
|
|
181
|
+
"expression": "%Condition.entry[0].resource.onset.value"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"linkId": "onset",
|
|
186
|
+
"text": "Onset[x]",
|
|
187
|
+
"type": "string"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"extension": [
|
|
191
|
+
{
|
|
192
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
193
|
+
"valueExpression": {
|
|
194
|
+
"language": "text/fhirpath",
|
|
195
|
+
"expression": "%Condition.entry[0].resource.abatement.value"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"linkId": "abatement",
|
|
200
|
+
"text": "Abatement[x]",
|
|
201
|
+
"type": "string"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"linkId": "note",
|
|
205
|
+
"text": "Note",
|
|
206
|
+
"type": "string",
|
|
207
|
+
"extension": [
|
|
208
|
+
{
|
|
209
|
+
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
210
|
+
"valueExpression": {
|
|
211
|
+
"language": "text/fhirpath",
|
|
212
|
+
"expression": "%Condition.entry[0].resource.note.text"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
}
|