
Class BodySite
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for codestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for patientstatic final StringSearch parameter constant for codestatic final StringSearch parameter constant for identifierstatic final StringSearch parameter constant for patientFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_IDFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier ()addIdentifier(IdentifierDt theValue) Adds a given new value for identifier ()addImage()Adds and returns a new value for image ()addImage(AttachmentDt theValue) Adds a given new value for image ()Adds and returns a new value for modifier ()addModifier(CodeableConceptDt theValue) Adds a given new value for modifier ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType(Class<T> theType) getCode()Gets the value(s) for code ().Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for description ().Gets the value(s) for identifier ().Gets the first repetition for identifier (), creating it if it does not already exist.getImage()Gets the value(s) for image ().Gets the first repetition for image (), creating it if it does not already exist.Gets the value(s) for modifier ().Gets the first repetition for modifier (), creating it if it does not already exist.Gets the value(s) for patient ().ca.uhn.fhir.context.FhirVersionEnumbooleanisEmpty()setCode(CodeableConceptDt theValue) Sets the value(s) for code ()setDescription(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()setDescription(String theString) Sets the value for description ()setIdentifier(List<IdentifierDt> theValue) Sets the value(s) for identifier ()setImage(List<AttachmentDt> theValue) Sets the value(s) for image ()setModifier(List<CodeableConceptDt> theValue) Sets the value(s) for modifier ()setPatient(ResourceReferenceDt theValue) Sets the value(s) for patient ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setIdMethods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_CODE
Search parameter constant for codeDescription: Named anatomical location
Type: token
Path: BodySite.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: Named anatomical location
Type: token
Path: BodySite.code
-
SP_PATIENT
Search parameter constant for patientDescription: Patient to whom bodysite belongs
Type: reference
Path: BodySite.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: Patient to whom bodysite belongs
Type: reference
Path: BodySite.patient
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: Identifier for this instance of the anatomical location
Type: token
Path: BodySite.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Identifier for this instance of the anatomical location
Type: token
Path: BodySite.identifier
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "BodySite:patient".
-
-
Constructor Details
-
BodySite
public BodySite()
-
-
Method Details
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getPatient
Gets the value(s) for patient (). creating it if it does not exist. Will not returnnull.Definition: The person to which the body site belongs
-
setPatient
Sets the value(s) for patient ()Definition: The person to which the body site belongs
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull.Definition: Identifier for this instance of the anatomical location.
-
setIdentifier
Sets the value(s) for identifier ()Definition: Identifier for this instance of the anatomical location.
-
addIdentifier
Adds and returns a new value for identifier ()Definition: Identifier for this instance of the anatomical location.
-
addIdentifier
Adds a given new value for identifier ()Definition: Identifier for this instance of the anatomical location.
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
Gets the first repetition for identifier (), creating it if it does not already exist.Definition: Identifier for this instance of the anatomical location.
-
getCode
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull.Definition: Named anatomical location - ideally coded where possible.
-
setCode
Sets the value(s) for code ()Definition: Named anatomical location - ideally coded where possible.
-
getModifier
Gets the value(s) for modifier (). creating it if it does not exist. Will not returnnull.Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
-
setModifier
Sets the value(s) for modifier ()Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
-
addModifier
Adds and returns a new value for modifier ()Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
-
addModifier
Adds a given new value for modifier ()Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
- Parameters:
theValue- The modifier to add (must not benull)
-
getModifierFirstRep
Gets the first repetition for modifier (), creating it if it does not already exist.Definition: Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.
-
getDescriptionElement
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull.Definition: Description of anatomical location.
-
getDescription
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition: Description of anatomical location.
-
setDescription
Sets the value(s) for description ()Definition: Description of anatomical location.
-
setDescription
Sets the value for description ()Definition: Description of anatomical location.
-
getImage
Gets the value(s) for image (). creating it if it does not exist. Will not returnnull.Definition: Image or images used to identify a location.
-
setImage
Sets the value(s) for image ()Definition: Image or images used to identify a location.
-
addImage
Adds and returns a new value for image ()Definition: Image or images used to identify a location.
-
addImage
Adds a given new value for image ()Definition: Image or images used to identify a location.
- Parameters:
theValue- The image to add (must not benull)
-
getImageFirstRep
Gets the first repetition for image (), creating it if it does not already exist.Definition: Image or images used to identify a location.
-
getResourceName
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-