
Class Device
- 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
public class Device extends BaseResource implements ca.uhn.fhir.model.api.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
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParam
IDENTIFIER
Fluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.Include
INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_ORGANIZATION
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.rest.gclient.ReferenceClientParam
LOCATION
Fluent Client search parameter constant for locationstatic ca.uhn.fhir.rest.gclient.StringClientParam
MANUFACTURER
Fluent Client search parameter constant for manufacturerstatic ca.uhn.fhir.rest.gclient.StringClientParam
MODEL
Fluent Client search parameter constant for modelstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
ORGANIZATION
Fluent Client search parameter constant for organizationstatic ca.uhn.fhir.rest.gclient.ReferenceClientParam
PATIENT
Fluent Client search parameter constant for patientstatic String
SP_IDENTIFIER
Search parameter constant for identifierstatic String
SP_LOCATION
Search parameter constant for locationstatic String
SP_MANUFACTURER
Search parameter constant for manufacturerstatic String
SP_MODEL
Search parameter constant for modelstatic String
SP_ORGANIZATION
Search parameter constant for organizationstatic String
SP_PATIENT
Search parameter constant for patientstatic String
SP_TYPE
Search parameter constant for typestatic String
SP_UDI
Search parameter constant for udistatic String
SP_URL
Search parameter constant for urlstatic ca.uhn.fhir.rest.gclient.TokenClientParam
TYPE
Fluent Client search parameter constant for typestatic ca.uhn.fhir.rest.gclient.StringClientParam
UDI
Fluent Client search parameter constant for udistatic ca.uhn.fhir.rest.gclient.UriClientParam
URL
Fluent Client search parameter constant for urlFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
Constructors Constructor Description Device()
-
Method Summary
Modifier and Type Method 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 ca.uhn.fhir.model.api.IElement>
List<T>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 ().ca.uhn.fhir.model.primitive.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 ().ca.uhn.fhir.model.primitive.StringDt
getLotNumberElement()
Gets the value(s) for lotNumber ().Date
getManufactureDate()
Gets the value(s) for manufactureDate ().ca.uhn.fhir.model.primitive.DateTimeDt
getManufactureDateElement()
Gets the value(s) for manufactureDate ().String
getManufacturer()
Gets the value(s) for manufacturer ().ca.uhn.fhir.model.primitive.StringDt
getManufacturerElement()
Gets the value(s) for manufacturer ().String
getModel()
Gets the value(s) for model ().ca.uhn.fhir.model.primitive.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 ().ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceStatusEnum>
getStatusElement()
Gets the value(s) for status ().ca.uhn.fhir.context.FhirVersionEnum
getStructureFhirVersionEnum()
CodeableConceptDt
getType()
Gets the value(s) for type ().String
getUdi()
Gets the value(s) for udi ().ca.uhn.fhir.model.primitive.StringDt
getUdiElement()
Gets the value(s) for udi ().String
getUrl()
Gets the value(s) for url ().ca.uhn.fhir.model.primitive.UriDt
getUrlElement()
Gets the value(s) for url ().String
getVersion()
Gets the value(s) for version ().ca.uhn.fhir.model.primitive.StringDt
getVersionElement()
Gets the value(s) for version ().boolean
isEmpty()
Device
setContact(List<ContactPointDt> theValue)
Sets the value(s) for contact ()Device
setExpiry(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for expiry ()Device
setExpiry(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value 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(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for lotNumber ()Device
setLotNumber(String theString)
Sets the value for lotNumber ()Device
setManufactureDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for manufactureDate ()Device
setManufactureDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for manufactureDate ()Device
setManufactureDateWithSecondsPrecision(Date theDate)
Sets the value for manufactureDate ()Device
setManufacturer(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for manufacturer ()Device
setManufacturer(String theString)
Sets the value for manufacturer ()Device
setModel(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for model ()Device
setModel(String theString)
Sets the value 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(DeviceStatusEnum theValue)
Sets the value(s) for status ()Device
setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<DeviceStatusEnum> theValue)
Sets the value(s) for status ()Device
setType(CodeableConceptDt theValue)
Sets the value(s) for type ()Device
setUdi(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for udi ()Device
setUdi(String theString)
Sets the value for udi ()Device
setUrl(ca.uhn.fhir.model.primitive.UriDt theValue)
Sets the value(s) for url ()Device
setUrl(String theUri)
Sets the value for url ()Device
setVersion(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for version ()Device
setVersion(String theString)
Sets the value for version ()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, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_TYPE
Search parameter constant for typeDescription: The type of the device
Type: token
Path: Device.type
- See Also:
- Constant Field Values
-
TYPE
Fluent Client search parameter constant for typeDescription: The type of the device
Type: token
Path: Device.type
-
SP_MANUFACTURER
Search parameter constant for manufacturerDescription: The manufacturer of the device
Type: string
Path: Device.manufacturer
- See Also:
- Constant Field Values
-
MANUFACTURER
Fluent Client search parameter constant for manufacturerDescription: The manufacturer of the device
Type: string
Path: Device.manufacturer
-
SP_MODEL
Search parameter constant for modelDescription: The model of the device
Type: string
Path: Device.model
- See Also:
- Constant Field Values
-
MODEL
Fluent Client search parameter constant for modelDescription: The model of the device
Type: string
Path: Device.model
-
SP_ORGANIZATION
Search parameter constant for organizationDescription: The organization responsible for the device
Type: reference
Path: Device.owner
- See Also:
- Constant Field Values
-
ORGANIZATION
Fluent Client search parameter constant for organizationDescription: The organization responsible for the device
Type: reference
Path: Device.owner
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: Instance id from manufacturer, owner, and others
Type: token
Path: Device.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Instance id from manufacturer, owner, and others
Type: token
Path: Device.identifier
-
SP_LOCATION
Search parameter constant for locationDescription: A location, where the resource is found
Type: reference
Path: Device.location
- See Also:
- Constant Field Values
-
LOCATION
Fluent Client search parameter constant for locationDescription: A location, where the resource is found
Type: reference
Path: Device.location
-
SP_PATIENT
Search parameter constant for patientDescription: Patient information, if the resource is affixed to a person
Type: reference
Path: Device.patient
- See Also:
- Constant Field Values
-
PATIENT
Fluent Client search parameter constant for patientDescription: Patient information, if the resource is affixed to a person
Type: reference
Path: Device.patient
-
SP_UDI
Search parameter constant for udiDescription: FDA mandated Unique Device Identifier
Type: string
Path: Device.udi
- See Also:
- Constant Field Values
-
UDI
Fluent Client search parameter constant for udiDescription: FDA mandated Unique Device Identifier
Type: string
Path: Device.udi
-
SP_URL
Search parameter constant for urlDescription: Network address to contact device
Type: uri
Path: Device.url
- See Also:
- Constant Field Values
-
URL
Fluent Client search parameter constant for urlDescription: Network address to contact device
Type: uri
Path: Device.url
-
INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Device:location". -
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Device:organization". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Device:patient".
-
-
Constructor Details
-
Device
public Device()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.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.
-
setIdentifier
Sets the value(s) for identifier ()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.
-
addIdentifier
Adds and returns a new value for identifier ()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.
-
addIdentifier
Adds a given new value for identifier ()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.
- 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: 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.
-
getType
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: Code or identifier to identify a kind of device.
-
setType
Sets the value(s) for type ()Definition: Code or identifier to identify a kind of device.
-
getNote
Gets the value(s) for note (). creating it if it does not exist. Will not returnnull
.Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
-
setNote
Sets the value(s) for note ()Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
-
addNote
Adds and returns a new value for note ()Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
-
addNote
Adds a given new value for note ()Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
- Parameters:
theValue
- The note to add (must not benull
)
-
getNoteFirstRep
Gets the first repetition for note (), creating it if it does not already exist.Definition: Descriptive information, usage information or implantation information that is not captured in an existing element.
-
getStatusElement
Gets the value(s) for status (). creating it if it does not exist. Will not returnnull
.Definition: Status of the Device availability.
-
getStatus
Gets the value(s) for status (). creating it if it does not exist. This method may returnnull
.Definition: Status of the Device availability.
-
setStatus
Sets the value(s) for status ()Definition: Status of the Device availability.
-
setStatus
Sets the value(s) for status ()Definition: Status of the Device availability.
-
getManufacturerElement
Gets the value(s) for manufacturer (). creating it if it does not exist. Will not returnnull
.Definition: A name of the manufacturer
-
getManufacturer
Gets the value(s) for manufacturer (). creating it if it does not exist. This method may returnnull
.Definition: A name of the manufacturer
-
setManufacturer
Sets the value(s) for manufacturer ()Definition: A name of the manufacturer
-
setManufacturer
Sets the value for manufacturer ()Definition: A name of the manufacturer
-
getModelElement
Gets the value(s) for model (). creating it if it does not exist. Will not returnnull
.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.
-
getModel
Gets the value(s) for model (). creating it if it does not exist. This method may returnnull
.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.
-
setModel
Sets the value(s) for model ()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.
-
setModel
Sets the value for model ()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.
-
getVersionElement
Gets the value(s) for version (). creating it if it does not exist. Will not returnnull
.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.
-
getVersion
Gets the value(s) for version (). creating it if it does not exist. This method may returnnull
.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.
-
setVersion
Sets the value(s) for version ()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.
-
setVersion
Sets the value for version ()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.
-
getManufactureDateElement
Gets the value(s) for manufactureDate (). creating it if it does not exist. Will not returnnull
.Definition: The date and time when the device was manufactured.
-
getManufactureDate
Gets the value(s) for manufactureDate (). creating it if it does not exist. This method may returnnull
.Definition: The date and time when the device was manufactured.
-
setManufactureDate
Sets the value(s) for manufactureDate ()Definition: The date and time when the device was manufactured.
-
setManufactureDate
public Device setManufactureDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for manufactureDate ()Definition: The date and time when the device was manufactured.
-
setManufactureDateWithSecondsPrecision
Sets the value for manufactureDate ()Definition: The date and time when the device was manufactured.
-
getExpiryElement
Gets the value(s) for expiry (). creating it if it does not exist. Will not returnnull
.Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
-
getExpiry
Gets the value(s) for expiry (). creating it if it does not exist. This method may returnnull
.Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
-
setExpiry
Sets the value(s) for expiry ()Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
-
setExpiry
Sets the value for expiry ()Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
-
setExpiryWithSecondsPrecision
Sets the value for expiry ()Definition: The date and time beyond which this device is no longer valid or should not be used (if applicable)
-
getUdiElement
Gets the value(s) for udi (). creating it if it does not exist. Will not returnnull
.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
-
getUdi
Gets the value(s) for udi (). creating it if it does not exist. This method may returnnull
.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
-
setUdi
Sets the value(s) for udi ()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
-
setUdi
Sets the value for udi ()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
-
getLotNumberElement
Gets the value(s) for lotNumber (). creating it if it does not exist. Will not returnnull
.Definition: Lot number assigned by the manufacturer
-
getLotNumber
Gets the value(s) for lotNumber (). creating it if it does not exist. This method may returnnull
.Definition: Lot number assigned by the manufacturer
-
setLotNumber
Sets the value(s) for lotNumber ()Definition: Lot number assigned by the manufacturer
-
setLotNumber
Sets the value for lotNumber ()Definition: Lot number assigned by the manufacturer
-
getOwner
Gets the value(s) for owner (). creating it if it does not exist. Will not returnnull
.Definition: An organization that is responsible for the provision and ongoing maintenance of the device.
-
setOwner
Sets the value(s) for owner ()Definition: An organization that is responsible for the provision and ongoing maintenance of the device.
-
getLocation
Gets the value(s) for location (). creating it if it does not exist. Will not returnnull
.Definition: The place where the device can be found.
-
setLocation
Sets the value(s) for location ()Definition: The place where the device can be found.
-
getPatient
Gets the value(s) for patient (). creating it if it does not exist. Will not returnnull
.Definition: Patient information, if the resource is affixed to a person
-
setPatient
Sets the value(s) for patient ()Definition: Patient information, if the resource is affixed to a person
-
getContact
Gets the value(s) for contact (). creating it if it does not exist. Will not returnnull
.Definition: Contact details for an organization or a particular human that is responsible for the device
-
setContact
Sets the value(s) for contact ()Definition: Contact details for an organization or a particular human that is responsible for the device
-
addContact
Adds and returns a new value for contact ()Definition: Contact details for an organization or a particular human that is responsible for the device
-
addContact
Adds a given new value for contact ()Definition: Contact details for an organization or a particular human that is responsible for the device
- Parameters:
theValue
- The contact to add (must not benull
)
-
getContactFirstRep
Gets the first repetition for contact (), creating it if it does not already exist.Definition: Contact details for an organization or a particular human that is responsible for the device
-
getUrlElement
Gets the value(s) for url (). creating it if it does not exist. Will not returnnull
.Definition: A network address on which the device may be contacted directly
-
getUrl
Gets the value(s) for url (). creating it if it does not exist. This method may returnnull
.Definition: A network address on which the device may be contacted directly
-
setUrl
Sets the value(s) for url ()Definition: A network address on which the device may be contacted directly
-
setUrl
Sets the value for url ()Definition: A network address on which the device may be contacted directly
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-