Class BaseResource

java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.BaseResource
All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseResource
Direct Known Subclasses:
Resource

public abstract class BaseResource extends Base implements org.hl7.fhir.instance.model.api.IAnyResource, ca.uhn.fhir.model.api.IElement
See Also:
  • Constructor Details

  • Method Details

    • setId

      public BaseResource setId(org.hl7.fhir.instance.model.api.IIdType value)
      Specified by:
      setId in interface org.hl7.fhir.instance.model.api.IBaseResource
      Parameters:
      value - The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.
    • setIdElement

      public abstract BaseResource setIdElement(IdType theIdType)
    • getStructureFhirVersionEnum

      public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
      Specified by:
      getStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResource
    • isResource

      public boolean isResource()
      Overrides:
      isResource in class Base