Details

    • Type: Change Request
    • Status: In Review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: ADL 1.4
    • Fix Version/s: ADL 2.1
    • Component/s: ADL
    • Labels:
      None
    • Impact Analysis:
      Hide
      In order to reduce implementation issues, "cardinality" is the proposed keyword to be used. The use of a different word, such us "is_container" would lead to a better legibility of ADL but would require additional changes to the tooling and parsers.
      Show
      In order to reduce implementation issues, "cardinality" is the proposed keyword to be used. The use of a different word, such us "is_container" would lead to a better legibility of ADL but would require additional changes to the tooling and parsers.
    • Change Description:
      Hide
      The proposed solution uses the "cardinality" keyword without the cardinality range to indicate which attributes are containers.

      - Multiple attribute with redefinition of cardinality:
      container_attr cardinality matches {2..*} matches { ... }

      - Multiple attribute without redefinition of cardinality:
      container_attr cardinality matches { ... }
      Show
      The proposed solution uses the "cardinality" keyword without the cardinality range to indicate which attributes are containers. - Multiple attribute with redefinition of cardinality: container_attr cardinality matches {2..*} matches { ... } - Multiple attribute without redefinition of cardinality: container_attr cardinality matches { ... }

      Description

      Cardinality has become a non-mandatory property, i.e. it is not necessary to use it if it is not being constrained. In order to identify multiple attribute object (or to set the new is_container attribute) while parsing an ADL file without requiring a reference model definition, it becomes necessary to include a marker at ADL to identify those nodes.

      Original discussion thread:
      http://www.openehr.org/mailarchives/openehr-implementers/msg00999.html

        Attachments

          Activity

            People

            • Assignee:
              thomas.beale Thomas Beale
              Reporter:
              damoca David Moner
              Raised By:
              David Moner
              Analyst:
              Thomas Beale
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated: