Uthopp - Typer i tjänstekontrakten

Nedan är typer i den version som heter 2.2 och bara används intern i e-tjänster bas.

SubjectOfCareType är  information som replikeras från PU, medan UserProfileType är information som föds i 1177 idag.

 

<xs:complexType name="SubjectOfCareType">

      <xs:sequence>

              <xs:element name="subjectOfCareId" type="tns:SubjectOfCareIdType" />

              <xs:element name="firstName" type="xs:string" minOccurs="0" />

              <xs:element name="lastName" type="xs:string" minOccurs="0" />

              <xs:element name="gender" type="tns:GenderType" minOccurs="0" />                                                     

              <xs:element name="streetAddress" type="xs:string" minOccurs="0" />                                                      

              <xs:element name="countyCode" type="xs:string" minOccurs="0" />

              <xs:element name="municipalityCode" type="xs:string" minOccurs="0" />

              <xs:element name="parishCode" type="xs:string" minOccurs="0" />

              <xs:element name="zip" type="xs:string" minOccurs="0" />

              <xs:element name="city" type="xs:string" minOccurs="0" />                                             

              <xs:element name="relatives" type="tns:RelativeListType" minOccurs="0" />

              <xs:element name="shortName" type="xs:string" minOccurs="0" />

              <xs:element name="coAddress" type="xs:string" minOccurs="0" />

              <xs:element name="isProtected" type="xs:boolean" />

              <xs:element name="optOutPaperNotification" type="xs:boolean" minOccurs="0" />

              <xs:element name="deregistrationReasonCode" type="tns:DeregistrationReasonCodeType" minOccurs="0" />

        </xs:sequence>

</xs:complexType>                    

<xs:complexType name="UserProfileType">

       <xs:complexContent>

              <xs:extension base="tns:SubjectOfCareType">

                   <xs:sequence>

                          <xs:element name="mobilePhoneNumber" type="xs:string" minOccurs="0" />

                          <xs:element name="email" type="xs:string" minOccurs="0" />

                          <xs:element name="hasMailNotification" type="xs:boolean" minOccurs="0" />

<xs:element name="hasSmsNotification" type="xs:boolean" minOccurs="0" />                      

                          <xs:element name="accountCreatedDate" type="xs:dateTime" minOccurs="0" />

                          <xs:element name="lastLoginDate" type="xs:dateTime" minOccurs="0" />

                          <xs:element name="listing" type="tns:ListingListType" minOccurs="0" />

                          <xs:element name="targets" type="tns:LegalRepresentativeListType" minOccurs="0" />

                          <xs:element name="agents" type="tns:LegalRepresentativeListType" minOccurs="0" />

                   </xs:sequence>

             </xs:extension>

        </xs:complexContent>

</xs:complexType>