Enum Class ANode.NodeCategory

java.lang.Object
java.lang.Enum<ANode.NodeCategory>
org.ehrbase.openehr.aqlengine.pathanalysis.ANode.NodeCategory
All Implemented Interfaces:
Serializable, Comparable<ANode.NodeCategory>, Constable
Enclosing class:
ANode

public static enum ANode.NodeCategory extends Enum<ANode.NodeCategory>
  • Enum Constant Details

    • STRUCTURE

      public static final ANode.NodeCategory STRUCTURE
      StructureRmType with structureEntry == true: LOCATABLEs + EVENT_CONTEXT
    • STRUCTURE_INTERMEDIATE

      public static final ANode.NodeCategory STRUCTURE_INTERMEDIATE
      An RM element that may contain structure entries, but is none itself: StructureRmType.structureEntry == false: FEEDER_AUDIT_DETAILS, INSTRUCTION_DETAILS Candidates are typically PATHABLEs that are not LOCATABLE. EVENT_CONTEXT is mapped as STRUCTURE; ISM_TRANSITION does not contain LOCATABLEs
    • RM_TYPE

      public static final ANode.NodeCategory RM_TYPE
      An RM type
    • FOUNDATION

      public static final ANode.NodeCategory FOUNDATION
    • FOUNDATION_EXTENDED

      public static final ANode.NodeCategory FOUNDATION_EXTENDED
      FOUNDATION + DV_CODED_TEXT + DV_PARSABLE in ELEMENT/value/value

      A common operation is retrieving the value of a DATA_VALUE contained in an ELEMENT.invalid input: '<'/p Usually, the value of a DATA_VALUE is a Foundation type.

      This does not, however, hold true for DV_TIME_SPECIFICATION subtypes (DV_PERIODIC_TIME_SPECIFICATION and DV_GENERAL_TIME_SPECIFICATION), where value is a DV_PARSABLE and DV_STATE where it is a DV_CODED_TEXT.

      This may have to be considered for e.g. comparisons and post-processing of results may be required.

      Furthermore, contrary to DV_STATE, DV_CODED_TEXT.mappings is multiple-valued. This means that the data may be spread over several rows. In order to omit having to query for all sub-rows, in this case the JSONB object should be supplemented with a copy of the full RM hierarchy of mappings could be stored additionally. The first entry may be omitted if the TERM_MAPPING.purpose field is not split into several rows.

  • Method Details

    • values

      public static ANode.NodeCategory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ANode.NodeCategory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null