Schema Organization2G.xsd


schema location ..\..\Organization2G.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Elements  Complex types  Simple types 
GetOrganization2GRequest  AdditionalIdsType  OrganizationResourceFilterEnums 
GetOrganization2GResponse  AdditionalIdTypeResourcesInt 
GetResourceRequest  CodeTextType 
GetResourceResponse  IdCodeNameType 
ListOrganizations2GRequest  InsertedChangedByType 
ListOrganizations2GResponse  OrganizationResourceFilterType 
OrganizationType 
OrganizationTypeResourcesInt 


element GetOrganization2GRequest
diagram Organization2G_p1.png
properties
content complex
children UnitId
annotation
documentation
Request for one organzation unit Department or CareUnit
source <xs:element name="GetOrganization2GRequest">
 
<xs:annotation>
   
<xs:documentation>Request for one organzation unit Department or CareUnit</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="UnitId">
       
<xs:annotation>
         
<xs:documentation>Internal Id or selected Id accourding to IdType for HIS90 IdType must be selected.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Id" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>HIS90: Internal Id. For Institution internal Id = 0</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Type" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Type of Id as defined by PAS.                       HIS90:                          LIN = institution,            LAV = department (medical unit),                             LEN = care unit</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetOrganization2GRequest/UnitId
diagram Organization2G_p2.png
properties
content complex
children Id Type
annotation
documentation
Internal Id or selected Id accourding to IdType for HIS90 IdType must be selected.
source <xs:element name="UnitId">
 
<xs:annotation>
   
<xs:documentation>Internal Id or selected Id accourding to IdType for HIS90 IdType must be selected.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>HIS90: Internal Id. For Institution internal Id = 0</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Type" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Type of Id as defined by PAS.                       HIS90:                          LIN = institution,            LAV = department (medical unit),                             LEN = care unit</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetOrganization2GRequest/UnitId/Id
diagram Organization2G_p3.png
type xs:string
properties
content simple
annotation
documentation
HIS90: Internal Id. For Institution internal Id = 0
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>HIS90: Internal Id. For Institution internal Id = 0</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetOrganization2GRequest/UnitId/Type
diagram Organization2G_p4.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of Id as defined by PAS.                       HIS90:                          LIN = institution,            LAV = department (medical unit),                             LEN = care unit
source <xs:element name="Type" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of Id as defined by PAS.                       HIS90:                          LIN = institution,            LAV = department (medical unit),                             LEN = care unit</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetOrganization2GResponse
diagram Organization2G_p5.png
type OrganizationType
properties
content complex
children Id TypeOfId AdditionalIds ShortName Name ParentId SectionCode Clinic Location UnitStatuses Details Properties OrganizationAddressInformation Registration Update
annotation
documentation
Reposne for one organzation unit Department or CareUnit
source <xs:element name="GetOrganization2GResponse" type="OrganizationType">
 
<xs:annotation>
   
<xs:documentation>Reposne for one organzation unit Department or CareUnit</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetResourceRequest
diagram Organization2G_p6.png
properties
content complex
children ResourceId TypeOfResourceId
annotation
documentation
Request for getting infomation about one resource
source <xs:element name="GetResourceRequest">
 
<xs:annotation>
   
<xs:documentation>Request for getting infomation about one resource</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourceId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Resource id

HIS90: Mandatory
ResourceId is a combined idDept_No|Resource_Code
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfResourceId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>TypeOfId in ResourceId
Valid values are:
LOC=Lokal resource id
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetResourceRequest/ResourceId
diagram Organization2G_p7.png
type xs:string
properties
content simple
annotation
documentation
Resource id

HIS90: Mandatory
ResourceId is a combined idDept_No|Resource_Code
source <xs:element name="ResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Resource id

HIS90: Mandatory
ResourceId is a combined idDept_No|Resource_Code
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetResourceRequest/TypeOfResourceId
diagram Organization2G_p8.png
type xs:string
properties
content simple
annotation
documentation
TypeOfId in ResourceId
Valid values are:
LOC=Lokal resource id
source <xs:element name="TypeOfResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>TypeOfId in ResourceId
Valid values are:
LOC=Lokal resource id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetResourceResponse
diagram Organization2G_p9.png
properties
content complex
children ResourceId TypeOfResourceId AditionalIds Code Name ValidPeriod Properties AdditionalResourceIds ResourceUnits LastChangedDate
annotation
documentation
Response with infomation about a resource
source <xs:element name="GetResourceResponse">
 
<xs:annotation>
   
<xs:documentation>Response with infomation about a resource</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourceId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Resource id

HIS90: Mandatory
ResourceId is a combined idDept_No|Resource_Code
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfResourceId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>TypeOfId in ResourceId
Valid values are:
LOC=Lokal resource id
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="AditionalIds" type="AdditionalIdsType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Other additional ids for a resource.

Use AdditionalResourceIds

Type of Id can be:

LUI = Local Unique Id
HER = HERid
HPR = HPR number
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Code" type="xs:string" minOccurs="0"/>
     
<xs:element name="Name" type="xs:string"/>
     
<xs:element name="ValidPeriod" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Resource valid period</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ValidFrom" type="xs:dateTime"/>
           
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Properties" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Properties the resource have or category/type.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Property" maxOccurs="unbounded">
             
<xs:complexType>
               
<xs:complexContent>
                 
<xs:extension base="CodeTextType">
                   
<xs:sequence>
                     
<xs:element name="ValidPeriod" minOccurs="0" maxOccurs="unbounded">
                       
<xs:annotation>
                         
<xs:documentation>Valid periode or periods.</xs:documentation>
                       
</xs:annotation>
                       
<xs:complexType>
                         
<xs:sequence>
                           
<xs:element name="ValidFrom" type="xs:dateTime"/>
                           
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
                         
</xs:sequence>
                       
</xs:complexType>
                     
</xs:element>
                   
</xs:sequence>
                 
</xs:extension>
               
</xs:complexContent>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="AdditionalResourceIds" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>AdditionalIds if the resource have more ids. E.g. useird, SSN</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Id" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>The value of the id as it is stored in the database</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="TypeOfId" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Type of id in Id.
Valid values are:
UID = User Id/Name
FNR = Persons official id
LOC= Local Id
LUI = Local Unique Id
HER = HERid
HPR = HPR number
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="ResourceUnits" type="OrganizationTypeResourcesInt" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Unit the resource belongs to</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="LastChangedDate" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date (and Time if exists) when resource was last changed/updated</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetResourceResponse/ResourceId
diagram Organization2G_p10.png
type xs:string
properties
content simple
annotation
documentation
Resource id

HIS90: Mandatory
ResourceId is a combined idDept_No|Resource_Code
source <xs:element name="ResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Resource id

HIS90: Mandatory
ResourceId is a combined idDept_No|Resource_Code
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetResourceResponse/TypeOfResourceId
diagram Organization2G_p11.png
type xs:string
properties
content simple
annotation
documentation
TypeOfId in ResourceId
Valid values are:
LOC=Lokal resource id
source <xs:element name="TypeOfResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>TypeOfId in ResourceId
Valid values are:
LOC=Lokal resource id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetResourceResponse/AditionalIds
diagram Organization2G_p12.png
type AdditionalIdsType
properties
minOcc 0
maxOcc 1
content complex
children AdditionalId
annotation
documentation
Other additional ids for a resource.

Use AdditionalResourceIds

Type of Id can be:

LUI = Local Unique Id
HER = HERid
HPR = HPR number
source <xs:element name="AditionalIds" type="AdditionalIdsType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Other additional ids for a resource.

Use AdditionalResourceIds

Type of Id can be:

LUI = Local Unique Id
HER = HERid
HPR = HPR number
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetResourceResponse/Code
diagram Organization2G_p13.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Code" type="xs:string" minOccurs="0"/>

element GetResourceResponse/Name
diagram Organization2G_p14.png
type xs:string
properties
content simple
source <xs:element name="Name" type="xs:string"/>

element GetResourceResponse/ValidPeriod
diagram Organization2G_p15.png
properties
minOcc 0
maxOcc 1
content complex
children ValidFrom ValidTo
annotation
documentation
Resource valid period
source <xs:element name="ValidPeriod" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource valid period</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ValidFrom" type="xs:dateTime"/>
     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetResourceResponse/ValidPeriod/ValidFrom
