Class DeviceUsage
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.BaseResource
-
- org.hl7.fhir.r5.model.Resource
-
- org.hl7.fhir.r5.model.DomainResource
-
- org.hl7.fhir.r5.model.DeviceUsage
-
- 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
public class DeviceUsage extends DomainResource
A record of a device being used by a patient where the record is the result of a report from the patient or a clinician.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceUsage.DeviceUsageStatusstatic classDeviceUsage.DeviceUsageStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected List<Reference>basedOnA plan, proposal or order that is fulfilled in whole or in part by this DeviceUsage.protected CodeableReferencebodySiteIndicates the anotomic location on the subject's body where the device was used ( i.e.protected List<CodeableConcept>categoryThis attribute indicates a category for the statement - The device statement may be made in an inpatient or outpatient settting (inpatient | outpatient | community | patientspecified).protected ReferencecontextThe encounter or episode of care that establishes the context for this device use statement.protected DateTimeTypedateAssertedThe time at which the statement was recorded by informationSource.protected List<Reference>derivedFromAllows linking the DeviceUsage to the underlying Request, or to other information that supports or is used to derive the DeviceUsage.protected CodeableReferencedeviceCode or Reference to device used.static ca.uhn.fhir.rest.gclient.TokenClientParamDEVICEFluent Client search parameter constant for deviceprotected List<Identifier>identifierAn external identifier for this statement such as an IRI.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.protected ReferenceinformationSourceWho reported the device was being used by the patient.protected List<Annotation>noteDetails about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class.protected ReferencepatientThe patient who used the device.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected List<CodeableReference>reasonReason or justification for the use of the device.static StringSP_DEVICESearch parameter: devicestatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_PATIENTSearch parameter: patientprotected Enumeration<DeviceUsage.DeviceUsageStatus>statusA code representing the patient or other source's judgment about the state of the device used that this statement is about.protected DataTypetimingHow often the device was used.protected List<CodeableConcept>usageReasonThe reason for asserting the usage status - for example forgot, lost, stolen, broken.protected CodeableConceptusageStatusThe status of the device usage, for example always, sometimes, never.-
Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
-
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description DeviceUsage()ConstructorDeviceUsage(DeviceUsage.DeviceUsageStatus status, Reference patient, CodeableReference device)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, 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
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
An external identifier for this statement such as an IRI.
-
basedOn
protected List<Reference> basedOn
A plan, proposal or order that is fulfilled in whole or in part by this DeviceUsage.
-
status
protected Enumeration<DeviceUsage.DeviceUsageStatus> status
A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.
-
category
protected List<CodeableConcept> category
This attribute indicates a category for the statement - The device statement may be made in an inpatient or outpatient settting (inpatient | outpatient | community | patientspecified).
-
derivedFrom
protected List<Reference> derivedFrom
Allows linking the DeviceUsage to the underlying Request, or to other information that supports or is used to derive the DeviceUsage.
-
context
protected Reference context
The encounter or episode of care that establishes the context for this device use statement.
-
dateAsserted
protected DateTimeType dateAsserted
The time at which the statement was recorded by informationSource.
-
usageStatus
protected CodeableConcept usageStatus
The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement.
-
usageReason
protected List<CodeableConcept> usageReason
The reason for asserting the usage status - for example forgot, lost, stolen, broken.
-
informationSource
protected Reference informationSource
Who reported the device was being used by the patient.
-
device
protected CodeableReference device
Code or Reference to device used.
-
reason
protected List<CodeableReference> reason
Reason or justification for the use of the device. A coded concept, or another resource whose existence justifies this DeviceUsage.
-
bodySite
protected CodeableReference bodySite
Indicates the anotomic location on the subject's body where the device was used ( i.e. the target).
-
note
protected List<Annotation> note
Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.
-
SP_DEVICE
public static final String SP_DEVICE
Search parameter: deviceDescription: Search by device
Type: token
Path: DeviceUsage.device.concept
- See Also:
- Constant Field Values
-
DEVICE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam DEVICE
Fluent Client search parameter constant for deviceDescription: Search by device
Type: token
Path: DeviceUsage.device.concept
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: Search by identifier
Type: token
Path: DeviceUsage.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Search by identifier
Type: token
Path: DeviceUsage.identifier
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for [CarePlan](careplan.html): Who the care plan is for [CareTeam](careteam.html): Who care team is for [ClinicalImpression](clinicalimpression.html): Patient assessed [Composition](composition.html): Who and/or what the composition is about [Condition](condition.html): Who has the condition? [Consent](consent.html): Who the consent applies to [DetectedIssue](detectedissue.html): Associated patient [DeviceRequest](devicerequest.html): Individual the service is ordered for [DeviceUsage](deviceusage.html): Search by patient who used / uses the device [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient [DocumentManifest](documentmanifest.html): The subject of the set of documents [DocumentReference](documentreference.html): Who/what is the subject of the document [Encounter](encounter.html): The patient present at the encounter [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for [Flag](flag.html): The identity of a subject to list flags for [Goal](goal.html): Who this goal is intended for [ImagingStudy](imagingstudy.html): Who the study is about [Immunization](immunization.html): The patient for the vaccination record [List](list.html): If all resources have the same subject [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient [MedicationUsage](medicationusage.html): Returns statements for a specific patient. [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement [Observation](observation.html): The subject that the observation is about (if patient) [Procedure](procedure.html): Search by subject - a patient [RiskAssessment](riskassessment.html): Who/what does assessment apply to? [ServiceRequest](servicerequest.html): Search by subject - a patient [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
Type: reference
Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: Multiple Resources: [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for [CarePlan](careplan.html): Who the care plan is for [CareTeam](careteam.html): Who care team is for [ClinicalImpression](clinicalimpression.html): Patient assessed [Composition](composition.html): Who and/or what the composition is about [Condition](condition.html): Who has the condition? [Consent](consent.html): Who the consent applies to [DetectedIssue](detectedissue.html): Associated patient [DeviceRequest](devicerequest.html): Individual the service is ordered for [DeviceUsage](deviceusage.html): Search by patient who used / uses the device [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient [DocumentManifest](documentmanifest.html): The subject of the set of documents [DocumentReference](documentreference.html): Who/what is the subject of the document [Encounter](encounter.html): The patient present at the encounter [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for [Flag](flag.html): The identity of a subject to list flags for [Goal](goal.html): Who this goal is intended for [ImagingStudy](imagingstudy.html): Who the study is about [Immunization](immunization.html): The patient for the vaccination record [List](list.html): If all resources have the same subject [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient [MedicationUsage](medicationusage.html): Returns statements for a specific patient. [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement [Observation](observation.html): The subject that the observation is about (if patient) [Procedure](procedure.html): Search by subject - a patient [RiskAssessment](riskassessment.html): Who/what does assessment apply to? [ServiceRequest](servicerequest.html): Search by subject - a patient [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
Type: reference
Path: AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUsage.patient | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DeviceUsage:patient".
-
-
Constructor Detail
-
DeviceUsage
public DeviceUsage()
Constructor
-
DeviceUsage
public DeviceUsage(DeviceUsage.DeviceUsageStatus status, Reference patient, CodeableReference device)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(An external identifier for this statement such as an IRI.)
-
setIdentifier
public DeviceUsage setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public DeviceUsage addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist {3}
-
getBasedOn
public List<Reference> getBasedOn()
- Returns:
basedOn(A plan, proposal or order that is fulfilled in whole or in part by this DeviceUsage.)
-
setBasedOn
public DeviceUsage setBasedOn(List<Reference> theBasedOn)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasBasedOn
public boolean hasBasedOn()
-
addBasedOn
public Reference addBasedOn()
-
addBasedOn
public DeviceUsage addBasedOn(Reference t)
-
getBasedOnFirstRep
public Reference getBasedOnFirstRep()
- Returns:
- The first repetition of repeating field
basedOn, creating it if it does not already exist {3}
-
getStatusElement
public Enumeration<DeviceUsage.DeviceUsageStatus> getStatusElement()
- Returns:
status(A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public DeviceUsage setStatusElement(Enumeration<DeviceUsage.DeviceUsageStatus> value)
- Parameters:
value-status(A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public DeviceUsage.DeviceUsageStatus getStatus()
- Returns:
- A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.
-
setStatus
public DeviceUsage setStatus(DeviceUsage.DeviceUsageStatus value)
- Parameters:
value- A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.
-
getCategory
public List<CodeableConcept> getCategory()
- Returns:
category(This attribute indicates a category for the statement - The device statement may be made in an inpatient or outpatient settting (inpatient | outpatient | community | patientspecified).)
-
setCategory
public DeviceUsage setCategory(List<CodeableConcept> theCategory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCategory
public boolean hasCategory()
-
addCategory
public CodeableConcept addCategory()
-
addCategory
public DeviceUsage addCategory(CodeableConcept t)
-
getCategoryFirstRep
public CodeableConcept getCategoryFirstRep()
- Returns:
- The first repetition of repeating field
category, creating it if it does not already exist {3}
-
getPatient
public Reference getPatient()
- Returns:
patient(The patient who used the device.)
-
hasPatient
public boolean hasPatient()
-
setPatient
public DeviceUsage setPatient(Reference value)
- Parameters:
value-patient(The patient who used the device.)
-
getDerivedFrom
public List<Reference> getDerivedFrom()
- Returns:
derivedFrom(Allows linking the DeviceUsage to the underlying Request, or to other information that supports or is used to derive the DeviceUsage.)
-
setDerivedFrom
public DeviceUsage setDerivedFrom(List<Reference> theDerivedFrom)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDerivedFrom
public boolean hasDerivedFrom()
-
addDerivedFrom
public Reference addDerivedFrom()
-
addDerivedFrom
public DeviceUsage addDerivedFrom(Reference t)
-
getDerivedFromFirstRep
public Reference getDerivedFromFirstRep()
- Returns:
- The first repetition of repeating field
derivedFrom, creating it if it does not already exist {3}
-
getContext
public Reference getContext()
- Returns:
context(The encounter or episode of care that establishes the context for this device use statement.)
-
hasContext
public boolean hasContext()
-
setContext
public DeviceUsage setContext(Reference value)
- Parameters:
value-context(The encounter or episode of care that establishes the context for this device use statement.)
-
getTimingTiming
public Timing getTimingTiming() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
timing(How often the device was used.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingTiming
public boolean hasTimingTiming()
-
getTimingPeriod
public Period getTimingPeriod() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
timing(How often the device was used.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingPeriod
public boolean hasTimingPeriod()
-
getTimingDateTimeType
public DateTimeType getTimingDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
timing(How often the device was used.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasTimingDateTimeType
public boolean hasTimingDateTimeType()
-
hasTiming
public boolean hasTiming()
-
setTiming
public DeviceUsage setTiming(DataType value)
- Parameters:
value-timing(How often the device was used.)
-
getDateAssertedElement
public DateTimeType getDateAssertedElement()
- Returns:
dateAsserted(The time at which the statement was recorded by informationSource.). This is the underlying object with id, value and extensions. The accessor "getDateAsserted" gives direct access to the value
-
hasDateAssertedElement
public boolean hasDateAssertedElement()
-
hasDateAsserted
public boolean hasDateAsserted()
-
setDateAssertedElement
public DeviceUsage setDateAssertedElement(DateTimeType value)
- Parameters:
value-dateAsserted(The time at which the statement was recorded by informationSource.). This is the underlying object with id, value and extensions. The accessor "getDateAsserted" gives direct access to the value
-
getDateAsserted
public Date getDateAsserted()
- Returns:
- The time at which the statement was recorded by informationSource.
-
setDateAsserted
public DeviceUsage setDateAsserted(Date value)
- Parameters:
value- The time at which the statement was recorded by informationSource.
-
getUsageStatus
public CodeableConcept getUsageStatus()
- Returns:
usageStatus(The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement.)
-
hasUsageStatus
public boolean hasUsageStatus()
-
setUsageStatus
public DeviceUsage setUsageStatus(CodeableConcept value)
- Parameters:
value-usageStatus(The status of the device usage, for example always, sometimes, never. This is not the same as the status of the statement.)
-
getUsageReason
public List<CodeableConcept> getUsageReason()
- Returns:
usageReason(The reason for asserting the usage status - for example forgot, lost, stolen, broken.)
-
setUsageReason
public DeviceUsage setUsageReason(List<CodeableConcept> theUsageReason)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasUsageReason
public boolean hasUsageReason()
-
addUsageReason
public CodeableConcept addUsageReason()
-
addUsageReason
public DeviceUsage addUsageReason(CodeableConcept t)
-
getUsageReasonFirstRep
public CodeableConcept getUsageReasonFirstRep()
- Returns:
- The first repetition of repeating field
usageReason, creating it if it does not already exist {3}
-
getInformationSource
public Reference getInformationSource()
- Returns:
informationSource(Who reported the device was being used by the patient.)
-
hasInformationSource
public boolean hasInformationSource()
-
setInformationSource
public DeviceUsage setInformationSource(Reference value)
- Parameters:
value-informationSource(Who reported the device was being used by the patient.)
-
getDevice
public CodeableReference getDevice()
- Returns:
device(Code or Reference to device used.)
-
hasDevice
public boolean hasDevice()
-
setDevice
public DeviceUsage setDevice(CodeableReference value)
- Parameters:
value-device(Code or Reference to device used.)
-
getReason
public List<CodeableReference> getReason()
- Returns:
reason(Reason or justification for the use of the device. A coded concept, or another resource whose existence justifies this DeviceUsage.)
-
setReason
public DeviceUsage setReason(List<CodeableReference> theReason)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReason
public boolean hasReason()
-
addReason
public CodeableReference addReason()
-
addReason
public DeviceUsage addReason(CodeableReference t)
-
getReasonFirstRep
public CodeableReference getReasonFirstRep()
- Returns:
- The first repetition of repeating field
reason, creating it if it does not already exist {3}
-
getBodySite
public CodeableReference getBodySite()
- Returns:
bodySite(Indicates the anotomic location on the subject's body where the device was used ( i.e. the target).)
-
hasBodySite
public boolean hasBodySite()
-
setBodySite
public DeviceUsage setBodySite(CodeableReference value)
- Parameters:
value-bodySite(Indicates the anotomic location on the subject's body where the device was used ( i.e. the target).)
-
getNote
public List<Annotation> getNote()
- Returns:
note(Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.)
-
setNote
public DeviceUsage setNote(List<Annotation> theNote)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasNote
public boolean hasNote()
-
addNote
public Annotation addNote()
-
addNote
public DeviceUsage addNote(Annotation t)
-
getNoteFirstRep
public Annotation getNoteFirstRep()
- Returns:
- The first repetition of repeating field
note, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public DeviceUsage copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(DeviceUsage dst)
-
typedCopy
protected DeviceUsage typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-