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 |
expiry
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 organizations like manufacturers or owners.
|
protected Reference |
location
The place where the device can be found.
|
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.
|
protected StringType |
model
The "model" is an identifier assigned by the manufacturer to identify the product by its type.
|
protected List<Annotation> |
note
Descriptive information, usage information or implantation information that is not captured in an existing element.
|
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 resource is affixed to a person.
|
protected Patient |
patientTarget
The actual object that is the target of the reference (Patient information, if the resource is affixed to a person.)
|
static String |
SP_IDENTIFIER |
static String |
SP_LOCATION |
static String |
SP_MANUFACTURER |
static String |
SP_MODEL |
static String |
SP_ORGANIZATION |
static String |
SP_PATIENT |
static String |
SP_TYPE |
static String |
SP_UDI |
static String |
SP_URL |
protected Enumeration<Device.DeviceStatus> |
status
Status of the Device availability.
|
protected CodeableConcept |
type
Code or identifier to identify a kind of device.
|
protected StringType |
udi
United States Food and Drug Administration mandated Unique Device Identifier (UDI).
|
protected UriType |
url
A network address on which the device may be contacted directly.
|
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() |
Device(CodeableConcept type) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected CodeableConcept type
protected List<Annotation> note
protected Enumeration<Device.DeviceStatus> status
protected StringType manufacturer
protected StringType model
protected StringType version
protected DateTimeType manufactureDate
protected DateTimeType expiry
protected StringType udi
protected StringType lotNumber
protected Reference owner
protected Organization ownerTarget
protected Location locationTarget
protected Patient patientTarget
protected List<ContactPoint> contact
public static final String SP_IDENTIFIER
public static final String SP_PATIENT
public static final String SP_ORGANIZATION
public static final String SP_MODEL
public static final String SP_LOCATION
public static final String SP_UDI
public static final String SP_TYPE
public static final String SP_URL
public static final String SP_MANUFACTURER
public Device()
public Device(CodeableConcept type)
public List<Identifier> getIdentifier()
identifier (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 boolean hasIdentifier()
public Identifier addIdentifier()
identifier (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(Identifier t)
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 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)
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 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 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 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 getExpiryElement()
expiry (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 "getExpiry" gives direct access to the valuepublic boolean hasExpiryElement()
public boolean hasExpiry()
public Device setExpiryElement(DateTimeType value)
value - expiry (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 "getExpiry" gives direct access to the valuepublic Date getExpiry()
public Device setExpiry(Date value)
value - The date and time beyond which this device is no longer valid or should not be used (if applicable).public StringType getUdiElement()
udi (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.). This is the underlying object with id, value and extensions. The accessor "getUdi" gives direct access to the valuepublic boolean hasUdiElement()
public boolean hasUdi()
public Device setUdiElement(StringType value)
value - udi (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.). This is the underlying object with id, value and extensions. The accessor "getUdi" gives direct access to the valuepublic String getUdi()
public Device setUdi(String value)
value - 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 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 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 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 Reference getPatient()
patient (Patient information, if the resource is affixed to a person.)public boolean hasPatient()
public Device setPatient(Reference value)
value - patient (Patient information, if the resource 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 resource 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 resource is affixed to a person.)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 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.protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty 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.