Package org.hl7.fhir.dstu2.model
Class BodySite
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.BodySite
- 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
Record details about the anatomical location of a specimen or body part. This
resource may be used when a coded concept does not provide the necessary
detail needed for the use case.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
Named anatomical location - ideally coded where possible.protected StringType
Description of anatomical location.protected List
<Identifier> Identifier for this instance of the anatomical location.protected List
<Attachment> Image or images used to identify a location.protected List
<CodeableConcept> Modifier to refine the anatomical location.protected Reference
The person to which the body site belongs.protected Patient
The actual object that is the target of the reference (The person to which the body site belongs.)static final String
static final String
static final String
Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.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 TypeMethodDescriptionaddImage()
copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getCode()
getImage()
boolean
hasCode()
boolean
boolean
boolean
boolean
hasImage()
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setCode
(CodeableConcept value) setDescription
(String value) setDescriptionElement
(StringType value) setPatient
(Reference value) setPatientTarget
(Patient value) void
setProperty
(String name, Base value) protected BodySite
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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
-
patient
The person to which the body site belongs. -
patientTarget
The actual object that is the target of the reference (The person to which the body site belongs.) -
identifier
Identifier for this instance of the anatomical location. -
code
Named anatomical location - ideally coded where possible. -
modifier
Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane. -
description
Description of anatomical location. -
image
Image or images used to identify a location. -
SP_IDENTIFIER
- See Also:
-
SP_CODE
- See Also:
-
SP_PATIENT
- See Also:
-
-
Constructor Details
-
BodySite
public BodySite() -
BodySite
-
-
Method Details
-
getPatient
- Returns:
patient
(The person to which the body site belongs.)
-
hasPatient
-
setPatient
- Parameters:
value
-patient
(The person to which the body site belongs.)
-
getPatientTarget
- Returns:
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.)
-
setPatientTarget
- Parameters:
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.)
-
getIdentifier
- Returns:
identifier
(Identifier for this instance of the anatomical location.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(Identifier for this instance of the anatomical location.)
-
addIdentifier
-
getCode
- Returns:
code
(Named anatomical location - ideally coded where possible.)
-
hasCode
-
setCode
- Parameters:
value
-code
(Named anatomical location - ideally coded where possible.)
-
getModifier
- Returns:
modifier
(Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.)
-
hasModifier
-
addModifier
- Returns:
modifier
(Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.)
-
addModifier
-
getDescriptionElement
- Returns:
description
(Description of anatomical location.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
-
hasDescription
-
setDescriptionElement
- Parameters:
value
-description
(Description of anatomical location.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Returns:
- Description of anatomical location.
-
setDescription
- Parameters:
value
- Description of anatomical location.
-
getImage
- Returns:
image
(Image or images used to identify a location.)
-
hasImage
-
addImage
- Returns:
image
(Image or images used to identify a location.)
-
addImage
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
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
-