Class BaseJsonWrapper

java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.liquid.BaseJsonWrapper
All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase

public class BaseJsonWrapper extends Base
See Also:
  • Constructor Details Link icon

    • BaseJsonWrapper Link icon

      public BaseJsonWrapper(org.hl7.fhir.utilities.json.model.JsonElement j)
  • Method Details Link icon

    • fhirType Link icon

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Specified by:
      fhirType in class Base
      Returns:
      the FHIR type name of the instance (not the java class name)
    • getIdBase Link icon

      public String getIdBase()
      Specified by:
      getIdBase in class Base
    • setIdBase Link icon

      public void setIdBase(String value)
      Specified by:
      setIdBase in class Base
    • copy Link icon

      public Base copy()
      Specified by:
      copy in class Base
    • getFHIRPublicationVersion Link icon

      public org.hl7.fhir.utilities.FhirPublication getFHIRPublicationVersion()
      Specified by:
      getFHIRPublicationVersion in class Base
    • getProperty Link icon

      public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • isPrimitive Link icon

      public boolean isPrimitive()
      Overrides:
      isPrimitive in class Base
      Returns:
      true if the data type is a primitive type and might have a primitive value (which will be accessed as a string, irrespective of the stated value)
    • primitiveValue Link icon

      Overrides:
      primitiveValue in class Base
      Returns:
      the primitive value if there is one, as a string irrespective of the actual type (e.g. dates converted to their FHIR string representation) return null if the value is not a primitive or there is no value (might be extensions instead)