Package org.hl7.fhir
Class ImagingStudyInstance
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.ImagingStudyInstance
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ImagingStudyInstance 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.Instance complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ImagingStudy.Instance"> <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="sopClass" type="{http://hl7.org/fhir}oid"/> <element name="type" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="content" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Attachment>contentprotected UnsignedIntnumberprotected OidsopClassprotected Stringtitleprotected Stringtypeprotected Oiduid-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ImagingStudyInstance()
-
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)java.util.List<Attachment>getContent()Gets the value of the content property.UnsignedIntgetNumber()Gets the value of the number property.OidgetSopClass()Gets the value of the sopClass property.StringgetTitle()Gets the value of the title property.StringgetType()Gets the value of the type property.OidgetUid()Gets the value of the uid property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetNumber(UnsignedInt value)Sets the value of the number property.voidsetSopClass(Oid value)Sets the value of the sopClass property.voidsetTitle(String value)Sets the value of the title property.voidsetType(String value)Sets the value of the type property.voidsetUid(Oid value)Sets the value of the uid property.java.lang.StringtoString()ImagingStudyInstancewithContent(java.util.Collection<Attachment> values)ImagingStudyInstancewithContent(Attachment... values)ImagingStudyInstancewithExtension(java.util.Collection<Extension> values)ImagingStudyInstancewithExtension(Extension... values)ImagingStudyInstancewithId(java.lang.String value)ImagingStudyInstancewithModifierExtension(java.util.Collection<Extension> values)ImagingStudyInstancewithModifierExtension(Extension... values)ImagingStudyInstancewithNumber(UnsignedInt value)ImagingStudyInstancewithSopClass(Oid value)ImagingStudyInstancewithTitle(String value)ImagingStudyInstancewithType(String value)ImagingStudyInstancewithUid(Oid 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
-
sopClass
protected Oid sopClass
-
type
protected String type
-
title
protected String title
-
content
protected java.util.List<Attachment> content
-
-
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
-
getSopClass
public Oid getSopClass()
Gets the value of the sopClass property.- Returns:
- possible object is
Oid
-
setSopClass
public void setSopClass(Oid value)
Sets the value of the sopClass property.- Parameters:
value- allowed object isOid
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getTitle
public String getTitle()
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
public void setTitle(String value)
Sets the value of the title property.- Parameters:
value- allowed object isString
-
getContent
public java.util.List<Attachment> getContent()
Gets the value of the content 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 content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
Attachment
-
withUid
public ImagingStudyInstance withUid(Oid value)
-
withNumber
public ImagingStudyInstance withNumber(UnsignedInt value)
-
withSopClass
public ImagingStudyInstance withSopClass(Oid value)
-
withType
public ImagingStudyInstance withType(String value)
-
withTitle
public ImagingStudyInstance withTitle(String value)
-
withContent
public ImagingStudyInstance withContent(Attachment... values)
-
withContent
public ImagingStudyInstance withContent(java.util.Collection<Attachment> values)
-
withModifierExtension
public ImagingStudyInstance withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public ImagingStudyInstance withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public ImagingStudyInstance withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public ImagingStudyInstance withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public ImagingStudyInstance 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
-
-