public class BodySite extends BaseResource implements ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.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_LANGUAGE| 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 ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
CodeableConceptDt |
getCode()
Gets the value(s) for code ().
|
String |
getDescription()
Gets the value(s) for description ().
|
ca.uhn.fhir.model.primitive.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() |
ca.uhn.fhir.context.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(ca.uhn.fhir.model.primitive.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, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String SP_CODE
Description: Named anatomical location
Type: token
Path: BodySite.code
public static final ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Identifier for this instance of the anatomical location
Type: token
Path: BodySite.identifier
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public BodySite()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.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 ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
null.
Definition: Description of anatomical location.
public String getDescription()
null.
Definition: Description of anatomical location.
public BodySite setDescription(ca.uhn.fhir.model.primitive.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 ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResourcegetStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResourceCopyright © 2014–2018 University Health Network. All rights reserved.