cdisc-org / cdisc-org/DDF-RA

Use of AdministrableProductProperty text and quantity

Open
#692 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
52
Forks
5
PR merge metrics
No merged PRs in 30d

Description

In `AdministrableProductProperty`, the `text` attribute is required and the `quantity` attribute is optional. This means that you always have to provide a text value, even if the property value is a quantity. Should `text` be made optional with a rule indicating that a value is expected for either `text` or `quantity`?

This question was raised in [this comment](https://github.com/cdisc-org/DDF-RA/issues/446#issuecomment-2293645983) (3rd to last bullet), but was not addressed.

Currently, the only defined terminology for `AdministrableProductProperty.type` is "pH". As it's a number, I assume the value for the "pH" property would be represented as in `quantity.value` without a unit. However, for the instance to be valid, the number would also have to be represented in `text`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.