Uploaded image for project: 'Specification'
  1. SPEC-219

Use constants instead of literals to refer to terminology in RM

    Details

    • Change Description:
      Hide
      Changes made:
      - refine the method of referring to openEHR terminology groups and code sets
        (see classes and text in rm.basic.terminology)
      - replace all occurrences of literal strings identifying openEHR code sets
        and terminologies with symbolic constants, and the modified functional access
      - define the constants in two new classes in the rm.support.terminology package,
        named OPENEHR_TERMINOLOGY_GROUP_IDENTIFIERS, and OPENEHR_CODE_SET_IDENTIFIERS
      - Modify the structure of the rm.support.definitions package so that the class
        OPENEHR_DEFINITIONS inherits from a new class BASIC_DEFINITIONS containing
        the properties of OPENEHR_DEFINITIONS, as well as from the above-mentioned two
        classes.
      Show
      Changes made: - refine the method of referring to openEHR terminology groups and code sets   (see classes and text in rm.basic.terminology) - replace all occurrences of literal strings identifying openEHR code sets   and terminologies with symbolic constants, and the modified functional access - define the constants in two new classes in the rm.support.terminology package,   named OPENEHR_TERMINOLOGY_GROUP_IDENTIFIERS, and OPENEHR_CODE_SET_IDENTIFIERS - Modify the structure of the rm.support.definitions package so that the class   OPENEHR_DEFINITIONS inherits from a new class BASIC_DEFINITIONS containing   the properties of OPENEHR_DEFINITIONS, as well as from the above-mentioned two   classes.
    • Approved By:
      PG

      Description

      Currently in the RM class invariants, terminology is referred to using
      literal strings. This should be replaced by constants to remove the
      possibility of typographical errors and other similar mistakes, and also
      to make it possible to define the definitive list of code_sets and
      terminologies required for an openEHR implementation.

        Attachments

          Activity

            People

            • Assignee:
              OLDthomasbeale OLDthomasbeale
              Reporter:
              OLDrongchen Rong Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: