Package be.fgov.ehealth.mycarenet.commons.core.v3

# Class PartyType

java.lang.Object
be.fgov.ehealth.mycarenet.commons.core.v3.PartyType

All Implemented Interfaces:
  `Serializable`

@Generated(value="com.sun.tools.xjc.Driver", date="2025-09-16T05:15:04+02:00", comments="JAXB RI v4.0.5") public class PartyType extends Object implements Serializable
Information about the party. A party is rather general. some examples are: 1) A physical person by itself. 2) A physical person working for an enterprise. 3) A enterprise by itself

Java class for PartyType complex type

.

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

     <complexType name="PartyType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="PhysicalPerson" type="{urn:be:fgov:ehealth:mycarenet:commons:core:v3}IdType" minOccurs="0"/>
             <element name="Organization" type="{urn:be:fgov:ehealth:mycarenet:commons:core:v3}IdType" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PartyType()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IdType`
  `getOrganization()`
  The organization (enterprise, laboratory, hospital, ...) that was authenticated to send the request.
  `IdType`
  `getPhysicalPerson()`
  The physical person that authenticated to send the request.
  `void`
  `setOrganization(IdType value)`
  Sets the value of the organization property.
  `void`
  `setPhysicalPerson(IdType value)`
  Sets the value of the physicalPerson property.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PartyType

    public PartyType()

- ## Method Details

  - ### getPhysicalPerson

    public IdType getPhysicalPerson()
    The physical person that authenticated to send the request. This can only be omitted when the organization was authenticated by a eHealth certificate. The SAML-ticket should contain the same information, although there are exception possible in case there is an organization. When not present in the SAML-ticket this information is treated as information. This data in this element should correspond to one or multiple of the following attributes: 1) urn:be:fgov:person:ssin 2) urn:be:fgov:ehealth:1.0:certificateholder:person:ssin
    Returns:
      possible object is `IdType`

  - ### setPhysicalPerson

    public void setPhysicalPerson(IdType value)
    Sets the value of the physicalPerson property.
    Parameters:
      `value` - allowed object is `IdType`
    See Also:
      - `getPhysicalPerson()`

  - ### getOrganization

    public IdType getOrganization()
    The organization (enterprise, laboratory, hospital, ...) that was authenticated to send the request. This can only be omitted when the sender isn't part of an organization that is relevant for the request. Organization that have no link with the requests should not be provided. For example, 'physical person A' should not specify his employer 'enterprise B' if he got a personal mandate from nurse C (his wife). The same information must be present in the SAML-ticket. It can be in one or multiple of the following attributes: 1)urn:be:fgov:ehealth:1.0:xxx:yyy-number 2) urn:be:fgov:ehealth:1.0:certificateholder:xxx:yyy-number
    Returns:
      possible object is `IdType`

  - ### setOrganization

    public void setOrganization(IdType value)
    Sets the value of the organization property.
    Parameters:
      `value` - allowed object is `IdType`
    See Also:
      - `getOrganization()`