Package org.hl7.v3

Class COCTMT260003UVOtherMedication

java.lang.Object
org.hl7.v3.COCTMT260003UVOtherMedication

public class COCTMT260003UVOtherMedication extends Object

Java class for COCT_MT260003UV.OtherMedication complex type.

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

 <complexType name="COCT_MT260003UV.OtherMedication">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{urn:hl7-org:v3}InfrastructureRootElements"/>
         <element name="consumable" type="{urn:hl7-org:v3}COCT_MT260003UV.Consumable"/>
       </sequence>
       <attGroup ref="{urn:hl7-org:v3}InfrastructureRootAttributes"/>
       <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
       <attribute name="classCode" use="required" type="{urn:hl7-org:v3}ActClass" fixed="SBADM" />
       <attribute name="moodCode" use="required" type="{urn:hl7-org:v3}ActMood" fixed="EVN" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • COCTMT260003UVOtherMedication

      public COCTMT260003UVOtherMedication()
  • 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

    • getConsumable

      public COCTMT260003UVConsumable getConsumable()
      Gets the value of the consumable property.
      Returns:
      possible object is COCTMT260003UVConsumable
    • setConsumable

      public void setConsumable(COCTMT260003UVConsumable value)
      Sets the value of the consumable property.
      Parameters:
      value - allowed object is COCTMT260003UVConsumable
    • 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

    • getClassCode

      public List<String> getClassCode()
      Gets the value of the classCode 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 classCode property.

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

          getClassCode().add(newItem);
       

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

    • getMoodCode

      public List<String> getMoodCode()
      Gets the value of the moodCode 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 moodCode property.

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

          getMoodCode().add(newItem);
       

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

    • withRealmCode

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

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

      public COCTMT260003UVOtherMedication withTypeId(II value)
    • withTemplateId

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

      public COCTMT260003UVOtherMedication withTemplateId(Collection<II> values)
    • withConsumable

    • withNullFlavor

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

      public COCTMT260003UVOtherMedication withNullFlavor(Collection<String> values)
    • withClassCode

      public COCTMT260003UVOtherMedication withClassCode(String... values)
    • withClassCode

      public COCTMT260003UVOtherMedication withClassCode(Collection<String> values)
    • withMoodCode

      public COCTMT260003UVOtherMedication withMoodCode(String... values)
    • withMoodCode

      public COCTMT260003UVOtherMedication withMoodCode(Collection<String> values)
    • 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