Hi All,
Currently you can prohibit an element by setting severity to
SHALL and multiplicity to [0..0]. The constraint in DITA will come out as …SHALL NOT contain xxx [0..0].
The proposed new capability will extend the “SHALL NOT” capability to more than just multiplicity, but values. For example:
-
Modelling that statusCode SHALL NOT equal “ceased”
-
Modellign that code/@code SHALL NOT equal “02”
-
Modelling @nullFlavor SHALL NOT equal "NI", "UNK", "ASKU", "NAV", "NASK", "MSK", or "NA"
Currently this type of constraints are modelled via an ANALYSIS constraint and require custom OCL. It would make modelling a lot easier if this type of content can be set in the model. This type of constraint/validation may also extend
to include SHALL, SHOULD, SHOULD NOT, and MAY.
Any comments will be appreciated.
Thanks
David Cai
Business Analyst
Strategy, Architecture & Informatics Group
nehta
- National E-Health Transition Authority
Office address
Phone: (07) 3023 8598
Fax: (07) 3023 8466
Email: david.cai@xxxxxxxxxxxx
Web: www.nehta.gov.au