public class BodySite extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
protected BooleanType |
active
Whether this body site is in active use.
|
protected CodeableConcept |
code
Named anatomical location - ideally coded where possible.
|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
protected StringType |
description
A summary, charactarization or explanation of the anatomic location.
|
protected List<Identifier> |
identifier
Identifier for this instance of the anatomical location.
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
protected List<Attachment> |
image
Image or images used to identify a location.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
protected Reference |
patient
The person to which the body site belongs.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Patient |
patientTarget
The actual object that is the target of the reference (The person to which the body site belongs.)
|
protected List<CodeableConcept> |
qualifier
Qualifier to refine the anatomical location.
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_PATIENT
Search parameter: patient
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
BodySite()
Constructor
|
BodySite(Reference patient)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected BooleanType active
protected CodeableConcept code
protected List<CodeableConcept> qualifier
protected StringType description
protected List<Attachment> image
protected Patient patientTarget
public static final String SP_IDENTIFIER
Description: Identifier for this instance of the anatomical location
Type: token
Path: BodySite.identifier
public static final TokenClientParam IDENTIFIER
Description: Identifier for this instance of the anatomical location
Type: token
Path: BodySite.identifier
public static final String SP_CODE
Description: Named anatomical location
Type: token
Path: BodySite.code
public static final TokenClientParam CODE
Description: Named anatomical location
Type: token
Path: BodySite.code
public static final String SP_PATIENT
Description: Patient to whom bodysite belongs
Type: reference
Path: BodySite.patient
public static final ReferenceClientParam PATIENT
Description: Patient to whom bodysite belongs
Type: reference
Path: BodySite.patient
public static final Include INCLUDE_PATIENT
public BodySite()
public List<Identifier> getIdentifier()
identifier (Identifier for this instance of the anatomical location.)public BodySite setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public BodySite addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic BooleanType getActiveElement()
active (Whether this body site is in active use.). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the valuepublic boolean hasActiveElement()
public boolean hasActive()
public BodySite setActiveElement(BooleanType value)
value - active (Whether this body site is in active use.). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the valuepublic boolean getActive()
public BodySite setActive(boolean value)
value - Whether this body site is in active use.public CodeableConcept getCode()
code (Named anatomical location - ideally coded where possible.)public boolean hasCode()
public BodySite setCode(CodeableConcept value)
value - code (Named anatomical location - ideally coded where possible.)public List<CodeableConcept> getQualifier()
qualifier (Qualifier to refine the anatomical location. These include qualifiers for laterality, relative location, directionality, number, and plane.)public BodySite setQualifier(List<CodeableConcept> theQualifier)
this for easy method chainingpublic boolean hasQualifier()
public CodeableConcept addQualifier()
public BodySite addQualifier(CodeableConcept t)
public CodeableConcept getQualifierFirstRep()
qualifier, creating it if it does not already existpublic StringType getDescriptionElement()
description (A summary, charactarization or explanation of the anatomic location.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public BodySite setDescriptionElement(StringType value)
value - description (A summary, charactarization or explanation of the anatomic location.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public BodySite setDescription(String value)
value - A summary, charactarization or explanation of the anatomic location.public List<Attachment> getImage()
image (Image or images used to identify a location.)public BodySite setImage(List<Attachment> theImage)
this for easy method chainingpublic boolean hasImage()
public Attachment addImage()
public BodySite addImage(Attachment t)
public Attachment getImageFirstRep()
image, creating it if it does not already existpublic Reference getPatient()
patient (The person to which the body site belongs.)public boolean hasPatient()
public BodySite setPatient(Reference value)
value - patient (The person to which the body site belongs.)public Patient getPatientTarget()
patient 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. (The person to which the body site belongs.)public BodySite setPatientTarget(Patient value)
value - patient 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. (The person to which the body site belongs.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic BodySite 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–2017 University Health Network. All rights reserved.