diagram Organization2G_p16.png
type xs:dateTime
properties
content simple
source <xs:element name="ValidFrom" type="xs:dateTime"/>

element GetResourceResponse/ValidPeriod/ValidTo
diagram Organization2G_p17.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>

element GetResourceResponse/Properties
diagram Organization2G_p18.png
properties
minOcc 0
maxOcc 1
content complex
children Property
annotation
documentation
Properties the resource have or category/type.
source <xs:element name="Properties" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Properties the resource have or category/type.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Property" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="CodeTextType">
             
<xs:sequence>
               
<xs:element name="ValidPeriod" minOccurs="0" maxOccurs="unbounded">
                 
<xs:annotation>
                   
<xs:documentation>Valid periode or periods.</xs:documentation>
                 
</xs:annotation>
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="ValidFrom" type="xs:dateTime"/>
                     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
             
</xs:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetResourceResponse/Properties/Property
diagram Organization2G_p19.png
type extension of CodeTextType
properties
minOcc 1
maxOcc unbounded
content complex
children Code Text ValidPeriod
source <xs:element name="Property" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="CodeTextType">
       
<xs:sequence>
         
<xs:element name="ValidPeriod" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Valid periode or periods.</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="ValidFrom" type="xs:dateTime"/>
               
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element GetResourceResponse/Properties/Property/ValidPeriod
diagram Organization2G_p20.png
properties
minOcc 0
maxOcc unbounded
content complex
children ValidFrom ValidTo
annotation
documentation
Valid periode or periods.
source <xs:element name="ValidPeriod" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Valid periode or periods.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ValidFrom" type="xs:dateTime"/>
     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetResourceResponse/Properties/Property/ValidPeriod/ValidFrom
diagram Organization2G_p21.png
type xs:dateTime
properties
content simple
source <xs:element name="ValidFrom" type="xs:dateTime"/>

element GetResourceResponse/Properties/Property/ValidPeriod/ValidTo
diagram Organization2G_p22.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>

element GetResourceResponse/AdditionalResourceIds
diagram Organization2G_p23.png
properties
minOcc 0
maxOcc unbounded
content complex
children Id TypeOfId
annotation
documentation
AdditionalIds if the resource have more ids. E.g. useird, SSN
source <xs:element name="AdditionalResourceIds" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>AdditionalIds if the resource have more ids. E.g. useird, SSN</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The value of the id as it is stored in the database</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Type of id in Id.
Valid values are:
UID = User Id/Name
FNR = Persons official id
LOC= Local Id
LUI = Local Unique Id
HER = HERid
HPR = HPR number
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetResourceResponse/AdditionalResourceIds/Id
diagram Organization2G_p24.png
type xs:string
properties
content simple
annotation
documentation
The value of the id as it is stored in the database
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The value of the id as it is stored in the database</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetResourceResponse/AdditionalResourceIds/TypeOfId
diagram Organization2G_p25.png
type xs:string
properties
content simple
annotation
documentation
Type of id in Id.
Valid values are:
UID = User Id/Name
FNR = Persons official id
LOC= Local Id
LUI = Local Unique Id
HER = HERid
HPR = HPR number
source <xs:element name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of id in Id.
Valid values are:
UID = User Id/Name
FNR = Persons official id
LOC= Local Id
LUI = Local Unique Id
HER = HERid
HPR = HPR number
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetResourceResponse/ResourceUnits
diagram Organization2G_p26.png
type OrganizationTypeResourcesInt
properties
minOcc 0
maxOcc unbounded
content complex
children Id TypeOfId ShortNameId Name AdditionalIds DefaultUnit
annotation
documentation
Unit the resource belongs to
source <xs:element name="ResourceUnits" type="OrganizationTypeResourcesInt" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Unit the resource belongs to</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetResourceResponse/LastChangedDate
diagram Organization2G_p27.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date (and Time if exists) when resource was last changed/updated
source <xs:element name="LastChangedDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date (and Time if exists) when resource was last changed/updated</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListOrganizations2GRequest
diagram Organization2G_p28.png
properties
content complex
children UnitId ValidPeriod Filters
annotation
documentation
Requset for listing organizations
source <xs:element name="ListOrganizations2GRequest">
 
<xs:annotation>
   
<xs:documentation>Requset for listing organizations</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="UnitId" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Id for Units to search/list from.

If blank/null/omitted the default is all organization(same as Id=0)
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Id" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Id for parent unit to start the list from.

HIS90: Internal Id.
For Institution Id = 0
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Type" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Type of Id as defined by PAS.

LIN = institution id
LAV = department/medical unit id
LEN = care unit id
LINC = institution code/shortname
LAVC = department/medical unit  code/shortname
LENC = care unit code/shortname

HIS90:
Optional, dersom Id er tall og Type ikke er fylt inn vil Id=0 bety Institution og Id ulik 0 betyr Avdeling
LENC er ikke støttet av HIS90
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="ValidPeriod" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>List on units within valid dates</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ValidFrom" type="xs:dateTime"/>
           
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Filters" type="OrganizationResourceFilterType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListOrganizations2GRequest/UnitId
diagram Organization2G_p29.png
properties
minOcc 0
maxOcc 1
content complex
children Id Type
annotation
documentation
Id for Units to search/list from.

If blank/null/omitted the default is all organization(same as Id=0)
source <xs:element name="UnitId" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Id for Units to search/list from.

If blank/null/omitted the default is all organization(same as Id=0)
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Id for parent unit to start the list from.

HIS90: Internal Id.
For Institution Id = 0
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Type" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Type of Id as defined by PAS.

LIN = institution id
LAV = department/medical unit id
LEN = care unit id
LINC = institution code/shortname
LAVC = department/medical unit  code/shortname
LENC = care unit code/shortname

HIS90:
Optional, dersom Id er tall og Type ikke er fylt inn vil Id=0 bety Institution og Id ulik 0 betyr Avdeling
LENC er ikke støttet av HIS90
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListOrganizations2GRequest/UnitId/Id
diagram Organization2G_p30.png
type xs:string
properties
content simple
annotation
documentation
Id for parent unit to start the list from.

HIS90: Internal Id.
For Institution Id = 0
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Id for parent unit to start the list from.

HIS90: Internal Id.
For Institution Id = 0
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListOrganizations2GRequest/UnitId/Type
diagram Organization2G_p31.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of Id as defined by PAS.

LIN = institution id
LAV = department/medical unit id
LEN = care unit id
LINC = institution code/shortname
LAVC = department/medical unit  code/shortname
LENC = care unit code/shortname

HIS90:
Optional, dersom Id er tall og Type ikke er fylt inn vil Id=0 bety Institution og Id ulik 0 betyr Avdeling
LENC er ikke støttet av HIS90
source <xs:element name="Type" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of Id as defined by PAS.

LIN = institution id
LAV = department/medical unit id
LEN = care unit id
LINC = institution code/shortname
LAVC = department/medical unit  code/shortname
LENC = care unit code/shortname

HIS90:
Optional, dersom Id er tall og Type ikke er fylt inn vil Id=0 bety Institution og Id ulik 0 betyr Avdeling
LENC er ikke støttet av HIS90
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListOrganizations2GRequest/ValidPeriod
diagram Organization2G_p32.png
properties
minOcc 0
maxOcc 1
content complex
children ValidFrom ValidTo
annotation
documentation
List on units within valid dates
source <xs:element name="ValidPeriod" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>List on units within valid dates</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ValidFrom" type="xs:dateTime"/>
     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListOrganizations2GRequest/ValidPeriod/ValidFrom
diagram Organization2G_p33.png
type xs:dateTime
properties
content simple
source <xs:element name="ValidFrom" type="xs:dateTime"/>

element ListOrganizations2GRequest/ValidPeriod/ValidTo
diagram Organization2G_p34.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>

element ListOrganizations2GRequest/Filters
diagram Organization2G_p35.png
type OrganizationResourceFilterType
properties
minOcc 0
maxOcc 1
content complex
children Filter
source <xs:element name="Filters" type="OrganizationResourceFilterType" minOccurs="0"/>

element ListOrganizations2GResponse
diagram Organization2G_p36.png
annotation
documentation
Response from  listing organizations
source <xs:element name="ListOrganizations2GResponse">
 
