001package org.hl7.fhir.utilities.fhirpath;
002
003/**
004 * The mode for @resolveConstant() and @resolveConstantType()
005 *
006 * @see #EXPLICIT
007 * @see #NOVALUE
008 * @see #IMPLICIT_BEFORE
009 * @see #IMPLICIT_AFTER
010 */
011public enum FHIRPathConstantEvaluationMode {
012  /**
013   * the FHIRPathEngine has encountered an explicit reference to a constant e.g. %{token} that it does not recognise internally
014   */
015  EXPLICIT,
016
017  /**
018   * The FHIRPathEngine was invoked with no focus provided
019   */
020  NOVALUE,
021
022  /**
023   * The FHIRPath engine is about to evaluate a named property reference, but the Host Application is being offered
024   * an opportunity to provide it's own value first
025   */
026  IMPLICIT_BEFORE,
027
028  /**
029   * The FHIRPath engine has evaluated a property and found nothing, and perhaps the Host Application wants to
030   * offer a value (constant fall through). This only happens if checkWithHostServicesBeforeHand is true on the FHIRPath engine
031   */
032  IMPLICIT_AFTER
033}