Package org.hl7.v3

Class POCDMT000040PatientRole

java.lang.Object
org.hl7.v3.POCDMT000040PatientRole

public class POCDMT000040PatientRole extends Object

Java class for POCD_MT000040.PatientRole complex type.

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

 <complexType name="POCD_MT000040.PatientRole">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="realmCode" type="{urn:hl7-org:v3}CS" maxOccurs="unbounded" minOccurs="0"/>
         <element name="typeId" type="{urn:hl7-org:v3}POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0"/>
         <element name="templateId" type="{urn:hl7-org:v3}POCD_MT000040.InfrastructureRoot.templateId" maxOccurs="unbounded" minOccurs="0"/>
         <element name="id" type="{urn:hl7-org:v3}II" maxOccurs="unbounded"/>
         <element name="addr" type="{urn:hl7-org:v3}AD" maxOccurs="unbounded" minOccurs="0"/>
         <element name="telecom" type="{urn:hl7-org:v3}TEL" maxOccurs="unbounded" minOccurs="0"/>
         <element name="patient" type="{urn:hl7-org:v3}POCD_MT000040.Patient" minOccurs="0"/>
         <element name="providerOrganization" type="{urn:hl7-org:v3}POCD_MT000040.Organization" minOccurs="0"/>
       </sequence>
       <attribute name="nullFlavor" type="{urn:hl7-org:v3}NullFlavor" />
       <attribute name="classCode" type="{urn:hl7-org:v3}RoleClass" fixed="PAT" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • POCDMT000040PatientRole

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

      Gets the value of the typeId property.
      Returns:
      possible object is POCDMT000040InfrastructureRootTypeId
    • setTypeId

      public void setTypeId(POCDMT000040InfrastructureRootTypeId value)
      Sets the value of the typeId property.
      Parameters:
      value - allowed object is POCDMT000040InfrastructureRootTypeId
    • 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 POCDMT000040InfrastructureRootTemplateId

    • getElementId

      public List<II> getElementId()
      Gets the value of the elementId 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 elementId property.

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

          getElementId().add(newItem);
       

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

    • getAddr

      public List<AD> getAddr()
      Gets the value of the addr 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 addr property.

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

          getAddr().add(newItem);
       

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

    • getTelecom

      public List<TEL> getTelecom()
      Gets the value of the telecom 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 telecom property.

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

          getTelecom().add(newItem);
       

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

    • getPatient

      public POCDMT000040Patient getPatient()
      Gets the value of the patient property.
      Returns:
      possible object is POCDMT000040Patient
    • setPatient

      public void setPatient(POCDMT000040Patient value)
      Sets the value of the patient property.
      Parameters:
      value - allowed object is POCDMT000040Patient
    • getProviderOrganization

      public POCDMT000040Organization getProviderOrganization()
      Gets the value of the providerOrganization property.
      Returns:
      possible object is POCDMT000040Organization
    • setProviderOrganization

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

    • withRealmCode

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

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

    • withTemplateId

    • withTemplateId

    • withElementId

      public POCDMT000040PatientRole withElementId(II... values)
    • withElementId

      public POCDMT000040PatientRole withElementId(Collection<II> values)
    • withAddr

      public POCDMT000040PatientRole withAddr(AD... values)
    • withAddr

      public POCDMT000040PatientRole withAddr(Collection<AD> values)
    • withTelecom

      public POCDMT000040PatientRole withTelecom(TEL... values)
    • withTelecom

      public POCDMT000040PatientRole withTelecom(Collection<TEL> values)
    • withPatient

      public POCDMT000040PatientRole withPatient(POCDMT000040Patient value)
    • withProviderOrganization

      public POCDMT000040PatientRole withProviderOrganization(POCDMT000040Organization value)
    • withNullFlavor

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

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

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

      public POCDMT000040PatientRole withClassCode(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