Enum ReferenceHandlingPolicy

java.lang.Object
java.lang.Enum<ReferenceHandlingPolicy>
org.hl7.fhir.r4.model.codesystems.ReferenceHandlingPolicy
All Implemented Interfaces:
Serializable, Comparable<ReferenceHandlingPolicy>

  • Enum Constant Details

    • LITERAL

      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').
    • LOGICAL

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

      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).
    • ENFORCED

      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.
      Returns:
      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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      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
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • toCode

      public String toCode()
    • getSystem

      public String getSystem()
    • getDefinition

    • getDisplay

      public String getDisplay()