<xs:annotation>
   
<xs:documentation>Response from  listing organizations</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AdditionalIdsType
diagram Organization2G_p37.png
children AdditionalId
used by
elements OrganizationType/AdditionalIds GetResourceResponse/AditionalIds
annotation
documentation
Type for listing additional ids
source <xs:complexType name="AdditionalIdsType">
 
<xs:annotation>
   
<xs:documentation>Type for listing additional ids</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="AdditionalId" maxOccurs="unbounded">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string"/>
         
<xs:element name="Type" type="xs:string"/>
         
<xs:element name="Description" type="xs:string" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element AdditionalIdsType/AdditionalId
diagram Organization2G_p38.png
properties
minOcc 1
maxOcc unbounded
content complex
children Id Type Description
source <xs:element name="AdditionalId" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string"/>
     
<xs:element name="Type" type="xs:string"/>
     
<xs:element name="Description" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AdditionalIdsType/AdditionalId/Id
diagram Organization2G_p39.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element AdditionalIdsType/AdditionalId/Type
diagram Organization2G_p40.png
type xs:string
properties
content simple
source <xs:element name="Type" type="xs:string"/>

element AdditionalIdsType/AdditionalId/Description
diagram Organization2G_p41.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Description" type="xs:string" minOccurs="0"/>

complexType AdditionalIdTypeResourcesInt
diagram Organization2G_p42.png
children Id TypeOfId
used by
element OrganizationTypeResourcesInt/AdditionalIds
annotation
documentation
Type for additional id for organiszation, requester, contact, patientids etc
source <xs:complexType name="AdditionalIdTypeResourcesInt">
 
<xs:annotation>
   
<xs:documentation>Type for additional id for organiszation, requester, contact, patientids etc</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string"/>
   
<xs:element name="TypeOfId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>KITH code standard  8268 Some of the types are:        ENH=Off. org.no in Br.sund HER=HER-id                RSH=RESH-id                 NPR= NPR nr               LOK= Local id           XXX=Annet                  
Other Tieto codes are:
For HIS90:
LUI=UniqueId   
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element AdditionalIdTypeResourcesInt/Id
diagram Organization2G_p43.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element AdditionalIdTypeResourcesInt/TypeOfId
diagram Organization2G_p44.png
type xs:string
properties
content simple
annotation
documentation
KITH code standard  8268 Some of the types are:        ENH=Off. org.no in Br.sund HER=HER-id                RSH=RESH-id                 NPR= NPR nr               LOK= Local id           XXX=Annet                  
Other Tieto codes are:
For HIS90:
LUI=UniqueId   
source <xs:element name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>KITH code standard  8268 Some of the types are:        ENH=Off. org.no in Br.sund HER=HER-id                RSH=RESH-id                 NPR= NPR nr               LOK= Local id           XXX=Annet                  
Other Tieto codes are:
For HIS90:
LUI=UniqueId   
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CodeTextType
diagram Organization2G_p45.png
children Code Text
used by
element GetResourceResponse/Properties/Property
annotation
documentation
Type for code and text
source <xs:complexType name="CodeTextType">
 
<xs:annotation>
   
<xs:documentation>Type for code and text</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element CodeTextType/Code
diagram Organization2G_p46.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element CodeTextType/Text
diagram Organization2G_p47.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Text" type="xs:string" minOccurs="0"/>

complexType IdCodeNameType
diagram Organization2G_p48.png
children Id TypeOfId Code Name
used by
elements OrganizationType/Clinic OrganizationType/Location
annotation
documentation
Type for Id, TypeOfId, Code and Name
source <xs:complexType name="IdCodeNameType">
 
<xs:annotation>
   
<xs:documentation>Type for Id, TypeOfId, Code and Name</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string"/>
   
<xs:element name="TypeOfId" type="xs:string" minOccurs="0"/>
   
<xs:element name="Code" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element IdCodeNameType/Id
diagram Organization2G_p49.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element IdCodeNameType/TypeOfId
diagram Organization2G_p50.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="TypeOfId" type="xs:string" minOccurs="0"/>

element IdCodeNameType/Code
diagram Organization2G_p51.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Code" type="xs:string" minOccurs="0"/>

element IdCodeNameType/Name
diagram Organization2G_p52.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Name" type="xs:string" minOccurs="0"/>

complexType InsertedChangedByType
diagram Organization2G_p53.png
children Date Name Organization SignedBy
used by
elements OrganizationType/Registration OrganizationType/Update
annotation
documentation
Type for information about insertion and changes in the database
source <xs:complexType name="InsertedChangedByType">
 
<xs:annotation>
   
<xs:documentation>Type for information about insertion and changes in the database</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Date" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date when inserted/last modified.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Name" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Organization Name</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Organization" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Organization responsible for insertion/last modification of the instance. </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string">
           
<xs:annotation>
             
<xs:documentation> Internal Id.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="ShortNameId" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Organization Code</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Name" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Organization Name</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="SignedBy" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Initials of user that inserted/modified the instance.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element InsertedChangedByType/Date
diagram Organization2G_p54.png
type xs:dateTime
properties
content simple
annotation
documentation
Date when inserted/last modified.
source <xs:element name="Date" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date when inserted/last modified.</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/Name
diagram Organization2G_p55.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Organization Name
source <xs:element name="Name" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization Name</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/Organization
diagram Organization2G_p56.png
properties
minOcc 0
maxOcc 1
content complex
children Id ShortNameId Name
annotation
documentation
Organization responsible for insertion/last modification of the instance.
source <xs:element name="Organization" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization responsible for insertion/last modification of the instance. </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation> Internal Id.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ShortNameId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization Code</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Name" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization Name</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element InsertedChangedByType/Organization/Id
diagram Organization2G_p57.png
type xs:string
properties
content simple
annotation
documentation
Internal Id.
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation> Internal Id.</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/Organization/ShortNameId
diagram Organization2G_p58.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Organization Code
source <xs:element name="ShortNameId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization Code</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/Organization/Name
diagram Organization2G_p59.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Organization Name
source <xs:element name="Name" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization Name</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/SignedBy
diagram Organization2G_p60.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Initials of user that inserted/modified the instance.
source <xs:element name="SignedBy" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Initials of user that inserted/modified the instance.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType OrganizationResourceFilterType
diagram Organization2G_p61.png
children Filter
used by
element ListOrganizations2GRequest/Filters
source <xs:complexType name="OrganizationResourceFilterType">
 
<xs:sequence>
   
<xs:element name="Filter" maxOccurs="unbounded">
     
<xs:complexType>
       
<xs:simpleContent>
         
<xs:extension base="OrganizationResourceFilterEnums">
           
<xs:attribute name="FromDate" type="xs:dateTime"/>
           
<xs:attribute name="ToDate" type="xs:dateTime"/>
         
</xs:extension>
       
</xs:simpleContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element OrganizationResourceFilterType/Filter
diagram Organization2G_p62.png
type extension of OrganizationResourceFilterEnums
properties
minOcc 1
maxOcc unbounded
content complex
facets
Kind Value Annotation
enumeration NotSet
enumeration OnlyResourcesChangedSinceLastTime
enumeration OnlyResourcesWithTimeBookOnDate
attributes
Name  Type  Use  Default  Fixed  Annotation
FromDate  xs:dateTime        
ToDate  xs:dateTime        
source <xs:element name="Filter" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:simpleContent>
     
<xs:extension base="OrganizationResourceFilterEnums">
       
<xs:attribute name="FromDate" type="xs:dateTime"/>
       
<xs:attribute name="ToDate" type="xs:dateTime"/>
     
</xs:extension>
   
</xs:simpleContent>
 
</xs:complexType>
</xs:element>

attribute OrganizationResourceFilterType/Filter/@FromDate
type xs:dateTime
source <xs:attribute name="FromDate" type="xs:dateTime"/>

attribute OrganizationResourceFilterType/Filter/@ToDate
type xs:dateTime
source <xs:attribute name="ToDate" type="xs:dateTime"/>

