public class BodySite extends BaseResource implements IResource
Definition: 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.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/BodySite
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_CODE
Search parameter constant for code
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_PATIENT
Search parameter constant for patient
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
BodySite() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier ()
|
BodySite |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()
|
AttachmentDt |
addImage()
Adds and returns a new value for image ()
|
BodySite |
addImage(AttachmentDt theValue)
Adds a given new value for image ()
|
CodeableConceptDt |
addModifier()
Adds and returns a new value for modifier ()
|
BodySite |
addModifier(CodeableConceptDt theValue)
Adds a given new value for modifier ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
CodeableConceptDt |
getCode()
Gets the value(s) for code ().
|
String |
getDescription()
Gets the value(s) for description ().
|
StringDt |
getDescriptionElement()
Gets the value(s) for description ().
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier ().
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (),
creating it if it does not already exist.
|
List<AttachmentDt> |
getImage()
Gets the value(s) for image ().
|
AttachmentDt |
getImageFirstRep()
Gets the first repetition for image (),
creating it if it does not already exist.
|
List<CodeableConceptDt> |
getModifier()
Gets the value(s) for modifier ().
|
CodeableConceptDt |
getModifierFirstRep()
Gets the first repetition for modifier (),
creating it if it does not already exist.
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient ().
|
String |
getResourceName() |
FhirVersionEnum |
getStructureFhirVersionEnum() |
boolean |
isEmpty() |
BodySite |
setCode(CodeableConceptDt theValue)
Sets the value(s) for code ()
|
BodySite |
setDescription(String theString)
Sets the value for description ()
|
BodySite |
setDescription(StringDt theValue)
Sets the value(s) for description ()
|
BodySite |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()
|
BodySite |
setImage(List<AttachmentDt> theValue)
Sets the value(s) for image ()
|
BodySite |
setModifier(List<CodeableConceptDt> theValue)
Sets the value(s) for modifier ()
|
BodySite |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient ()
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic 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 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 Include INCLUDE_PATIENT
public BodySite()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic ResourceReferenceDt getPatient()
null.
Definition: The person to which the body site belongs
public BodySite setPatient(ResourceReferenceDt theValue)
Definition: The person to which the body site belongs
public List<IdentifierDt> getIdentifier()
null.
Definition: Identifier for this instance of the anatomical location.
public BodySite setIdentifier(List<IdentifierDt> theValue)
Definition: Identifier for this instance of the anatomical location.
public IdentifierDt addIdentifier()
Definition: Identifier for this instance of the anatomical location.
public BodySite addIdentifier(IdentifierDt theValue)
Definition: Identifier for this instance of the anatomical location.
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Identifier for this instance of the anatomical location.
public CodeableConceptDt getCode()
null.
Definition: Named anatomical location - ideally coded where possible.
public BodySite setCode(CodeableConceptDt theValue)
Definition: Named anatomical location - ideally coded where possible.
public List<CodeableConceptDt> getModifier()
null.
Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
public BodySite setModifier(List<CodeableConceptDt> theValue)
Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
public CodeableConceptDt addModifier()
Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
public BodySite addModifier(CodeableConceptDt theValue)
Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
theValue - The modifier to add (must not be null)public CodeableConceptDt getModifierFirstRep()
Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
public StringDt getDescriptionElement()
null.
Definition: Description of anatomical location.
public String getDescription()
null.
Definition: Description of anatomical location.
public BodySite setDescription(StringDt theValue)
Definition: Description of anatomical location.
public BodySite setDescription(String theString)
Definition: Description of anatomical location.
public List<AttachmentDt> getImage()
null.
Definition: Image or images used to identify a location.
public BodySite setImage(List<AttachmentDt> theValue)
Definition: Image or images used to identify a location.
public AttachmentDt addImage()
Definition: Image or images used to identify a location.
public BodySite addImage(AttachmentDt theValue)
Definition: Image or images used to identify a location.
theValue - The image to add (must not be null)public AttachmentDt getImageFirstRep()
Definition: Image or images used to identify a location.
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.