Smart Health Checks
0.3.0 - ci-build

Smart Health Checks, published by AEHRC CSIRO. This guide is not an authorized publication; it is the continuous build for version 0.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/aehrc/smart-forms-ig/ and changes regularly. See the Directory of published versions

## Extension: Group Hide Add Item Button

Official URL: https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton | Version: 0.3.0
Draft as of 2025-10-01 | Computable Name: GroupHideAddItemButton
Copyright/Legal: Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved. This content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. See https://creativecommons.org/licenses/by-sa/4.0/.

This custom extension is used to hide the UI component that allows a user to add new items for repeating groups in a Questionnaire. This is useful for preventing users from adding additional groups when it is not appropriate to do so, such as when a group is intended to be prepopulated with existing data but no new ones added by the user.

Context of Use

This extension may be used on the following element(s)

- Element ID: `Questionnaire.item`

In addition, the extension can only be used when this FHIRPath expression is true:

`type='group' and repeats=true`

Usage info

Usages:

- Examples for this Extension: AboriginalTorresStraitIslanderHealthCheck, AllergiesAdverseReactions, MedicalHistoryCurrentProblems and RegularMedications

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Group hide add item button
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton"
value[x] |  | 1..1 | boolean | Value of extension
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Group hide add item button
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton"
value[x] |  | 1..1 | boolean | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type boolean: This custom extension is used to hide the UI component that allows a user to add new items for repeating groups in a Questionnaire. This is useful for preventing users from adding additional groups when it is not appropriate to do so, such as when a group is intended to be prepopulated with existing data but no new ones added by the user.

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Group hide add item button
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton"
value[x] |  | 1..1 | boolean | Value of extension
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Group hide add item button
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://smartforms.csiro.au/ig/StructureDefinition/GroupHideAddItemButton"
value[x] |  | 1..1 | boolean | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type boolean: This custom extension is used to hide the UI component that allows a user to add new items for repeating groups in a Questionnaire. This is useful for preventing users from adding additional groups when it is not appropriate to do so, such as when a group is intended to be prepopulated with existing data but no new ones added by the user.

Other representations of profile: CSV, Excel, Schematron

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`