public class DeviceUseStatement extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
protected Type |
bodySite
Indicates the site on the subject's body where the device was used ( i.e.
|
protected Reference |
device
The details of the device used.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
DEVICE
Fluent Client search parameter constant for device
|
protected Device |
deviceTarget
The actual object that is the target of the reference (The details of the device used.)
|
protected List<Identifier> |
identifier
An external identifier for this statement such as an IRI.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_DEVICE
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected List<CodeableConcept> |
indication
Reason or justification for the use of the device.
|
protected List<StringType> |
notes
Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected DateTimeType |
recordedOn
The time at which the statement was made/recorded.
|
static String |
SP_DEVICE
Search parameter: device
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_SUBJECT
Search parameter: subject
|
protected Reference |
subject
The patient who used the device.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Patient |
subjectTarget
The actual object that is the target of the reference (The patient who used the device.)
|
protected Type |
timing
How often the device was used.
|
protected Period |
whenUsed
The time period over which the device was used.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
DeviceUseStatement()
Constructor
|
DeviceUseStatement(Reference device,
Reference subject)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected Type bodySite
protected Device deviceTarget
protected List<Identifier> identifier
protected List<CodeableConcept> indication
protected List<StringType> notes
protected DateTimeType recordedOn
protected Patient subjectTarget
public static final String SP_PATIENT
Description: Search by subject - a patient
Type: reference
Path: DeviceUseStatement.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: Search by subject - a patient
Type: reference
Path: DeviceUseStatement.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_SUBJECT
Description: Search by subject
Type: reference
Path: DeviceUseStatement.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: Search by subject
Type: reference
Path: DeviceUseStatement.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_DEVICE
Description: Search by device
Type: reference
Path: DeviceUseStatement.device
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE
Description: Search by device
Type: reference
Path: DeviceUseStatement.device
public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE
public DeviceUseStatement()
public DeviceUseStatement(Reference device, Reference subject)
public Type getBodySite()
bodySite (Indicates the site on the subject's body where the device was used ( i.e. the target site).)public CodeableConcept getBodySiteCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
bodySite (Indicates the site on the subject's body where the device was used ( i.e. the target site).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasBodySiteCodeableConcept()
public Reference getBodySiteReference() throws org.hl7.fhir.exceptions.FHIRException
bodySite (Indicates the site on the subject's body where the device was used ( i.e. the target site).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasBodySiteReference()
public boolean hasBodySite()
public DeviceUseStatement setBodySite(Type value)
value - bodySite (Indicates the site on the subject's body where the device was used ( i.e. the target site).)public Period getWhenUsed()
whenUsed (The time period over which the device was used.)public boolean hasWhenUsed()
public DeviceUseStatement setWhenUsed(Period value)
value - whenUsed (The time period over which the device was used.)public boolean hasDevice()
public DeviceUseStatement setDevice(Reference value)
value - device (The details of the device used.)public Device getDeviceTarget()
device 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 details of the device used.)public DeviceUseStatement setDeviceTarget(Device value)
value - device 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 details of the device used.)public List<Identifier> getIdentifier()
identifier (An external identifier for this statement such as an IRI.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (An external identifier for this statement such as an IRI.)public DeviceUseStatement addIdentifier(Identifier t)
public List<CodeableConcept> getIndication()
indication (Reason or justification for the use of the device.)public boolean hasIndication()
public CodeableConcept addIndication()
indication (Reason or justification for the use of the device.)public DeviceUseStatement addIndication(CodeableConcept t)
public List<StringType> getNotes()
notes (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.)public boolean hasNotes()
public StringType addNotesElement()
notes (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.)public DeviceUseStatement addNotes(String value)
value - notes (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.)public boolean hasNotes(String value)
value - notes (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.)public DateTimeType getRecordedOnElement()
recordedOn (The time at which the statement was made/recorded.). This is the underlying object with id, value and extensions. The accessor "getRecordedOn" gives direct access to the valuepublic boolean hasRecordedOnElement()
public boolean hasRecordedOn()
public DeviceUseStatement setRecordedOnElement(DateTimeType value)
value - recordedOn (The time at which the statement was made/recorded.). This is the underlying object with id, value and extensions. The accessor "getRecordedOn" gives direct access to the valuepublic Date getRecordedOn()
public DeviceUseStatement setRecordedOn(Date value)
value - The time at which the statement was made/recorded.public Reference getSubject()
subject (The patient who used the device.)public boolean hasSubject()
public DeviceUseStatement setSubject(Reference value)
value - subject (The patient who used the device.)public Patient getSubjectTarget()
subject 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 patient who used the device.)public DeviceUseStatement setSubjectTarget(Patient value)
value - subject 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 patient who used the device.)public Timing getTimingTiming() throws org.hl7.fhir.exceptions.FHIRException
timing (How often the device was used.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasTimingTiming()
public Period getTimingPeriod() throws org.hl7.fhir.exceptions.FHIRException
timing (How often the device was used.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasTimingPeriod()
public DateTimeType getTimingDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
timing (How often the device was used.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasTimingDateTimeType()
public boolean hasTiming()
public DeviceUseStatement setTiming(Type value)
value - timing (How often the device was used.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic DeviceUseStatement copy()
copy in class DomainResourceprotected DeviceUseStatement typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.