com.nedap.archie.definitions.AdlCodeDefinitions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of base Show documentation
Show all versions of base Show documentation
Base classes for an OpenEHR implementation
The newest version!
package com.nedap.archie.definitions;
public class AdlCodeDefinitions {
/**
* String leader of ‘identifier’ codes, i.e. codes used to identify archetype nodes.
*/
public static final String ID_CODE_LEADER = "id";
/**
* String leader of ‘value’ codes, i.e. codes used to identify codes values, including value set members.
*/
public static final String VALUE_CODE_LEADER = "at";
/**
* String leader of ‘value set’ codes, i.e. codes used to identify value sets.
*/
public static final String VALUE_SET_CODE_LEADER = "ac";
/**
* Character used to separate numeric parts of codes belonging to different specialisation levels.
*/
public static final char SPECIALIZATION_SEPARATOR = '.';
/**
* Regex used to define the legal numeric part of any archetype code. Corresponds to the simple pattern of dotted numbers, as used in typical multi-level numbering schemes.
*/
public static final String CODE_REGEX_PATTERN = "(0|[1-9][0-9]*)(\\.(0|[1-9][0-9]*))*";
/**
* Regex pattern of the root id code of any archetype. Corresponds to codes of the form id1, id1.1, id1.1.1 etc..
*/
public static final String ROOT_CODE_REGEX_PATTERN = "^id1(\\.1)*$";
/**
* Code id used for C_PRIMITIVE_OBJECT nodes on creation.
*/
public static final String PRIMITIVE_NODE_ID = "id9999";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy