Class Device
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ContactPoint> protected DateTimeprotected List<Identifier> protected Referenceprotected Stringprotected DateTimeprotected Stringprotected Stringprotected List<Annotation> protected Referenceprotected Referenceprotected DeviceStatusprotected CodeableConceptprotected Identifierprotected Uriprotected StringFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the contact property.Gets the value of the expirationDate property.Gets the value of the identifier property.Gets the value of the location property.Gets the value of the lotNumber property.Gets the value of the manufactureDate property.Gets the value of the manufacturer property.getModel()Gets the value of the model property.getNote()Gets the value of the note property.getOwner()Gets the value of the owner property.Gets the value of the patient property.Gets the value of the status property.getType()Gets the value of the type property.Gets the value of the udiCarrier property.getUrl()Gets the value of the url property.Gets the value of the version property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetContact(List<ContactPoint> value) voidsetExpirationDate(DateTime value) Sets the value of the expirationDate property.voidsetIdentifier(List<Identifier> value) voidsetLocation(Reference value) Sets the value of the location property.voidsetLotNumber(String value) Sets the value of the lotNumber property.voidsetManufactureDate(DateTime value) Sets the value of the manufactureDate property.voidsetManufacturer(String value) Sets the value of the manufacturer property.voidSets the value of the model property.voidsetNote(List<Annotation> value) voidSets the value of the owner property.voidsetPatient(Reference value) Sets the value of the patient property.voidsetStatus(DeviceStatus value) Sets the value of the status property.voidsetType(CodeableConcept value) Sets the value of the type property.voidsetUdiCarrier(Identifier value) Sets the value of the udiCarrier property.voidSets the value of the url property.voidsetVersion(String value) Sets the value of the version property.toString()withContact(Collection<ContactPoint> values) withContact(ContactPoint... values) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withExpirationDate(DateTime value) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withLocation(Reference value) withLotNumber(String value) withManufactureDate(DateTime value) withManufacturer(String value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withNote(Collection<Annotation> values) withNote(Annotation... values) withPatient(Reference value) withStatus(DeviceStatus value) withType(CodeableConcept value) withUdiCarrier(Identifier value) withVersion(String value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
udiCarrier
-
status
-
type
-
lotNumber
-
manufacturer
-
manufactureDate
-
expirationDate
-
model
-
version
-
patient
-
owner
-
contact
-
location
-
url
-
note
-
-
Constructor Details
-
Device
public Device()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getUdiCarrier
Gets the value of the udiCarrier property.- Returns:
- possible object is
Identifier
-
setUdiCarrier
Sets the value of the udiCarrier property.- Parameters:
value- allowed object isIdentifier
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
DeviceStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isDeviceStatus
-
getType
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getLotNumber
Gets the value of the lotNumber property.- Returns:
- possible object is
String
-
setLotNumber
Sets the value of the lotNumber property.- Parameters:
value- allowed object isString
-
getManufacturer
Gets the value of the manufacturer property.- Returns:
- possible object is
String
-
setManufacturer
Sets the value of the manufacturer property.- Parameters:
value- allowed object isString
-
getManufactureDate
Gets the value of the manufactureDate property.- Returns:
- possible object is
DateTime
-
setManufactureDate
Sets the value of the manufactureDate property.- Parameters:
value- allowed object isDateTime
-
getExpirationDate
Gets the value of the expirationDate property.- Returns:
- possible object is
DateTime
-
setExpirationDate
Sets the value of the expirationDate property.- Parameters:
value- allowed object isDateTime
-
getModel
Gets the value of the model property.- Returns:
- possible object is
String
-
setModel
Sets the value of the model property.- Parameters:
value- allowed object isString
-
getVersion
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getPatient
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getOwner
Gets the value of the owner property.- Returns:
- possible object is
Reference
-
setOwner
Sets the value of the owner property.- Parameters:
value- allowed object isReference
-
getContact
Gets the value of the contact property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getLocation
Gets the value of the location property.- Returns:
- possible object is
Reference
-
setLocation
Sets the value of the location property.- Parameters:
value- allowed object isReference
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
Uri
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isUri
-
getNote
Gets the value of the note property.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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
withIdentifier
-
withIdentifier
-
withUdiCarrier
-
withStatus
-
withType
-
withLotNumber
-
withManufacturer
-
withManufactureDate
-
withExpirationDate
-
withModel
-
withVersion
-
withPatient
-
withOwner
-
withContact
-
withContact
-
withLocation
-
withUrl
-
withNote
-
withNote
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setContact
-
setNote
-