complexType OrganizationType
diagram Organization2G_p63.png
children Id TypeOfId AdditionalIds ShortName Name ParentId SectionCode Clinic Location UnitStatuses Details Properties OrganizationAddressInformation Registration Update
used by
element GetOrganization2GResponse
annotation
documentation
Details for one organizational unit
source <xs:complexType name="OrganizationType">
 
<xs:annotation>
   
<xs:documentation>Details for one organizational unit</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Id

HIS90: Institution Code / Internal department number (Medical Unit number) / internal CareUnit number.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Description/Type of Id
LIN = Local Institution Id
LAV= Local Department Id
LEN = Local Unit Id
LAVC = Local Unit Code/shortname
LUI = Local Unique Id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="AdditionalIds" type="AdditionalIdsType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>A unit can have many additional Id's listed. Each Id  must be of an defined type.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ShortName" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Short name/code for the unit</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Name" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>HIS90:Institution name / Department name (Medical Unit name) / CareUnit name.

</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ParentId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Id of parental unit (0/none if top level or virtual unit) ........................................HIS90: If this is a institution or department than there is no parent Id. In case of CareUnit the parent Id is the internal  department number where the CareUnit resides. ParentId is parents internalId.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="SectionCode" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>HIS90: Internal Code for Section that care unit partisipates in</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Clinic" type="IdCodeNameType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>The clinic the unit belongs to logigally. Used in multihospitals solutions to define units to same clinic/department.

HIS90:
PaqUnit.Clinic
A department in HIS90
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Location" type="IdCodeNameType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Location. The hospital where the unit is loacted.

HIS90:
PaqUnte.Hosp_Loaction
ShortName for institution, e.g TR, MO, etc...
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="UnitStatuses" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Active/passive periods for the organizational unit ................................................HIS90: Only Valid periode in use. The Valid periode gives from and to date for the unit. For institution there is no periode.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="UnitStatus" maxOccurs="unbounded">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Text" type="xs:string" minOccurs="0"/>
               
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
               
<xs:element name="ValidPeriod">
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="ValidFrom" type="xs:dateTime"/>
                     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Details" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Active/passive periods for details of unit if it is of "CareUnit" type ........................................ HIS90: For HIS90 this will give sumarized information if MedicalUnit/Department is in input</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Detail" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>HIS90: Only one occurs for unit in input.</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="ValidPeriod" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Valid period for detail</xs:documentation>
                 
</xs:annotation>
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="ValidFrom" type="xs:dateTime"/>
                     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
               
<xs:element name="Type" type="xs:string">
                 
<xs:annotation>
                   
<xs:documentation>Type of unit .............................. HIS90: Department type or Unit Type.
Valid types for HIS90:
Avdeling/Department:
A-Administrasjon,
I-Seng og Poliklinikk,
M-Mottakelse, R-Røntgen,
B-Blodbank 
Enhet/Unit:
P-Poliklinikk,
I-Sengepost,
R-Røntgen
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="TypeOfWard" type="xs:string" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Code for type of care (5H/HE...) ......................................HIS90: Not in use for HIS90</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="NumberOfBedsNormal" type="xs:int">
                 
<xs:annotation>
                   
<xs:documentation>HIS90: In case of a department this is the sum of all beds. In case of an single CareUnit this gives number of beds in the unit.
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="NumberOfBedsForActualUse" type="xs:int">
                 
<xs:annotation>
                   
<xs:documentation>HIS90: In case of a department this is the sum of all available beds. In case of a single CareUnit this gives number of available beds in the unit.
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="NumberOfTechnicalBeds" type="xs:int" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>HIS90: In case of a department this is the sum of all technical beds. In case of an single CareUnit this gives number of technical beds in the unit. A tecnical bed is a bed oocupied by patient from an another unit.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="NumberOfDayPatientsNormal" type="xs:int" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>HIS90:  In case of a department this is the sum of normalized capasity for day pasients. In case of a single CareUnit this gives the normalized capasity for day pasients in the care unit.  Normalized capasity is the total number of day patients that the unit is to be able to handle. </xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="NumberOfDayPatientsAvailable" type="xs:int" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>HIS90: In case of a department this is the sum of available capasity for day pasients. In case of an single CareUnit this gives the available capasity for day pasients in the care unit. Available capasity is the total number of day patients that the unit is able to handle at the moment.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="ReasonForBedsNotInUse" type="xs:string" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>HIS90: Code indicating why beds are not in use for selected care unit.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="WorkingDaysPrWeek" type="xs:int" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>HIS90: Number of working days pr. week from Monday to Sunday.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="Accumulation" type="xs:string" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>HIS90: Max number of days for accumulation</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="Economy" minOccurs="0">
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="CostCenter" type="xs:string" minOccurs="0"/>
                     
<xs:element name="PaymentMethod" minOccurs="0">
                       
<xs:complexType>
                         
<xs:sequence>
                           
<xs:element name="Code" type="xs:string"/>
                           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                         
</xs:sequence>
                       
</xs:complexType>
                     
</xs:element>
                     
<xs:element name="TransportCodes" minOccurs="0" maxOccurs="unbounded">
                       
<xs:complexType>
                         
<xs:sequence>
                           
<xs:element name="Code" type="xs:string"/>
                           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                         
</xs:sequence>
                       
</xs:complexType>
                     
</xs:element>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
               
<xs:element name="LetterDetails" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>HIS90: Details for default letter codes</xs:documentation>
                 
</xs:annotation>
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="LetterDetail" maxOccurs="unbounded">
                       
<xs:complexType>
                         
<xs:sequence>
                           
<xs:element name="Type" type="xs:string" minOccurs="0"/>
                           
<xs:element name="Code" type="xs:string" minOccurs="0"/>
                           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                         
</xs:sequence>
                       
</xs:complexType>
                     
</xs:element>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
               
<xs:element name="Printers" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Printer informations and settings for theunit</xs:documentation>
                 
</xs:annotation>
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="Printer" maxOccurs="unbounded">
                       
<xs:complexType>
                         
<xs:sequence>
                           
<xs:element name="Type" type="xs:string" minOccurs="0"/>
                           
<xs:element name="Code" type="xs:string" minOccurs="0"/>
                           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                         
</xs:sequence>
                       
</xs:complexType>
                     
</xs:element>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Properties" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Property" maxOccurs="unbounded">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="TypeOfProperty" type="xs:string">
                 
<xs:annotation>
                   
<xs:documentation>Property for the unit.

The validperiod defines the from and to dates when the this property is valid.

HIS90:
PESC - extra security/sensitive unit
PPSYC - Psychiatriy MedicalUnit or CareUnit.
PWOMD - Womens Department - MedicalUnit or a CareUnit.
PLTTR - Long Time Treatement -  The MedicalUnit or CareUnitis a LongTimeTreatment unit.
PPBFU - Productivity Based Funding - If the unit has productivity based funding.
PCHYP - Children and Youth Psychiatriy MedicalUnit or CareUnit.
PDRAT - (RUS) Drug and Alchohol Treatment Unit - MedicalUnit or CareUnit
DEFLANG - Default language for institution/department if avaiable. Language code in found in Description tag.(Code set is DocumentLaguageCodes)
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="Description" type="xs:string" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Property description.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="ValidPeriod" minOccurs="0" maxOccurs="unbounded">
                 
<xs:annotation>
                   
<xs:documentation>Valid periode or periods.</xs:documentation>
                 
</xs:annotation>
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="ValidFrom" type="xs:dateTime"/>
                     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="OrganizationAddressInformation">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="ContactPerson" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>HIS90: Contact person for selected unit.</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Text" type="xs:string"/>
               
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="EMailAddress" minOccurs="0" maxOccurs="unbounded">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Text" type="xs:string"/>
               
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="Address" minOccurs="0" maxOccurs="unbounded">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="UnitMainEntrance" type="xs:string" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>HIS90: Main entrance to the unit.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="AddressLines" minOccurs="0" maxOccurs="unbounded">
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="Code" type="xs:string" minOccurs="0"/>
                     
<xs:element name="Text" type="xs:string"/>
                     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
               
<xs:element name="PostalAddress" minOccurs="0">
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="Code" type="xs:string"/>
                     
<xs:element name="Text" type="xs:string"/>
                     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="PhoneNumber" minOccurs="0" maxOccurs="unbounded">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Text" type="xs:string"/>
               
<xs:element name="Extension" type="xs:string" minOccurs="0"/>
               
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="FaxNumber" minOccurs="0" maxOccurs="unbounded">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Text" type="xs:string"/>
               
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unit registration</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Update" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Information about update or modification of unit</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="InsertedChangedByType">
           
<xs:sequence>
             
<xs:element name="UpdateCount" type="xs:int" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>Count used for concurrency testing when updating.</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element OrganizationType/Id
diagram Organization2G_p64.png
type xs:string
properties
content simple
annotation
documentation
Internal Id

HIS90: Institution Code / Internal department number (Medical Unit number) / internal CareUnit number.
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Id

HIS90: Institution Code / Internal department number (Medical Unit number) / internal CareUnit number.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/TypeOfId
diagram Organization2G_p65.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Description/Type of Id
LIN = Local Institution Id
LAV= Local Department Id
LEN = Local Unit Id
LAVC = Local Unit Code/shortname
LUI = Local Unique Id
source <xs:element name="TypeOfId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Description/Type of Id
LIN = Local Institution Id
LAV= Local Department Id
LEN = Local Unit Id
LAVC = Local Unit Code/shortname
LUI = Local Unique Id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/AdditionalIds
diagram Organization2G_p66.png
type AdditionalIdsType
properties
minOcc 0
maxOcc 1
content complex
children AdditionalId
annotation
documentation
A unit can have many additional Id's listed. Each Id  must be of an defined type.
source <xs:element name="AdditionalIds" type="AdditionalIdsType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>A unit can have many additional Id's listed. Each Id  must be of an defined type.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/ShortName
diagram Organization2G_p67.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Short name/code for the unit
source <xs:element name="ShortName" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Short name/code for the unit</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Name
diagram Organization2G_p68.png
type xs:string
properties
content simple
annotation
documentation
HIS90:Institution name / Department name (Medical Unit name) / CareUnit name.

source <xs:element name="Name" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>HIS90:Institution name / Department name (Medical Unit name) / CareUnit name.

</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/ParentId
diagram Organization2G_p69.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Id of parental unit (0/none if top level or virtual unit) ........................................HIS90: If this is a institution or department than there is no parent Id. In case of CareUnit the parent Id is the internal  department number where the CareUnit resides. ParentId is parents internalId.
source <xs:element name="ParentId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Id of parental unit (0/none if top level or virtual unit) ........................................HIS90: If this is a institution or department than there is no parent Id. In case of CareUnit the parent Id is the internal  department number where the CareUnit resides. ParentId is parents internalId.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/SectionCode
diagram Organization2G_p70.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90: Internal Code for Section that care unit partisipates in
source <xs:element name="SectionCode" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: Internal Code for Section that care unit partisipates in</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Clinic
diagram Organization2G_p71.png
type IdCodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId Code Name
annotation
documentation
The clinic the unit belongs to logigally. Used in multihospitals solutions to define units to same clinic/department.

HIS90:
PaqUnit.Clinic
A department in HIS90
source <xs:element name="Clinic" type="IdCodeNameType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The clinic the unit belongs to logigally. Used in multihospitals solutions to define units to same clinic/department.

HIS90:
PaqUnit.Clinic
A department in HIS90
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Location
diagram Organization2G_p72.png
type IdCodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId Code Name
annotation
documentation
Location. The hospital where the unit is loacted.

HIS90:
PaqUnte.Hosp_Loaction
ShortName for institution, e.g TR, MO, etc...
source <xs:element name="Location" type="IdCodeNameType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Location. The hospital where the unit is loacted.

HIS90:
PaqUnte.Hosp_Loaction
ShortName for institution, e.g TR, MO, etc...
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/UnitStatuses
diagram Organization2G_p73.png
properties
minOcc 0
maxOcc 1
content complex
children UnitStatus
annotation
documentation
Active/passive periods for the organizational unit ................................................HIS90: Only Valid periode in use. The Valid periode gives from and to date for the unit. For institution there is no periode.
source <xs:element name="UnitStatuses" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Active/passive periods for the organizational unit ................................................HIS90: Only Valid periode in use. The Valid periode gives from and to date for the unit. For institution there is no periode.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="UnitStatus" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Text" type="xs:string" minOccurs="0"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
           
<xs:element name="ValidPeriod">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="ValidFrom" type="xs:dateTime"/>
                 
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/UnitStatuses/UnitStatus
diagram Organization2G_p74.png
properties
minOcc 1
maxOcc unbounded
content complex
children Text Comment ValidPeriod
source <xs:element name="UnitStatus" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Text" type="xs:string" minOccurs="0"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
     
<xs:element name="ValidPeriod">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ValidFrom" type="xs:dateTime"/>
           
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/UnitStatuses/UnitStatus/Text
diagram Organization2G_p75.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Text" type="xs:string" minOccurs="0"/>

element OrganizationType/UnitStatuses/UnitStatus/Comment
diagram Organization2G_p76.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/UnitStatuses/UnitStatus/ValidPeriod
diagram Organization2G_p77.png
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ValidFrom" type="xs:dateTime"/>
     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/UnitStatuses/UnitStatus/ValidPeriod/ValidFrom
diagram Organization2G_p78.png
type xs:dateTime
properties
content simple
source <xs:element name="ValidFrom" type="xs:dateTime"/>

element OrganizationType/UnitStatuses/UnitStatus/ValidPeriod/ValidTo
diagram Organization2G_p79.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>

element OrganizationType/Details
diagram Organization2G_p80.png
properties
minOcc 0
maxOcc 1
content complex
children Detail
annotation
documentation
Active/passive periods for details of unit if it is of "CareUnit" type ........................................ HIS90: For HIS90 this will give sumarized information if MedicalUnit/Department is in input
source <xs:element name="Details" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Active/passive periods for details of unit if it is of "CareUnit" type ........................................ HIS90: For HIS90 this will give sumarized information if MedicalUnit/Department is in input</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Detail" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>HIS90: Only one occurs for unit in input.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ValidPeriod" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Valid period for detail</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="ValidFrom" type="xs:dateTime"/>
                 
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="Type" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Type of unit .............................. HIS90: Department type or Unit Type.
Valid types for HIS90:
Avdeling/Department:
A-Administrasjon,
I-Seng og Poliklinikk,
M-Mottakelse, R-Røntgen,
B-Blodbank 
Enhet/Unit:
P-Poliklinikk,
I-Sengepost,
R-Røntgen
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="TypeOfWard" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Code for type of care (5H/HE...) ......................................HIS90: Not in use for HIS90</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="NumberOfBedsNormal" type="xs:int">
             
<xs:annotation>
               
<xs:documentation>HIS90: In case of a department this is the sum of all beds. In case of an single CareUnit this gives number of beds in the unit.
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="NumberOfBedsForActualUse" type="xs:int">
             
<xs:annotation>
               
<xs:documentation>HIS90: In case of a department this is the sum of all available beds. In case of a single CareUnit this gives number of available beds in the unit.
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="NumberOfTechnicalBeds" type="xs:int" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90: In case of a department this is the sum of all technical beds. In case of an single CareUnit this gives number of technical beds in the unit. A tecnical bed is a bed oocupied by patient from an another unit.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="NumberOfDayPatientsNormal" type="xs:int" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90:  In case of a department this is the sum of normalized capasity for day pasients. In case of a single CareUnit this gives the normalized capasity for day pasients in the care unit.  Normalized capasity is the total number of day patients that the unit is to be able to handle. </xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="NumberOfDayPatientsAvailable" type="xs:int" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90: In case of a department this is the sum of available capasity for day pasients. In case of an single CareUnit this gives the available capasity for day pasients in the care unit. Available capasity is the total number of day patients that the unit is able to handle at the moment.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="ReasonForBedsNotInUse" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90: Code indicating why beds are not in use for selected care unit.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="WorkingDaysPrWeek" type="xs:int" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90: Number of working days pr. week from Monday to Sunday.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Accumulation" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90: Max number of days for accumulation</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Economy" minOccurs="0">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="CostCenter" type="xs:string" minOccurs="0"/>
                 
<xs:element name="PaymentMethod" minOccurs="0">
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="Code" type="xs:string"/>
                       
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
                 
<xs:element name="TransportCodes" minOccurs="0" maxOccurs="unbounded">
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="Code" type="xs:string"/>
                       
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="LetterDetails" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90: Details for default letter codes</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="LetterDetail" maxOccurs="unbounded">
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="Type" type="xs:string" minOccurs="0"/>
                       
<xs:element name="Code" type="xs:string" minOccurs="0"/>
                       
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="Printers" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Printer informations and settings for theunit</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Printer" maxOccurs="unbounded">
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="Type" type="xs:string" minOccurs="0"/>
                       
<xs:element name="Code" type="xs:string" minOccurs="0"/>
                       
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail
diagram Organization2G_p81.png
properties
minOcc 1
maxOcc unbounded
content complex
children ValidPeriod Type TypeOfWard NumberOfBedsNormal NumberOfBedsForActualUse NumberOfTechnicalBeds NumberOfDayPatientsNormal NumberOfDayPatientsAvailable ReasonForBedsNotInUse WorkingDaysPrWeek Accumulation Economy LetterDetails Printers
annotation
documentation
HIS90: Only one occurs for unit in input.
source <xs:element name="Detail" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>HIS90: Only one occurs for unit in input.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ValidPeriod" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Valid period for detail</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ValidFrom" type="xs:dateTime"/>
           
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Type" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Type of unit .............................. HIS90: Department type or Unit Type.
Valid types for HIS90:
Avdeling/Department:
A-Administrasjon,
I-Seng og Poliklinikk,
M-Mottakelse, R-Røntgen,
B-Blodbank 
Enhet/Unit:
P-Poliklinikk,
I-Sengepost,
R-Røntgen
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfWard" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Code for type of care (5H/HE...) ......................................HIS90: Not in use for HIS90</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="NumberOfBedsNormal" type="xs:int">
       
<xs:annotation>
         
<xs:documentation>HIS90: In case of a department this is the sum of all beds. In case of an single CareUnit this gives number of beds in the unit.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="NumberOfBedsForActualUse" type="xs:int">
       
<xs:annotation>
         
<xs:documentation>HIS90: In case of a department this is the sum of all available beds. In case of a single CareUnit this gives number of available beds in the unit.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="NumberOfTechnicalBeds" type="xs:int" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90: In case of a department this is the sum of all technical beds. In case of an single CareUnit this gives number of technical beds in the unit. A tecnical bed is a bed oocupied by patient from an another unit.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="NumberOfDayPatientsNormal" type="xs:int" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90:  In case of a department this is the sum of normalized capasity for day pasients. In case of a single CareUnit this gives the normalized capasity for day pasients in the care unit.  Normalized capasity is the total number of day patients that the unit is to be able to handle. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="NumberOfDayPatientsAvailable" type="xs:int" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90: In case of a department this is the sum of available capasity for day pasients. In case of an single CareUnit this gives the available capasity for day pasients in the care unit. Available capasity is the total number of day patients that the unit is able to handle at the moment.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ReasonForBedsNotInUse" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90: Code indicating why beds are not in use for selected care unit.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="WorkingDaysPrWeek" type="xs:int" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90: Number of working days pr. week from Monday to Sunday.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Accumulation" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90: Max number of days for accumulation</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Economy" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="CostCenter" type="xs:string" minOccurs="0"/>
           
<xs:element name="PaymentMethod" minOccurs="0">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Code" type="xs:string"/>
                 
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="TransportCodes" minOccurs="0" maxOccurs="unbounded">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Code" type="xs:string"/>
                 
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="LetterDetails" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90: Details for default letter codes</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="LetterDetail" maxOccurs="unbounded">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Type" type="xs:string" minOccurs="0"/>
                 
<xs:element name="Code" type="xs:string" minOccurs="0"/>
                 
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Printers" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Printer informations and settings for theunit</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Printer" maxOccurs="unbounded">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Type" type="xs:string" minOccurs="0"/>
                 
<xs:element name="Code" type="xs:string" minOccurs="0"/>
                 
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail/ValidPeriod
diagram Organization2G_p82.png
properties
minOcc 0
maxOcc 1
content complex
children ValidFrom ValidTo
annotation
documentation
Valid period for detail
source <xs:element name="ValidPeriod" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Valid period for detail</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ValidFrom" type="xs:dateTime"/>
     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail/ValidPeriod/ValidFrom
diagram Organization2G_p83.png
type xs:dateTime
properties
content simple
source <xs:element name="ValidFrom" type="xs:dateTime"/>

element OrganizationType/Details/Detail/ValidPeriod/ValidTo
diagram Organization2G_p84.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>

element OrganizationType/Details/Detail/Type
diagram Organization2G_p85.png
type xs:string
properties
content simple
annotation
documentation
Type of unit .............................. HIS90: Department type or Unit Type.
Valid types for HIS90:
Avdeling/Department:
A-Administrasjon,
I-Seng og Poliklinikk,
M-Mottakelse, R-Røntgen,
B-Blodbank 
Enhet/Unit:
P-Poliklinikk,
I-Sengepost,
R-Røntgen
source <xs:element name="Type" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of unit .............................. HIS90: Department type or Unit Type.
Valid types for HIS90:
Avdeling/Department:
A-Administrasjon,
I-Seng og Poliklinikk,
M-Mottakelse, R-Røntgen,
B-Blodbank 
Enhet/Unit:
P-Poliklinikk,
I-Sengepost,
R-Røntgen
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/TypeOfWard
diagram Organization2G_p86.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Code for type of care (5H/HE...) ......................................HIS90: Not in use for HIS90
source <xs:element name="TypeOfWard" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Code for type of care (5H/HE...) ......................................HIS90: Not in use for HIS90</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/NumberOfBedsNormal
diagram Organization2G_p87.png
type xs:int
properties
content simple
annotation
documentation
HIS90: In case of a department this is the sum of all beds. In case of an single CareUnit this gives number of beds in the unit.
source <xs:element name="NumberOfBedsNormal" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>HIS90: In case of a department this is the sum of all beds. In case of an single CareUnit this gives number of beds in the unit.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/NumberOfBedsForActualUse
diagram Organization2G_p88.png
type xs:int
properties
content simple
annotation
documentation
HIS90: In case of a department this is the sum of all available beds. In case of a single CareUnit this gives number of available beds in the unit.
source <xs:element name="NumberOfBedsForActualUse" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>HIS90: In case of a department this is the sum of all available beds. In case of a single CareUnit this gives number of available beds in the unit.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/NumberOfTechnicalBeds
diagram Organization2G_p89.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90: In case of a department this is the sum of all technical beds. In case of an single CareUnit this gives number of technical beds in the unit. A tecnical bed is a bed oocupied by patient from an another unit.
source <xs:element name="NumberOfTechnicalBeds" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: In case of a department this is the sum of all technical beds. In case of an single CareUnit this gives number of technical beds in the unit. A tecnical bed is a bed oocupied by patient from an another unit.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/NumberOfDayPatientsNormal
diagram Organization2G_p90.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90:  In case of a department this is the sum of normalized capasity for day pasients. In case of a single CareUnit this gives the normalized capasity for day pasients in the care unit.  Normalized capasity is the total number of day patients that the unit is to be able to handle.
source <xs:element name="NumberOfDayPatientsNormal" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90:  In case of a department this is the sum of normalized capasity for day pasients. In case of a single CareUnit this gives the normalized capasity for day pasients in the care unit.  Normalized capasity is the total number of day patients that the unit is to be able to handle. </xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/NumberOfDayPatientsAvailable
diagram Organization2G_p91.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90: In case of a department this is the sum of available capasity for day pasients. In case of an single CareUnit this gives the available capasity for day pasients in the care unit. Available capasity is the total number of day patients that the unit is able to handle at the moment.
source <xs:element name="NumberOfDayPatientsAvailable" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: In case of a department this is the sum of available capasity for day pasients. In case of an single CareUnit this gives the available capasity for day pasients in the care unit. Available capasity is the total number of day patients that the unit is able to handle at the moment.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/ReasonForBedsNotInUse
diagram Organization2G_p92.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90: Code indicating why beds are not in use for selected care unit.
source <xs:element name="ReasonForBedsNotInUse" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: Code indicating why beds are not in use for selected care unit.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/WorkingDaysPrWeek
diagram Organization2G_p93.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90: Number of working days pr. week from Monday to Sunday.
source <xs:element name="WorkingDaysPrWeek" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: Number of working days pr. week from Monday to Sunday.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/Accumulation
diagram Organization2G_p94.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90: Max number of days for accumulation
source <xs:element name="Accumulation" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: Max number of days for accumulation</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Details/Detail/Economy
diagram Organization2G_p95.png
properties
minOcc 0
maxOcc 1
content complex
children CostCenter PaymentMethod TransportCodes
source <xs:element name="Economy" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="CostCenter" type="xs:string" minOccurs="0"/>
     
<xs:element name="PaymentMethod" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Code" type="xs:string"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="TransportCodes" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Code" type="xs:string"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail/Economy/CostCenter
diagram Organization2G_p96.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="CostCenter" type="xs:string" minOccurs="0"/>

element OrganizationType/Details/Detail/Economy/PaymentMethod
diagram Organization2G_p97.png
properties
minOcc 0
maxOcc 1
content complex
children Code Comment
source <xs:element name="PaymentMethod" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail/Economy/PaymentMethod/Code
diagram Organization2G_p98.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element OrganizationType/Details/Detail/Economy/PaymentMethod/Comment
diagram Organization2G_p99.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/Details/Detail/Economy/TransportCodes
diagram Organization2G_p100.png
properties
minOcc 0
maxOcc unbounded
content complex
children Code Comment
source <xs:element name="TransportCodes" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail/Economy/TransportCodes/Code
diagram Organization2G_p101.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element OrganizationType/Details/Detail/Economy/TransportCodes/Comment
diagram Organization2G_p102.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/Details/Detail/LetterDetails
diagram Organization2G_p103.png
properties
minOcc 0
maxOcc 1
content complex
children LetterDetail
annotation
documentation
HIS90: Details for default letter codes
source <xs:element name="LetterDetails" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: Details for default letter codes</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="LetterDetail" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Type" type="xs:string" minOccurs="0"/>
           
<xs:element name="Code" type="xs:string" minOccurs="0"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail/LetterDetails/LetterDetail
diagram Organization2G_p104.png
properties
minOcc 1
maxOcc unbounded
content complex
children Type Code Comment
source <xs:element name="LetterDetail" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Type" type="xs:string" minOccurs="0"/>
     
<xs:element name="Code" type="xs:string" minOccurs="0"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail/LetterDetails/LetterDetail/Type
diagram Organization2G_p105.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Type" type="xs:string" minOccurs="0"/>

element OrganizationType/Details/Detail/LetterDetails/LetterDetail/Code
diagram Organization2G_p106.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Code" type="xs:string" minOccurs="0"/>

element OrganizationType/Details/Detail/LetterDetails/LetterDetail/Comment
diagram Organization2G_p107.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/Details/Detail/Printers
diagram Organization2G_p108.png
properties
minOcc 0
maxOcc 1
content complex
children Printer
annotation
documentation
Printer informations and settings for theunit
source <xs:element name="Printers" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Printer informations and settings for theunit</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Printer" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Type" type="xs:string" minOccurs="0"/>
           
<xs:element name="Code" type="xs:string" minOccurs="0"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail/Printers/Printer
diagram Organization2G_p109.png
properties
minOcc 1
maxOcc unbounded
content complex
children Type Code Comment
source <xs:element name="Printer" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Type" type="xs:string" minOccurs="0"/>
     
<xs:element name="Code" type="xs:string" minOccurs="0"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Details/Detail/Printers/Printer/Type
diagram Organization2G_p110.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Type" type="xs:string" minOccurs="0"/>

element OrganizationType/Details/Detail/Printers/Printer/Code
diagram Organization2G_p111.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Code" type="xs:string" minOccurs="0"/>

element OrganizationType/Details/Detail/Printers/Printer/Comment
diagram Organization2G_p112.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/Properties
diagram Organization2G_p113.png
properties
minOcc 0
maxOcc 1
content complex
children Property
source <xs:element name="Properties" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Property" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="TypeOfProperty" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Property for the unit.

The validperiod defines the from and to dates when the this property is valid.

HIS90:
PESC - extra security/sensitive unit
PPSYC - Psychiatriy MedicalUnit or CareUnit.
PWOMD - Womens Department - MedicalUnit or a CareUnit.
PLTTR - Long Time Treatement -  The MedicalUnit or CareUnitis a LongTimeTreatment unit.
PPBFU - Productivity Based Funding - If the unit has productivity based funding.
PCHYP - Children and Youth Psychiatriy MedicalUnit or CareUnit.
PDRAT - (RUS) Drug and Alchohol Treatment Unit - MedicalUnit or CareUnit
DEFLANG - Default language for institution/department if avaiable. Language code in found in Description tag.(Code set is DocumentLaguageCodes)
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Description" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Property description.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="ValidPeriod" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>Valid periode or periods.</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="ValidFrom" type="xs:dateTime"/>
                 
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Properties/Property
diagram Organization2G_p114.png
properties
minOcc 1
maxOcc unbounded
content complex
children TypeOfProperty Description ValidPeriod
source <xs:element name="Property" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="TypeOfProperty" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Property for the unit.

The validperiod defines the from and to dates when the this property is valid.

HIS90:
PESC - extra security/sensitive unit
PPSYC - Psychiatriy MedicalUnit or CareUnit.
PWOMD - Womens Department - MedicalUnit or a CareUnit.
PLTTR - Long Time Treatement -  The MedicalUnit or CareUnitis a LongTimeTreatment unit.
PPBFU - Productivity Based Funding - If the unit has productivity based funding.
PCHYP - Children and Youth Psychiatriy MedicalUnit or CareUnit.
PDRAT - (RUS) Drug and Alchohol Treatment Unit - MedicalUnit or CareUnit
DEFLANG - Default language for institution/department if avaiable. Language code in found in Description tag.(Code set is DocumentLaguageCodes)
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Description" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Property description.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ValidPeriod" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Valid periode or periods.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ValidFrom" type="xs:dateTime"/>
           
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Properties/Property/TypeOfProperty
diagram Organization2G_p115.png
type xs:string
properties
content simple
annotation
documentation
Property for the unit.

The validperiod defines the from and to dates when the this property is valid.

HIS90:
PESC - extra security/sensitive unit
PPSYC - Psychiatriy MedicalUnit or CareUnit.
PWOMD - Womens Department - MedicalUnit or a CareUnit.
PLTTR - Long Time Treatement -  The MedicalUnit or CareUnitis a LongTimeTreatment unit.
PPBFU - Productivity Based Funding - If the unit has productivity based funding.
PCHYP - Children and Youth Psychiatriy MedicalUnit or CareUnit.
PDRAT - (RUS) Drug and Alchohol Treatment Unit - MedicalUnit or CareUnit
DEFLANG - Default language for institution/department if avaiable. Language code in found in Description tag.(Code set is DocumentLaguageCodes)
source <xs:element name="TypeOfProperty" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Property for the unit.

The validperiod defines the from and to dates when the this property is valid.

HIS90:
PESC - extra security/sensitive unit
PPSYC - Psychiatriy MedicalUnit or CareUnit.
PWOMD - Womens Department - MedicalUnit or a CareUnit.
PLTTR - Long Time Treatement -  The MedicalUnit or CareUnitis a LongTimeTreatment unit.
PPBFU - Productivity Based Funding - If the unit has productivity based funding.
PCHYP - Children and Youth Psychiatriy MedicalUnit or CareUnit.
PDRAT - (RUS) Drug and Alchohol Treatment Unit - MedicalUnit or CareUnit
DEFLANG - Default language for institution/department if avaiable. Language code in found in Description tag.(Code set is DocumentLaguageCodes)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Properties/Property/Description
diagram Organization2G_p116.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Property description.
source <xs:element name="Description" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Property description.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Properties/Property/ValidPeriod
diagram Organization2G_p117.png
properties
minOcc 0
maxOcc unbounded
content complex
children ValidFrom ValidTo
annotation
documentation
Valid periode or periods.
source <xs:element name="ValidPeriod" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Valid periode or periods.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ValidFrom" type="xs:dateTime"/>
     
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Properties/Property/ValidPeriod/ValidFrom
diagram Organization2G_p118.png
type xs:dateTime
properties
content simple
source <xs:element name="ValidFrom" type="xs:dateTime"/>

element OrganizationType/Properties/Property/ValidPeriod/ValidTo
diagram Organization2G_p119.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>

element OrganizationType/OrganizationAddressInformation
diagram Organization2G_p120.png
properties
content complex
children ContactPerson EMailAddress Address PhoneNumber FaxNumber
source <xs:element name="OrganizationAddressInformation">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ContactPerson" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>HIS90: Contact person for selected unit.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Text" type="xs:string"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="EMailAddress" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Text" type="xs:string"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Address" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="UnitMainEntrance" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90: Main entrance to the unit.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="AddressLines" minOccurs="0" maxOccurs="unbounded">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Code" type="xs:string" minOccurs="0"/>
                 
<xs:element name="Text" type="xs:string"/>
                 
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="PostalAddress" minOccurs="0">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Code" type="xs:string"/>
                 
<xs:element name="Text" type="xs:string"/>
                 
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="PhoneNumber" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Text" type="xs:string"/>
           
<xs:element name="Extension" type="xs:string" minOccurs="0"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="FaxNumber" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Text" type="xs:string"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/OrganizationAddressInformation/ContactPerson
diagram Organization2G_p121.png
properties
minOcc 0
maxOcc unbounded
content complex
children Text Comment
annotation
documentation
HIS90: Contact person for selected unit.
source <xs:element name="ContactPerson" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>HIS90: Contact person for selected unit.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Text" type="xs:string"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/OrganizationAddressInformation/ContactPerson/Text
diagram Organization2G_p122.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element OrganizationType/OrganizationAddressInformation/ContactPerson/Comment
diagram Organization2G_p123.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/OrganizationAddressInformation/EMailAddress
diagram Organization2G_p124.png
properties
minOcc 0
maxOcc unbounded
content complex
children Text Comment
source <xs:element name="EMailAddress" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Text" type="xs:string"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/OrganizationAddressInformation/EMailAddress/Text
diagram Organization2G_p125.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element OrganizationType/OrganizationAddressInformation/EMailAddress/Comment
diagram Organization2G_p126.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/OrganizationAddressInformation/Address
diagram Organization2G_p127.png
properties
minOcc 0
maxOcc unbounded
content complex
children UnitMainEntrance AddressLines PostalAddress
source <xs:element name="Address" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="UnitMainEntrance" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90: Main entrance to the unit.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="AddressLines" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Code" type="xs:string" minOccurs="0"/>
           
<xs:element name="Text" type="xs:string"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="PostalAddress" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Code" type="xs:string"/>
           
<xs:element name="Text" type="xs:string"/>
           
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/OrganizationAddressInformation/Address/UnitMainEntrance
diagram Organization2G_p128.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90: Main entrance to the unit.
source <xs:element name="UnitMainEntrance" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: Main entrance to the unit.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/OrganizationAddressInformation/Address/AddressLines
diagram Organization2G_p129.png
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text Comment
source <xs:element name="AddressLines" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string" minOccurs="0"/>
     
<xs:element name="Text" type="xs:string"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/OrganizationAddressInformation/Address/AddressLines/Code
diagram Organization2G_p130.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Code" type="xs:string" minOccurs="0"/>

element OrganizationType/OrganizationAddressInformation/Address/AddressLines/Text
diagram Organization2G_p131.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element OrganizationType/OrganizationAddressInformation/Address/AddressLines/Comment
diagram Organization2G_p132.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/OrganizationAddressInformation/Address/PostalAddress
diagram Organization2G_p133.png
properties
minOcc 0
maxOcc 1
content complex
children Code Text Comment
source <xs:element name="PostalAddress" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/OrganizationAddressInformation/Address/PostalAddress/Code
diagram Organization2G_p134.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element OrganizationType/OrganizationAddressInformation/Address/PostalAddress/Text
diagram Organization2G_p135.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element OrganizationType/OrganizationAddressInformation/Address/PostalAddress/Comment
diagram Organization2G_p136.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/OrganizationAddressInformation/PhoneNumber
diagram Organization2G_p137.png
properties
minOcc 0
maxOcc unbounded
content complex
children Text Extension Comment
source <xs:element name="PhoneNumber" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Text" type="xs:string"/>
     
<xs:element name="Extension" type="xs:string" minOccurs="0"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/OrganizationAddressInformation/PhoneNumber/Text
diagram Organization2G_p138.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element OrganizationType/OrganizationAddressInformation/PhoneNumber/Extension
diagram Organization2G_p139.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Extension" type="xs:string" minOccurs="0"/>

element OrganizationType/OrganizationAddressInformation/PhoneNumber/Comment
diagram Organization2G_p140.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/OrganizationAddressInformation/FaxNumber
diagram Organization2G_p141.png
properties
minOcc 0
maxOcc unbounded
content complex
children Text Comment
source <xs:element name="FaxNumber" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Text" type="xs:string"/>
     
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/OrganizationAddressInformation/FaxNumber/Text
diagram Organization2G_p142.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element OrganizationType/OrganizationAddressInformation/FaxNumber/Comment
diagram Organization2G_p143.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element OrganizationType/Registration
diagram Organization2G_p144.png
type InsertedChangedByType
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy
annotation
documentation
Unit registration
source <xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Unit registration</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/Update
diagram Organization2G_p145.png
type extension of InsertedChangedByType
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy UpdateCount
annotation
documentation
Information about update or modification of unit
source <xs:element name="Update" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Information about update or modification of unit</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="InsertedChangedByType">
       
<xs:sequence>
         
<xs:element name="UpdateCount" type="xs:int" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Count used for concurrency testing when updating.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element OrganizationType/Update/UpdateCount
diagram Organization2G_p146.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Count used for concurrency testing when updating.
source <xs:element name="UpdateCount" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Count used for concurrency testing when updating.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType OrganizationTypeResourcesInt
diagram Organization2G_p147.png
children Id TypeOfId ShortNameId Name AdditionalIds DefaultUnit
used by
element GetResourceResponse/ResourceUnits
source <xs:complexType name="OrganizationTypeResourcesInt">
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Type of Id as defined by PAS.

Empty/LOC = Unkown lLocal id in PAS
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ShortNameId" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
   
<xs:element name="AdditionalIds" type="AdditionalIdTypeResourcesInt" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Additional ids for the unit</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DefaultUnit" type="xs:boolean" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>The resource default unit releated to this resource code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element OrganizationTypeResourcesInt/Id
diagram Organization2G_p148.png
type xs:string
properties
content simple
annotation
documentation
Id
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationTypeResourcesInt/TypeOfId
diagram Organization2G_p149.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of Id as defined by PAS.

Empty/LOC = Unkown lLocal id in PAS
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
source <xs:element name="TypeOfId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of Id as defined by PAS.

Empty/LOC = Unkown lLocal id in PAS
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationTypeResourcesInt/ShortNameId
diagram Organization2G_p150.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ShortNameId" type="xs:string" minOccurs="0"/>

element OrganizationTypeResourcesInt/Name
diagram Organization2G_p151.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Name" type="xs:string" minOccurs="0"/>

element OrganizationTypeResourcesInt/AdditionalIds
diagram Organization2G_p152.png
type AdditionalIdTypeResourcesInt
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId
annotation
documentation
Additional ids for the unit
source <xs:element name="AdditionalIds" type="AdditionalIdTypeResourcesInt" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Additional ids for the unit</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationTypeResourcesInt/DefaultUnit
diagram Organization2G_p153.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
The resource default unit releated to this resource code
source <xs:element name="DefaultUnit" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The resource default unit releated to this resource code</xs:documentation>
 
</xs:annotation>
</xs:element>

simpleType OrganizationResourceFilterEnums
type restriction of xs:string
properties
base xs:string
used by
element OrganizationResourceFilterType/Filter
facets
Kind Value Annotation
enumeration NotSet
enumeration OnlyResourcesChangedSinceLastTime
enumeration OnlyResourcesWithTimeBookOnDate
source <xs:simpleType name="OrganizationResourceFilterEnums">
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="NotSet"/>
   
<xs:enumeration value="OnlyResourcesChangedSinceLastTime"/>
   
<xs:enumeration value="OnlyResourcesWithTimeBookOnDate"/>
 
</xs:restriction>
</xs:simpleType>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy