Class BaseReference

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseReference, org.hl7.fhir.instance.model.api.ICompositeType
Direct Known Subclasses:
Reference

public abstract class BaseReference extends DataType implements org.hl7.fhir.instance.model.api.IBaseReference, org.hl7.fhir.instance.model.api.ICompositeType
See Also:
  • Constructor Details

  • Method Details

    • getResource

      public org.hl7.fhir.instance.model.api.IBaseResource getResource()
      Retrieves the actual resource referenced by this reference. Note that the resource itself is not a part of the FHIR "wire format" and is never transmitted or receieved inline, but this property may be changed/accessed by parsers.
      Specified by:
      getResource in interface org.hl7.fhir.instance.model.api.IBaseReference
    • getReferenceElement

      public org.hl7.fhir.instance.model.api.IIdType getReferenceElement()
      Specified by:
      getReferenceElement in interface org.hl7.fhir.instance.model.api.IBaseReference
    • setResource

      public org.hl7.fhir.instance.model.api.IBaseReference setResource(org.hl7.fhir.instance.model.api.IBaseResource theResource)
      Sets the actual resource referenced by this reference. Note that the resource itself is not a part of the FHIR "wire format" and is never transmitted or receieved inline, but this property may be changed/accessed by parsers.
      Specified by:
      setResource in interface org.hl7.fhir.instance.model.api.IBaseReference
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class Element
    • copyValues

      public void copyValues(Element dst)
      Overrides:
      copyValues in class Element