public class Device extends BaseResource implements IResource
Definition: This resource identifies an instance of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device. Medical devices includes durable (reusable) medical equipment, implantable devices, as well as disposable equipment used for diagnostic, treatment, and research for healthcare and public health. Non-medical devices may include items such as a machine, cellphone, computer, application, etc.
Requirements: Allows institutions to track their devices.
Profile Definition: http://hl7.org/fhir/profiles/Device
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
LOCATION
Fluent Client search parameter constant for location
|
static StringClientParam |
MANUFACTURER
Fluent Client search parameter constant for manufacturer
|
static StringClientParam |
MODEL
Fluent Client search parameter constant for model
|
static ReferenceClientParam |
ORGANIZATION
Fluent Client search parameter constant for organization
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_LOCATION
Search parameter constant for location
|
static String |
SP_MANUFACTURER
Search parameter constant for manufacturer
|
static String |
SP_MODEL
Search parameter constant for model
|
static String |
SP_ORGANIZATION
Search parameter constant for organization
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_TYPE
Search parameter constant for type
|
static String |
SP_UDI
Search parameter constant for udi
|
static String |
SP_URL
Search parameter constant for url
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
static StringClientParam |
UDI
Fluent Client search parameter constant for udi
|
static UriClientParam |
URL
Fluent Client search parameter constant for url
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Device() |
| Modifier and Type | Method and Description |
|---|---|
ContactPointDt |
addContact()
Adds and returns a new value for contact ()
|
Device |
addContact(ContactPointDt theValue)
Adds a given new value for contact ()
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier ()
|
Device |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()
|
AnnotationDt |
addNote()
Adds and returns a new value for note ()
|
Device |
addNote(AnnotationDt theValue)
Adds a given new value for note ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<ContactPointDt> |
getContact()
Gets the value(s) for contact ().
|
ContactPointDt |
getContactFirstRep()
Gets the first repetition for contact (),
creating it if it does not already exist.
|
Date |
getExpiry()
Gets the value(s) for expiry ().
|
DateTimeDt |
getExpiryElement()
Gets the value(s) for expiry ().
|
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.
|
ResourceReferenceDt |
getLocation()
Gets the value(s) for location ().
|
String |
getLotNumber()
Gets the value(s) for lotNumber ().
|
StringDt |
getLotNumberElement()
Gets the value(s) for lotNumber ().
|
Date |
getManufactureDate()
Gets the value(s) for manufactureDate ().
|
DateTimeDt |
getManufactureDateElement()
Gets the value(s) for manufactureDate ().
|
String |
getManufacturer()
Gets the value(s) for manufacturer ().
|
StringDt |
getManufacturerElement()
Gets the value(s) for manufacturer ().
|
String |
getModel()
Gets the value(s) for model ().
|
StringDt |
getModelElement()
Gets the value(s) for model ().
|
List<AnnotationDt> |
getNote()
Gets the value(s) for note ().
|
AnnotationDt |
getNoteFirstRep()
Gets the first repetition for note (),
creating it if it does not already exist.
|
ResourceReferenceDt |
getOwner()
Gets the value(s) for owner ().
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient ().
|
String |
getResourceName() |
String |
getStatus()
Gets the value(s) for status ().
|
BoundCodeDt<DeviceStatusEnum> |
getStatusElement()
Gets the value(s) for status ().
|
FhirVersionEnum |
getStructureFhirVersionEnum() |
CodeableConceptDt |
getType()
Gets the value(s) for type ().
|
String |
getUdi()
Gets the value(s) for udi ().
|
StringDt |
getUdiElement()
Gets the value(s) for udi ().
|
String |
getUrl()
Gets the value(s) for url ().
|
UriDt |
getUrlElement()
Gets the value(s) for url ().
|
String |
getVersion()
Gets the value(s) for version ().
|
StringDt |
getVersionElement()
Gets the value(s) for version ().
|
boolean |
isEmpty() |
Device |
setContact(List<ContactPointDt> theValue)
Sets the value(s) for contact ()
|
Device |
setExpiry(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for expiry ()
|
Device |
setExpiry(DateTimeDt theValue)
Sets the value(s) for expiry ()
|
Device |
setExpiryWithSecondsPrecision(Date theDate)
Sets the value for expiry ()
|
Device |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()
|
Device |
setLocation(ResourceReferenceDt theValue)
Sets the value(s) for location ()
|
Device |
setLotNumber(String theString)
Sets the value for lotNumber ()
|
Device |
setLotNumber(StringDt theValue)
Sets the value(s) for lotNumber ()
|
Device |
setManufactureDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for manufactureDate ()
|
Device |
setManufactureDate(DateTimeDt theValue)
Sets the value(s) for manufactureDate ()
|
Device |
setManufactureDateWithSecondsPrecision(Date theDate)
Sets the value for manufactureDate ()
|
Device |
setManufacturer(String theString)
Sets the value for manufacturer ()
|
Device |
setManufacturer(StringDt theValue)
Sets the value(s) for manufacturer ()
|
Device |
setModel(String theString)
Sets the value for model ()
|
Device |
setModel(StringDt theValue)
Sets the value(s) for model ()
|
Device |
setNote(List<AnnotationDt> theValue)
Sets the value(s) for note ()
|
Device |
setOwner(ResourceReferenceDt theValue)
Sets the value(s) for owner ()
|
Device |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient ()
|
Device |
setStatus(BoundCodeDt<DeviceStatusEnum> theValue)
Sets the value(s) for status ()
|
Device |
setStatus(DeviceStatusEnum theValue)
Sets the value(s) for status ()
|
Device |
setType(CodeableConceptDt theValue)
Sets the value(s) for type ()
|
Device |
setUdi(String theString)
Sets the value for udi ()
|
Device |
setUdi(StringDt theValue)
Sets the value(s) for udi ()
|
Device |
setUrl(String theUri)
Sets the value for url ()
|
Device |
setUrl(UriDt theValue)
Sets the value(s) for url ()
|
Device |
setVersion(String theString)
Sets the value for version ()
|
Device |
setVersion(StringDt theValue)
Sets the value(s) for version ()
|
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_TYPE
Description: The type of the device
Type: token
Path: Device.type
public static final TokenClientParam TYPE
Description: The type of the device
Type: token
Path: Device.type
public static final String SP_MANUFACTURER
Description: The manufacturer of the device
Type: string
Path: Device.manufacturer
public static final StringClientParam MANUFACTURER
Description: The manufacturer of the device
Type: string
Path: Device.manufacturer
public static final String SP_MODEL
Description: The model of the device
Type: string
Path: Device.model
public static final StringClientParam MODEL
Description: The model of the device
Type: string
Path: Device.model
public static final String SP_ORGANIZATION
Description: The organization responsible for the device
Type: reference
Path: Device.owner
public static final ReferenceClientParam ORGANIZATION
Description: The organization responsible for the device
Type: reference
Path: Device.owner
public static final String SP_IDENTIFIER
Description: Instance id from manufacturer, owner, and others
Type: token
Path: Device.identifier
public static final TokenClientParam IDENTIFIER
Description: Instance id from manufacturer, owner, and others
Type: token
Path: Device.identifier
public static final String SP_LOCATION
Description: A location, where the resource is found
Type: reference
Path: Device.location
public static final ReferenceClientParam LOCATION
Description: A location, where the resource is found
Type: reference
Path: Device.location
public static final String SP_PATIENT
Description: Patient information, if the resource is affixed to a person
Type: reference
Path: Device.patient
public static final ReferenceClientParam PATIENT
Description: Patient information, if the resource is affixed to a person
Type: reference
Path: Device.patient
public static final String SP_UDI
Description: FDA mandated Unique Device Identifier
Type: string
Path: Device.udi
public static final StringClientParam UDI
Description: FDA mandated Unique Device Identifier
Type: string
Path: Device.udi
public static final String SP_URL
Description: Network address to contact device
Type: uri
Path: Device.url
public static final UriClientParam URL
Description: Network address to contact device
Type: uri
Path: Device.url
public static final Include INCLUDE_LOCATION
public static final Include INCLUDE_ORGANIZATION
public static final Include INCLUDE_PATIENT
public Device()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition: Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
public Device setIdentifier(List<IdentifierDt> theValue)
Definition: Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
public IdentifierDt addIdentifier()
Definition: Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
public Device addIdentifier(IdentifierDt theValue)
Definition: Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Unique instance identifiers assigned to a device by organizations like manufacturers or owners. If the identifier identifies the type of device, Device.type should be used.
public CodeableConceptDt getType()
null.
Definition: Code or identifier to identify a kind of device.
public Device setType(CodeableConceptDt theValue)
Definition: Code or identifier to identify a kind of device.
public List<AnnotationDt> getNote()
null.
Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
public Device setNote(List<AnnotationDt> theValue)
Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
public AnnotationDt addNote()
Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
public Device addNote(AnnotationDt theValue)
Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
theValue - The note to add (must not be null)public AnnotationDt getNoteFirstRep()
Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
public BoundCodeDt<DeviceStatusEnum> getStatusElement()
null.
Definition: Status of the Device availability.
public String getStatus()
null.
Definition: Status of the Device availability.
public Device setStatus(BoundCodeDt<DeviceStatusEnum> theValue)
Definition: Status of the Device availability.
public Device setStatus(DeviceStatusEnum theValue)
Definition: Status of the Device availability.
public StringDt getManufacturerElement()
null.
Definition: A name of the manufacturer
public String getManufacturer()
null.
Definition: A name of the manufacturer
public Device setManufacturer(StringDt theValue)
Definition: A name of the manufacturer
public Device setManufacturer(String theString)
Definition: A name of the manufacturer
public StringDt getModelElement()
null.
Definition: The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
public String getModel()
null.
Definition: The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
public Device setModel(StringDt theValue)
Definition: The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
public Device setModel(String theString)
Definition: The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.
public StringDt getVersionElement()
null.
Definition: The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
public String getVersion()
null.
Definition: The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
public Device setVersion(StringDt theValue)
Definition: The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
public Device setVersion(String theString)
Definition: The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
public DateTimeDt getManufactureDateElement()
null.
Definition: The date and time when the device was manufactured.
public Date getManufactureDate()
null.
Definition: The date and time when the device was manufactured.
public Device setManufactureDate(DateTimeDt theValue)
Definition: The date and time when the device was manufactured.
public Device setManufactureDate(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The date and time when the device was manufactured.
public Device setManufactureDateWithSecondsPrecision(Date theDate)
Definition: The date and time when the device was manufactured.
public DateTimeDt getExpiryElement()
null.
Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
public Date getExpiry()
null.
Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
public Device setExpiry(DateTimeDt theValue)
Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
public Device setExpiry(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
public Device setExpiryWithSecondsPrecision(Date theDate)
Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
public StringDt getUdiElement()
null.
Definition: United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
public String getUdi()
null.
Definition: United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
public Device setUdi(StringDt theValue)
Definition: United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
public Device setUdi(String theString)
Definition: United States Food and Drug Administration mandated Unique Device Identifier (UDI). Use the human readable information (the content that the user sees, which is sometimes different to the exact syntax represented in the barcode) - see http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm
public StringDt getLotNumberElement()
null.
Definition: Lot number assigned by the manufacturer
public String getLotNumber()
null.
Definition: Lot number assigned by the manufacturer
public Device setLotNumber(StringDt theValue)
Definition: Lot number assigned by the manufacturer
public Device setLotNumber(String theString)
Definition: Lot number assigned by the manufacturer
public ResourceReferenceDt getOwner()
null.
Definition: An organization that is responsible for the provision and ongoing maintenance of the device.
public Device setOwner(ResourceReferenceDt theValue)
Definition: An organization that is responsible for the provision and ongoing maintenance of the device.
public ResourceReferenceDt getLocation()
null.
Definition: The place where the device can be found.
public Device setLocation(ResourceReferenceDt theValue)
Definition: The place where the device can be found.
public ResourceReferenceDt getPatient()
null.
Definition: Patient information, if the resource is affixed to a person
public Device setPatient(ResourceReferenceDt theValue)
Definition: Patient information, if the resource is affixed to a person
public List<ContactPointDt> getContact()
null.
Definition: Contact details for an organization or a particular human that is responsible for the device
public Device setContact(List<ContactPointDt> theValue)
Definition: Contact details for an organization or a particular human that is responsible for the device
public ContactPointDt addContact()
Definition: Contact details for an organization or a particular human that is responsible for the device
public Device addContact(ContactPointDt theValue)
Definition: Contact details for an organization or a particular human that is responsible for the device
theValue - The contact to add (must not be null)public ContactPointDt getContactFirstRep()
Definition: Contact details for an organization or a particular human that is responsible for the device
public UriDt getUrlElement()
null.
Definition: A network address on which the device may be contacted directly
public String getUrl()
null.
Definition: A network address on which the device may be contacted directly
public Device setUrl(UriDt theValue)
Definition: A network address on which the device may be contacted directly
public Device setUrl(String theUri)
Definition: A network address on which the device may be contacted directly
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.