Class Basic
- 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.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Reference
Indicates who was responsible for creating the resource instance.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for authorprotected Resource
The actual object that is the target of the reference (Indicates who was responsible for creating the resource instance.)protected CodeableConcept
Identifies the 'type' of resource - equivalent to the resource name for other resources.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for codeprotected DateType
Identifies when the resource was first created.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for createdprotected List
<Identifier> Identifier assigned to the resource for business purposes, outside the context of FHIR.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final String
Search parameter: authorstatic final String
Search parameter: codestatic final String
Search parameter: createdstatic final String
Search parameter: identifierstatic final String
Search parameter: patientstatic final String
Search parameter: subjectprotected Reference
Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectprotected Resource
The actual object that is the target of the reference (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getCode()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
hasCode()
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setAuthorTarget
(Resource value) setCode
(CodeableConcept value) setCreated
(Date value) setCreatedElement
(DateType value) setIdentifier
(List<Identifier> theIdentifier) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setSubject
(Reference value) setSubjectTarget
(Resource value) protected Basic
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.dstu3.model.Base
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, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Identifier assigned to the resource for business purposes, outside the context of FHIR. -
code
Identifies the 'type' of resource - equivalent to the resource name for other resources. -
subject
Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource. -
subjectTarget
The actual object that is the target of the reference (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.) -
created
Identifies when the resource was first created. -
author
Indicates who was responsible for creating the resource instance. -
authorTarget
The actual object that is the target of the reference (Indicates who was responsible for creating the resource instance.) -
SP_IDENTIFIER
Search parameter: identifierDescription: Business identifier
Type: token
Path: Basic.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Business identifier
Type: token
Path: Basic.identifier
-
SP_CODE
Search parameter: codeDescription: Kind of Resource
Type: token
Path: Basic.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: Kind of Resource
Type: token
Path: Basic.code
-
SP_SUBJECT
Search parameter: subjectDescription: Identifies the focus of this resource
Type: reference
Path: Basic.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: Identifies the focus of this resource
Type: reference
Path: Basic.subject
-
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Basic:subject". -
SP_CREATED
Search parameter: createdDescription: When created
Type: date
Path: Basic.created
- See Also:
-
CREATED
Fluent Client search parameter constant for createdDescription: When created
Type: date
Path: Basic.created
-
SP_PATIENT
Search parameter: patientDescription: Identifies the focus of this resource
Type: reference
Path: Basic.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: Identifies the focus of this resource
Type: reference
Path: Basic.subject
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Basic:patient". -
SP_AUTHOR
Search parameter: authorDescription: Who created
Type: reference
Path: Basic.author
- See Also:
-
AUTHOR
Fluent Client search parameter constant for authorDescription: Who created
Type: reference
Path: Basic.author
-
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "Basic:author".
-
-
Constructor Details
-
Basic
public Basic()Constructor -
Basic
Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifier assigned to the resource for business purposes, outside the context of FHIR.)
-
setIdentifier
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist
-
getCode
- Returns:
code
(Identifies the 'type' of resource - equivalent to the resource name for other resources.)
-
hasCode
-
setCode
- Parameters:
value
-code
(Identifies the 'type' of resource - equivalent to the resource name for other resources.)
-
getSubject
- Returns:
subject
(Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)
-
getSubjectTarget
- Returns:
subject
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)
-
setSubjectTarget
- Parameters:
value
-subject
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)
-
getCreatedElement
- Returns:
created
(Identifies when the resource was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
-
hasCreatedElement
-
hasCreated
-
setCreatedElement
- Parameters:
value
-created
(Identifies when the resource was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
-
getCreated
- Returns:
- Identifies when the resource was first created.
-
setCreated
- Parameters:
value
- Identifies when the resource was first created.
-
getAuthor
- Returns:
author
(Indicates who was responsible for creating the resource instance.)
-
hasAuthor
-
setAuthor
- Parameters:
value
-author
(Indicates who was responsible for creating the resource instance.)
-
getAuthorTarget
- Returns:
author
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Indicates who was responsible for creating the resource instance.)
-
setAuthorTarget
- Parameters:
value
-author
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Indicates who was responsible for creating the resource instance.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-