cancel
Showing results for 
Search instead for 
Did you mean: 

Pacific Blue Cross Interface

yajjala1
Participant
0 Kudos

Hi,

We are planning to create interface from our Netweaver 2005 ERP to PBC (pacific blue cross).

The following XSD file PBC send it to us.

Here is simple scenario.

Custom RFC -- TO - PGP Encryption FILE -


TO- SFTP to PBC.

Could any one help me with Design.

How can I approach this. How any data types , How many message types and MEssage interfaces and mappings.

THanks a Lot in advance.

<?xml version="1.0" encoding="UTF-8"?>

<!-- edited with XMLSpy v2007 (http://www.altova.com) by Elsa Berruecos (PACIFIC BLUE CROSS) -->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://pac.bluecross.ca/CMF/V1/eBusiness/BenefitEnrollment" targetNamespace="http://pac.bluecross.ca/CMF/V1/eBusiness/BenefitEnrollment" elementFormDefault="qualified" version="1.0">

<xsd:annotation>

<xsd:documentation>eCMF - BenefitEnrollment</xsd:documentation>

<xsd:documentation>eBusiness Common Message Format for Benefit Enrollment and Maintenance Transactions</xsd:documentation>

<xsd:documentation>Copyright Pacific Blue Cross 2006, all rights reserved</xsd:documentation>

<xsd:documentation>Build 1007b</xsd:documentation>

</xsd:annotation>

<!-- element declaration for CMFVersion -->

<xsd:element name="CMFVersion">

<xsd:annotation>

<xsd:documentation>CMFVersion - versions of Benefit Enrollment canonical message format

which instances of this schema are compatible with - documents with the same major

version number should be forward compatible (i.e. an instance of v. 1.0 should still be

valid with v. 1.1 and forward)</xsd:documentation>

<xsd:documentation>The CMFVersion attribute is an enforceable constraint. Instances will not

validate without a version number allowed by the constraints set out below .</xsd:documentation>

<xsd:documentation>Where a new schema extends the namespace (e.g. by adding new elements),

but does not invalidate previously valid documents, instance documents targeted at a

previous version of the CMF should not have to change if they remain valid with the new version

of the schema. </xsd:documentation>

<xsd:documentation>Therefore, the schema must indicate the range of version numbers with which

it is backward-compatible. For example:</xsd:documentation>

<xsd:documentation>- v 1.0 of the schema is released and instances are all pegged at 1.0</xsd:documentation>

<xsd:documentation>- v 1.1 adds a new element and validates instances of 1.0 as well as 1.1</xsd:documentation>

<xsd:documentation>- v 1.2 adds a new element and validates instances of 1.0, 1.1 and 1.2</xsd:documentation>

<xsd:documentation>- v 1.3 changes the type of an element introduced in 1.0 and validates 1.0, 1.1 and 1.3, but not 1.2</xsd:documentation>

<xsd:documentation>- v 1.4 adds a new element and validates instances of 1.0, 1.1, 1.3 and 1.4</xsd:documentation>

<xsd:documentation>This type of restriction is comparatively more difficult to express as a regular expression, which

can become unwieldy as the minor revision no. extend by a new digit (e.g. 1.2 vs. 1.20, etc...),

hence the use of an enumeration to which it should typically only be necessary to add and in

a few cases such as v 1.3 remove a value.</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:enumeration value="1.0"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

<!-- constrained simpleType declarations -->

<xsd:simpleType name="OrgName">

<xsd:annotation>

<xsd:documentation>OrgName - extension of XML string type to restrict the length of organization names between 1 and 30 characters.</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:minLength value="1"/>

<xsd:maxLength value="60"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="NameType">

<xsd:annotation>

<xsd:documentation>NameType - extension of XML string type to restrict the values of a name's type to two values: common or legal.</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:enumeration value="COMMON"/>

<xsd:enumeration value="LEGAL"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="ProvinceType">

<xsd:annotation>

<xsd:documentation>Province - two-letter province code assigned by Canada Post</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:enumeration value="AB">

<xsd:annotation>

<xsd:documentation>AB - Alberta</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="BC">

<xsd:annotation>

<xsd:documentation>BC - British Columbia</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="MB">

<xsd:annotation>

<xsd:documentation>MB - Manitoba</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="NB">

<xsd:annotation>

<xsd:documentation>NB - New Brunswick</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="NL">

<xsd:annotation>

<xsd:documentation>NL - Newfoundland and Labrador</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="NS">

<xsd:annotation>

<xsd:documentation>NS - Nova Scotia</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="NT">

<xsd:annotation>

<xsd:documentation>NT - Northwest Territory</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="NU">

<xsd:annotation>

<xsd:documentation>NU - Nunavut</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="ON">

<xsd:annotation>

<xsd:documentation>ON - Ontario</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="PE">

<xsd:annotation>

<xsd:documentation>PE - Prince Edward Island</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="QC">

<xsd:annotation>

<xsd:documentation>QC - Quebec</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="SK">

<xsd:annotation>

<xsd:documentation>SK - Saskatchewan</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

<xsd:enumeration value="YT">

<xsd:annotation>

<xsd:documentation>YT - Yukon Territories</xsd:documentation>

</xsd:annotation>

</xsd:enumeration>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="AmericanStateType">

<xsd:annotation>

<xsd:documentation>A valid two character string restricted to ISO 3166-2 for US country</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:enumeration value="AA"/>

<xsd:enumeration value="AE"/>

<xsd:enumeration value="AK"/>

<xsd:enumeration value="AL"/>

<xsd:enumeration value="AP"/>

<xsd:enumeration value="AR"/>

<xsd:enumeration value="AS"/>

<xsd:enumeration value="AZ"/>

<xsd:enumeration value="CA"/>

<xsd:enumeration value="CO"/>

<xsd:enumeration value="CT"/>

<xsd:enumeration value="DC"/>

<xsd:enumeration value="DE"/>

<xsd:enumeration value="FL"/>

<xsd:enumeration value="FM"/>

<xsd:enumeration value="GA"/>

<xsd:enumeration value="GU"/>

<xsd:enumeration value="HI"/>

<xsd:enumeration value="IA"/>

<xsd:enumeration value="ID"/>

<xsd:enumeration value="IL"/>

<xsd:enumeration value="IN"/>

<xsd:enumeration value="KS"/>

<xsd:enumeration value="KY"/>

<xsd:enumeration value="LA"/>

<xsd:enumeration value="MA"/>

<xsd:enumeration value="MD"/>

<xsd:enumeration value="ME"/>

<xsd:enumeration value="MH"/>

<xsd:enumeration value="MI"/>

<xsd:enumeration value="MN"/>

<xsd:enumeration value="MO"/>

<xsd:enumeration value="MP"/>

<xsd:enumeration value="MS"/>

<xsd:enumeration value="MT"/>

<xsd:enumeration value="NC"/>

<xsd:enumeration value="ND"/>

<xsd:enumeration value="NE"/>

<xsd:enumeration value="NH"/>

<xsd:enumeration value="NJ"/>

<xsd:enumeration value="NM"/>

<xsd:enumeration value="NV"/>

<xsd:enumeration value="NY"/>

<xsd:enumeration value="OH"/>

<xsd:enumeration value="OK"/>

<xsd:enumeration value="OR"/>

<xsd:enumeration value="PA"/>

<xsd:enumeration value="PR"/>

<xsd:enumeration value="PW"/>

<xsd:enumeration value="RI"/>

<xsd:enumeration value="SC"/>

<xsd:enumeration value="SD"/>

<xsd:enumeration value="TN"/>

<xsd:enumeration value="TX"/>

<xsd:enumeration value="UM"/>

<xsd:enumeration value="UT"/>

<xsd:enumeration value="VA"/>

<xsd:enumeration value="VI"/>

<xsd:enumeration value="VT"/>

<xsd:enumeration value="WA"/>

<xsd:enumeration value="WV"/>

<xsd:enumeration value="WI"/>

<xsd:enumeration value="WY"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="AmericanStateResidenceType">

<xsd:annotation>

<xsd:documentation>A valid two character string restricted to ISO 3166-2 for US country or "UNKNOWN"</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:enumeration value="AA"/>

<xsd:enumeration value="AE"/>

<xsd:enumeration value="AK"/>

<xsd:enumeration value="AL"/>

<xsd:enumeration value="AP"/>

<xsd:enumeration value="AR"/>

<xsd:enumeration value="AS"/>

<xsd:enumeration value="AZ"/>

<xsd:enumeration value="CA"/>

<xsd:enumeration value="CO"/>

<xsd:enumeration value="CT"/>

<xsd:enumeration value="DC"/>

<xsd:enumeration value="DE"/>

<xsd:enumeration value="FL"/>

<xsd:enumeration value="FM"/>

<xsd:enumeration value="GA"/>

<xsd:enumeration value="GU"/>

<xsd:enumeration value="HI"/>

<xsd:enumeration value="IA"/>

<xsd:enumeration value="ID"/>

<xsd:enumeration value="IL"/>

<xsd:enumeration value="IN"/>

<xsd:enumeration value="KS"/>

<xsd:enumeration value="KY"/>

<xsd:enumeration value="LA"/>

<xsd:enumeration value="MA"/>

<xsd:enumeration value="MD"/>

<xsd:enumeration value="ME"/>

<xsd:enumeration value="MH"/>

<xsd:enumeration value="MI"/>

<xsd:enumeration value="MN"/>

<xsd:enumeration value="MO"/>

<xsd:enumeration value="MP"/>

<xsd:enumeration value="MS"/>

<xsd:enumeration value="MT"/>

<xsd:enumeration value="NC"/>

<xsd:enumeration value="ND"/>

<xsd:enumeration value="NE"/>

<xsd:enumeration value="NH"/>

<xsd:enumeration value="NJ"/>

<xsd:enumeration value="NM"/>

<xsd:enumeration value="NV"/>

<xsd:enumeration value="NY"/>

<xsd:enumeration value="OH"/>

<xsd:enumeration value="OK"/>

<xsd:enumeration value="OR"/>

<xsd:enumeration value="PA"/>

<xsd:enumeration value="PR"/>

<xsd:enumeration value="PW"/>

<xsd:enumeration value="RI"/>

<xsd:enumeration value="SC"/>

<xsd:enumeration value="SD"/>

<xsd:enumeration value="TN"/>

<xsd:enumeration value="TX"/>

<xsd:enumeration value="UM"/>

<xsd:enumeration value="UT"/>

<xsd:enumeration value="VA"/>

<xsd:enumeration value="VI"/>

<xsd:enumeration value="VT"/>

<xsd:enumeration value="WA"/>

<xsd:enumeration value="WV"/>

<xsd:enumeration value="WI"/>

<xsd:enumeration value="WY"/>

<xsd:enumeration value="UNKNOWN"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="CountryType">

<xsd:annotation>

<xsd:documentation>Country - two-letter country code assigned by the ISO 3166-1-Alpha-2. Excluding Canada and USA</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:length value="2"/>

<xsd:enumeration value="AF"/>

<xsd:enumeration value="AX"/>

<xsd:enumeration value="AL"/>

<xsd:enumeration value="DZ"/>

<xsd:enumeration value="AS"/>

<xsd:enumeration value="AD"/>

<xsd:enumeration value="AO"/>

<xsd:enumeration value="AI"/>

<xsd:enumeration value="AQ"/>

<xsd:enumeration value="AG"/>

<xsd:enumeration value="AR"/>

<xsd:enumeration value="AM"/>

<xsd:enumeration value="AW"/>

<xsd:enumeration value="AU"/>

<xsd:enumeration value="AT"/>

<xsd:enumeration value="AZ"/>

<xsd:enumeration value="BS"/>

<xsd:enumeration value="BH"/>

<xsd:enumeration value="BD"/>

<xsd:enumeration value="BB"/>

<xsd:enumeration value="BY"/>

<xsd:enumeration value="BE"/>

<xsd:enumeration value="BZ"/>

<xsd:enumeration value="BJ"/>

<xsd:enumeration value="BM"/>

<xsd:enumeration value="BT"/>

<xsd:enumeration value="BO"/>

<xsd:enumeration value="BA"/>

<xsd:enumeration value="BW"/>

<xsd:enumeration value="BV"/>

<xsd:enumeration value="BR"/>

<xsd:enumeration value="IO"/>

<xsd:enumeration value="BN"/>

<xsd:enumeration value="BG"/>

<xsd:enumeration value="BF"/>

<xsd:enumeration value="BI"/>

<xsd:enumeration value="KH"/>

<xsd:enumeration value="CM"/>

<xsd:enumeration value="CV"/>

<xsd:enumeration value="KY"/>

<xsd:enumeration value="CF"/>

<xsd:enumeration value="TD"/>

<xsd:enumeration value="CL"/>

<xsd:enumeration value="CN"/>

<xsd:enumeration value="CX"/>

<xsd:enumeration value="CC"/>

<xsd:enumeration value="CO"/>

<xsd:enumeration value="KM"/>

<xsd:enumeration value="CG"/>

<xsd:enumeration value="CD"/>

<xsd:enumeration value="CK"/>

<xsd:enumeration value="CR"/>

<xsd:enumeration value="CI"/>

<xsd:enumeration value="HR"/>

<xsd:enumeration value="CU"/>

<xsd:enumeration value="CY"/>

<xsd:enumeration value="CZ"/>

<xsd:enumeration value="DK"/>

<xsd:enumeration value="DJ"/>

<xsd:enumeration value="DM"/>

<xsd:enumeration value="DO"/>

<xsd:enumeration value="EC"/>

<xsd:enumeration value="EG"/>

<xsd:enumeration value="SV"/>

<xsd:enumeration value="GQ"/>

<xsd:enumeration value="ER"/>

<xsd:enumeration value="EE"/>

<xsd:enumeration value="ET"/>

<xsd:enumeration value="FK"/>

<xsd:enumeration value="FO"/>

<xsd:enumeration value="FJ"/>

<xsd:enumeration value="FI"/>

<xsd:enumeration value="FR"/>

<xsd:enumeration value="GF"/>

<xsd:enumeration value="PF"/>

<xsd:enumeration value="TF"/>

<xsd:enumeration value="GA"/>

<xsd:enumeration value="GM"/>

<xsd:enumeration value="GE"/>

<xsd:enumeration value="DE"/>

<xsd:enumeration value="GH"/>

<xsd:enumeration value="GI"/>

<xsd:enumeration value="GR"/>

<xsd:enumeration value="GL"/>

<xsd:enumeration value="GD"/>

<xsd:enumeration value="GP"/>

<xsd:enumeration value="GU"/>

<xsd:enumeration value="GT"/>

<xsd:enumeration value="GG"/>

<xsd:enumeration value="GN"/>

<xsd:enumeration value="GW"/>

<xsd:enumeration value="GY"/>

<xsd:enumeration value="HT"/>

<xsd:enumeration value="HM"/>

<xsd:enumeration value="VA"/>

<xsd:enumeration value="HN"/>

<xsd:enumeration value="HK"/>

<xsd:enumeration value="HU"/>

<xsd:enumeration value="IS"/>

<xsd:enumeration value="IN"/>

<xsd:enumeration value="ID"/>

<xsd:enumeration value="IR"/>

<xsd:enumeration value="IQ"/>

<xsd:enumeration value="IE"/>

<xsd:enumeration value="IM"/>

<xsd:enumeration value="IL"/>

<xsd:enumeration value="IT"/>

<xsd:enumeration value="JM"/>

<xsd:enumeration value="JP"/>

<xsd:enumeration value="JE"/>

<xsd:enumeration value="JO"/>

<xsd:enumeration value="KZ"/>

<xsd:enumeration value="KE"/>

<xsd:enumeration value="KI"/>

<xsd:enumeration value="KP"/>

<xsd:enumeration value="KR"/>

<xsd:enumeration value="KW"/>

<xsd:enumeration value="KG"/>

<xsd:enumeration value="LA"/>

<xsd:enumeration value="LV"/>

<xsd:enumeration value="LB"/>

<xsd:enumeration value="LS"/>

<xsd:enumeration value="LR"/>

<xsd:enumeration value="LY"/>

<xsd:enumeration value="LI"/>

<xsd:enumeration value="LT"/>

<xsd:enumeration value="LU"/>

<xsd:enumeration value="MO"/>

<xsd:enumeration value="MK"/>

<xsd:enumeration value="MG"/>

<xsd:enumeration value="MW"/>

<xsd:enumeration value="MY"/>

<xsd:enumeration value="MV"/>

<xsd:enumeration value="ML"/>

<xsd:enumeration value="MT"/>

<xsd:enumeration value="MH"/>

<xsd:enumeration value="MQ"/>

<xsd:enumeration value="MR"/>

<xsd:enumeration value="MU"/>

<xsd:enumeration value="YT"/>

<xsd:enumeration value="MX"/>

<xsd:enumeration value="FM"/>

<xsd:enumeration value="MD"/>

<xsd:enumeration value="MC"/>

<xsd:enumeration value="MN"/>

<xsd:enumeration value="ME"/>

<xsd:enumeration value="MS"/>

<xsd:enumeration value="MA"/>

<xsd:enumeration value="MZ"/>

<xsd:enumeration value="MM"/>

<xsd:enumeration value="NA"/>

<xsd:enumeration value="NR"/>

<xsd:enumeration value="NP"/>

<xsd:enumeration value="NL"/>

<xsd:enumeration value="AN"/>

<xsd:enumeration value="NC"/>

<xsd:enumeration value="NZ"/>

<xsd:enumeration value="NI"/>

<xsd:enumeration value="NE"/>

<xsd:enumeration value="NG"/>

<xsd:enumeration value="NU"/>

<xsd:enumeration value="NF"/>

<xsd:enumeration value="MP"/>

<xsd:enumeration value="NO"/>

<xsd:enumeration value="OM"/>

<xsd:enumeration value="PK"/>

<xsd:enumeration value="PW"/>

<xsd:enumeration value="PS"/>

<xsd:enumeration value="PA"/>

<xsd:enumeration value="PG"/>

<xsd:enumeration value="PY"/>

<xsd:enumeration value="PE"/>

<xsd:enumeration value="PH"/>

<xsd:enumeration value="PN"/>

<xsd:enumeration value="PL"/>

<xsd:enumeration value="PT"/>

<xsd:enumeration value="PR"/>

<xsd:enumeration value="QA"/>

<xsd:enumeration value="RE"/>

<xsd:enumeration value="RO"/>

<xsd:enumeration value="RU"/>

<xsd:enumeration value="RW"/>

<xsd:enumeration value="SH"/>

<xsd:enumeration value="KN"/>

<xsd:enumeration value="LC"/>

<xsd:enumeration value="PM"/>

<xsd:enumeration value="VC"/>

<xsd:enumeration value="WS"/>

<xsd:enumeration value="SM"/>

<xsd:enumeration value="ST"/>

<xsd:enumeration value="SA"/>

<xsd:enumeration value="SN"/>

<xsd:enumeration value="RS"/>

<xsd:enumeration value="SC"/>

<xsd:enumeration value="SL"/>

<xsd:enumeration value="SG"/>

<xsd:enumeration value="SK"/>

<xsd:enumeration value="SI"/>

<xsd:enumeration value="SB"/>

<xsd:enumeration value="SO"/>

<xsd:enumeration value="ZA"/>

<xsd:enumeration value="GS"/>

<xsd:enumeration value="ES"/>

<xsd:enumeration value="LK"/>

<xsd:enumeration value="SD"/>

<xsd:enumeration value="SR"/>

<xsd:enumeration value="SJ"/>

<xsd:enumeration value="SZ"/>

<xsd:enumeration value="SE"/>

<xsd:enumeration value="CH"/>

<xsd:enumeration value="SY"/>

<xsd:enumeration value="TW"/>

<xsd:enumeration value="TJ"/>

<xsd:enumeration value="TZ"/>

<xsd:enumeration value="TH"/>

<xsd:enumeration value="TL"/>

<xsd:enumeration value="TG"/>

<xsd:enumeration value="TK"/>

<xsd:enumeration value="TO"/>

<xsd:enumeration value="TT"/>

<xsd:enumeration value="TN"/>

<xsd:enumeration value="TR"/>

<xsd:enumeration value="TM"/>

<xsd:enumeration value="TC"/>

<xsd:enumeration value="TV"/>

<xsd:enumeration value="UG"/>

<xsd:enumeration value="UA"/>

<xsd:enumeration value="AE"/>

<xsd:enumeration value="GB"/>

<xsd:enumeration value="UM"/>

<xsd:enumeration value="UY"/>

<xsd:enumeration value="UZ"/>

<xsd:enumeration value="VU"/>

<xsd:enumeration value="VE"/>

<xsd:enumeration value="VN"/>

<xsd:enumeration value="VG"/>

<xsd:enumeration value="VI"/>

<xsd:enumeration value="WF"/>

<xsd:enumeration value="EH"/>

<xsd:enumeration value="YE"/>

<xsd:enumeration value="ZM"/>

<xsd:enumeration value="ZW"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="PostalCodeType">

<xsd:annotation>

<xsd:documentation>PostalCode - Canadian postal code excluding punctuation and blanks - alphabetic characters are restricted to upper-case</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:pattern value="[A-Z][0-9][A-Z][0-9][A-Z][0-9]"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="ZIPCodeType">

<xsd:annotation>

<xsd:documentation>ZIPCode - US ZIP code - 5 digits</xsd:documentation>

</xsd:annotation>

<xsd:restriction base="xsd:string">

<xsd:pattern value="[0-9]"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="EmailAddressType"> <xsd:annotation> <xsd:documentation>EmailAddress - complete e-mail address</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:minLength value="6"/> <xsd:maxLength value="256"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="MemberIdType"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="9"/> <xsd:pattern value="[0-9]+"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="AmountType"> <xsd:restriction base="xsd:decimal"> <xsd:fractionDigits value="2"/> <xsd:minInclusive value="0.00"/> <xsd:maxExclusive value="999999.99"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="CancelReasonType"> <xsd:annotation> <xsd:documentation>Cancel reason: two character code indicating why coverage is cancelled. 00 - leave of absence, 01 - left company,02 - laid off, 03 - death, 04 - discontinued coverage, 06 - transferred, 07 - group cancel and transfer, 09 - retired, 10 - unknown, 12 - at subscriber's request, 14 - lifetime limit reached, 15 - cancel spouse and add new, 16 - benefits waived no reason, 17 - benefits waived spousal, 18 - discontinued coverage maternity leave,19 - transferred to another Canadian Blue Cross20 - transferred to different carrier, 21 - has own coverage, 22 - divorced / separated, 24 - no provincial medical plan, 25 - pension expired, 26 - on disability, 27 - stricke / lockout, 28 - no longer eligible, Default set to 10 - unknown </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="00"> <xsd:annotation> <xsd:documentation>00 - leave of absence</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="01"> <xsd:annotation> <xsd:documentation>01 - left company</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="02"> <xsd:annotation> <xsd:documentation>02 - laid off</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="03"> <xsd:annotation> <xsd:documentation>03 - death</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="04"> <xsd:annotation> <xsd:documentation>04 - discontinued coverage</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="06"> <xsd:annotation> <xsd:documentation>06 - transferred</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="07"> <xsd:annotation> <xsd:documentation>07 - group cancel and transfer</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="09"> <xsd:annotation> <xsd:documentation>09 - retired</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="10"> <xsd:annotation> <xsd:documentation>10 - unknown</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="12"> <xsd:annotation> <xsd:documentation>12 - at subscriber's request</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="14"> <xsd:annotation> <xsd:documentation>14 - lifetime limit reached</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="15"> <xsd:annotation> <xsd:documentation>15 - cancel spouse and add new</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="16"> <xsd:annotation> <xsd:documentation>16 - benefits waived, no reason</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="17"> <xsd:annotation> <xsd:documentation>17 - benefits waived, spousal</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="18"> <xsd:annotation> <xsd:documentation>18 - discontinued coverage, maternity leave</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="19"> <xsd:annotation> <xsd:documentation>19 - transferred to another Canadian Blue Cross</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="20"> <xsd:annotation> <xsd:documentation>20 - transferred to different carrier</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="21"> <xsd:annotation> <xsd:documentation>21 - has own coverage</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="22"> <xsd:annotation> <xsd:documentation>22 - divorced / separated</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="24"> <xsd:annotation> <xsd:documentation>24 - no provincial medical plan</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="25"> <xsd:annotation> <xsd:documentation>25 - pension expired</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="26"> <xsd:annotation> <xsd:documentation>26 - on disability</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="27"> <xsd:annotation> <xsd:documentation>27 - strike / lockout</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="28"> <xsd:annotation> <xsd:documentation>28 - no longer eligible</xsd:documentation> </xsd:annotation> </xsd:enumeration> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="DependentNumberType"> <xsd:annotation> <xsd:documentation>Unique id that identifies a dependent within the covered family. Valid values from 01 to 99</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9]"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="IndividualRelationshipType"> <xsd:annotation> <xsd:documentation>IndividualRelationship - relationship between the member (subscriber and the dependent, implemented as a string which is constrained to SPP for spouse or life partner, CHL for child, PRT for parent, WAD for legal ward, OTH for other</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="SPP"/> <xsd:enumeration value="CHL"/> <xsd:enumeration value="PRT"/> <xsd:enumeration value="WAD"/> <xsd:enumeration value="OTH"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="FirstNameType"> <xsd:annotation> <xsd:documentation>First given name. A string between 1 and 35 characters> It may include upper cases, lower cases, spaces to separate names, hyphens and apostrophes. It should not include title (Dr., Ms., Mr, etc), use element NamePrefix for that purpose. </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:maxLength value="35"/> <xsd:minLength value="1"/> <xsd:pattern value="[A-Za-z\-&apos;&#x20;]*"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="MiddleNameType"> <xsd:annotation> <xsd:documentation>Middle Name. MiddleName - a string of between 1 and 25 alphabetic characters restricted to upper-case. </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:maxLength value="25"/> <xsd:pattern value="[A-Za-z\-&apos;&#x20;]*"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="LastNameType"> <xsd:annotation> <xsd:documentation>Person surname - a string of between 1 and 25 alphabetic characters. It should be written in title case for clarity (each word starts with upper case letter followed by lower cases) . It may include apostrophes, hyphens to joint names and spaces to separate names. </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:maxLength value="25"/> <xsd:minLength value="1"/> <xsd:pattern value="[A-Za-z\-&apos;&#x20;]*"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="MaidenNameType"> <xsd:annotation> <xsd:documentation>Person maiden name- the former family name of a married woman who has assumed her husband's family name. A string of between 1 and 25 alphabetic characters. It may include upper cases, lower cases, apostrophes, hyphens to joint names, and spaces to separate names. </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:maxLength value="25"/> <xsd:pattern value="[A-Za-z\-&apos;&#x20;]*"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="GenderType"> <xsd:annotation> <xsd:documentation>Gender - M Male, F Female, U Unkown</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="M"/> <xsd:enumeration value="F"/> <xsd:enumeration value="U"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="StudentStatusType"> <xsd:annotation> <xsd:documentation>StudentStatus - string indicating whether the person is a student. F-FullTime student, N-Not a student, defaults to N</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="F"/> <xsd:enumeration value="N"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="HandicapType"> <xsd:annotation> <xsd:documentation>Handicap - string indicating whether the person is handicapped. Y-Yes, N-No, U Unknown </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Y"/> <xsd:enumeration value="N"/> <xsd:enumeration value="U"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="PHNType"> <xsd:annotation> <xsd:documentation>PHN - BC Health Number, a string of 10 digits the Personal Health Number is a unique numerical lifetime identifier used in the specific identification of an individual client or patient who has any interaction with the BC health system - PBC will require the PHN of its members to enroll them into a MSP plan</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9]"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="LanguageCodeType"> <xsd:annotation> <xsd:documentation>Language to use in member communications: ENG for English and FRE for French</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="FRE"/> <xsd:enumeration value="ENG"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="NamePrefixType"> <xsd:annotation> <xsd:documentation>Title of courtesy used before the name of a person. Examples: Mr., Ms., Dr., Miss., etc</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:maxLength value="10"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="NameSuffixType"> <xsd:annotation> <xsd:documentation>Word or words added at the end of a person's name. Example: II (the third), III (the third), Jr (Junior)., Sr. (Senior), etc</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:maxLength value="10"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="CityType"> <xsd:restriction base="xsd:string"> <xsd:minLength value="2"/> <xsd:maxLength value="30"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="SectionType"> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9A-Z]"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="BenefitPackageCodeType"> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9A-Z]"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="DentalLateApplicationType"> <xsd:annotation> <xsd:documentation>DentalLateApplication - flag set to Y if the person is a late applicant for dental. Otherwise, set to N or omit.</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Y"/> <xsd:enumeration value="N"/> </xsd:restriction> </xsd:simpleType> <!-- complexType declarations --> <xsd:complexType name="TelephoneNumberType"> <xsd:annotation> <xsd:documentation>Phone number including country code, area code, local number and extension when applicable</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="CountryCode"> <xsd:annotation> <xsd:documentation>Telephone country code - string from 1 to 999</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[1-9]?[1-9]"/> <xsd:pattern value="[1-9][0]"/> <xsd:pattern value="[1-9][0-9]"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="AreaCode"> <xsd:annotation> <xsd:documentation>Telephone country code- string from 1 to 9999</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[1-9]?[1-9]"/> <xsd:pattern value="[1-9][0]"/> <xsd:pattern value="[1-9][0-9]{2,3}"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="LocalNumber"> <xsd:annotation> <xsd:documentation>Local telephone number - string of seven digit</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9]"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Extension" minOccurs="0"> <xsd:annotation> <xsd:documentation>Telephone extension number - string from 1 to 99999</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[1-9]?[1-9]"/> <xsd:pattern value="[1-9][0]"/> <xsd:pattern value="[1-9][0-9]{2,4}"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="EffectiveDate"> <xsd:annotation> <xsd:documentation>EffectiveDate - extension of XML date type to include an optional cross-reference attribute which can be used to indicate which of a set of group numbers a start date applies to.</xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:extension base="xsd:date"> <xsd:attribute name="xref" type="xsd:integer" use="optional"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <xsd:complexType name="CreationInfoType"> <xsd:annotation> <xsd:documentation>CreationInfoType - creation information for a high-level element such as a transaction set for example - date, time and timezone</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="CreationDate" type="xsd:date"> <xsd:annotation> <xsd:documentation>CreationDate - the transaction set creation date, expressed using XML's native calendar date type</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="CreationTime" type="xsd:time"> <xsd:annotation> <xsd:documentation>CreationTime - the transaction set creation time, expressed using XML's native calendar time type</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="TimeZone"> <xsd:annotation> <xsd:documentation>TimeZone - time zone code, a two character string restricted to ISO 8601 codes - PS as of July 26, 2006</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="PS"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="TypedName"> <xsd:annotation> <xsd:documentation>TypedName - extension of OrgName simple type to include a type with a default value of common.</xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:extension base="OrgName"> <xsd:attribute name="type" type="NameType" default="COMMON"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <xsd:complexType name="AdminContactType"> <xsd:annotation> <xsd:documentation>ContactInfoType - information on a contact at an organization, such as his/her function, name, telephone number, e-mail address, etc...</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="Function"> <xsd:annotation> <xsd:documentation>Function - code identifying the major duty or responsibility of the person or group named</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:length value="2"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Name" minOccurs="0"> <xsd:annotation> <xsd:documentation>Name - free-form name, restricted in length from 1 to 60 characters</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:minLength value="1"/> <xsd:maxLength value="60"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="TelephoneNumber" type="TelephoneNumberType" minOccurs="0"> <xsd:annotation> <xsd:documentation>TelephoneNumber - complete telephone number including country or area code when applicable</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="EmailAddress" type="EmailAddressType" minOccurs="0"> <xsd:annotation> <xsd:documentation>EmailAddress - complete e-mail address</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="CanadianLocationInfo"> <xsd:annotation> <xsd:documentation>CanadianLocationInfo - location information for a Canadian address (i.e. province, postal code and country)</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="City" type="CityType"> <xsd:annotation> <xsd:documentation>City - required free-form city name</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Province" type="ProvinceType" default="BC"> <xsd:annotation> <xsd:documentation>Province - two-letter province code assigned by Canada Post</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="PostalCode" type="PostalCodeType"> <xsd:annotation> <xsd:documentation>PostalCode - postal code excluding punctuation and blanks - alphabetic characters are restricted to upper-case</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Country"> <xsd:annotation> <xsd:documentation>Country - restricted to Canada</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="CA"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="USLocationInfo"> <xsd:annotation> <xsd:documentation>USLocationInfo - location information for an American address (i.e. state, postal code and country)</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="City" type="CityType"> <xsd:annotation> <xsd:documentation>City - required free-form city name</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="State" type="AmericanStateType"> <xsd:annotation> <xsd:documentation>State - free-form string field for US states</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="ZIPCode" type="ZIPCodeType"> <xsd:annotation> <xsd:documentation>ZIPCode - US ZIP code - 5 digits</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Country"> <xsd:annotation> <xsd:documentation>Country - restricted to US</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="US"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="InternationalLocationInfo"> <xsd:annotation> <xsd:documentation>InternationalLocationInfo - location information for an international address (i.e. region, postal code and country)</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="City" type="CityType"> <xsd:annotation> <xsd:documentation>City - required free-form city name</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Region" type="xsd:string"> <xsd:annotation> <xsd:documentation>Region - free-form string field for name of region, province or state</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="PostalCode" type="xsd:string"> <xsd:annotation> <xsd:documentation>PostalCode - free-form string field for postal code, e.g. WD14NL in the U.K.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Country" type="CountryType"> <xsd:annotation> <xsd:documentation>Country - two-letter county code assigned by the ISO</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="MemberPersonalInfoType"> <xsd:annotation> <xsd:documentation>PersonalInfoType - personal information for a member, which includes name, gender, date of birth, student status indicator, handicap indicator, and province of residence</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="FirstName" type="FirstNameType"> <xsd:annotation> <xsd:documentation>FirstName - required first name for the member, a 25 character restricted to upper-case</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="MiddleName" type="MiddleNameType" minOccurs="0"> <xsd:annotation> <xsd:documentation>MiddleName - optional middle name for the member, a 25 character string</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="LastName" type="LastNameType"> <xsd:annotation> <xsd:documentation>LastName - required last name for the member, a 25 character string</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="MaidenName" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="MaidenNameType"> <xsd:maxLength value="25"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Birthdate" type="xsd:date"> <xsd:annotation> <xsd:documentation>DateOfBirth - required date of birth for the member, expressed using XML's native calendar date type</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Gender" type="GenderType"> <xsd:annotation> <xsd:documentation>Gender - required gender for the member, one of M for Male, F for Female or U for Unknown</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="PHN" type="PHNType" minOccurs="0"> <xsd:annotation> <xsd:documentation>PHN - BC Health Number, a string of 10 digits the Personal Health Number is a unique numerical lifetime identifier used in the specific identification of an individual client or patient who has any interaction with the BC health system </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Residence" type="ResidenceType"> <xsd:annotation> <xsd:documentation>Residence - required province of residence for the member, defaults to British Columbia</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="NamePrefix" minOccurs="0"> <xsd:annotation> <xsd:documentation>Title of courtesy used before the name of a person. Examples: Mr., Ms., Dr., Miss., etc</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="NamePrefixType"/> </xsd:simpleType> </xsd:element> <xsd:element name="NameSuffix" type="NameSuffixType" minOccurs="0"> <xsd:annotation> <xsd:documentation>Word or words added at the end of a person's name. Example: II (the third), III (the third), Jr (Junior)., Sr. (Senior), etc</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="LanguageCode" type="LanguageCodeType" minOccurs="0"> <xsd:annotation> <xsd:documentation>Language to use in member communications: ENG for English and FRE for French</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="DependentPersonalInfoType"> <xsd:annotation> <xsd:documentation>PersonalInfoType - personal information for a dependent, which includes name, gender, date of birth, student status indicator, handicap indicator, and province of residence</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element name="FirstName"> <xsd:annotation> <xsd:documentation>FirstName - required first name for the dependent, a 25 character string</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="FirstNameType"/> </xsd:simpleType> </xsd:element> <xsd:element name="MiddleName" minOccurs="0"> <xsd:annotation> <xsd:documentation>MiddleName - optional middle name for the dependent, a 25 character string</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="MiddleNameType"/> </xsd:simpleType> </xsd:element> <xsd:element name="LastName"> <xsd:annotation> <xsd:documentation>LastName - required last name for the dependent, a 25 character string</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="LastNameType"/> </xsd:simpleType> </xsd:element> <xsd:element name="MaidenName" type="MaidenNameType" minOccurs="0"> <xsd:annotation> <xsd:documentation>MaidenName- the former family name of a married woman who has assumed her husband's family name. A string of between 1 and 60 alphabetic characters restricted to upper-case</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Birthdate" type="xsd:date"> <xsd:annotation> <xsd:documentation>DateOfBirth - required date of birth for the dependent, expressed using XML's native calendar date type</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Gender" type="GenderType"> <xsd:annotation> <xsd:documentation>Gender - required gender for the dependent, one of M for Male, F for Female or U for Unknown</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="PHN" type="PHNType" minOccurs="0"> <xsd:annotation> <xsd:documentation>PHN - BC Health Number, a string of 10 digits the Personal Health Number is a unique numerical lifetime identifier used in the specific identification of an individual client or patient who has any interaction with the BC health system </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Residence" type="ResidenceType" minOccurs="0"> <xsd:annotation> <xsd:documentation>Residence - province of residence for the dependent, defaults to British Columbia</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="StudentStatus" type="StudentStatusType" default="N"> <xsd:annotation> <xsd:documentation>StudentStatus - required string indicating whether the dependent is a student, F -FullTime,N-Not a student.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Handicap" type="HandicapType"> <xsd:annotation> <xsd:documentation>HandicapFlag - required string flag indicating whether the dependent is a handicap. Y-Yes, N-No, U-Unknown</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="NamePrefix" type="NamePrefixType" minOccurs="0"> <xsd:annotation> <xsd:documentation>Title of courtesy used before the name of a person. Examples: Mr., Ms., Dr., Miss., etc</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="NameSuffix" type="NameSuffixType" minOccurs="0"> <xsd:annotation> <xsd:documentation>Word or words added at the end of a person's name. Example: II (the third), III (the third), Jr (Junior)., Sr. (Senior), etc</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="EmploymentInfoType"> <xsd:annotation> <xsd:documentation>EmploymentInfoType - employment information for a member, which includes start date, department code and employee id</xsd:documentation> </xsd:annotation> <xsd:all> <xsd:element name="EmploymentStartDate" type="xsd:date" minOccurs="0"> <xsd:annotation> <xsd:documentation>Employment hire date</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="DepartmentCode" minOccurs="0"> <xsd:annotation> <xsd:documentation>Optional department identifier, a string of 4 alphanumeric characters - alphabetic characters are restricted to upper-case. No special characters are allowed.</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[A-Z0-9]"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="EmployeeNumber" minOccurs="0"> <xsd:annotation> <xsd:documentation>Optional employee identifier, a 5 character string. alphabetic characters are restricted to upper-case. No special characters are allowed.</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[A-Z0-9]"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

</xsd:all>

</xsd:complexType>

<xsd:complexType name="AddressInfoType">

<xsd:annotation>

<xsd:documentation>AddressInfoType - address information for a member or a dependent, includes three free-form address lines, a free-form city element, and a typed location element which is a choice between a Canadian province, American state or international region.</xsd:documentation>

</xsd:annotation>

<xsd:all>

<xsd:element name="AddressLine1">

<xsd:annotation>

<xsd:documentation>AddressLine1 - required 1st line in free-form address, following Canada Post format</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:maxLength value="40"/>

<xsd:minLength value="1"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

<xsd:element name="AddressLine2" minOccurs="0">

<xsd:annotation>

<xsd:documentation>AddressLine2 - optional 2nd line in free-form address, following Canada Post format</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:maxLength value="40"/>

<xsd:minLength value="1"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

<xsd:element name="Location">

<xsd:annotation>

<xsd:documentation>Location - required location element, which is one of a Canadian province, American state, or international region</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:choice>

<xsd:element name="CanadianLocation" type="CanadianLocationInfo"/>

<xsd:element name="AmericanLocation" type="USLocationInfo"/>

<xsd:element name="InternationalLocation" type="InternationalLocationInfo"/>

</xsd:choice>

</xsd:complexType>

</xsd:element>

</xsd:all>

</xsd:complexType>

<xsd:complexType name="OrgInfo">

<xsd:annotation>

<xsd:documentation>OrgInfo - type definition for an organization such as a sponsor, policy holder or third-party administrator - includes the organization's name, up to two addresses, and up to three administrative contacts</xsd:documentation>

</xsd:annotation>

<xsd:sequence>

<xsd:element name="Name" type="TypedName">

<xsd:annotation>

<xsd:documentation>Name - the name of the plan sponsor, which is assigned by a third-party administrator such as HBT</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="Address" type="AddressInfoType" minOccurs="0" maxOccurs="2">

<xsd:annotation>

<xsd:documentation>Address - street address of the plan sponsor</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="AdminContacts" type="AdminContactType" minOccurs="0" maxOccurs="3">

<xsd:annotation>

<xsd:documentation>AdminContacts - administrative contacts for the plan sponsor - telephone number and/or e-mail address</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="UpdDependentType">

<xsd:annotation>

<xsd:documentation>DependentType - type definition for a dependent - includes dependent number, personal information, address information and start dates for dental, EHC and/or HSA coverage, as well as indicators for EHC dual coverage and late dental application</xsd:documentation>

</xsd:annotation>

<xsd:sequence>

<xsd:element name="DependentNumber" type="DependentNumberType">

<xsd:annotation>

<xsd:documentation>Dependent number:</xsd:documentation>

<xsd:documentation>01 for first spouse</xsd:documentation>

<xsd:documentation>02-79 for children, in order from eldest to youngest</xsd:documentation>

<xsd:documentation>80-89 for parents</xsd:documentation>

<xsd:documentation>90-99 for subsequent spouses</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="IndividualRelationship" type="IndividualRelationshipType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>IndividualRelationship - relationship between the member (subscriber and the dependent, implemented as a string which is constrained to SPP for spouse or life partner, CHL for child, PRT for parent, WAD for legal ward and OTH for other. </xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="UpdatePersonalInfo" type="DependentPersonalInfoType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>PersonalInfo - required personal information, indicating at least the member's first name, last name, gender and date of birth</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="UpdateAddressInfo" type="AddressInfoType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>AddressInfo - optional address information</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="DentalCoverage" type="DentalUpdDepType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="EHCCoverage" type="EHCUpdDepType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="HSAccount" type="HSAUpdDepType" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="NewMemberType">

<xsd:annotation>

<xsd:documentation>NewMemberType - type definition for a new member - includes the primary member of a policy and up to 99 dependents</xsd:documentation>

</xsd:annotation>

<xsd:sequence>

<xsd:element name="Member" minOccurs="0">

<xsd:annotation>

<xsd:documentation>Member - the primary member of a policy - includes personal information, address information, employment information, start dates for dental, EHC and/or HSA coverage, a late dental application indicator, and HSA annual election amount</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="PersonalInfo" type="MemberPersonalInfoType">

<xsd:annotation>

<xsd:documentation>PersonalInfo - required personal information, indicating at least the member's first name, last name, gender and date of birth</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="AddressInfo" type="AddressInfoType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>AddressInfo - optional address information</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="EmploymentInfo" type="EmploymentInfoType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>EmploymentInfo - required employment information, indicating at least the start date of employment</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="DentalCoverage" type="DentalAddMbrType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="EHCCoverage" type="EHCAddMbrType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="HSAccount" type="HSAAddMbrType" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="Dependent" type="NewDependentType" minOccurs="0" maxOccurs="99">

<xsd:annotation>

<xsd:documentation>Dependent - list of dependents entitled to coverage under the terms of the subscriber's policy, limited to a maximum of 99</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="NewDependentType">

<xsd:sequence>

<xsd:element name="DependentNumber" type="DependentNumberType"/>

<xsd:element name="IndividualRelationship" type="IndividualRelationshipType" minOccurs="0"/>

<xsd:element name="PersonalInfo" type="DependentPersonalInfoType"/>

<xsd:element name="AddressInfo" type="AddressInfoType" minOccurs="0"/>

<xsd:element name="DentalCoverage" type="DentalAddDepType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="EHCCoverage" type="EHCAddDepType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="HSAccount" type="HSAAddDepType" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="ResidenceType">

<xsd:choice>

<xsd:element name="CanadianProvince" type="ProvinceType" default="BC"/>

<xsd:element name="AmericanState" type="AmericanStateResidenceType"/>

<xsd:element name="InternationalRegion" default="international">

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:minLength value="2"/>

<xsd:maxLength value="15"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

</xsd:choice>

</xsd:complexType>

<xsd:complexType name="NationalGroupInfoType">

<xsd:sequence>

<xsd:element name="Section" type="SectionType">

<xsd:annotation>

<xsd:documentation>Nexus section number</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="BenefitPackageCode" type="BenefitPackageCodeType">

<xsd:annotation>

<xsd:documentation>Nexus benefit package code</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="UpdNationalGroupInfoType">

<xsd:annotation>

<xsd:documentation>Request to update Section and/or BenefitPackageCode in Nexus</xsd:documentation>

</xsd:annotation>

<xsd:all>

<xsd:element name="Section" type="SectionType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>New Section in Nexus. Applicable to national groups only</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="BenefitPackageCode" type="BenefitPackageCodeType">

<xsd:annotation>

<xsd:documentation>New Benefit package in Nexus. Applicable to national groups only. It must be provided when BenefitPackage needs to be changed and also when changes to section are requested. </xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="EffectiveDate" type="xsd:date">

<xsd:annotation>

<xsd:documentation>Date when the new NationalGroupInfo becomes effective.</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:all>

</xsd:complexType>

<xsd:complexType name="AddMemberGrpMbrshipType">

<xsd:all>

<xsd:element name="xref" type="xsd:integer">

<xsd:annotation>

<xsd:documentation>xref - integer element used to anchor cross-references to a specific dental group number. </xsd:documentation>

<xsd:documentation>Note that in most cases where an employee group is only covered by one dental plan, this element is not necessary -- it only applies when there are two or more dental group numbers.</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="GroupNumber">

<xsd:annotation>

<xsd:documentation>PBC Group number - a 6 digits number</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:pattern value="[0-9]"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="NationalGroupInfo" type="NationalGroupInfoType" minOccurs="0"> <xsd:annotation> <xsd:documentation>Required element for members that are employees of a group covered by Medavie Blue Cross, and companies with branch offices across Canada. </xsd:documentation> </xsd:annotation> </xsd:element> </xsd:all> </xsd:complexType> <xsd:complexType name="CancelMemberGrpMbrshipType"> <xsd:all> <xsd:element name="xref" type="xsd:integer"> <xsd:annotation> <xsd:documentation>xref - optional integer element used to anchor cross-references to a specific dental group number when there's more than one.</xsd:documentation> <xsd:documentation>Note that in most cases where an employee group is only covered by one dental plan, this element is not necessary -- it only applies when there are two or more dental group numbers.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="GroupNumber"> <xsd:annotation> <xsd:documentation>PBC Group Number - a 6 digits number</xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9]"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

</xsd:all>

</xsd:complexType>

<xsd:complexType name="UpdateMemberGrpMbrshipType">

<xsd:all>

<xsd:element name="xref" type="xsd:integer">

<xsd:annotation>

<xsd:documentation>xref - optional integer element used to anchor cross-references to a specific dental group number when there's more than one.</xsd:documentation>

<xsd:documentation>Note that in most cases where an employee group is only covered by one dental plan, this element is not necessary -- it only applies when there are two or more dental group numbers.</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="GroupNumber">

<xsd:annotation>

<xsd:documentation>PBC Group Number - a 6 digits number</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:pattern value="[0-9]"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

<xsd:element name="UpdateNationalGroupInfo" type="UpdNationalGroupInfoType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>UpdateNationalGroupInfo - strongly typed operation for updating the Nexus group info for national groups. </xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:all>

</xsd:complexType>

<xsd:complexType name="DentalAddMbrType">

<xsd:sequence>

<xsd:element name="StartDate" type="xsd:date">

<xsd:annotation>

<xsd:documentation>DentalStartDate - start date for dental coverage, if applicable</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="DentalLateApplication" type="DentalLateApplicationType" default="N" minOccurs="0">

<xsd:annotation>

<xsd:documentation>DentalLateApplication - flag set to Y if the person is a late applicant for dental. Otherwise, set to N or omit.</xsd:documentation>

<xsd:documentation>Does not apply to EHC late applicants, which must be either backdated to date eligible up to one year, or PBC must approve EOI depending on the contract.</xsd:documentation>

<xsd:documentation>To remove this flag from a person, please call PBC -- we cannot accept changes to this flag electronically</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="EHCAddMbrType">

<xsd:sequence>

<xsd:element name="StartDate" type="xsd:date">

<xsd:annotation>

<xsd:documentation>EHCStartDate - start date for extended health coverage, if applicable</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="HSAAddMbrType">

<xsd:sequence>

<xsd:element name="StartDate" type="xsd:date">

<xsd:annotation>

<xsd:documentation>HSAStartDate - start date for participation in health savings account, if applicable</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="ElectionAmount" type="AmountType">

<xsd:annotation>

<xsd:documentation>HSA Periodic Election Amount - election amount for a health savings account, expressed to 2 decimals from 0.00 to 999999.99</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="DentalCancelType">

<xsd:sequence>

<xsd:element name="EndDate" type="xsd:date">

<xsd:annotation>

<xsd:documentation>DentalStopDate - strongly typed operation for cancelling the individual's participation in a dental benefit</xsd:documentation>

<xsd:documentation>Note - the xref attribute is used to indicated which extended dental benefit to terminate when more than one is declared in the parent transaction's GroupMembership element</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="EHCCancelType">

<xsd:sequence>

<xsd:element name="EndDate" type="xsd:date">

<xsd:annotation>

<xsd:documentation>EHCStopDate - strongly typed operation for cancelling the individual's participation in an extended health benefit</xsd:documentation>

<xsd:documentation>Note - the xref attribute is used to indicated which extended health benefit to terminate when more than one is declared in the parent transaction's GroupMembership element</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="HSACancelType">

<xsd:sequence>

<xsd:element name="EndDate" type="xsd:date">

<xsd:annotation>

<xsd:documentation>HSAStopDate - strongly typed operation for cancelling the individual's participation in a health spending account</xsd:documentation>

<xsd:documentation>Note - the xref attribute is used to indicated which health spending account to terminate when more than one is declared in the parent transaction's GroupMembership element</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="DentalUpdMbrType">

<xsd:sequence>

<xsd:element name="UpdateStartDate" type="xsd:date" minOccurs="0">

<xsd:annotation>

<xsd:documentation>UpdateDentalStartDate - strongly typed operation for updating the start date for dental coverage</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="UpdateDentalLateApplication" type="DentalLateApplicationType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>UpdateDentalLateApplication - strongly typed operation for updating the DentalLateApplication indicator. </xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="EHCUpdMbrType">

<xsd:sequence>

<xsd:element name="UpdateStartDate" type="xsd:date" minOccurs="0">

<xsd:annotation>

<xsd:documentation>UpdateEHCStartDate - strongly typed operation for updating the start date for extended health coverage</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="HSAUpdMbrType">

<xsd:sequence>

<xsd:element name="UpdateStartDate" type="xsd:date" minOccurs="0">

<xsd:annotation>

<xsd:documentation>UpdateHSAStartDate - strongly typed operation for updating the start date for participation in health savings account</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="UpdateElectionAmount" type="AmountType" minOccurs="0"/>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="DentalAddDepType">

<xsd:sequence>

<xsd:element name="StartDate" type="xsd:date">

<xsd:annotation>

<xsd:documentation>DentalStartDate - start dates for dental coverage, if applicable</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="DentalLateApplication" type="DentalLateApplicationType" default="N" minOccurs="0">

<xsd:annotation>

<xsd:documentation>DentalLateApplication - flag set to Y if the person is a late applicant for dental. Otherwise, set to N or omit.</xsd:documentation>

<xsd:documentation>Does not apply to EHC late applicants, which must be either backdated to date eligible up to one year, or PBC must approve EOI depending on the contract.</xsd:documentation>

<xsd:documentation>To remove this flag from a person, please call PBC -- we cannot accept changes to this flag electronically</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="EHCAddDepType">

<xsd:sequence>

<xsd:element name="StartDate" type="xsd:date">

<xsd:annotation>

<xsd:documentation>EHCStartDate - start dates for extended health coverage, if applicable</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="COBSequence" minOccurs="0">

<xsd:annotation>

<xsd:documentation>Code identifying the Insurance Carrier level of responsibility for payment of a EHC claim - restricted to P = primary / S = secondary. If secondary, then no paydirect drug claims will be accepted on this plan for that person. </xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:enumeration value="P"/>

<xsd:enumeration value="S"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="HSAAddDepType">

<xsd:sequence>

<xsd:element name="StartDate" type="xsd:date"/>

</xsd:sequence>

<xsd:attribute name="xref" use="required"/>

</xsd:complexType>

<xsd:complexType name="DentalUpdDepType">

<xsd:sequence>

<xsd:element name="UpdateStartDate" type="xsd:date" minOccurs="0"/>

<xsd:element name="UpdateDentalLateApplication" type="DentalLateApplicationType" minOccurs="0"/>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="EHCUpdDepType">

<xsd:sequence>

<xsd:element name="UpdateStartDate" type="xsd:date" minOccurs="0"/>

<xsd:element name="UpdateCOBSequence" minOccurs="0"/>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<xsd:complexType name="HSAUpdDepType">

<xsd:sequence>

<xsd:element name="UpdateStartDate" type="xsd:date" minOccurs="0"/>

</xsd:sequence>

<xsd:attribute name="xref" type="xsd:integer" use="required"/>

</xsd:complexType>

<!-- transaction element declaration -->

<xsd:element name="Transaction">

<xsd:annotation>

<xsd:documentation>Transaction - individual benefit enrollment / maintenance activities</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:choice>

<xsd:element name="AddMember">

<xsd:annotation>

<xsd:documentation>AddMember - strongly typed maintenance activity for adding a member</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="MemberId" type="MemberIdType">

<xsd:annotation>

<xsd:documentation>Member id, a 9 digit integer which uniquely identify subscribers and their dependents - in this version of the eCMF for BenefitEnrollment, an individual is identified by the combination of MemberId and DependentNumber where 00 is the subscriber and/or the family as a whole, 01 is the first spouse, 02-79 are children in order from eldest to youngest, 80-89 are parents and 90-99 are subsequent spouses.</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="GroupMembership">

<xsd:annotation>

<xsd:documentation>Group numbers for health coverage (i.e. DENTAL, EHC and HSA). Request to add member and/or dependent will be confirmed for groups wich StartDate is provided.</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="Dental" type="AddMemberGrpMbrshipType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="EHC" type="AddMemberGrpMbrshipType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="HSA" type="AddMemberGrpMbrshipType" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="MemberDetails" type="NewMemberType">

<xsd:annotation>

<xsd:documentation>Member details include group membership, personal information, dependent information, address information, employment information, as well as coverage start dates</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="CancelMember">

<xsd:annotation>

<xsd:documentation>CancelMember - strongly typed maintenance activity for terminating a primary member</xsd:documentation>

<xsd:documentation>Note that this transaction type also has the effect of terminating the policy as a whole and will also cancel every dependent - use the CancelDependent operation of UpdateMember to terminate individual dependents.</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="MemberId" type="MemberIdType">

<xsd:annotation>

<xsd:documentation>Member id, an up to 9 digits integer which uniquely identify subscribers and their dependents - in this version of the eCMF for BenefitEnrollment, an individual is identified by the combination of MemberId and DependentNumber where 00 is the subscriber and/or the family as a whole, 01 is the first spouse, 02-79 are children in order from eldest to youngest, 80-89 are parents and 90-99 are subsequent spouses.</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="GroupMembership">

<xsd:annotation>

<xsd:documentation>Groups from which member can be canceled. Cancelation will take effect for the groups for which EndDate is provided. </xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="Dental" type="CancelMemberGrpMbrshipType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="EHC" type="CancelMemberGrpMbrshipType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="HSA" type="CancelMemberGrpMbrshipType" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="DentalCoverage" type="DentalCancelType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="EHCCoverage" type="EHCCancelType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="HSAccount" type="HSACancelType" minOccurs="0"/>

<xsd:element name="CancelReason" type="CancelReasonType" default="10">

<xsd:annotation>

<xsd:documentation>Cancel reason: two character code indicating why coverage is cancelled</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="UpdateMember">

<xsd:annotation>

<xsd:documentation>UpdateMember - strongly typed maintenance activity for updating a member</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="MemberId" type="MemberIdType">

<xsd:annotation>

<xsd:documentation>Member id, a 9 digit integer which uniquely identify subscribers and their dependents - in this version of the eCMF for BenefitEnrollment, an individual is identified by the combination of MemberId and DependentNumber where 00 is the subscriber and/or the family as a whole, 01 is the first spouse, 02-79 are children in order from eldest to youngest, 80-89 are parents and 90-99 are subsequent spouses.</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="GroupMembership">

<xsd:annotation>

<xsd:documentation>Group numbers for which some Update activity will take effect.</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="Dental" type="UpdateMemberGrpMbrshipType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="EHC" type="UpdateMemberGrpMbrshipType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="HSA" type="UpdateMemberGrpMbrshipType" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="MemberDetails">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="UpdatePersonalInfo" type="MemberPersonalInfoType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>UpdatePersonalInfo - strongly typed operation for updating the personal information of the subscriber, i.e. the policy's primary member.</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="UpdateAddressInfo" type="AddressInfoType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>UpdateAddressInfo - strongly typed operation for updating the address of the subscriber</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="UpdateEmploymentInfo" type="EmploymentInfoType" minOccurs="0">

<xsd:annotation>

<xsd:documentation>UpdateEmploymentInfo - strongly typed operation for updating the employment information of the subscriber</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="DentalCoverage" type="DentalUpdMbrType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="EHCCoverage" type="EHCUpdMbrType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="HSAccount" type="HSAUpdMbrType" minOccurs="0"/>

<xsd:element name="AddDependent" type="NewDependentType" minOccurs="0" maxOccurs="99">

<xsd:annotation>

<xsd:documentation>AddDependent - strongly typed operation for adding a dependent</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="UpdateDependent" type="UpdDependentType" minOccurs="0" maxOccurs="99">

<xsd:annotation>

<xsd:documentation>UpdateDependent - strongly typed operation for updating an existing dependent's personal information, address or coverage details</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="CancelDependent" minOccurs="0" maxOccurs="99">

<xsd:annotation>

<xsd:documentation>CancelDependent - strongly typed operation for terminating a dependent</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="DependentNumber">

<xsd:annotation>

<xsd:documentation>Dependent number:</xsd:documentation>

<xsd:documentation>01 for first spouse</xsd:documentation>

<xsd:documentation>02-79 for children, in order from eldest to youngest</xsd:documentation>

<xsd:documentation>80-89 for parents</xsd:documentation>

<xsd:documentation>90-99 for subsequent spouses</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:pattern value="[0-9]"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

<xsd:element name="DentalCoverage" type="DentalCancelType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="EHCCoverage" type="EHCCancelType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="HSAccount" type="HSACancelType" minOccurs="0"/>

<xsd:element name="CancelReason" type="CancelReasonType" default="10">

<xsd:annotation>

<xsd:documentation>Cancel reason: two character code indicating why coverage is cancelled</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:choice>

<xsd:attribute name="txnid" type="xsd:string" use="required">

<xsd:annotation>

<xsd:documentation>txnid - transaction identifier - required string which uniquely identifies the transaction</xsd:documentation>

</xsd:annotation>

</xsd:attribute>

<xsd:attribute name="txndate" type="xsd:date" use="required">

<xsd:annotation>

<xsd:documentation>txndate - transaction date - required effective date stamp for the transaction</xsd:documentation>

</xsd:annotation>

</xsd:attribute>

<xsd:attribute name="txnindex" type="xsd:positiveInteger" use="optional">

<xsd:annotation>

<xsd:documentation>txnindex - transaction index - optional sequence number for the transaction</xsd:documentation>

</xsd:annotation>

</xsd:attribute>

</xsd:complexType>

</xsd:element>

<!transactionSet element declaration>

<xsd:element name="TransactionSet">

<xsd:annotation>

<xsd:documentation>TransactionSet - grouping of benefit enrollment / maintenance activities for a given combination

of sponsor, policy holder, benefit carrier, and third-party administrator where applicable</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="ControlSegment">

<xsd:annotation>

<xsd:documentation>ControlSegment - identifier code, creation date, creation time and time zone</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="IdentifierCode">

<xsd:annotation>

<xsd:documentation>IdentifierCode - the transaction set identifier code, a string composed of the current date formatted as YYMMDD with a three-digit sequence number appended, for example: 060620001</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:pattern value="[0-9]"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

<xsd:element name="CreationInfo" type="CreationInfoType">

<xsd:annotation>

<xsd:documentation>Date and Time that the xml document was created</xsd:documentation>

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<xsd:element name="Sponsor" type="OrgInfo" minOccurs="0">

<xsd:annotation>

<xsd:documentation>Sponsor - party which ultimately pays for the coverage, benefit or product. It can be an employer, union, government agency, association or insurance agency</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="Policyholder" type="OrgInfo" minOccurs="0">

<xsd:annotation>

<xsd:documentation>Policyholder - party which owns the policy and ultimately has rights / obligations over the policy.</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="TPA" type="OrgInfo" minOccurs="0">

<xsd:annotation>

<xsd:documentation>TPA - third-party administrator, which is an optional party contracted by a sponsor to handle data gathering on its behalf</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element ref="Transaction" maxOccurs="unbounded"/>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

<!-- top level element declaration -->

<xsd:element name="BenefitEnrollment">

<xsd:annotation>

<xsd:documentation>BenefitEnrollment - Benefit Enrollment and Maintenance Advice</xsd:documentation>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element ref="CMFVersion">

<xsd:annotation>

<xsd:documentation>CMFVersion - version of the schema against which the instance document was authored, used to assert backward compatibility across revisions of common message formats</xsd:documentation>

</xsd:annotation>

</xsd:element>

<xsd:element name="TradingPartnerId">

<xsd:annotation>

<xsd:documentation>User id assigned by PBC to trading partner - must match authentication credentials provided to open connection to eBusiness gateway</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:maxLength value="8"/>

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

<xsd:element ref="TransactionSet" maxOccurs="unbounded"/>

</xsd:sequence>

<xsd:attribute name="txncount" type="xsd:positiveInteger" use="optional">

<xsd:annotation>

<xsd:documentation>txncount - transaction count - optional count of every transaction in the file</xsd:documentation>

</xsd:annotation>

</xsd:attribute>

<xsd:attribute name="fileid" type="xsd:string" use="optional">

<xsd:annotation>

<xsd:documentation>fileid - file identifier - optional string which uniquely identifies the file</xsd:documentation>

</xsd:annotation>

</xsd:attribute>

</xsd:complexType>

</xsd:element>

</xsd:schema>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You will not need any Message types to be created.

Just One External Definition (XSD) and RFC need to be imported.

Two Message Interfaces.

One Message Mapping.

One Interface Mapping.

Regards,

Akshay Jamgaonkar.

    • Reward points if useful.

yajjala1
Participant
0 Kudos

Akshay,

How can I handle my PGP security.

Thanks

John

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Have a look at this,

http://mitvma.mit.edu/~bridges/dropbox.html

1. PGP is not supported out of the box

2. You can use PGP Corporation's PGP command line within the file adapter as an O/S command if you like, or use cryptix, bouncycastle.org, etc libraries to develop a full JAVA user module (preferred) or JAVA mapping to do the conversion.

XI dont support PGP encryption and decryption. I have done some interfaces using PGP encryption at OS level and then using XI. Install the software in XI and write the OS command for encryption and decryption at OS level. Call this command in File adapter after or before message processing.

See if it helps,

    • PGP Encryption:

We get the normal text file from R3. Then we have written two XI interfaces here. My first interface will pick from R3 and encrypts the file and drops it in another location of R3. In this interface I have given OS command before message processing. This will pick the file and do the encryption.

My second interface will pick the encrypted file from R3 and do a simple FTP to the Bank.

This is exactly opposite for decrypting the file from Bank.

Regards,

Akshay Jamgaonkar.

    • Reward points if find useful.

Message was edited by:

Akshay Jamgaonkar

udo_martens
Active Contributor
0 Kudos

Hi John,

for a scenario

RFC -> File

you need to upload the RFC, what is used as outbound IF

External definition (the XSD), what is used for the inbound IF

A Mapping programm (XSL or Message Mapping) and a interface mapping.

Regards,

Udo