Class DiagnosticOrder
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.DiagnosticOrder
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class DiagnosticOrder extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for DiagnosticOrder complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DiagnosticOrder"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="status" type="{http://hl7.org/fhir}DiagnosticOrderStatus" minOccurs="0"/> <element name="priority" type="{http://hl7.org/fhir}DiagnosticOrderPriority" minOccurs="0"/> <element name="subject" type="{http://hl7.org/fhir}Reference"/> <element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="orderer" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="reason" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="supportingInformation" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="specimen" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="event" type="{http://hl7.org/fhir}DiagnosticOrder.Event" maxOccurs="unbounded" minOccurs="0"/> <element name="item" type="{http://hl7.org/fhir}DiagnosticOrder.Item" maxOccurs="unbounded" minOccurs="0"/> <element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Referenceencounterprotected java.util.List<DiagnosticOrderEvent>eventprotected java.util.List<Identifier>identifierprotected java.util.List<DiagnosticOrderItem>itemprotected java.util.List<Annotation>noteprotected Referenceordererprotected DiagnosticOrderPrioritypriorityprotected java.util.List<CodeableConcept>reasonprotected java.util.List<Reference>specimenprotected DiagnosticOrderStatusstatusprotected Referencesubjectprotected java.util.List<Reference>supportingInformation-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description DiagnosticOrder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)ReferencegetEncounter()Gets the value of the encounter property.java.util.List<DiagnosticOrderEvent>getEvent()Gets the value of the event property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.java.util.List<DiagnosticOrderItem>getItem()Gets the value of the item property.java.util.List<Annotation>getNote()Gets the value of the note property.ReferencegetOrderer()Gets the value of the orderer property.DiagnosticOrderPrioritygetPriority()Gets the value of the priority property.java.util.List<CodeableConcept>getReason()Gets the value of the reason property.java.util.List<Reference>getSpecimen()Gets the value of the specimen property.DiagnosticOrderStatusgetStatus()Gets the value of the status property.ReferencegetSubject()Gets the value of the subject property.java.util.List<Reference>getSupportingInformation()Gets the value of the supportingInformation property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetEncounter(Reference value)Sets the value of the encounter property.voidsetOrderer(Reference value)Sets the value of the orderer property.voidsetPriority(DiagnosticOrderPriority value)Sets the value of the priority property.voidsetStatus(DiagnosticOrderStatus value)Sets the value of the status property.voidsetSubject(Reference value)Sets the value of the subject property.java.lang.StringtoString()DiagnosticOrderwithContained(java.util.Collection<ResourceContainer> values)DiagnosticOrderwithContained(ResourceContainer... values)DiagnosticOrderwithEncounter(Reference value)DiagnosticOrderwithEvent(java.util.Collection<DiagnosticOrderEvent> values)DiagnosticOrderwithEvent(DiagnosticOrderEvent... values)DiagnosticOrderwithExtension(java.util.Collection<Extension> values)DiagnosticOrderwithExtension(Extension... values)DiagnosticOrderwithId(Id value)DiagnosticOrderwithIdentifier(java.util.Collection<Identifier> values)DiagnosticOrderwithIdentifier(Identifier... values)DiagnosticOrderwithImplicitRules(Uri value)DiagnosticOrderwithItem(java.util.Collection<DiagnosticOrderItem> values)DiagnosticOrderwithItem(DiagnosticOrderItem... values)DiagnosticOrderwithLanguage(Code value)DiagnosticOrderwithMeta(Meta value)DiagnosticOrderwithModifierExtension(java.util.Collection<Extension> values)DiagnosticOrderwithModifierExtension(Extension... values)DiagnosticOrderwithNote(java.util.Collection<Annotation> values)DiagnosticOrderwithNote(Annotation... values)DiagnosticOrderwithOrderer(Reference value)DiagnosticOrderwithPriority(DiagnosticOrderPriority value)DiagnosticOrderwithReason(java.util.Collection<CodeableConcept> values)DiagnosticOrderwithReason(CodeableConcept... values)DiagnosticOrderwithSpecimen(java.util.Collection<Reference> values)DiagnosticOrderwithSpecimen(Reference... values)DiagnosticOrderwithStatus(DiagnosticOrderStatus value)DiagnosticOrderwithSubject(Reference value)DiagnosticOrderwithSupportingInformation(java.util.Collection<Reference> values)DiagnosticOrderwithSupportingInformation(Reference... values)DiagnosticOrderwithText(Narrative value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
status
protected DiagnosticOrderStatus status
-
priority
protected DiagnosticOrderPriority priority
-
subject
protected Reference subject
-
encounter
protected Reference encounter
-
orderer
protected Reference orderer
-
reason
protected java.util.List<CodeableConcept> reason
-
supportingInformation
protected java.util.List<Reference> supportingInformation
-
specimen
protected java.util.List<Reference> specimen
-
event
protected java.util.List<DiagnosticOrderEvent> event
-
item
protected java.util.List<DiagnosticOrderItem> item
-
note
protected java.util.List<Annotation> note
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> 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 JAXB 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
-
getStatus
public DiagnosticOrderStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
DiagnosticOrderStatus
-
setStatus
public void setStatus(DiagnosticOrderStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isDiagnosticOrderStatus
-
getPriority
public DiagnosticOrderPriority getPriority()
Gets the value of the priority property.- Returns:
- possible object is
DiagnosticOrderPriority
-
setPriority
public void setPriority(DiagnosticOrderPriority value)
Sets the value of the priority property.- Parameters:
value- allowed object isDiagnosticOrderPriority
-
getSubject
public Reference getSubject()
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
public void setSubject(Reference value)
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getEncounter
public Reference getEncounter()
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
public void setEncounter(Reference value)
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getOrderer
public Reference getOrderer()
Gets the value of the orderer property.- Returns:
- possible object is
Reference
-
setOrderer
public void setOrderer(Reference value)
Sets the value of the orderer property.- Parameters:
value- allowed object isReference
-
getReason
public java.util.List<CodeableConcept> getReason()
Gets the value of the reason 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 JAXB object. This is why there is not a
setmethod for the reason property.For example, to add a new item, do as follows:
getReason().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getSupportingInformation
public java.util.List<Reference> getSupportingInformation()
Gets the value of the supportingInformation 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 JAXB object. This is why there is not a
setmethod for the supportingInformation property.For example, to add a new item, do as follows:
getSupportingInformation().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getSpecimen
public java.util.List<Reference> getSpecimen()
Gets the value of the specimen 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 JAXB object. This is why there is not a
setmethod for the specimen property.For example, to add a new item, do as follows:
getSpecimen().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getEvent
public java.util.List<DiagnosticOrderEvent> getEvent()
Gets the value of the event 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 JAXB object. This is why there is not a
setmethod for the event property.For example, to add a new item, do as follows:
getEvent().add(newItem);Objects of the following type(s) are allowed in the list
DiagnosticOrderEvent
-
getItem
public java.util.List<DiagnosticOrderItem> getItem()
Gets the value of the item 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 JAXB object. This is why there is not a
setmethod for the item property.For example, to add a new item, do as follows:
getItem().add(newItem);Objects of the following type(s) are allowed in the list
DiagnosticOrderItem
-
getNote
public java.util.List<Annotation> 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 JAXB 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
public DiagnosticOrder withIdentifier(Identifier... values)
-
withIdentifier
public DiagnosticOrder withIdentifier(java.util.Collection<Identifier> values)
-
withStatus
public DiagnosticOrder withStatus(DiagnosticOrderStatus value)
-
withPriority
public DiagnosticOrder withPriority(DiagnosticOrderPriority value)
-
withSubject
public DiagnosticOrder withSubject(Reference value)
-
withEncounter
public DiagnosticOrder withEncounter(Reference value)
-
withOrderer
public DiagnosticOrder withOrderer(Reference value)
-
withReason
public DiagnosticOrder withReason(CodeableConcept... values)
-
withReason
public DiagnosticOrder withReason(java.util.Collection<CodeableConcept> values)
-
withSupportingInformation
public DiagnosticOrder withSupportingInformation(Reference... values)
-
withSupportingInformation
public DiagnosticOrder withSupportingInformation(java.util.Collection<Reference> values)
-
withSpecimen
public DiagnosticOrder withSpecimen(Reference... values)
-
withSpecimen
public DiagnosticOrder withSpecimen(java.util.Collection<Reference> values)
-
withEvent
public DiagnosticOrder withEvent(DiagnosticOrderEvent... values)
-
withEvent
public DiagnosticOrder withEvent(java.util.Collection<DiagnosticOrderEvent> values)
-
withItem
public DiagnosticOrder withItem(DiagnosticOrderItem... values)
-
withItem
public DiagnosticOrder withItem(java.util.Collection<DiagnosticOrderItem> values)
-
withNote
public DiagnosticOrder withNote(Annotation... values)
-
withNote
public DiagnosticOrder withNote(java.util.Collection<Annotation> values)
-
withText
public DiagnosticOrder withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public DiagnosticOrder withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public DiagnosticOrder withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public DiagnosticOrder withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public DiagnosticOrder withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public DiagnosticOrder withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public DiagnosticOrder withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public DiagnosticOrder withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public DiagnosticOrder withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public DiagnosticOrder withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public DiagnosticOrder withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public 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.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- 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
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-