public class Device extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Device complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Device">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="udiCarrier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}DeviceStatus" minOccurs="0"/>
<element name="type" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="lotNumber" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="manufacturer" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="manufactureDate" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="expirationDate" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="model" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="patient" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="owner" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="contact" type="{http://hl7.org/fhir}ContactPoint" maxOccurs="unbounded" minOccurs="0"/>
<element name="location" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
<element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ContactPoint> |
contact |
protected DateTime |
expirationDate |
protected java.util.List<Identifier> |
identifier |
protected Reference |
location |
protected String |
lotNumber |
protected DateTime |
manufactureDate |
protected String |
manufacturer |
protected String |
model |
protected java.util.List<Annotation> |
note |
protected Reference |
owner |
protected Reference |
patient |
protected DeviceStatus |
status |
protected CodeableConcept |
type |
protected Identifier |
udiCarrier |
protected Uri |
url |
protected String |
version |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Device() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.util.List<ContactPoint> |
getContact()
Gets the value of the contact property.
|
DateTime |
getExpirationDate()
Gets the value of the expirationDate property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
Reference |
getLocation()
Gets the value of the location property.
|
String |
getLotNumber()
Gets the value of the lotNumber property.
|
DateTime |
getManufactureDate()
Gets the value of the manufactureDate property.
|
String |
getManufacturer()
Gets the value of the manufacturer property.
|
String |
getModel()
Gets the value of the model property.
|
java.util.List<Annotation> |
getNote()
Gets the value of the note property.
|
Reference |
getOwner()
Gets the value of the owner property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
DeviceStatus |
getStatus()
Gets the value of the status property.
|
CodeableConcept |
getType()
Gets the value of the type property.
|
Identifier |
getUdiCarrier()
Gets the value of the udiCarrier property.
|
Uri |
getUrl()
Gets the value of the url property.
|
String |
getVersion()
Gets the value of the version property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setExpirationDate(DateTime value)
Sets the value of the expirationDate property.
|
void |
setLocation(Reference value)
Sets the value of the location property.
|
void |
setLotNumber(String value)
Sets the value of the lotNumber property.
|
void |
setManufactureDate(DateTime value)
Sets the value of the manufactureDate property.
|
void |
setManufacturer(String value)
Sets the value of the manufacturer property.
|
void |
setModel(String value)
Sets the value of the model property.
|
void |
setOwner(Reference value)
Sets the value of the owner property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setStatus(DeviceStatus value)
Sets the value of the status property.
|
void |
setType(CodeableConcept value)
Sets the value of the type property.
|
void |
setUdiCarrier(Identifier value)
Sets the value of the udiCarrier property.
|
void |
setUrl(Uri value)
Sets the value of the url property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
java.lang.String |
toString() |
Device |
withContact(java.util.Collection<ContactPoint> values) |
Device |
withContact(ContactPoint... values) |
Device |
withContained(java.util.Collection<ResourceContainer> values) |
Device |
withContained(ResourceContainer... values) |
Device |
withExpirationDate(DateTime value) |
Device |
withExtension(java.util.Collection<Extension> values) |
Device |
withExtension(Extension... values) |
Device |
withId(Id value) |
Device |
withIdentifier(java.util.Collection<Identifier> values) |
Device |
withIdentifier(Identifier... values) |
Device |
withImplicitRules(Uri value) |
Device |
withLanguage(Code value) |
Device |
withLocation(Reference value) |
Device |
withLotNumber(String value) |
Device |
withManufactureDate(DateTime value) |
Device |
withManufacturer(String value) |
Device |
withMeta(Meta value) |
Device |
withModel(String value) |
Device |
withModifierExtension(java.util.Collection<Extension> values) |
Device |
withModifierExtension(Extension... values) |
Device |
withNote(Annotation... values) |
Device |
withNote(java.util.Collection<Annotation> values) |
Device |
withOwner(Reference value) |
Device |
withPatient(Reference value) |
Device |
withStatus(DeviceStatus value) |
Device |
withText(Narrative value) |
Device |
withType(CodeableConcept value) |
Device |
withUdiCarrier(Identifier value) |
Device |
withUrl(Uri value) |
Device |
withVersion(String value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Identifier udiCarrier
protected DeviceStatus status
protected CodeableConcept type
protected String lotNumber
protected String manufacturer
protected DateTime manufactureDate
protected DateTime expirationDate
protected String model
protected String version
protected Reference patient
protected Reference owner
protected java.util.List<ContactPoint> contact
protected Reference location
protected Uri url
protected java.util.List<Annotation> note
public java.util.List<Identifier> getIdentifier()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
Identifier
public Identifier getUdiCarrier()
Identifierpublic void setUdiCarrier(Identifier value)
value - allowed object is
Identifierpublic DeviceStatus getStatus()
DeviceStatuspublic void setStatus(DeviceStatus value)
value - allowed object is
DeviceStatuspublic CodeableConcept getType()
CodeableConceptpublic void setType(CodeableConcept value)
value - allowed object is
CodeableConceptpublic String getLotNumber()
Stringpublic void setLotNumber(String value)
value - allowed object is
Stringpublic String getManufacturer()
Stringpublic void setManufacturer(String value)
value - allowed object is
Stringpublic DateTime getManufactureDate()
DateTimepublic void setManufactureDate(DateTime value)
value - allowed object is
DateTimepublic DateTime getExpirationDate()
DateTimepublic void setExpirationDate(DateTime value)
value - allowed object is
DateTimepublic String getModel()
Stringpublic void setModel(String value)
value - allowed object is
Stringpublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic Reference getOwner()
Referencepublic void setOwner(Reference value)
value - allowed object is
Referencepublic java.util.List<ContactPoint> getContact()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the contact property.
For example, to add a new item, do as follows:
getContact().add(newItem);
Objects of the following type(s) are allowed in the list
ContactPoint
public Reference getLocation()
Referencepublic void setLocation(Reference value)
value - allowed object is
Referencepublic void setUrl(Uri value)
value - allowed object is
Uripublic java.util.List<Annotation> getNote()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the note property.
For example, to add a new item, do as follows:
getNote().add(newItem);
Objects of the following type(s) are allowed in the list
Annotation
public Device withIdentifier(Identifier... values)
public Device withIdentifier(java.util.Collection<Identifier> values)
public Device withUdiCarrier(Identifier value)
public Device withStatus(DeviceStatus value)
public Device withType(CodeableConcept value)
public Device withContact(ContactPoint... values)
public Device withContact(java.util.Collection<ContactPoint> values)
public Device withNote(Annotation... values)
public Device withNote(java.util.Collection<Annotation> values)
public Device withText(Narrative value)
withText in class DomainResourcepublic Device withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Device withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Device withExtension(Extension... values)
withExtension in class DomainResourcepublic Device withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Device withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Device withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Device withId(Id value)
withId in class DomainResourcepublic Device withMeta(Meta value)
withMeta in class DomainResourcepublic Device withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Device withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource