public class Device extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Device.DeviceStatus |
static class |
Device.DeviceStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected List<ContactPoint> |
contact
Contact details for an organization or a particular human that is responsible for the device.
|
protected DateTimeType |
expirationDate
The date and time beyond which this device is no longer valid or should not be used (if applicable).
|
protected List<Identifier> |
identifier
Unique instance identifiers assigned to a device by manufacturers other organizations or owners.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static 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.
|
protected Reference |
location
The place where the device can be found.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
LOCATION
Fluent Client search parameter constant for location
|
protected Location |
locationTarget
The actual object that is the target of the reference (The place where the device can be found.)
|
protected StringType |
lotNumber
Lot number assigned by the manufacturer.
|
protected DateTimeType |
manufactureDate
The date and time when the device was manufactured.
|
protected StringType |
manufacturer
A name of the manufacturer.
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
MANUFACTURER
Fluent Client search parameter constant for manufacturer
|
protected StringType |
model
The "model" is an identifier assigned by the manufacturer to identify the product by its type.
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
MODEL
Fluent Client search parameter constant for model
|
protected List<Annotation> |
note
Descriptive information, usage information or implantation information that is not captured in an existing element.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ORGANIZATION
Fluent Client search parameter constant for organization
|
protected Reference |
owner
An organization that is responsible for the provision and ongoing maintenance of the device.
|
protected Organization |
ownerTarget
The actual object that is the target of the reference (An organization that is responsible for the provision and ongoing maintenance of the device.)
|
protected Reference |
patient
Patient information, If the device is affixed to a person.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Patient |
patientTarget
The actual object that is the target of the reference (Patient information, If the device is affixed to a person.)
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_LOCATION
Search parameter: location
|
static String |
SP_MANUFACTURER
Search parameter: manufacturer
|
static String |
SP_MODEL
Search parameter: model
|
static String |
SP_ORGANIZATION
Search parameter: organization
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_TYPE
Search parameter: type
|
static String |
SP_UDICARRIER
Search parameter: udicarrier
|
static String |
SP_URL
Search parameter: url
|
protected Enumeration<Device.DeviceStatus> |
status
Status of the Device availability.
|
protected CodeableConcept |
type
Code or identifier to identify a kind of device.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
protected Identifier |
udiCarrier
[Unique device identifier (UDI)](device.html#5.11.3.2.2) barcode or rfid string assigned to device label or package.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
UDICARRIER
Fluent Client search parameter constant for udicarrier
|
protected UriType |
url
A network address on which the device may be contacted directly.
|
static ca.uhn.fhir.rest.gclient.UriClientParam |
URL
Fluent Client search parameter constant for url
|
protected StringType |
version
The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Device()
Constructor
|
Device(CodeableConcept type)
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 List<Identifier> identifier
protected Identifier udiCarrier
protected Enumeration<Device.DeviceStatus> status
protected CodeableConcept type
protected StringType lotNumber
protected StringType manufacturer
protected DateTimeType manufactureDate
protected DateTimeType expirationDate
protected StringType model
protected StringType version
protected Patient patientTarget
protected Reference owner
protected Organization ownerTarget
protected List<ContactPoint> contact
protected Location locationTarget
protected List<Annotation> note
public static final String SP_ORGANIZATION
Description: The organization responsible for the device
Type: reference
Path: Device.owner
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION
Description: The organization responsible for the device
Type: reference
Path: Device.owner
public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION
public static final String SP_MODEL
Description: The model of the device
Type: string
Path: Device.model
public static final ca.uhn.fhir.rest.gclient.StringClientParam MODEL
Description: The model of the device
Type: string
Path: Device.model
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 ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: Patient information, if the resource is affixed to a person
Type: reference
Path: Device.patient
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_UDICARRIER
Description: Barcode string (udi)
Type: token
Path: Device.udiCarrier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam UDICARRIER
Description: Barcode string (udi)
Type: token
Path: Device.udiCarrier
public static final String SP_LOCATION
Description: A location, where the resource is found
Type: reference
Path: Device.location
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION
Description: A location, where the resource is found
Type: reference
Path: Device.location
public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION
public static final String SP_MANUFACTURER
Description: The manufacturer of the device
Type: string
Path: Device.manufacturer
public static final ca.uhn.fhir.rest.gclient.StringClientParam MANUFACTURER
Description: The manufacturer of the device
Type: string
Path: Device.manufacturer
public static final String SP_TYPE
Description: The type of the device
Type: token
Path: Device.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: The type of the device
Type: token
Path: Device.type
public static final String SP_IDENTIFIER
Description: Instance id from manufacturer, owner, and others
Type: token
Path: Device.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Instance id from manufacturer, owner, and others
Type: token
Path: Device.identifier
public static final String SP_URL
Description: Network address to contact device
Type: uri
Path: Device.url
public static final ca.uhn.fhir.rest.gclient.UriClientParam URL
Description: Network address to contact device
Type: uri
Path: Device.url
public Device()
public Device(CodeableConcept type)
public List<Identifier> getIdentifier()
identifier (Unique instance identifiers assigned to a device by manufacturers other organizations or owners.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Unique instance identifiers assigned to a device by manufacturers other organizations or owners.)public Device addIdentifier(Identifier t)
public Identifier getUdiCarrier()
udiCarrier ([Unique device identifier (UDI)](device.html#5.11.3.2.2) barcode or rfid string assigned to device label or package.)public boolean hasUdiCarrier()
public Device setUdiCarrier(Identifier value)
value - udiCarrier ([Unique device identifier (UDI)](device.html#5.11.3.2.2) barcode or rfid string assigned to device label or package.)public Enumeration<Device.DeviceStatus> getStatusElement()
status (Status of the Device availability.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Device setStatusElement(Enumeration<Device.DeviceStatus> value)
value - status (Status of the Device availability.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Device.DeviceStatus getStatus()
public Device setStatus(Device.DeviceStatus value)
value - Status of the Device availability.public CodeableConcept getType()
type (Code or identifier to identify a kind of device.)public boolean hasType()
public Device setType(CodeableConcept value)
value - type (Code or identifier to identify a kind of device.)public StringType getLotNumberElement()
lotNumber (Lot number assigned by the manufacturer.). This is the underlying object with id, value and extensions. The accessor "getLotNumber" gives direct access to the valuepublic boolean hasLotNumberElement()
public boolean hasLotNumber()
public Device setLotNumberElement(StringType value)
value - lotNumber (Lot number assigned by the manufacturer.). This is the underlying object with id, value and extensions. The accessor "getLotNumber" gives direct access to the valuepublic String getLotNumber()
public Device setLotNumber(String value)
value - Lot number assigned by the manufacturer.public StringType getManufacturerElement()
manufacturer (A name of the manufacturer.). This is the underlying object with id, value and extensions. The accessor "getManufacturer" gives direct access to the valuepublic boolean hasManufacturerElement()
public boolean hasManufacturer()
public Device setManufacturerElement(StringType value)
value - manufacturer (A name of the manufacturer.). This is the underlying object with id, value and extensions. The accessor "getManufacturer" gives direct access to the valuepublic String getManufacturer()
public Device setManufacturer(String value)
value - A name of the manufacturer.public DateTimeType getManufactureDateElement()
manufactureDate (The date and time when the device was manufactured.). This is the underlying object with id, value and extensions. The accessor "getManufactureDate" gives direct access to the valuepublic boolean hasManufactureDateElement()
public boolean hasManufactureDate()
public Device setManufactureDateElement(DateTimeType value)
value - manufactureDate (The date and time when the device was manufactured.). This is the underlying object with id, value and extensions. The accessor "getManufactureDate" gives direct access to the valuepublic Date getManufactureDate()
public Device setManufactureDate(Date value)
value - The date and time when the device was manufactured.public DateTimeType getExpirationDateElement()
expirationDate (The date and time beyond which this device is no longer valid or should not be used (if applicable).). This is the underlying object with id, value and extensions. The accessor "getExpirationDate" gives direct access to the valuepublic boolean hasExpirationDateElement()
public boolean hasExpirationDate()
public Device setExpirationDateElement(DateTimeType value)
value - expirationDate (The date and time beyond which this device is no longer valid or should not be used (if applicable).). This is the underlying object with id, value and extensions. The accessor "getExpirationDate" gives direct access to the valuepublic Date getExpirationDate()
public Device setExpirationDate(Date value)
value - The date and time beyond which this device is no longer valid or should not be used (if applicable).public StringType getModelElement()
model (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.). This is the underlying object with id, value and extensions. The accessor "getModel" gives direct access to the valuepublic boolean hasModelElement()
public boolean hasModel()
public Device setModelElement(StringType value)
value - model (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.). This is the underlying object with id, value and extensions. The accessor "getModel" gives direct access to the valuepublic String getModel()
public Device setModel(String value)
value - 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 StringType getVersionElement()
version (The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the valuepublic boolean hasVersionElement()
public boolean hasVersion()
public Device setVersionElement(StringType value)
value - version (The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the valuepublic String getVersion()
public Device setVersion(String value)
value - 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 Reference getPatient()
patient (Patient information, If the device is affixed to a person.)public boolean hasPatient()
public Device setPatient(Reference value)
value - patient (Patient information, If the device is affixed to a person.)public Patient getPatientTarget()
patient 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. (Patient information, If the device is affixed to a person.)public Device setPatientTarget(Patient value)
value - patient 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. (Patient information, If the device is affixed to a person.)public Reference getOwner()
owner (An organization that is responsible for the provision and ongoing maintenance of the device.)public boolean hasOwner()
public Device setOwner(Reference value)
value - owner (An organization that is responsible for the provision and ongoing maintenance of the device.)public Organization getOwnerTarget()
owner 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. (An organization that is responsible for the provision and ongoing maintenance of the device.)public Device setOwnerTarget(Organization value)
value - owner 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. (An organization that is responsible for the provision and ongoing maintenance of the device.)public List<ContactPoint> getContact()
contact (Contact details for an organization or a particular human that is responsible for the device.)public boolean hasContact()
public ContactPoint addContact()
contact (Contact details for an organization or a particular human that is responsible for the device.)public Device addContact(ContactPoint t)
public Reference getLocation()
location (The place where the device can be found.)public boolean hasLocation()
public Device setLocation(Reference value)
value - location (The place where the device can be found.)public Location getLocationTarget()
location 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 place where the device can be found.)public Device setLocationTarget(Location value)
value - location 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 place where the device can be found.)public UriType getUrlElement()
url (A network address on which the device may be contacted directly.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasUrlElement()
public boolean hasUrl()
public Device setUrlElement(UriType value)
value - url (A network address on which the device may be contacted directly.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic String getUrl()
public Device setUrl(String value)
value - A network address on which the device may be contacted directly.public List<Annotation> getNote()
note (Descriptive information, usage information or implantation information that is not captured in an existing element.)public boolean hasNote()
public Annotation addNote()
note (Descriptive information, usage information or implantation information that is not captured in an existing element.)public Device addNote(Annotation t)
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 Device copy()
copy in class DomainResourcepublic 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.