<xsd:complexType name="EnrollmentType">
<xsd:sequence>
<xsd:element name="UniquePayloadTrackingId" type="EntityIdType" minOccurs="0" />
<xsd:element name="Organization" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="BenefitsAdministrativeAffiliate" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>These entities provides serivce to the Organization related to the organization's provision of benefits to subscribers.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:choice>
<xsd:element name="OrganizationName" type="xsd:string" />
<xsd:element name="PersonName" type="PersonNameType" />
</xsd:choice>
<xsd:element name="EntityRole">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Plan Sponsor" />
<xsd:enumeration value="Insurer" />
<xsd:enumeration value="Broker or Sales Office" />
<xsd:enumeration value="First Party Administrator" />
<xsd:enumeration value="Second Party Administrator" />
<xsd:enumeration value="Third Party Administrator" />
<xsd:enumeration value="Other Affiliate" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="AccountNumber" type="xsd:string" minOccurs="0" />
<xsd:element name="IdentificationCode" type="EntityIdType" minOccurs="0" />
<xsd:element name="ContactInformation" type="ContactMethodType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Subscriber" type="SubscriberDataType" maxOccurs="unbounded" />
<xsd:element name="OrganizationId" type="EntityIdType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="organizationName" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
<xsd:element ref="UserArea" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="transactionType">
<xsd:annotation>
<xsd:documentation>
This attribute comments on the criteria by which Organization, BenefitsAdministrativeAffiliate, and HumanResource entities were included in the payload. It is not intended as a processing instruction for the receiving system.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Change" />
<xsd:enumeration value="Full" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="creationDate" type="DateTimeType" use="required" />
<xsd:attribute name="originatorId" type="xsd:string" />
<xsd:attribute name="originatorName" type="xsd:string" />
<xsd:attribute name="baselineDate" type="LocalDateNkNaType" />
<xsd:attribute name="recipientId" type="xsd:string" />
<xsd:attribute name="recipientName" type="xsd:string" />
<xsd:attribute ref="xml:lang" />
</xsd:complexType>
|