public class Basic extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
static String |
SP_AUTHOR |
static String |
SP_CODE |
static String |
SP_CREATED |
static String |
SP_IDENTIFIER |
static String |
SP_PATIENT |
static String |
SP_SUBJECT |
| Constructor and Description |
|---|
Basic() |
Basic(CodeableConcept code) |
| Modifier and Type | Method and Description |
|---|---|
Identifier |
addIdentifier() |
Basic |
addIdentifier(Identifier t) |
Basic |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
Reference |
getAuthor() |
Resource |
getAuthorTarget() |
CodeableConcept |
getCode() |
Date |
getCreated() |
DateType |
getCreatedElement() |
List<Identifier> |
getIdentifier() |
ResourceType |
getResourceType() |
Reference |
getSubject() |
Resource |
getSubjectTarget() |
boolean |
hasAuthor() |
boolean |
hasCode() |
boolean |
hasCreated() |
boolean |
hasCreatedElement() |
boolean |
hasIdentifier() |
boolean |
hasSubject() |
boolean |
isEmpty() |
Basic |
setAuthor(Reference value) |
Basic |
setAuthorTarget(Resource value) |
Basic |
setCode(CodeableConcept value) |
Basic |
setCreated(Date value) |
Basic |
setCreatedElement(DateType value) |
Basic |
setSubject(Reference value) |
Basic |
setSubjectTarget(Resource value) |
addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getMeta, setIdsetIdpublic static final String SP_IDENTIFIER
public static final String SP_CODE
public static final String SP_SUBJECT
public static final String SP_CREATED
public static final String SP_PATIENT
public static final String SP_AUTHOR
public Basic()
public Basic(CodeableConcept code)
public List<Identifier> getIdentifier()
identifier (Identifier assigned to the resource for business purposes, outside the context of FHIR.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Identifier assigned to the resource for business purposes, outside the context of FHIR.)public Basic addIdentifier(Identifier t)
public CodeableConcept getCode()
code (Identifies the 'type' of resource - equivalent to the resource name for other resources.)public boolean hasCode()
public Basic setCode(CodeableConcept value)
value - code (Identifies the 'type' of resource - equivalent to the resource name for other resources.)public Reference getSubject()
subject (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)public boolean hasSubject()
public Basic setSubject(Reference value)
value - subject (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)public Resource getSubjectTarget()
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.)public Basic setSubjectTarget(Resource value)
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.)public Reference getAuthor()
author (Indicates who was responsible for creating the resource instance.)public boolean hasAuthor()
public Basic setAuthor(Reference value)
value - author (Indicates who was responsible for creating the resource instance.)public Resource getAuthorTarget()
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.)public Basic setAuthorTarget(Resource value)
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.)public DateType getCreatedElement()
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 valuepublic boolean hasCreatedElement()
public boolean hasCreated()
public Basic setCreatedElement(DateType value)
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 valuepublic Date getCreated()
public Basic setCreated(Date value)
value - Identifies when the resource was first created.public Basic copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2015 University Health Network. All rights reserved.