public abstract class DomainResource extends Resource implements IBaseHasExtensions, IBaseHasModifierExtensions, IDomainResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
INCLUDE_ALL, WILDCARD_ALL_SET
Constructor and Description |
---|
DomainResource()
Constructor
|
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getResourceType, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
getStructureFhirVersionEnum, isResource, setId
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
getMeta, getStructureFhirVersionEnum, setId
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
public Narrative getText()
getText
in interface IDomainResource
text
(A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.)public boolean hasText()
public DomainResource setText(Narrative value)
value
- text
(A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.)public List<Resource> getContained()
getContained
in interface IDomainResource
contained
(These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.)public DomainResource setContained(List<Resource> theContained)
this
for easy method chainingpublic boolean hasContained()
public DomainResource addContained(Resource t)
public List<Extension> getExtension()
getExtension
in interface IBaseHasExtensions
extension
(May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.)public DomainResource setExtension(List<Extension> theExtension)
this
for easy method chainingpublic boolean hasExtension()
hasExtension
in interface IBaseHasExtensions
public Extension addExtension()
addExtension
in interface IBaseHasExtensions
public DomainResource addExtension(Extension t)
public List<Extension> getModifierExtension()
getModifierExtension
in interface IBaseHasModifierExtensions
modifierExtension
(May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.)public DomainResource setModifierExtension(List<Extension> theModifierExtension)
this
for easy method chainingpublic boolean hasModifierExtension()
hasModifierExtension
in interface IBaseHasModifierExtensions
public Extension addModifierExtension()
addModifierExtension
in interface IBaseHasModifierExtensions
public DomainResource addModifierExtension(Extension t)
public List<Extension> getExtensionsByUrl(String theUrl)
public List<Extension> getModifierExtensionsByUrl(String theUrl)
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty
in class Resource
org.hl7.fhir.exceptions.FHIRException
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty
in class Resource
org.hl7.fhir.exceptions.FHIRException
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty
in class Resource
org.hl7.fhir.exceptions.FHIRException
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty
in class Resource
org.hl7.fhir.exceptions.FHIRException
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty
in class Resource
org.hl7.fhir.exceptions.FHIRException
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty
in class Resource
org.hl7.fhir.exceptions.FHIRException
public abstract DomainResource copy()
public void copyValues(DomainResource dst)
public boolean equalsDeep(Base other_)
equalsDeep
in class Resource
public boolean equalsShallow(Base other_)
equalsShallow
in class Resource
Copyright © 2014–2019 University Health Network. All rights reserved.