Enum ReferenceHandlingPolicy

All Implemented Interfaces:
Serializable, Comparable<ReferenceHandlingPolicy>

  • Enum Constant Details


      public static final ReferenceHandlingPolicy LITERAL
      The server supports and populates Literal references (i.e. using Reference.reference) where they are known (this code does not guarantee that all references are literal; see 'enforced').

      public static final ReferenceHandlingPolicy LOGICAL
      The server allows logical references (i.e. using Reference.identifier).

      public static final ReferenceHandlingPolicy RESOLVES
      The server will attempt to resolve logical references to literal references - i.e. converting Reference.identifier to Reference.reference (if resolution fails, the server may still accept resources; see logical).

      public static final ReferenceHandlingPolicy ENFORCED
      The server enforces that references have integrity - e.g. it ensures that references can always be resolved. This is typically the case for clinical record systems, but often not the case for middleware/proxy systems.
    • LOCAL

      public static final ReferenceHandlingPolicy LOCAL
      The server does not support references that point to other servers.
    • NULL

      public static final ReferenceHandlingPolicy NULL
      added to help the parsers
  • Method Details

    • values

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

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

      public static ReferenceHandlingPolicy fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
    • toCode

      public String toCode()
    • getSystem

      public String getSystem()
    • getDefinition

    • getDisplay

      public String getDisplay()