intersystems / intersystems/ipm
Add Product attribute to <SystemRequirements> in module.xml
- Dominant language
- ObjectScript
- Stars
- 41
- Forks
- 29
- Avg merge
- 23h 54m
- Merged PRs (30d)
- 4
Description
## Add `Product` attribute to `` in `module.xml`
### **Description**
Currently, the `` tag in `module.xml` allows developers to restrict modules based on `Version` and `Interoperability` status. However, there is no native way to restrict a module to specific InterSystems product editions, such as **`IRIS for Health`**, **`HealthShare`**, or **`TrakCare`**.
Healthcare-specific applications often rely on schemas (like SDA), classes (HS.*), or specific FHIR capabilities that are only present in "IRIS for Health" or "HealthShare" instances.
### **Proposed Change**
Expand the `` tag to include a `Product` attribute.
**Proposed Syntax:**
```xml
```
**Supported Values:** The attribute should ideally support:
* `IRISHealth`
* `IRIS`
* `HealthShare`
* `TrakCare`
* etc...
### **Benefits**
* **Developer Experience:** Eliminates the need for boilerplate installer classes just to check the product type.
* **Safety:** Prevents broken installations and "Class Not Found" errors for users trying to run healthcare code on standard IRIS.
* **Clarity:** Makes the module's target platform immediately visible in the manifest.
Contributor guide
Assessment
This issue has not been assessed yet.