Class BaseResource

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ca.uhn.fhir.rest.gclient.StringClientParam RES_ID
      Fluent Client search parameter constant for _id
      static String SP_RES_ID
      Search parameter constant for _id
      static String SP_RES_LANGUAGE
      Search parameter constant for _language
      • Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource

        INCLUDE_ALL, WILDCARD_ALL_SET
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseResource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ContainedDt getContained()  
      ca.uhn.fhir.model.primitive.IdDt getId()  
      org.hl7.fhir.instance.model.api.IIdType getIdElement()  
      ca.uhn.fhir.model.primitive.CodeDt getLanguage()  
      org.hl7.fhir.instance.model.api.IBaseMetaType getMeta()  
      ca.uhn.fhir.model.base.resource.ResourceMetadataMap getResourceMetadata()  
      NarrativeDt getText()  
      protected boolean isBaseEmpty()
      Intended to be called by extending classes IBase.isEmpty() implementations, returns true if all content in this superclass instance is empty per the semantics of IBase.isEmpty().
      void setContained​(ContainedDt theContained)  
      void setId​(ca.uhn.fhir.model.primitive.IdDt theId)  
      BaseResource setId​(String theId)  
      BaseResource setId​(org.hl7.fhir.instance.model.api.IIdType theId)  
      void setLanguage​(ca.uhn.fhir.model.primitive.CodeDt theLanguage)  
      void setResourceMetadata​(ca.uhn.fhir.model.base.resource.ResourceMetadataMap theMap)  
      void setText​(NarrativeDt theText)  
      String toString()  
      • Methods inherited from class ca.uhn.fhir.model.api.BaseElement

        addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
      • Methods inherited from interface org.hl7.fhir.instance.model.api.IBase

        fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserData
      • Methods inherited from interface ca.uhn.fhir.model.api.ICompositeElement

        getAllPopulatedChildElementsOfType
      • Methods inherited from interface ca.uhn.fhir.model.api.IResource

        getResourceName, getStructureFhirVersionEnum
    • Field Detail

      • RES_ID

        public static final ca.uhn.fhir.rest.gclient.StringClientParam RES_ID
        Fluent Client search parameter constant for _id

        Description: the _id of a resource
        Type: string
        Path: Resource._id

    • Method Detail

      • getContained

        public ContainedDt getContained()
        Specified by:
        getContained in interface ca.uhn.fhir.model.api.IResource
      • getId

        public ca.uhn.fhir.model.primitive.IdDt getId()
        Specified by:
        getId in interface ca.uhn.fhir.model.api.IResource
      • getIdElement

        public org.hl7.fhir.instance.model.api.IIdType getIdElement()
        Specified by:
        getIdElement in interface org.hl7.fhir.instance.model.api.IBaseResource
      • getLanguage

        public ca.uhn.fhir.model.primitive.CodeDt getLanguage()
        Specified by:
        getLanguage in interface ca.uhn.fhir.model.api.IResource
      • getMeta

        public org.hl7.fhir.instance.model.api.IBaseMetaType getMeta()
        Specified by:
        getMeta in interface org.hl7.fhir.instance.model.api.IBaseResource
        Specified by:
        getMeta in interface ca.uhn.fhir.model.api.IResource
      • getResourceMetadata

        public ca.uhn.fhir.model.base.resource.ResourceMetadataMap getResourceMetadata()
        Specified by:
        getResourceMetadata in interface ca.uhn.fhir.model.api.IResource
      • getText

        public NarrativeDt getText()
        Specified by:
        getText in interface ca.uhn.fhir.model.api.IResource
      • isBaseEmpty

        protected boolean isBaseEmpty()
        Intended to be called by extending classes IBase.isEmpty() implementations, returns true if all content in this superclass instance is empty per the semantics of IBase.isEmpty().
        Overrides:
        isBaseEmpty in class ca.uhn.fhir.model.api.BaseElement
      • setId

        public void setId​(ca.uhn.fhir.model.primitive.IdDt theId)
        Specified by:
        setId in interface ca.uhn.fhir.model.api.IResource
      • setId

        public BaseResource setId​(org.hl7.fhir.instance.model.api.IIdType theId)
        Specified by:
        setId in interface org.hl7.fhir.instance.model.api.IBaseResource
      • setId

        public BaseResource setId​(String theId)
        Specified by:
        setId in interface org.hl7.fhir.instance.model.api.IBaseResource
      • setLanguage

        public void setLanguage​(ca.uhn.fhir.model.primitive.CodeDt theLanguage)
        Specified by:
        setLanguage in interface ca.uhn.fhir.model.api.IResource
      • setResourceMetadata

        public void setResourceMetadata​(ca.uhn.fhir.model.base.resource.ResourceMetadataMap theMap)
        Specified by:
        setResourceMetadata in interface ca.uhn.fhir.model.api.IResource