Package org.hl7.v3

Class COCTMT530000UVSubject2

java.lang.Object
org.hl7.v3.COCTMT530000UVSubject2

public class COCTMT530000UVSubject2 extends Object

Java class for COCT_MT530000UV.Subject2 complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="COCT_MT530000UV.Subject2">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{urn:hl7-org:v3}InfrastructureRootElements"/>
         <element name="sequenceNumber" type="{urn:hl7-org:v3}INT" minOccurs="0"/>
         <element name="awarenessCode" type="{urn:hl7-org:v3}CE" minOccurs="0"/>
         <choice>
           <element name="patient" type="{urn:hl7-org:v3}COCT_MT050000UV01.Patient"/>
           <element name="relatedEntity" type="{urn:hl7-org:v3}COCT_MT530000UV.RelatedEntity"/>
           <element name="specimen" type="{urn:hl7-org:v3}COCT_MT080000UV.Specimen"/>
         </choice>
       </sequence>
       <attGroup ref="{urn:hl7-org:v3}InfrastructureRootAttributes"/>
       <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
       <attribute name="typeCode" use="required" type="{urn:hl7-org:v3}ParticipationTargetSubject" />
       <attribute name="contextControlCode" type="{urn:hl7-org:v3}ContextControl" default="OP" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • COCTMT530000UVSubject2

      public COCTMT530000UVSubject2()
  • Method Details

    • getRealmCode

      public List<CS> getRealmCode()
      Gets the value of the realmCode 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 set method for the realmCode property.

      For example, to add a new item, do as follows:

          getRealmCode().add(newItem);
       

      Objects of the following type(s) are allowed in the list CS

    • getTypeId

      public II getTypeId()
      Gets the value of the typeId property.
      Returns:
      possible object is II
    • setTypeId

      public void setTypeId(II value)
      Sets the value of the typeId property.
      Parameters:
      value - allowed object is II
    • getTemplateId

      public List<II> getTemplateId()
      Gets the value of the templateId 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 set method for the templateId property.

      For example, to add a new item, do as follows:

          getTemplateId().add(newItem);
       

      Objects of the following type(s) are allowed in the list II

    • getSequenceNumber

      public INT getSequenceNumber()
      Gets the value of the sequenceNumber property.
      Returns:
      possible object is INT
    • setSequenceNumber

      public void setSequenceNumber(INT value)
      Sets the value of the sequenceNumber property.
      Parameters:
      value - allowed object is INT
    • getAwarenessCode

      public CE getAwarenessCode()
      Gets the value of the awarenessCode property.
      Returns:
      possible object is CE
    • setAwarenessCode

      public void setAwarenessCode(CE value)
      Sets the value of the awarenessCode property.
      Parameters:
      value - allowed object is CE
    • getPatient

      public jakarta.xml.bind.JAXBElement<COCTMT050000UV01Patient> getPatient()
      Gets the value of the patient property.
      Returns:
      possible object is JAXBElement<COCTMT050000UV01Patient>
    • setPatient

      public void setPatient(jakarta.xml.bind.JAXBElement<COCTMT050000UV01Patient> value)
      Sets the value of the patient property.
      Parameters:
      value - allowed object is JAXBElement<COCTMT050000UV01Patient>
    • getRelatedEntity

      public jakarta.xml.bind.JAXBElement<COCTMT530000UVRelatedEntity> getRelatedEntity()
      Gets the value of the relatedEntity property.
      Returns:
      possible object is JAXBElement<COCTMT530000UVRelatedEntity>
    • setRelatedEntity

      public void setRelatedEntity(jakarta.xml.bind.JAXBElement<COCTMT530000UVRelatedEntity> value)
      Sets the value of the relatedEntity property.
      Parameters:
      value - allowed object is JAXBElement<COCTMT530000UVRelatedEntity>
    • getSpecimen

      public jakarta.xml.bind.JAXBElement<COCTMT080000UVSpecimen> getSpecimen()
      Gets the value of the specimen property.
      Returns:
      possible object is JAXBElement<COCTMT080000UVSpecimen>
    • setSpecimen

      public void setSpecimen(jakarta.xml.bind.JAXBElement<COCTMT080000UVSpecimen> value)
      Sets the value of the specimen property.
      Parameters:
      value - allowed object is JAXBElement<COCTMT080000UVSpecimen>
    • getNullFlavor

      public List<String> getNullFlavor()
      Gets the value of the nullFlavor 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 set method for the nullFlavor property.

      For example, to add a new item, do as follows:

          getNullFlavor().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

    • getTypeCode

      public ParticipationTargetSubject getTypeCode()
      Gets the value of the typeCode property.
      Returns:
      possible object is ParticipationTargetSubject
    • setTypeCode

      public void setTypeCode(ParticipationTargetSubject value)
      Sets the value of the typeCode property.
      Parameters:
      value - allowed object is ParticipationTargetSubject
    • getContextControlCode

      public String getContextControlCode()
      Gets the value of the contextControlCode property.
      Returns:
      possible object is String
    • setContextControlCode

      public void setContextControlCode(String value)
      Sets the value of the contextControlCode property.
      Parameters:
      value - allowed object is String
    • withRealmCode

      public COCTMT530000UVSubject2 withRealmCode(CS... values)
    • withRealmCode

      public COCTMT530000UVSubject2 withRealmCode(Collection<CS> values)
    • withTypeId

      public COCTMT530000UVSubject2 withTypeId(II value)
    • withTemplateId

      public COCTMT530000UVSubject2 withTemplateId(II... values)
    • withTemplateId

      public COCTMT530000UVSubject2 withTemplateId(Collection<II> values)
    • withSequenceNumber

      public COCTMT530000UVSubject2 withSequenceNumber(INT value)
    • withAwarenessCode

      public COCTMT530000UVSubject2 withAwarenessCode(CE value)
    • withPatient

      public COCTMT530000UVSubject2 withPatient(jakarta.xml.bind.JAXBElement<COCTMT050000UV01Patient> value)
    • withRelatedEntity

      public COCTMT530000UVSubject2 withRelatedEntity(jakarta.xml.bind.JAXBElement<COCTMT530000UVRelatedEntity> value)
    • withSpecimen

      public COCTMT530000UVSubject2 withSpecimen(jakarta.xml.bind.JAXBElement<COCTMT080000UVSpecimen> value)
    • withNullFlavor

      public COCTMT530000UVSubject2 withNullFlavor(String... values)
    • withNullFlavor

      public COCTMT530000UVSubject2 withNullFlavor(Collection<String> values)
    • withTypeCode

    • withContextControlCode

      public COCTMT530000UVSubject2 withContextControlCode(String value)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class Object