public abstract class BaseResource extends ca.uhn.fhir.model.api.BaseElement implements ca.uhn.fhir.model.api.IResource
| Modifier and Type | Field and 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
|
| Constructor and Description |
|---|
BaseResource() |
| Modifier and Type | Method and 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(org.hl7.fhir.instance.model.api.IIdType theId) |
BaseResource |
setId(String 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() |
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final ca.uhn.fhir.rest.gclient.StringClientParam RES_ID
Description: the _id of a resource
Type: string
Path: Resource._id
public static final String SP_RES_ID
public static final String SP_RES_LANGUAGE
public BaseResource()
public ContainedDt getContained()
getContained in interface ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.model.primitive.IdDt getId()
getId in interface ca.uhn.fhir.model.api.IResourcepublic org.hl7.fhir.instance.model.api.IIdType getIdElement()
getIdElement in interface org.hl7.fhir.instance.model.api.IBaseResourcepublic ca.uhn.fhir.model.primitive.CodeDt getLanguage()
getLanguage in interface ca.uhn.fhir.model.api.IResourcepublic org.hl7.fhir.instance.model.api.IBaseMetaType getMeta()
getMeta in interface ca.uhn.fhir.model.api.IResourcegetMeta in interface org.hl7.fhir.instance.model.api.IBaseResourcepublic ca.uhn.fhir.model.base.resource.ResourceMetadataMap getResourceMetadata()
getResourceMetadata in interface ca.uhn.fhir.model.api.IResourcepublic NarrativeDt getText()
getText in interface ca.uhn.fhir.model.api.IResourceprotected boolean isBaseEmpty()
IBase.isEmpty() implementations, returns true if all
content in this superclass instance is empty per the semantics of IBase.isEmpty().isBaseEmpty in class ca.uhn.fhir.model.api.BaseElementpublic void setContained(ContainedDt theContained)
public void setId(ca.uhn.fhir.model.primitive.IdDt theId)
setId in interface ca.uhn.fhir.model.api.IResourcepublic BaseResource setId(org.hl7.fhir.instance.model.api.IIdType theId)
setId in interface org.hl7.fhir.instance.model.api.IBaseResourcepublic BaseResource setId(String theId)
setId in interface org.hl7.fhir.instance.model.api.IBaseResourcepublic void setLanguage(ca.uhn.fhir.model.primitive.CodeDt theLanguage)
setLanguage in interface ca.uhn.fhir.model.api.IResourcepublic void setResourceMetadata(ca.uhn.fhir.model.base.resource.ResourceMetadataMap theMap)
setResourceMetadata in interface ca.uhn.fhir.model.api.IResourcepublic void setText(NarrativeDt theText)
Copyright © 2014–2018 University Health Network. All rights reserved.