Package org.hl7.fhir
Class ImagingStudySeries
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.ImagingStudySeries
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ImagingStudySeries extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Representation of the content produced in a DICOM imaging study. A study comprises a set of series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A series is of only one modality (e.g. X-ray, CT, MR, ultrasound), but a study may have multiple series of different modalities.Java class for ImagingStudy.Series complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ImagingStudy.Series"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="uid" type="{http://hl7.org/fhir}oid"/> <element name="number" type="{http://hl7.org/fhir}unsignedInt" minOccurs="0"/> <element name="modality" type="{http://hl7.org/fhir}Coding"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="numberOfInstances" type="{http://hl7.org/fhir}unsignedInt"/> <element name="availability" type="{http://hl7.org/fhir}InstanceAvailability" minOccurs="0"/> <element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/> <element name="bodySite" type="{http://hl7.org/fhir}Coding" minOccurs="0"/> <element name="laterality" type="{http://hl7.org/fhir}Coding" minOccurs="0"/> <element name="started" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/> <element name="instance" type="{http://hl7.org/fhir}ImagingStudy.Instance" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected InstanceAvailabilityavailabilityprotected CodingbodySiteprotected Stringdescriptionprotected java.util.List<ImagingStudyInstance>instanceprotected Codinglateralityprotected Codingmodalityprotected UnsignedIntnumberprotected UnsignedIntnumberOfInstancesprotected DateTimestartedprotected Oiduidprotected Uriurl-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ImagingStudySeries()
-
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)InstanceAvailabilitygetAvailability()Gets the value of the availability property.CodinggetBodySite()Gets the value of the bodySite property.StringgetDescription()Gets the value of the description property.java.util.List<ImagingStudyInstance>getInstance()Gets the value of the instance property.CodinggetLaterality()Gets the value of the laterality property.CodinggetModality()Gets the value of the modality property.UnsignedIntgetNumber()Gets the value of the number property.UnsignedIntgetNumberOfInstances()Gets the value of the numberOfInstances property.DateTimegetStarted()Gets the value of the started property.OidgetUid()Gets the value of the uid property.UrigetUrl()Gets the value of the url property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAvailability(InstanceAvailability value)Sets the value of the availability property.voidsetBodySite(Coding value)Sets the value of the bodySite property.voidsetDescription(String value)Sets the value of the description property.voidsetLaterality(Coding value)Sets the value of the laterality property.voidsetModality(Coding value)Sets the value of the modality property.voidsetNumber(UnsignedInt value)Sets the value of the number property.voidsetNumberOfInstances(UnsignedInt value)Sets the value of the numberOfInstances property.voidsetStarted(DateTime value)Sets the value of the started property.voidsetUid(Oid value)Sets the value of the uid property.voidsetUrl(Uri value)Sets the value of the url property.java.lang.StringtoString()ImagingStudySerieswithAvailability(InstanceAvailability value)ImagingStudySerieswithBodySite(Coding value)ImagingStudySerieswithDescription(String value)ImagingStudySerieswithExtension(java.util.Collection<Extension> values)ImagingStudySerieswithExtension(Extension... values)ImagingStudySerieswithId(java.lang.String value)ImagingStudySerieswithInstance(java.util.Collection<ImagingStudyInstance> values)ImagingStudySerieswithInstance(ImagingStudyInstance... values)ImagingStudySerieswithLaterality(Coding value)ImagingStudySerieswithModality(Coding value)ImagingStudySerieswithModifierExtension(java.util.Collection<Extension> values)ImagingStudySerieswithModifierExtension(Extension... values)ImagingStudySerieswithNumber(UnsignedInt value)ImagingStudySerieswithNumberOfInstances(UnsignedInt value)ImagingStudySerieswithStarted(DateTime value)ImagingStudySerieswithUid(Oid value)ImagingStudySerieswithUrl(Uri value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
uid
protected Oid uid
-
number
protected UnsignedInt number
-
modality
protected Coding modality
-
description
protected String description
-
numberOfInstances
protected UnsignedInt numberOfInstances
-
availability
protected InstanceAvailability availability
-
url
protected Uri url
-
bodySite
protected Coding bodySite
-
laterality
protected Coding laterality
-
started
protected DateTime started
-
instance
protected java.util.List<ImagingStudyInstance> instance
-
-
Method Detail
-
setUid
public void setUid(Oid value)
Sets the value of the uid property.- Parameters:
value- allowed object isOid
-
getNumber
public UnsignedInt getNumber()
Gets the value of the number property.- Returns:
- possible object is
UnsignedInt
-
setNumber
public void setNumber(UnsignedInt value)
Sets the value of the number property.- Parameters:
value- allowed object isUnsignedInt
-
getModality
public Coding getModality()
Gets the value of the modality property.- Returns:
- possible object is
Coding
-
setModality
public void setModality(Coding value)
Sets the value of the modality property.- Parameters:
value- allowed object isCoding
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getNumberOfInstances
public UnsignedInt getNumberOfInstances()
Gets the value of the numberOfInstances property.- Returns:
- possible object is
UnsignedInt
-
setNumberOfInstances
public void setNumberOfInstances(UnsignedInt value)
Sets the value of the numberOfInstances property.- Parameters:
value- allowed object isUnsignedInt
-
getAvailability
public InstanceAvailability getAvailability()
Gets the value of the availability property.- Returns:
- possible object is
InstanceAvailability
-
setAvailability
public void setAvailability(InstanceAvailability value)
Sets the value of the availability property.- Parameters:
value- allowed object isInstanceAvailability
-
setUrl
public void setUrl(Uri value)
Sets the value of the url property.- Parameters:
value- allowed object isUri
-
getBodySite
public Coding getBodySite()
Gets the value of the bodySite property.- Returns:
- possible object is
Coding
-
setBodySite
public void setBodySite(Coding value)
Sets the value of the bodySite property.- Parameters:
value- allowed object isCoding
-
getLaterality
public Coding getLaterality()
Gets the value of the laterality property.- Returns:
- possible object is
Coding
-
setLaterality
public void setLaterality(Coding value)
Sets the value of the laterality property.- Parameters:
value- allowed object isCoding
-
getStarted
public DateTime getStarted()
Gets the value of the started property.- Returns:
- possible object is
DateTime
-
setStarted
public void setStarted(DateTime value)
Sets the value of the started property.- Parameters:
value- allowed object isDateTime
-
getInstance
public java.util.List<ImagingStudyInstance> getInstance()
Gets the value of the instance 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 instance property.For example, to add a new item, do as follows:
getInstance().add(newItem);Objects of the following type(s) are allowed in the list
ImagingStudyInstance
-
withUid
public ImagingStudySeries withUid(Oid value)
-
withNumber
public ImagingStudySeries withNumber(UnsignedInt value)
-
withModality
public ImagingStudySeries withModality(Coding value)
-
withDescription
public ImagingStudySeries withDescription(String value)
-
withNumberOfInstances
public ImagingStudySeries withNumberOfInstances(UnsignedInt value)
-
withAvailability
public ImagingStudySeries withAvailability(InstanceAvailability value)
-
withUrl
public ImagingStudySeries withUrl(Uri value)
-
withBodySite
public ImagingStudySeries withBodySite(Coding value)
-
withLaterality
public ImagingStudySeries withLaterality(Coding value)
-
withStarted
public ImagingStudySeries withStarted(DateTime value)
-
withInstance
public ImagingStudySeries withInstance(ImagingStudyInstance... values)
-
withInstance
public ImagingStudySeries withInstance(java.util.Collection<ImagingStudyInstance> values)
-
withModifierExtension
public ImagingStudySeries withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public ImagingStudySeries withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public ImagingStudySeries withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public ImagingStudySeries withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public ImagingStudySeries withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
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 classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
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 classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
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 classBackboneElement
-
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 classBackboneElement
-
-