Schema Booking.xsd


schema location ..\..\Booking.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Elements  Complex types  Simple types 
GetAppointmentRequest  AdditionalIdListBooking  AppointmentStatusType 
GetAppointmentResponse  AdditionalIdTypeBooking  NotificationType 
ListAppointmentsByOrgRequest  AppointmentByOrgListType  ScheduleSlotStatusType 
ListAppointmentsByOrgResponse  AppointmentDetailType 
ListPatientAppointmentsRequest  AppointmentListType 
ListPatientAppointmentsResponse  AppointmentType 
ListResourceAppointments2GRequest  CarePeriodTypeBooking 
ListResourceAppointments2GResponse  CodeTextTypeBooking 
ListScheduleByOrgRequest  DiagnosisTypeBooking 
ListScheduleByOrgResponse  InsertedChangedByType 
ListScheduleByResourceRequest  LetterType 
ListScheduleByResourceResponse  MedRegisterTypeBooking 
ListScheduleByResourcesRequest  MoveScheduleSlotsType 
ListScheduleByResourcesResponse  OfficialIdTypeBooking 
ListScheduleSlotsRequest  OrganizationType 
ListScheduleSlotsResponse  OrganizationTypeBooking 
MoveScheduleSlotsRequest  OrganizationTypeExtBooking 
MoveScheduleSlotsResponse  PatientInfoListType 
SaveScheduleSlotRequest  RequesterType 
SaveScheduleSlotResponse  ResourceAppointmentListType 
ResourceAppointmentType 
ResourceTypeBooking 
ResourceTypeBookingExt1 
ScheduleByOrgListType 
ScheduleByResourceListType 
ScheduleSlotBaseType 
ScheduleSlotsBaseListType 
SendNotificationType 
TextTypeOfTextTypeBooking 
ValidDatesBooking 


element GetAppointmentRequest
diagram Booking_p1.png
properties
content complex
children Id
annotation
documentation
Request for getting informatiosn about one appointement
source <xs:element name="GetAppointmentRequest">
 
<xs:annotation>
   
<xs:documentation>Request for getting informatiosn about one appointement</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The internal id for the booking/appointment  HIS90: BookingId (Combinded Id)</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetAppointmentRequest/Id
diagram Booking_p2.png
type xs:string
properties
content simple
annotation
documentation
The internal id for the booking/appointment  HIS90: BookingId (Combinded Id)
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The internal id for the booking/appointment  HIS90: BookingId (Combinded Id)</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetAppointmentResponse
diagram Booking_p3.png
type AppointmentType
properties
content complex
children Patient Appointment
annotation
documentation
Response with informatiosn about one appointement
source <xs:element name="GetAppointmentResponse" type="AppointmentType">
 
<xs:annotation>
   
<xs:documentation>Response with informatiosn about one appointement</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListAppointmentsByOrgRequest
diagram Booking_p4.png
properties
content complex
children Unit From To AppointmentStatusFilter
annotation
documentation
XXXX NB Slettes!! Er erstattet av ListScheduleByOrgRequest
source <xs:element name="ListAppointmentsByOrgRequest">
 
<xs:annotation>
   
<xs:documentation>XXXX NB Slettes!! Er erstattet av ListScheduleByOrgRequest</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Unit">
       
<xs:annotation>
         
<xs:documentation>Organization Unit for the appointments.
If missing/blank then uses the logged on user default unit
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<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">
             
<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:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="From" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the start for the appointment.
Default if nothing set is today
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="To" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the end  of the appointment.
Default if nothing set is today
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="AppointmentStatusFilter" type="AppointmentStatusType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Appointmentstatus
Booked, free or blocked. appointment.
Default if status filter is not set is only booked appointments.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListAppointmentsByOrgRequest/Unit
diagram Booking_p5.png
properties
content complex
children Id TypeOfId
annotation
documentation
Organization Unit for the appointments.
If missing/blank then uses the logged on user default unit
source <xs:element name="Unit">
 
<xs:annotation>
   
<xs:documentation>Organization Unit for the appointments.
If missing/blank then uses the logged on user default unit
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<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">
       
<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:sequence>
 
</xs:complexType>
</xs:element>

element ListAppointmentsByOrgRequest/Unit/Id
diagram Booking_p6.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 ListAppointmentsByOrgRequest/Unit/TypeOfId
diagram Booking_p7.png
type xs:string
properties
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">
 
<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 ListAppointmentsByOrgRequest/From
diagram Booking_p8.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the start for the appointment.
Default if nothing set is today
source <xs:element name="From" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the appointment.
Default if nothing set is today
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListAppointmentsByOrgRequest/To
diagram Booking_p9.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the appointment.
Default if nothing set is today
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the appointment.
Default if nothing set is today
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListAppointmentsByOrgRequest/AppointmentStatusFilter
diagram Booking_p10.png
type AppointmentStatusType
properties
minOcc 0
maxOcc unbounded
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
annotation
documentation
Appointmentstatus
Booked, free or blocked. appointment.
Default if status filter is not set is only booked appointments.
source <xs:element name="AppointmentStatusFilter" type="AppointmentStatusType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Appointmentstatus
Booked, free or blocked. appointment.
Default if status filter is not set is only booked appointments.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListAppointmentsByOrgResponse
diagram Booking_p11.png
properties
content complex
children AppointmentsByOrgs
annotation
documentation
XXXX NB Slettes!! Er erstattet av ListScheduleByOrgResponse
source <xs:element name="ListAppointmentsByOrgResponse">
 
<xs:annotation>
   
<xs:documentation>XXXX NB Slettes!! Er erstattet av ListScheduleByOrgResponse</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AppointmentsByOrgs" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="AppointmentByOrg" type="AppointmentByOrgListType" maxOccurs="unbounded"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListAppointmentsByOrgResponse/AppointmentsByOrgs
diagram Booking_p12.png
properties
minOcc 0
maxOcc 1
content complex
children AppointmentByOrg
source <xs:element name="AppointmentsByOrgs" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AppointmentByOrg" type="AppointmentByOrgListType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListAppointmentsByOrgResponse/AppointmentsByOrgs/AppointmentByOrg
diagram Booking_p13.png
type AppointmentByOrgListType
properties
minOcc 1
maxOcc unbounded
content complex
children ScheduleSlotId BookingId WaitingListId WaitingList ContactId Contact BookingStatus VisitType AppointmentStatus AppointmentType AppointmentDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To Patient Resource SendNotification MedicalUnit CareUnit
source <xs:element name="AppointmentByOrg" type="AppointmentByOrgListType" maxOccurs="unbounded"/>

element ListPatientAppointmentsRequest
diagram Booking_p14.png
properties
content complex
children PatientId From To Organization
annotation
documentation
Request for ListPatientAppointments
source <xs:element name="ListPatientAppointmentsRequest">
 
<xs:annotation>
   
<xs:documentation>Request for ListPatientAppointments </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PatientId" type="xs:int">
       
<xs:annotation>
         
<xs:documentation>Internal patient id for the HIS</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="From" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the start of the appointment list periode.                         Set to current date if not in input.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="To" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the end of appointment list periode.  Set to current date if not in input</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Organization" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization may be specified.                          If organization used one of the optional tags (MediCalUnit, CareUnit or Scetion) must be used.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="MedicalUnit" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Department/Medical Speciality</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:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="CareUnit" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90: Enhet/Post. </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:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="Section" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90 Only:                     SectionCode can only be used with departmentid/ MedicalIUnitId.</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Id" type="xs:string">
                   
<xs:annotation>
                     
<xs:documentation>Internal id/code</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsRequest/PatientId
diagram Booking_p15.png
type xs:int
properties
content simple
annotation
documentation
Internal patient id for the HIS
source <xs:element name="PatientId" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Internal patient id for the HIS</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAppointmentsRequest/From
diagram Booking_p16.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the start of the appointment list periode.                         Set to current date if not in input.
source <xs:element name="From" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start of the appointment list periode.                         Set to current date if not in input.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAppointmentsRequest/To
diagram Booking_p17.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end of appointment list periode.  Set to current date if not in input
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end of appointment list periode.  Set to current date if not in input</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAppointmentsRequest/Organization
diagram Booking_p18.png
properties
minOcc 0
maxOcc 1
content complex
children MedicalUnit CareUnit Section
annotation
documentation
Organization may be specified.                          If organization used one of the optional tags (MediCalUnit, CareUnit or Scetion) must be used.
source <xs:element name="Organization" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization may be specified.                          If organization used one of the optional tags (MediCalUnit, CareUnit or Scetion) must be used.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MedicalUnit" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Department/Medical Speciality</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:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="CareUnit" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90: Enhet/Post. </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:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Section" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90 Only:                     SectionCode can only be used with departmentid/ MedicalIUnitId.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Id" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Internal id/code</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsRequest/Organization/MedicalUnit
diagram Booking_p19.png
properties
minOcc 0
maxOcc 1
content complex
children Id
annotation
documentation
Department/Medical Speciality
source <xs:element name="MedicalUnit" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Department/Medical Speciality</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:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsRequest/Organization/MedicalUnit/Id
diagram Booking_p20.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 ListPatientAppointmentsRequest/Organization/CareUnit
diagram Booking_p21.png
properties
minOcc 0
maxOcc 1
content complex
children Id
annotation
documentation
HIS90: Enhet/Post.
source <xs:element name="CareUnit" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: Enhet/Post. </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:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsRequest/Organization/CareUnit/Id
diagram Booking_p22.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 ListPatientAppointmentsRequest/Organization/Section
diagram Booking_p23.png
properties
minOcc 0
maxOcc 1
content complex
children Id
annotation
documentation
HIS90 Only:                     SectionCode can only be used with departmentid/ MedicalIUnitId.
source <xs:element name="Section" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90 Only:                     SectionCode can only be used with departmentid/ MedicalIUnitId.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Internal id/code</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsRequest/Organization/Section/Id
diagram Booking_p24.png
type xs:string
properties
content simple
annotation
documentation
Internal id/code
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal id/code</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAppointmentsResponse
diagram Booking_p25.png
properties
content complex
children Patient Appointments
annotation
documentation
Response for ListPatientAppointments
source <xs:element name="ListPatientAppointmentsResponse">
 
<xs:annotation>
   
<xs:documentation>Response for ListPatientAppointments </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Patient">
       
<xs:annotation>
         
<xs:documentation>Patient information </xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Id">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="OfficialId">
                   
<xs:annotation>
                     
<xs:documentation>Official id. Can also be an emergency number.</xs:documentation>
                   
</xs:annotation>
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="Value" type="xs:string">
                         
<xs:annotation>
                           
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
                         
</xs:annotation>
                       
</xs:element>
                       
<xs:element name="TypeOfId" type="xs:string">
                         
<xs:annotation>
                           
<xs:documentation>F = official id, N = Emergency number, K = Catastrophy number, U = Non human number</xs:documentation>
                         
</xs:annotation>
                       
</xs:element>
                       
<xs:element name="FormattedId" type="xs:string">
                         
<xs:annotation>
                           
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.</xs:documentation>
                         
</xs:annotation>
                       
</xs:element>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
                 
<xs:element name="PatientId" type="xs:int">
                   
<xs:annotation>
                     
<xs:documentation>Internal patient id for the HIS</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="Name">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="FormattedName" type="xs:string">
                   
<xs:annotation>
                     
<xs:documentation>The person's names formatted in one string according to national rules.</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Appointments" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Appointment" type="AppointmentListType" maxOccurs="unbounded"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsResponse/Patient
diagram Booking_p26.png
properties
content complex
children Id Name
annotation
documentation
Patient information
source <xs:element name="Patient">
 
<xs:annotation>
   
<xs:documentation>Patient information </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="OfficialId">
             
<xs:annotation>
               
<xs:documentation>Official id. Can also be an emergency number.</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Value" type="xs:string">
                   
<xs:annotation>
                     
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
                 
<xs:element name="TypeOfId" type="xs:string">
                   
<xs:annotation>
                     
<xs:documentation>F = official id, N = Emergency number, K = Catastrophy number, U = Non human number</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
                 
<xs:element name="FormattedId" type="xs:string">
                   
<xs:annotation>
                     
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="PatientId" type="xs:int">
             
<xs:annotation>
               
<xs:documentation>Internal patient id for the HIS</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Name">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="FormattedName" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>The person's names formatted in one string according to national rules.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsResponse/Patient/Id
diagram Booking_p27.png
properties
content complex
children OfficialId PatientId
source <xs:element name="Id">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="OfficialId">
       
<xs:annotation>
         
<xs:documentation>Official id. Can also be an emergency number.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Value" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="TypeOfId" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>F = official id, N = Emergency number, K = Catastrophy number, U = Non human number</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="FormattedId" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="PatientId" type="xs:int">
       
<xs:annotation>
         
<xs:documentation>Internal patient id for the HIS</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsResponse/Patient/Id/OfficialId
diagram Booking_p28.png
properties
content complex
children Value TypeOfId FormattedId
annotation
documentation
Official id. Can also be an emergency number.
source <xs:element name="OfficialId">
 
<xs:annotation>
   
<xs:documentation>Official id. Can also be an emergency number.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Value" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>F = official id, N = Emergency number, K = Catastrophy number, U = Non human number</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="FormattedId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsResponse/Patient/Id/OfficialId/Value
diagram Booking_p29.png
type xs:string
properties
content simple
annotation
documentation
The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.
source <xs:element name="Value" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAppointmentsResponse/Patient/Id/OfficialId/TypeOfId
diagram Booking_p30.png
type xs:string
properties
content simple
annotation
documentation
F = official id, N = Emergency number, K = Catastrophy number, U = Non human number
source <xs:element name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>F = official id, N = Emergency number, K = Catastrophy number, U = Non human number</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAppointmentsResponse/Patient/Id/OfficialId/FormattedId
diagram Booking_p31.png
type xs:string
properties
content simple
annotation
documentation
The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.
source <xs:element name="FormattedId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAppointmentsResponse/Patient/Id/PatientId
diagram Booking_p32.png
type xs:int
properties
content simple
annotation
documentation
Internal patient id for the HIS
source <xs:element name="PatientId" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Internal patient id for the HIS</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAppointmentsResponse/Patient/Name
diagram Booking_p33.png
properties
content complex
children FormattedName
source <xs:element name="Name">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="FormattedName" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The person's names formatted in one string according to national rules.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsResponse/Patient/Name/FormattedName
diagram Booking_p34.png
type xs:string
properties
content simple
annotation
documentation
The person's names formatted in one string according to national rules.
source <xs:element name="FormattedName" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The person's names formatted in one string according to national rules.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAppointmentsResponse/Appointments
diagram Booking_p35.png
properties
minOcc 0
maxOcc 1
content complex
children Appointment
source <xs:element name="Appointments" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Appointment" type="AppointmentListType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAppointmentsResponse/Appointments/Appointment
diagram Booking_p36.png
type AppointmentListType
properties
minOcc 1
maxOcc unbounded
content complex
children Id ContactId CarePeriodId From To Type Status TypeOfCare Organization Resources Requesters
source <xs:element name="Appointment" type="AppointmentListType" maxOccurs="unbounded"/>

element ListResourceAppointments2GRequest
diagram Booking_p37.png
properties
content complex
children ResourceId TypeOfResourceId Unit From To AppointmentStatusFilter
annotation
documentation
NB Slettes!! Er erstattet av ListScheduleByResourceRequest
source <xs:element name="ListResourceAppointments2GRequest">
 
<xs:annotation>
   
<xs:documentation>NB Slettes!! Er erstattet av ListScheduleByResourceRequest</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourceId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Resource id  for the appointments </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfResourceId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Type of  Resource Id
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Unit" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization Unit for the appointments.
If missing/blank then uses the logged on user default unit
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<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">
             
<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:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="From" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the start for the appointment.
Default if nothing set is today
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="To" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the end  of the appointment.
Default if nothing set is today
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="AppointmentStatusFilter" type="AppointmentStatusType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Appointmentstatus
Booked, free or blocked. appointment.
Default if status filter is not set is only booked appointments.

HIS90: only ALL and BOOKED is used, all other filters will give errors
Other filters are for future expansion/development and are use when wanting to filter on  free or blocked appointments on a resource
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListResourceAppointments2GRequest/ResourceId
diagram Booking_p38.png
type xs:string
properties
content simple
annotation
documentation
Resource id  for the appointments
source <xs:element name="ResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Resource id  for the appointments </xs:documentation>
 
</xs:annotation>
</xs:element>

element ListResourceAppointments2GRequest/TypeOfResourceId
diagram Booking_p39.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of  Resource Id
source <xs:element name="TypeOfResourceId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of  Resource Id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListResourceAppointments2GRequest/Unit
diagram Booking_p40.png
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId
annotation
documentation
Organization Unit for the appointments.
If missing/blank then uses the logged on user default unit
source <xs:element name="Unit" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization Unit for the appointments.
If missing/blank then uses the logged on user default unit
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<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">
       
<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:sequence>
 
</xs:complexType>
</xs:element>

element ListResourceAppointments2GRequest/Unit/Id
diagram Booking_p41.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 ListResourceAppointments2GRequest/Unit/TypeOfId
diagram Booking_p42.png
type xs:string
properties
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">
 
<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 ListResourceAppointments2GRequest/From
diagram Booking_p43.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the start for the appointment.
Default if nothing set is today
source <xs:element name="From" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the appointment.
Default if nothing set is today
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListResourceAppointments2GRequest/To
diagram Booking_p44.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the appointment.
Default if nothing set is today
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the appointment.
Default if nothing set is today
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListResourceAppointments2GRequest/AppointmentStatusFilter
diagram Booking_p45.png
type AppointmentStatusType
properties
minOcc 0
maxOcc unbounded
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
annotation
documentation
Appointmentstatus
Booked, free or blocked. appointment.
Default if status filter is not set is only booked appointments.

HIS90: only ALL and BOOKED is used, all other filters will give errors
Other filters are for future expansion/development and are use when wanting to filter on  free or blocked appointments on a resource
source <xs:element name="AppointmentStatusFilter" type="AppointmentStatusType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Appointmentstatus
Booked, free or blocked. appointment.
Default if status filter is not set is only booked appointments.

HIS90: only ALL and BOOKED is used, all other filters will give errors
Other filters are for future expansion/development and are use when wanting to filter on  free or blocked appointments on a resource
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListResourceAppointments2GResponse
diagram Booking_p46.png
properties
content complex
children ResourceAppointments
annotation
documentation
NB Slettes!! Er erstattet av ListScheduleByResourceResponse
source <xs:element name="ListResourceAppointments2GResponse">
 
<xs:annotation>
   
<xs:documentation>NB Slettes!! Er erstattet av ListScheduleByResourceResponse</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourceAppointments" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ResourceAppointment" type="ResourceAppointmentListType" maxOccurs="unbounded"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListResourceAppointments2GResponse/ResourceAppointments
diagram Booking_p47.png
properties
minOcc 0
maxOcc 1
content complex
children ResourceAppointment
source <xs:element name="ResourceAppointments" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourceAppointment" type="ResourceAppointmentListType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListResourceAppointments2GResponse/ResourceAppointments/ResourceAppointment
diagram Booking_p48.png
type ResourceAppointmentListType
properties
minOcc 1
maxOcc unbounded
content complex
children ScheduleSlotId BookingId WaitingListId WaitingList ContactId Contact BookingStatus VisitType AppointmentStatus AppointmentType AppointmentDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To Patient Resource SendNotification
source <xs:element name="ResourceAppointment" type="ResourceAppointmentListType" maxOccurs="unbounded"/>

element ListScheduleByOrgRequest
diagram Booking_p49.png
properties
content complex
children Unit From To ScheduleSlotStatusFilter
annotation
documentation
Request for ListScheduleByOrg
source <xs:element name="ListScheduleByOrgRequest">
 
<xs:annotation>
   
<xs:documentation>Request for ListScheduleByOrg</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Unit">
       
<xs:annotation>
         
<xs:documentation>Organization Unit for the schedule slot/appointment.
If missing/blank then uses the logged on user default unit
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<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">
             
<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:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="From" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the start for the schedule slot/appointment.
Default if nothing set is today
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="To" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the end  of the schedule slot/appointment.
Default if nothing set is today
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ScheduleSlotStatusFilter" type="ScheduleSlotStatusType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>schedule slot/appointment status
Booked, free or blocked. schedule slot/appointment.
Default if status filter is not set is only booked schedule slots/appointments.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByOrgRequest/Unit
diagram Booking_p50.png
properties
content complex
children Id TypeOfId
annotation
documentation
Organization Unit for the schedule slot/appointment.
If missing/blank then uses the logged on user default unit
source <xs:element name="Unit">
 
<xs:annotation>
   
<xs:documentation>Organization Unit for the schedule slot/appointment.
If missing/blank then uses the logged on user default unit
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<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">
       
<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:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByOrgRequest/Unit/Id
diagram Booking_p51.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 ListScheduleByOrgRequest/Unit/TypeOfId
diagram Booking_p52.png
type xs:string
properties
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">
 
<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 ListScheduleByOrgRequest/From
diagram Booking_p53.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the start for the schedule slot/appointment.
Default if nothing set is today
source <xs:element name="From" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the schedule slot/appointment.
Default if nothing set is today
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByOrgRequest/To
diagram Booking_p54.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the schedule slot/appointment.
Default if nothing set is today
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the schedule slot/appointment.
Default if nothing set is today
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByOrgRequest/ScheduleSlotStatusFilter
diagram Booking_p55.png
type ScheduleSlotStatusType
properties
minOcc 0
maxOcc unbounded
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
enumeration FirstEachResource
annotation
documentation
schedule slot/appointment status
Booked, free or blocked. schedule slot/appointment.
Default if status filter is not set is only booked schedule slots/appointments.
source <xs:element name="ScheduleSlotStatusFilter" type="ScheduleSlotStatusType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>schedule slot/appointment status
Booked, free or blocked. schedule slot/appointment.
Default if status filter is not set is only booked schedule slots/appointments.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByOrgResponse
diagram Booking_p56.png
properties
content complex
children ScheduleByOrgs
annotation
documentation
Response for ListScheduleByOrg
source <xs:element name="ListScheduleByOrgResponse">
 
<xs:annotation>
   
<xs:documentation>Response for ListScheduleByOrg</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ScheduleByOrgs" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ScheduleByOrg" type="ScheduleByOrgListType" maxOccurs="unbounded"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByOrgResponse/ScheduleByOrgs
diagram Booking_p57.png
properties
minOcc 0
maxOcc 1
content complex
children ScheduleByOrg
source <xs:element name="ScheduleByOrgs" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ScheduleByOrg" type="ScheduleByOrgListType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByOrgResponse/ScheduleByOrgs/ScheduleByOrg
diagram Booking_p58.png
type ScheduleByOrgListType
properties
minOcc 1
maxOcc unbounded
content complex
children ScheduleSlotId BookingId CarePeriod WaitingList Contact ScheduleSlotStatus ScheduleSlotType ScheduleSlotDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To Patient Resource BookingText SendNotification MedicalUnit CareUnit
source <xs:element name="ScheduleByOrg" type="ScheduleByOrgListType" maxOccurs="unbounded"/>

element ListScheduleByResourceRequest
diagram Booking_p59.png
properties
content complex
children ResourceId TypeOfResourceId Unit From To ScheduleSlotStatusFilter
annotation
documentation
Request for ListScheduleByResource
source <xs:element name="ListScheduleByResourceRequest">
 
<xs:annotation>
   
<xs:documentation>Request for ListScheduleByResource</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourceId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Resource id  for the schedule slots</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfResourceId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Type of  Resource Id
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Unit" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization Unit for the schedule slots.
If missing/blank then uses the logged on user default unit
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<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">
             
<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:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="From" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the start for the schedule slot.
Default if nothing set is today
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="To" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date and time for the end  of the schedule slot.
Default if nothing set is today
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ScheduleSlotStatusFilter" type="ScheduleSlotStatusType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>ScheduleSlotStatus
Booked, free or blocked schedule slots.
Default if status filter is not set is only booked schedule slots.

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

element ListScheduleByResourceRequest/ResourceId
diagram Booking_p60.png
type xs:string
properties
content simple
annotation
documentation
Resource id  for the schedule slots
source <xs:element name="ResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Resource id  for the schedule slots</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByResourceRequest/TypeOfResourceId
diagram Booking_p61.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of  Resource Id
source <xs:element name="TypeOfResourceId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of  Resource Id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByResourceRequest/Unit
diagram Booking_p62.png
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId
annotation
documentation
Organization Unit for the schedule slots.
If missing/blank then uses the logged on user default unit
source <xs:element name="Unit" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization Unit for the schedule slots.
If missing/blank then uses the logged on user default unit
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<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">
       
<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:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByResourceRequest/Unit/Id
diagram Booking_p63.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 ListScheduleByResourceRequest/Unit/TypeOfId
diagram Booking_p64.png
type xs:string
properties
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">
 
<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 ListScheduleByResourceRequest/From
diagram Booking_p65.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the start for the schedule slot.
Default if nothing set is today
source <xs:element name="From" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the schedule slot.
Default if nothing set is today
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByResourceRequest/To
diagram Booking_p66.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the schedule slot.
Default if nothing set is today
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the schedule slot.
Default if nothing set is today
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByResourceRequest/ScheduleSlotStatusFilter
diagram Booking_p67.png
type ScheduleSlotStatusType
properties
minOcc 0
maxOcc unbounded
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
enumeration FirstEachResource
annotation
documentation
ScheduleSlotStatus
Booked, free or blocked schedule slots.
Default if status filter is not set is only booked schedule slots.

source <xs:element name="ScheduleSlotStatusFilter" type="ScheduleSlotStatusType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>ScheduleSlotStatus
Booked, free or blocked schedule slots.
Default if status filter is not set is only booked schedule slots.

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

element ListScheduleByResourceResponse
diagram Booking_p68.png
properties
content complex
children ResourceSchedules
annotation
documentation
Response for ListScheduleByResource
source <xs:element name="ListScheduleByResourceResponse">
 
<xs:annotation>
   
<xs:documentation>Response for ListScheduleByResource</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourceSchedules" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ResourceSchedule" type="ScheduleByResourceListType" maxOccurs="unbounded"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByResourceResponse/ResourceSchedules
diagram Booking_p69.png
properties
minOcc 0
maxOcc 1
content complex
children ResourceSchedule
source <xs:element name="ResourceSchedules" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourceSchedule" type="ScheduleByResourceListType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByResourceResponse/ResourceSchedules/ResourceSchedule
diagram Booking_p70.png
type ScheduleByResourceListType
properties
minOcc 1
maxOcc unbounded
content complex
children ScheduleSlotId BookingId CarePeriod WaitingList Contact ScheduleSlotStatus ScheduleSlotType ScheduleSlotDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To Patient Resource BookingText SendNotification
source <xs:element name="ResourceSchedule" type="ScheduleByResourceListType" maxOccurs="unbounded"/>

element ListScheduleByResourcesRequest
diagram Booking_p71.png
properties
content complex
children SchedulesByResources
source <xs:element name="ListScheduleByResourcesRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="SchedulesByResources" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="SchedulesByResource" maxOccurs="unbounded">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="ResourceId" type="xs:string">
                   
<xs:annotation>
                     
<xs:documentation>Resource id  for the schedule slots</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
                 
<xs:element name="TypeOfResourceId" type="xs:string" minOccurs="0">
                   
<xs:annotation>
                     
<xs:documentation>Type of  Resource Id
</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
                 
<xs:element name="Unit" minOccurs="0">
                   
<xs:annotation>
                     
<xs:documentation>Organization Unit for the schedule slots.
If missing/blank then uses the logged on user default unit
</xs:documentation>
                   
</xs:annotation>
                   
<xs:complexType>
                     
<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">
                         
<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:sequence>
                   
</xs:complexType>
                 
</xs:element>
                 
<xs:element name="Dates" type="ValidDatesBooking" minOccurs="0" maxOccurs="unbounded">
                   
<xs:annotation>
                     
<xs:documentation>From is date and time for the start for the schedule slot.
Default if nothing set is today
To is date and time for the end  of the schedule slot.
Default if nothing set is today
</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
                 
<xs:element name="ScheduleSlotStatusFilter" type="ScheduleSlotStatusType" minOccurs="0" maxOccurs="unbounded">
                   
<xs:annotation>
                     
<xs:documentation>ScheduleSlotStatus
Booked, free or blocked schedule slots.
Default if status filter is not set is only booked schedule slots.

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

element ListScheduleByResourcesRequest/SchedulesByResources
diagram Booking_p72.png
properties
minOcc 0
maxOcc 1
content complex
children SchedulesByResource
source <xs:element name="SchedulesByResources" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="SchedulesByResource" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ResourceId" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Resource id  for the schedule slots</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="TypeOfResourceId" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Type of  Resource Id
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Unit" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Organization Unit for the schedule slots.
If missing/blank then uses the logged on user default unit
</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<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">
                   
<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:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="Dates" type="ValidDatesBooking" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>From is date and time for the start for the schedule slot.
Default if nothing set is today
To is date and time for the end  of the schedule slot.
Default if nothing set is today
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="ScheduleSlotStatusFilter" type="ScheduleSlotStatusType" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>ScheduleSlotStatus
Booked, free or blocked schedule slots.
Default if status filter is not set is only booked schedule slots.

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

element ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource
diagram Booking_p73.png
properties
minOcc 1
maxOcc unbounded
content complex
children ResourceId TypeOfResourceId Unit Dates ScheduleSlotStatusFilter
source <xs:element name="SchedulesByResource" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourceId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Resource id  for the schedule slots</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfResourceId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Type of  Resource Id
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Unit" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization Unit for the schedule slots.
If missing/blank then uses the logged on user default unit
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<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">
             
<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:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Dates" type="ValidDatesBooking" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>From is date and time for the start for the schedule slot.
Default if nothing set is today
To is date and time for the end  of the schedule slot.
Default if nothing set is today
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ScheduleSlotStatusFilter" type="ScheduleSlotStatusType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>ScheduleSlotStatus
Booked, free or blocked schedule slots.
Default if status filter is not set is only booked schedule slots.

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

element ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource/ResourceId
diagram Booking_p74.png
type xs:string
properties
content simple
annotation
documentation
Resource id  for the schedule slots
source <xs:element name="ResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Resource id  for the schedule slots</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource/TypeOfResourceId
diagram Booking_p75.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of  Resource Id
source <xs:element name="TypeOfResourceId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of  Resource Id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource/Unit
diagram Booking_p76.png
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId
annotation
documentation
Organization Unit for the schedule slots.
If missing/blank then uses the logged on user default unit
source <xs:element name="Unit" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization Unit for the schedule slots.
If missing/blank then uses the logged on user default unit
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<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">
       
<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:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource/Unit/Id
diagram Booking_p77.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 ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource/Unit/TypeOfId
diagram Booking_p78.png
type xs:string
properties
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">
 
<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 ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource/Dates
diagram Booking_p79.png
type ValidDatesBooking
properties
minOcc 0
maxOcc unbounded
content complex
children From To
annotation
documentation
From is date and time for the start for the schedule slot.
Default if nothing set is today
To is date and time for the end  of the schedule slot.
Default if nothing set is today
source <xs:element name="Dates" type="ValidDatesBooking" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>From is date and time for the start for the schedule slot.
Default if nothing set is today
To is date and time for the end  of the schedule slot.
Default if nothing set is today
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource/ScheduleSlotStatusFilter
diagram Booking_p80.png
type ScheduleSlotStatusType
properties
minOcc 0
maxOcc unbounded
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
enumeration FirstEachResource
annotation
documentation
ScheduleSlotStatus
Booked, free or blocked schedule slots.
Default if status filter is not set is only booked schedule slots.

source <xs:element name="ScheduleSlotStatusFilter" type="ScheduleSlotStatusType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>ScheduleSlotStatus
Booked, free or blocked schedule slots.
Default if status filter is not set is only booked schedule slots.

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

element ListScheduleByResourcesResponse
diagram Booking_p81.png
properties
content complex
children ResourcesSchedules
source <xs:element name="ListScheduleByResourcesResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourcesSchedules" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ResourcesSchedule" type="ScheduleByOrgListType" maxOccurs="unbounded"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByResourcesResponse/ResourcesSchedules
diagram Booking_p82.png
properties
minOcc 0
maxOcc 1
content complex
children ResourcesSchedule
source <xs:element name="ResourcesSchedules" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResourcesSchedule" type="ScheduleByOrgListType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleByResourcesResponse/ResourcesSchedules/ResourcesSchedule
diagram Booking_p83.png
type ScheduleByOrgListType
properties
minOcc 1
maxOcc unbounded
content complex
children ScheduleSlotId BookingId CarePeriod WaitingList Contact ScheduleSlotStatus ScheduleSlotType ScheduleSlotDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To Patient Resource BookingText SendNotification MedicalUnit CareUnit
source <xs:element name="ResourcesSchedule" type="ScheduleByOrgListType" maxOccurs="unbounded"/>

element ListScheduleSlotsRequest
diagram Booking_p84.png
properties
content complex
children ScheduleSlotId WaitingListId PatientId
annotation
documentation
Request for getting one (or several) specific schedule slot/appointment (only schdeule slot/appointments info, no/little other info)
source <xs:element name="ListScheduleSlotsRequest">
 
<xs:annotation>
   
<xs:documentation>Request for getting one (or several) specific schedule slot/appointment (only schdeule slot/appointments info, no/little other info)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:choice>
     
<xs:element name="ScheduleSlotId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The internal id for one schedule slot for a resource.
A schedule slot can be allocted to a patient also.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="WaitingListId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Waitinglist Id.
If WaitingListId is used then other input parameters is ignored/not used.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:sequence>
       
<xs:element name="PatientId" type="xs:int">
         
<xs:annotation>
           
<xs:documentation>Internal patient id for the HIS

HIS90: Only liste schedule slots7appointments form todya and later, no historic items.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:choice>
 
</xs:complexType>
</xs:element>

element ListScheduleSlotsRequest/ScheduleSlotId
diagram Booking_p85.png
type xs:string
properties
content simple
annotation
documentation
The internal id for one schedule slot for a resource.
A schedule slot can be allocted to a patient also.
source <xs:element name="ScheduleSlotId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The internal id for one schedule slot for a resource.
A schedule slot can be allocted to a patient also.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleSlotsRequest/WaitingListId
diagram Booking_p86.png
type xs:string
properties
content simple
annotation
documentation
Waitinglist Id.
If WaitingListId is used then other input parameters is ignored/not used.
source <xs:element name="WaitingListId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Waitinglist Id.
If WaitingListId is used then other input parameters is ignored/not used.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleSlotsRequest/PatientId
diagram Booking_p87.png
type xs:int
properties
content simple
annotation
documentation
Internal patient id for the HIS

HIS90: Only liste schedule slots7appointments form todya and later, no historic items.
source <xs:element name="PatientId" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Internal patient id for the HIS

HIS90: Only liste schedule slots7appointments form todya and later, no historic items.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListScheduleSlotsResponse
diagram Booking_p88.png
properties
content complex
children ScheduleSlots
annotation
documentation
Response from getting one (or several) specific schedule slot/appointment (only schdeule slot/appointments info, no/little other info)
source <xs:element name="ListScheduleSlotsResponse">
 
<xs:annotation>
   
<xs:documentation>Response from getting one (or several) specific schedule slot/appointment (only schdeule slot/appointments info, no/little other info)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ScheduleSlots" type="ScheduleSlotsBaseListType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListScheduleSlotsResponse/ScheduleSlots
diagram Booking_p89.png
type ScheduleSlotsBaseListType
properties
minOcc 0
maxOcc 1
content complex
children ScheduleSlot
source <xs:element name="ScheduleSlots" type="ScheduleSlotsBaseListType" minOccurs="0"/>

element MoveScheduleSlotsRequest
diagram Booking_p90.png
properties
content complex
children MoveScheduleSlots
source <xs:element name="MoveScheduleSlotsRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MoveScheduleSlots" type="MoveScheduleSlotsType"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element MoveScheduleSlotsRequest/MoveScheduleSlots
diagram Booking_p91.png
type MoveScheduleSlotsType
properties
content complex
children Resource OrganzationUnit Date ToNewDate ToNewResource
source <xs:element name="MoveScheduleSlots" type="MoveScheduleSlotsType"/>

element MoveScheduleSlotsResponse
diagram Booking_p92.png
properties
content complex
source <xs:element name="MoveScheduleSlotsResponse">
 
<xs:complexType>
   
<xs:sequence/>
 
</xs:complexType>
</xs:element>

element SaveScheduleSlotRequest
diagram Booking_p93.png
properties
content complex
children ScheduleSlots
annotation
documentation
Request for saving one (or several) specific schedule slot/appointment (only schdeule slot/appointments info, no/little other info)
source <xs:element name="SaveScheduleSlotRequest">
 
<xs:annotation>
   
<xs:documentation>Request for saving one (or several) specific schedule slot/appointment (only schdeule slot/appointments info, no/little other info)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ScheduleSlots" type="ScheduleSlotsBaseListType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SaveScheduleSlotRequest/ScheduleSlots
diagram Booking_p94.png
type ScheduleSlotsBaseListType
properties
minOcc 0
maxOcc 1
content complex
children ScheduleSlot
source <xs:element name="ScheduleSlots" type="ScheduleSlotsBaseListType" minOccurs="0"/>

element SaveScheduleSlotResponse
diagram Booking_p95.png
properties
content complex
children ScheduleSlots
annotation
documentation
Response from saving one (or several) specific schedule slot/appointment (only schdeule slot/appointments info, no/little other info)
source <xs:element name="SaveScheduleSlotResponse">
 
<xs:annotation>
   
<xs:documentation>Response from saving one (or several) specific schedule slot/appointment (only schdeule slot/appointments info, no/little other info)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ScheduleSlots" type="ScheduleSlotsBaseListType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SaveScheduleSlotResponse/ScheduleSlots
diagram Booking_p96.png
type ScheduleSlotsBaseListType
properties
minOcc 0
maxOcc 1
content complex
children ScheduleSlot
source <xs:element name="ScheduleSlots" type="ScheduleSlotsBaseListType" minOccurs="0"/>

complexType AdditionalIdListBooking
diagram Booking_p97.png
children AdditionalId
used by
element OrganizationTypeExtBooking/AdditionalIds
annotation
documentation
Type for list of additional id for organiszation, requester, contact, patientids etc
source <xs:complexType name="AdditionalIdListBooking">
 
<xs:annotation>
   
<xs:documentation>Type for list of additional id for organiszation, requester, contact, patientids etc</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="AdditionalId" type="AdditionalIdTypeBooking" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

element AdditionalIdListBooking/AdditionalId
diagram Booking_p98.png
type AdditionalIdTypeBooking
properties
minOcc 1
maxOcc unbounded
content complex
children Id TypeOfId
source <xs:element name="AdditionalId" type="AdditionalIdTypeBooking" maxOccurs="unbounded"/>

complexType AdditionalIdTypeBooking
diagram Booking_p99.png
children Id TypeOfId
used by
element AdditionalIdListBooking/AdditionalId
annotation
documentation
Type for additional id for organiszation, requester, contact, patientids etc
source <xs:complexType name="AdditionalIdTypeBooking">
 
<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= Lokal id           XXX=Annet                  
Other Tieto codes are:
For HIS90:
LUI=UniqueId   
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

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

element AdditionalIdTypeBooking/TypeOfId
diagram Booking_p101.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= Lokal 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= Lokal id           XXX=Annet                  
Other Tieto codes are:
For HIS90:
LUI=UniqueId   
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AppointmentByOrgListType
diagram Booking_p102.png
type extension of ResourceAppointmentListType
properties
base ResourceAppointmentListType
children ScheduleSlotId BookingId WaitingListId WaitingList ContactId Contact BookingStatus VisitType AppointmentStatus AppointmentType AppointmentDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To Patient Resource SendNotification MedicalUnit CareUnit
used by
element ListAppointmentsByOrgResponse/AppointmentsByOrgs/AppointmentByOrg
annotation
documentation
XXXX NB Slettes!! Er erstattet av ScheduleSlotByOrgListType
source <xs:complexType name="AppointmentByOrgListType">
 
<xs:annotation>
   
<xs:documentation>XXXX NB Slettes!! Er erstattet av ScheduleSlotByOrgListType</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="ResourceAppointmentListType">
     
<xs:sequence>
       
<xs:element name="MedicalUnit" type="OrganizationTypeBooking">
         
<xs:annotation>
           
<xs:documentation>Department/Medical Speciality                       HIS90: Avdeling</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="CareUnit" type="OrganizationTypeBooking">
         
<xs:annotation>
           
<xs:documentation>Unit where the care takes place.                       HIS90: Enhet/Post</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element AppointmentByOrgListType/MedicalUnit
diagram Booking_p103.png
type OrganizationTypeBooking
properties
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Department/Medical Speciality                       HIS90: Avdeling
source <xs:element name="MedicalUnit" type="OrganizationTypeBooking">
 
<xs:annotation>
   
<xs:documentation>Department/Medical Speciality                       HIS90: Avdeling</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentByOrgListType/CareUnit
diagram Booking_p104.png
type OrganizationTypeBooking
properties
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Unit where the care takes place.                       HIS90: Enhet/Post
source <xs:element name="CareUnit" type="OrganizationTypeBooking">
 
<xs:annotation>
   
<xs:documentation>Unit where the care takes place.                       HIS90: Enhet/Post</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AppointmentDetailType
diagram Booking_p105.png
children Id CarePeriodId Type Status VisitType TypeOfCare From To PreviousVisits Group FreeHospitalChoice Organization Resources Requesters Reason BookingText Admission Update
used by
element AppointmentType/Appointment
annotation
documentation
Type for detailed appointment infomation
source <xs:complexType name="AppointmentDetailType">
 
<xs:annotation>
   
<xs:documentation>Type for detailed appointment infomation</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The internal id for the booking/appointment 

HIS90: BookingId (Combinded Id)
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CarePeriodId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal Care Period Id.    An id used to identify associated  booking/referrals.

HIS90: CarePeriodId (Combinded Id)
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Type" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Appointment type

HIS90:                               Type of an appointment. Valid types are T1-T5 and OB
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Status">
     
<xs:annotation>
       
<xs:documentation>Appointment/Booking status 
HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="VisitType">
     
<xs:annotation>
       
<xs:documentation>Type of consulting

For valid codes/values see documentation.
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="TypeOfCare">
     
<xs:annotation>
       
<xs:documentation>TypeOfCare:             I=Inpatient/Inneliggende     P=OutPatiens/Poliklinikk  D= In hospital only at daytime                             </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="From" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date and time for the start for the appointment</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="To" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the end  of the appointment</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="PreviousVisits" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Previous visit's date/time.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="PreviousVisit" type="xs:dateTime" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Previous visit date/time.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Group" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Patient group</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Group code</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Text" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Group description</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="FreeHospitalChoice" type="xs:boolean" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>If treatment(booking) is due to Free Hospital Choice (Norway only).
True = Free choice
False = Not free choice
Tag missing/nul = Not decided/patient have not done a choice(not asked)
HIS90:
Valid values
True = J
False = N
Tag missing/null = U
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Organization" type="OrganizationType">
     
<xs:annotation>
       
<xs:documentation>Organization where booking belongs to/take place.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Resources">
     
<xs:annotation>
       
<xs:documentation>Resources involved in the booking</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Resource" type="ResourceAppointmentType" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Resource related to the appointment</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="EvaluatedBy">
           
<xs:annotation>
             
<xs:documentation>The resource (i.e. the chief physician) responsible for evaluation of the refarreal/waitinglist</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Id" type="xs:string"/>
               
<xs:element name="Code" type="xs:string" minOccurs="0"/>
               
<xs:element name="Name" type="xs:string" minOccurs="0"/>
               
<xs:element name="Property" type="xs:string" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Resource type</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Requesters" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Who requested this service/booking.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Requester" type="RequesterType" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Requester collection</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Reason" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Reason for Waitinglist.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="BookingText" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Free text used in referrall/waitinglist/booking</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Text" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>The Text</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="TypeOfText" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Coded description of the text type. For valid codes see documentation.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Admission" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Admittance</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="ContactedDate" type="xs:dateTime" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Date when inpatient is/was contacted about admittance.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="ByPhoned" type="xs:boolean" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Used if in-patient has been contacted by phone to confirm admittance. </xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Letter" type="LetterType" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Update" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Information about update or modification of waitinglist</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 waiting list is updated.</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element AppointmentDetailType/Id
diagram Booking_p106.png
type xs:string
properties
content simple
annotation
documentation
The internal id for the booking/appointment 

HIS90: BookingId (Combinded Id)
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The internal id for the booking/appointment 

HIS90: BookingId (Combinded Id)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/CarePeriodId
diagram Booking_p107.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal Care Period Id.    An id used to identify associated  booking/referrals.

HIS90: CarePeriodId (Combinded Id)
source <xs:element name="CarePeriodId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal Care Period Id.    An id used to identify associated  booking/referrals.

HIS90: CarePeriodId (Combinded Id)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Type
diagram Booking_p108.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Appointment type

HIS90:                               Type of an appointment. Valid types are T1-T5 and OB
source <xs:element name="Type" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Appointment type

HIS90:                               Type of an appointment. Valid types are T1-T5 and OB
</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Status
diagram Booking_p109.png
properties
content complex
children Code Text
annotation
documentation
Appointment/Booking status 
HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
source <xs:element name="Status">
 
<xs:annotation>
   
<xs:documentation>Appointment/Booking status 
HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/Status/Code
diagram Booking_p110.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element AppointmentDetailType/Status/Text
diagram Booking_p111.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element AppointmentDetailType/VisitType
diagram Booking_p112.png
properties
content complex
children Code Text
annotation
documentation
Type of consulting

For valid codes/values see documentation.
source <xs:element name="VisitType">
 
<xs:annotation>
   
<xs:documentation>Type of consulting

For valid codes/values see documentation.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/VisitType/Code
diagram Booking_p113.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element AppointmentDetailType/VisitType/Text
diagram Booking_p114.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element AppointmentDetailType/TypeOfCare
diagram Booking_p115.png
properties
content complex
children Code Text
annotation
documentation
TypeOfCare:             I=Inpatient/Inneliggende     P=OutPatiens/Poliklinikk  D= In hospital only at daytime                            
source <xs:element name="TypeOfCare">
 
<xs:annotation>
   
<xs:documentation>TypeOfCare:             I=Inpatient/Inneliggende     P=OutPatiens/Poliklinikk  D= In hospital only at daytime                             </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/TypeOfCare/Code
diagram Booking_p116.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element AppointmentDetailType/TypeOfCare/Text
diagram Booking_p117.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element AppointmentDetailType/From
diagram Booking_p118.png
type xs:dateTime
properties
content simple
annotation
documentation
Date and time for the start for the appointment
source <xs:element name="From" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/To
diagram Booking_p119.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the appointment
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/PreviousVisits
diagram Booking_p120.png
properties
minOcc 0
maxOcc 1
content complex
children PreviousVisit
annotation
documentation
Previous visit's date/time.
source <xs:element name="PreviousVisits" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Previous visit's date/time.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PreviousVisit" type="xs:dateTime" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Previous visit date/time.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/PreviousVisits/PreviousVisit
diagram Booking_p121.png
type xs:dateTime
properties
minOcc 1
maxOcc unbounded
content simple
annotation
documentation
Previous visit date/time.
source <xs:element name="PreviousVisit" type="xs:dateTime" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Previous visit date/time.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Group
diagram Booking_p122.png
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Patient group
source <xs:element name="Group" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patient group</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Group code</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Text" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Group description</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/Group/Code
diagram Booking_p123.png
type xs:string
properties
content simple
annotation
documentation
Group code
source <xs:element name="Code" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Group code</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Group/Text
diagram Booking_p124.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Group description
source <xs:element name="Text" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Group description</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/FreeHospitalChoice
diagram Booking_p125.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
If treatment(booking) is due to Free Hospital Choice (Norway only).
True = Free choice
False = Not free choice
Tag missing/nul = Not decided/patient have not done a choice(not asked)
HIS90:
Valid values
True = J
False = N
Tag missing/null = U
source <xs:element name="FreeHospitalChoice" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If treatment(booking) is due to Free Hospital Choice (Norway only).
True = Free choice
False = Not free choice
Tag missing/nul = Not decided/patient have not done a choice(not asked)
HIS90:
Valid values
True = J
False = N
Tag missing/null = U
</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Organization
diagram Booking_p126.png
type OrganizationType
properties
content complex
children MedicalUnit CareUnit Section
annotation
documentation
Organization where booking belongs to/take place.
source <xs:element name="Organization" type="OrganizationType">
 
<xs:annotation>
   
<xs:documentation>Organization where booking belongs to/take place.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Resources
diagram Booking_p127.png
properties
content complex
children Resource EvaluatedBy
annotation
documentation
Resources involved in the booking
source <xs:element name="Resources">
 
<xs:annotation>
   
<xs:documentation>Resources involved in the booking</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Resource" type="ResourceAppointmentType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Resource related to the appointment</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="EvaluatedBy">
       
<xs:annotation>
         
<xs:documentation>The resource (i.e. the chief physician) responsible for evaluation of the refarreal/waitinglist</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Id" type="xs:string"/>
           
<xs:element name="Code" type="xs:string" minOccurs="0"/>
           
<xs:element name="Name" type="xs:string" minOccurs="0"/>
           
<xs:element name="Property" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Resource type</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/Resources/Resource
diagram Booking_p128.png
type ResourceAppointmentType
properties
minOcc 0
maxOcc unbounded
content complex
children ResourceId Id From To Code Name Type MedicalUnit CareUnit
annotation
documentation
Resource related to the appointment
source <xs:element name="Resource" type="ResourceAppointmentType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Resource related to the appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Resources/EvaluatedBy
diagram Booking_p129.png
properties
content complex
children Id Code Name Property
annotation
documentation
The resource (i.e. the chief physician) responsible for evaluation of the refarreal/waitinglist
source <xs:element name="EvaluatedBy">
 
<xs:annotation>
   
<xs:documentation>The resource (i.e. the chief physician) responsible for evaluation of the refarreal/waitinglist</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string"/>
     
<xs:element name="Code" type="xs:string" minOccurs="0"/>
     
<xs:element name="Name" type="xs:string" minOccurs="0"/>
     
<xs:element name="Property" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Resource type</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/Resources/EvaluatedBy/Id
diagram Booking_p130.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

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

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

element AppointmentDetailType/Resources/EvaluatedBy/Property
diagram Booking_p133.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Resource type
source <xs:element name="Property" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource type</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Requesters
diagram Booking_p134.png
properties
minOcc 0
maxOcc 1
content complex
children Requester
annotation
documentation
Who requested this service/booking.
source <xs:element name="Requesters" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Who requested this service/booking.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Requester" type="RequesterType" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Requester collection</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/Requesters/Requester
diagram Booking_p135.png
type RequesterType
properties
minOcc 1
maxOcc unbounded
content complex
children Id Code Name Type
annotation
documentation
Requester collection
source <xs:element name="Requester" type="RequesterType" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Requester collection</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Reason
diagram Booking_p136.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Reason for Waitinglist.
source <xs:element name="Reason" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Reason for Waitinglist.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/BookingText
diagram Booking_p137.png
properties
minOcc 0
maxOcc unbounded
content complex
children Text TypeOfText
annotation
documentation
Free text used in referrall/waitinglist/booking
source <xs:element name="BookingText" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Free text used in referrall/waitinglist/booking</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Text" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The Text</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfText" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Coded description of the text type. For valid codes see documentation.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/BookingText/Text
diagram Booking_p138.png
type xs:string
properties
content simple
annotation
documentation
The Text
source <xs:element name="Text" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The Text</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/BookingText/TypeOfText
diagram Booking_p139.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Coded description of the text type. For valid codes see documentation.
source <xs:element name="TypeOfText" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Coded description of the text type. For valid codes see documentation.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Admission
diagram Booking_p140.png
properties
minOcc 0
maxOcc 1
content complex
children ContactedDate ByPhoned Letter
annotation
documentation
Admittance
source <xs:element name="Admission" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Admittance</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ContactedDate" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date when inpatient is/was contacted about admittance.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ByPhoned" type="xs:boolean" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Used if in-patient has been contacted by phone to confirm admittance. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Letter" type="LetterType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/Admission/ContactedDate
diagram Booking_p141.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date when inpatient is/was contacted about admittance.
source <xs:element name="ContactedDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date when inpatient is/was contacted about admittance.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Admission/ByPhoned
diagram Booking_p142.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Used if in-patient has been contacted by phone to confirm admittance.
source <xs:element name="ByPhoned" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Used if in-patient has been contacted by phone to confirm admittance. </xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentDetailType/Admission/Letter
diagram Booking_p143.png
type LetterType
properties
minOcc 0
maxOcc 1
content complex
children LetterDate ToRequester ToPatient TextToPatient
source <xs:element name="Letter" type="LetterType" minOccurs="0"/>

element AppointmentDetailType/Update
diagram Booking_p144.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 waitinglist
source <xs:element name="Update" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Information about update or modification of waitinglist</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 waiting list is updated.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element AppointmentDetailType/Update/UpdateCount
diagram Booking_p145.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Count used for concurrency testing when waiting list is updated.
source <xs:element name="UpdateCount" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Count used for concurrency testing when waiting list is updated.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AppointmentListType
diagram Booking_p146.png
children Id ContactId CarePeriodId From To Type Status TypeOfCare Organization Resources Requesters
used by
element ListPatientAppointmentsResponse/Appointments/Appointment
annotation
documentation
Type for listing appointments
source <xs:complexType name="AppointmentListType">
 
<xs:annotation>
   
<xs:documentation>Type for listing appointments</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The internal id for the booking/appointment  HIS90: BookingId (Combinded Id)</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ContactId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal Contact Id              Only if appointment is related to a contact              HIS90: Combined Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CarePeriodId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal Care Period Id.    An id used to identify associated contacts or referrals.                             HIS90: Combined Id.         Omsorgsperiode/Care Period</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="From" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date and time for the start for the appointment</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="To" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the end  of the appointment</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Type" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Appointment type                Infomedix:                          ExamCode?                                                       HIS90:                               Type of an appointment. Valid types are T1-T5 and OB</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Status">
     
<xs:annotation>
       
<xs:documentation>Appointment/Booking status 
HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="TypeOfCare">
     
<xs:annotation>
       
<xs:documentation>TypeOfCare:             I=Inpatient/Inneliggende     P=OutPatiens/Poliklinikk  D= In hospital only at daytime                             </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Organization" type="OrganizationType">
     
<xs:annotation>
       
<xs:documentation>Organization where booking belongs to/take place.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Resources">
     
<xs:annotation>
       
<xs:documentation>Resources involved in the booking</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Resource" type="ResourceAppointmentType" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Resource related to the appointment</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="EvaluatedBy">
           
<xs:annotation>
             
<xs:documentation>The resource (i.e. the chief physician) responsible for evaluation of the refarreal/waitinglist</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Id" type="xs:string"/>
               
<xs:element name="Code" type="xs:string" minOccurs="0"/>
               
<xs:element name="Name" type="xs:string" minOccurs="0"/>
               
<xs:element name="Property" type="xs:string" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Resource type</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Requesters" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Who requested this service/booking.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Requester" type="RequesterType" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Requester collection</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element AppointmentListType/Id
diagram Booking_p147.png
type xs:string
properties
content simple
annotation
documentation
The internal id for the booking/appointment  HIS90: BookingId (Combinded Id)
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The internal id for the booking/appointment  HIS90: BookingId (Combinded Id)</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentListType/ContactId
diagram Booking_p148.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal Contact Id              Only if appointment is related to a contact              HIS90: Combined Id
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal Contact Id              Only if appointment is related to a contact              HIS90: Combined Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentListType/CarePeriodId
diagram Booking_p149.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal Care Period Id.    An id used to identify associated contacts or referrals.                             HIS90: Combined Id.         Omsorgsperiode/Care Period
source <xs:element name="CarePeriodId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal Care Period Id.    An id used to identify associated contacts or referrals.                             HIS90: Combined Id.         Omsorgsperiode/Care Period</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentListType/From
diagram Booking_p150.png
type xs:dateTime
properties
content simple
annotation
documentation
Date and time for the start for the appointment
source <xs:element name="From" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentListType/To
diagram Booking_p151.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the appointment
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentListType/Type
diagram Booking_p152.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Appointment type                Infomedix:                          ExamCode?                                                       HIS90:                               Type of an appointment. Valid types are T1-T5 and OB
source <xs:element name="Type" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Appointment type                Infomedix:                          ExamCode?                                                       HIS90:                               Type of an appointment. Valid types are T1-T5 and OB</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentListType/Status
diagram Booking_p153.png
properties
content complex
children Code Text
annotation
documentation
Appointment/Booking status 
HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
source <xs:element name="Status">
 
<xs:annotation>
   
<xs:documentation>Appointment/Booking status 
HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentListType/Status/Code
diagram Booking_p154.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element AppointmentListType/Status/Text
diagram Booking_p155.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element AppointmentListType/TypeOfCare
diagram Booking_p156.png
properties
content complex
children Code Text
annotation
documentation
TypeOfCare:             I=Inpatient/Inneliggende     P=OutPatiens/Poliklinikk  D= In hospital only at daytime                            
source <xs:element name="TypeOfCare">
 
<xs:annotation>
   
<xs:documentation>TypeOfCare:             I=Inpatient/Inneliggende     P=OutPatiens/Poliklinikk  D= In hospital only at daytime                             </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentListType/TypeOfCare/Code
diagram Booking_p157.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element AppointmentListType/TypeOfCare/Text
diagram Booking_p158.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element AppointmentListType/Organization
diagram Booking_p159.png
type OrganizationType
properties
content complex
children MedicalUnit CareUnit Section
annotation
documentation
Organization where booking belongs to/take place.
source <xs:element name="Organization" type="OrganizationType">
 
<xs:annotation>
   
<xs:documentation>Organization where booking belongs to/take place.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentListType/Resources
diagram Booking_p160.png
properties
content complex
children Resource EvaluatedBy
annotation
documentation
Resources involved in the booking
source <xs:element name="Resources">
 
<xs:annotation>
   
<xs:documentation>Resources involved in the booking</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Resource" type="ResourceAppointmentType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Resource related to the appointment</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="EvaluatedBy">
       
<xs:annotation>
         
<xs:documentation>The resource (i.e. the chief physician) responsible for evaluation of the refarreal/waitinglist</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Id" type="xs:string"/>
           
<xs:element name="Code" type="xs:string" minOccurs="0"/>
           
<xs:element name="Name" type="xs:string" minOccurs="0"/>
           
<xs:element name="Property" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Resource type</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentListType/Resources/Resource
diagram Booking_p161.png
type ResourceAppointmentType
properties
minOcc 0
maxOcc unbounded
content complex
children ResourceId Id From To Code Name Type MedicalUnit CareUnit
annotation
documentation
Resource related to the appointment
source <xs:element name="Resource" type="ResourceAppointmentType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Resource related to the appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentListType/Resources/EvaluatedBy
diagram Booking_p162.png
properties
content complex
children Id Code Name Property
annotation
documentation
The resource (i.e. the chief physician) responsible for evaluation of the refarreal/waitinglist
source <xs:element name="EvaluatedBy">
 
<xs:annotation>
   
<xs:documentation>The resource (i.e. the chief physician) responsible for evaluation of the refarreal/waitinglist</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string"/>
     
<xs:element name="Code" type="xs:string" minOccurs="0"/>
     
<xs:element name="Name" type="xs:string" minOccurs="0"/>
     
<xs:element name="Property" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Resource type</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentListType/Resources/EvaluatedBy/Id
diagram Booking_p163.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

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

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

element AppointmentListType/Resources/EvaluatedBy/Property
diagram Booking_p166.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Resource type
source <xs:element name="Property" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource type</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentListType/Requesters
diagram Booking_p167.png
properties
minOcc 0
maxOcc 1
content complex
children Requester
annotation
documentation
Who requested this service/booking.
source <xs:element name="Requesters" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Who requested this service/booking.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Requester" type="RequesterType" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Requester collection</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentListType/Requesters/Requester
diagram Booking_p168.png
type RequesterType
properties
minOcc 1
maxOcc unbounded
content complex
children Id Code Name Type
annotation
documentation
Requester collection
source <xs:element name="Requester" type="RequesterType" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Requester collection</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AppointmentType
diagram Booking_p169.png
children Patient Appointment
used by
element GetAppointmentResponse
annotation
documentation
Type for get/save appointment inlcuding patient
source <xs:complexType name="AppointmentType">
 
<xs:annotation>
   
<xs:documentation>Type for get/save appointment inlcuding patient</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Patient">
     
<xs:annotation>
       
<xs:documentation>Patient information </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="PatientId" type="xs:int">
                 
<xs:annotation>
                   
<xs:documentation>Internal patient id for the HIS</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Appointment" type="AppointmentDetailType"/>
 
</xs:sequence>
</xs:complexType>

element AppointmentType/Patient
diagram Booking_p170.png
properties
content complex
children Id
annotation
documentation
Patient information
source <xs:element name="Patient">
 
<xs:annotation>
   
<xs:documentation>Patient information </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="PatientId" type="xs:int">
             
<xs:annotation>
               
<xs:documentation>Internal patient id for the HIS</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentType/Patient/Id
diagram Booking_p171.png
properties
content complex
children PatientId
source <xs:element name="Id">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PatientId" type="xs:int">
       
<xs:annotation>
         
<xs:documentation>Internal patient id for the HIS</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AppointmentType/Patient/Id/PatientId
diagram Booking_p172.png
type xs:int
properties
content simple
annotation
documentation
Internal patient id for the HIS
source <xs:element name="PatientId" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Internal patient id for the HIS</xs:documentation>
 
</xs:annotation>
</xs:element>

element AppointmentType/Appointment
diagram Booking_p173.png
type AppointmentDetailType
properties
content complex
children Id CarePeriodId Type Status VisitType TypeOfCare From To PreviousVisits Group FreeHospitalChoice Organization Resources Requesters Reason BookingText Admission Update
source <xs:element name="Appointment" type="AppointmentDetailType"/>

complexType CarePeriodTypeBooking
diagram Booking_p174.png
children CarePeriodId ClinicalArea InDiagnosis
used by
element ScheduleByResourceListType/CarePeriod
source <xs:complexType name="CarePeriodTypeBooking">
 
<xs:sequence>
   
<xs:element name="CarePeriodId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Care Period Id.    An id used to identify associated contacts or referrals.                             HIS90: Combined Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ClinicalArea" type="CodeTextTypeBooking" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Clinical area.
If not set on waiting list level then use clinical area from care period.
HIS90: Fagområde
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="InDiagnosis" type="DiagnosisTypeBooking" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>In diagnosis using code from medical register, i.e. ICD10</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element CarePeriodTypeBooking/CarePeriodId
diagram Booking_p175.png
type xs:string
properties
content simple
annotation
documentation
Internal Care Period Id.    An id used to identify associated contacts or referrals.                             HIS90: Combined Id
source <xs:element name="CarePeriodId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Care Period Id.    An id used to identify associated contacts or referrals.                             HIS90: Combined Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element CarePeriodTypeBooking/ClinicalArea
diagram Booking_p176.png
type CodeTextTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Clinical area.
If not set on waiting list level then use clinical area from care period.
HIS90: Fagområde
source <xs:element name="ClinicalArea" type="CodeTextTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Clinical area.
If not set on waiting list level then use clinical area from care period.
HIS90: Fagområde
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CarePeriodTypeBooking/InDiagnosis
diagram Booking_p177.png
type DiagnosisTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Id Code Text MedRegister
annotation
documentation
In diagnosis using code from medical register, i.e. ICD10
source <xs:element name="InDiagnosis" type="DiagnosisTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>In diagnosis using code from medical register, i.e. ICD10</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CodeTextTypeBooking
diagram Booking_p178.png
children Code Text
used by
elements ScheduleByResourceListType/WaitingList/ClinicalArea CarePeriodTypeBooking/ClinicalArea ResourceAppointmentListType/Contact/Status ScheduleByResourceListType/WaitingList/Status ScheduleByResourceListType/Contact/Status ScheduleSlotBaseType/WaitingList/Status ResourceAppointmentListType/Contact/Status/VisitStatus ScheduleByResourceListType/Contact/Status/VisitStatus ScheduleByResourceListType/WaitingList/VisitType
complexType SendNotificationType
annotation
documentation
Type for Code and Text(with text as optional)
source <xs:complexType name="CodeTextTypeBooking">
 
<xs:annotation>
   
<xs:documentation>Type for Code and Text(with text as optional)</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 CodeTextTypeBooking/Code
diagram Booking_p179.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

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

complexType DiagnosisTypeBooking
diagram Booking_p181.png
children Id Code Text MedRegister
used by
elements ScheduleByResourceListType/WaitingList/InDiagnosis CarePeriodTypeBooking/InDiagnosis
source <xs:complexType name="DiagnosisTypeBooking">
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string" minOccurs="0"/>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string" minOccurs="0"/>
   
<xs:element name="MedRegister" type="MedRegisterTypeBooking">
     
<xs:annotation>
       
<xs:documentation>Medical register, i.e. ICD10</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element DiagnosisTypeBooking/Id
diagram Booking_p182.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Id" type="xs:string" minOccurs="0"/>

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

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

element DiagnosisTypeBooking/MedRegister
diagram Booking_p185.png
type MedRegisterTypeBooking
properties
content complex
children Id Code Text
annotation
documentation
Medical register, i.e. ICD10
source <xs:element name="MedRegister" type="MedRegisterTypeBooking">
 
<xs:annotation>
   
<xs:documentation>Medical register, i.e. ICD10</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType InsertedChangedByType
diagram Booking_p186.png
children Date Name Organization SignedBy
used by
elements ScheduleSlotBaseType/Update AppointmentDetailType/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" minOccurs="0">
     
<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 Booking_p187.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date when inserted/last modified.
source <xs:element name="Date" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date when inserted/last modified.</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/Name
diagram Booking_p188.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 Booking_p189.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 Booking_p190.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 Booking_p191.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 Booking_p192.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 Booking_p193.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 LetterType
diagram Booking_p194.png
children LetterDate ToRequester ToPatient TextToPatient
used by
element AppointmentDetailType/Admission/Letter
annotation
documentation
Type for letter
source <xs:complexType name="LetterType">
 
<xs:annotation>
   
<xs:documentation>Type for letter</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="LetterDate" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date for letter is sent</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ToRequester" minOccurs="0" maxOccurs="unbounded">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Code used in letter to requester. </xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Text" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Letter code description</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="ToPatient" minOccurs="0" maxOccurs="unbounded">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Code used in letter to patient. </xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Text" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Letter code description</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="TextToPatient" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Free text used in letter to patient</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Text" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>The Text</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="TypeOfText" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Coded description of the text type. For valid codes see documentation.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element LetterType/LetterDate
diagram Booking_p195.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date for letter is sent
source <xs:element name="LetterDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date for letter is sent</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterType/ToRequester
diagram Booking_p196.png
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text
source <xs:element name="ToRequester" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Code used in letter to requester. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Text" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Letter code description</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element LetterType/ToRequester/Code
diagram Booking_p197.png
type xs:string
properties
content simple
annotation
documentation
Code used in letter to requester.
source <xs:element name="Code" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Code used in letter to requester. </xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterType/ToRequester/Text
diagram Booking_p198.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Letter code description
source <xs:element name="Text" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Letter code description</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterType/ToPatient
diagram Booking_p199.png
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text
source <xs:element name="ToPatient" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Code used in letter to patient. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Text" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Letter code description</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element LetterType/ToPatient/Code
diagram Booking_p200.png
type xs:string
properties
content simple
annotation
documentation
Code used in letter to patient.
source <xs:element name="Code" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Code used in letter to patient. </xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterType/ToPatient/Text
diagram Booking_p201.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Letter code description
source <xs:element name="Text" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Letter code description</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterType/TextToPatient
diagram Booking_p202.png
properties
minOcc 0
maxOcc unbounded
content complex
children Text TypeOfText
annotation
documentation
Free text used in letter to patient
source <xs:element name="TextToPatient" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Free text used in letter to patient</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Text" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The Text</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfText" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Coded description of the text type. For valid codes see documentation.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element LetterType/TextToPatient/Text
diagram Booking_p203.png
type xs:string
properties
content simple
annotation
documentation
The Text
source <xs:element name="Text" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The Text</xs:documentation>
 
</xs:annotation>
</xs:element>

element LetterType/TextToPatient/TypeOfText
diagram Booking_p204.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Coded description of the text type. For valid codes see documentation.
source <xs:element name="TypeOfText" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Coded description of the text type. For valid codes see documentation.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType MedRegisterTypeBooking
diagram Booking_p205.png
children Id Code Text
used by
element DiagnosisTypeBooking/MedRegister
source <xs:complexType name="MedRegisterTypeBooking">
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string"/>
   
<xs:element name="Code" type="xs:string" minOccurs="0"/>
   
<xs:element name="Text" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

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

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

element MedRegisterTypeBooking/Text
diagram Booking_p208.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

complexType MoveScheduleSlotsType
diagram Booking_p209.png
children Resource OrganzationUnit Date ToNewDate ToNewResource
used by
element MoveScheduleSlotsRequest/MoveScheduleSlots
source <xs:complexType name="MoveScheduleSlotsType">
 
<xs:sequence>
   
<xs:element name="Resource" type="ResourceTypeBooking">
     
<xs:annotation>
       
<xs:documentation>Resource the schedule slots belongs to</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OrganzationUnit" type="OrganizationTypeBooking" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unit where the resource has schedules slots.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Date" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date on the schedule slots.
HIS90: PAQREBO.RSCH_DATE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:sequence>
     
<xs:annotation>
       
<xs:documentation>One of ToNewDate or ToNewResource mujst be give.
If both is given an error message will be given.
</xs:documentation>
     
</xs:annotation>
     
<xs:element name="ToNewDate" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>New date if moving the schedule slots to a new date.
HIS90: PAQREBO.RSCH_DATE
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ToNewResource" type="ResourceTypeBooking" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>New resource if moving the schedule slots to a new resource</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:sequence>
</xs:complexType>

element MoveScheduleSlotsType/Resource
diagram Booking_p210.png
type ResourceTypeBooking
properties
content complex
children ResourceId TypeOfId Code Name Property
annotation
documentation
Resource the schedule slots belongs to
source <xs:element name="Resource" type="ResourceTypeBooking">
 
<xs:annotation>
   
<xs:documentation>Resource the schedule slots belongs to</xs:documentation>
 
</xs:annotation>
</xs:element>

element MoveScheduleSlotsType/OrganzationUnit
diagram Booking_p211.png
type OrganizationTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Unit where the resource has schedules slots.
source <xs:element name="OrganzationUnit" type="OrganizationTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Unit where the resource has schedules slots.</xs:documentation>
 
</xs:annotation>
</xs:element>

element MoveScheduleSlotsType/Date
diagram Booking_p212.png
type xs:dateTime
properties
content simple
annotation
documentation
Date on the schedule slots.
HIS90: PAQREBO.RSCH_DATE
source <xs:element name="Date" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date on the schedule slots.
HIS90: PAQREBO.RSCH_DATE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element MoveScheduleSlotsType/ToNewDate
diagram Booking_p213.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
New date if moving the schedule slots to a new date.
HIS90: PAQREBO.RSCH_DATE
source <xs:element name="ToNewDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>New date if moving the schedule slots to a new date.
HIS90: PAQREBO.RSCH_DATE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element MoveScheduleSlotsType/ToNewResource
diagram Booking_p214.png
type ResourceTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children ResourceId TypeOfId Code Name Property
annotation
documentation
New resource if moving the schedule slots to a new resource
source <xs:element name="ToNewResource" type="ResourceTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>New resource if moving the schedule slots to a new resource</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType OfficialIdTypeBooking
diagram Booking_p215.png
children Value TypeOfId FormattedId
used by
element PatientInfoListType/OfficialId
source <xs:complexType name="OfficialIdTypeBooking">
 
<xs:sequence>
   
<xs:element name="Value" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>F = official id, N = Emergency number, K = Catastrophy number, U = Non human number</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="FormattedId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element OfficialIdTypeBooking/Value
diagram Booking_p216.png
type xs:string
properties
content simple
annotation
documentation
The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.
source <xs:element name="Value" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OfficialIdTypeBooking/TypeOfId
diagram Booking_p217.png
type xs:string
properties
content simple
annotation
documentation
F = official id, N = Emergency number, K = Catastrophy number, U = Non human number
source <xs:element name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>F = official id, N = Emergency number, K = Catastrophy number, U = Non human number</xs:documentation>
 
</xs:annotation>
</xs:element>

element OfficialIdTypeBooking/FormattedId
diagram Booking_p218.png
type xs:string
properties
content simple
annotation
documentation
The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.
source <xs:element name="FormattedId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType OrganizationType
diagram Booking_p219.png
children MedicalUnit CareUnit Section
used by
elements AppointmentDetailType/Organization AppointmentListType/Organization
source <xs:complexType name="OrganizationType">
 
<xs:sequence>
   
<xs:element name="MedicalUnit" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Department/Medical Speciality                       HIS90: Avdeling</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string"/>
         
<xs:element name="ShortNameId" type="xs:string"/>
         
<xs:element name="Name" type="xs:string" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="CareUnit">
     
<xs:annotation>
       
<xs:documentation>Unit where the care takes place.                       HIS90: Enhet/Post</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string"/>
         
<xs:element name="ShortNameId" type="xs:string"/>
         
<xs:element name="Name" type="xs:string" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Section" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>HIS90 Only                Section defines a collection of CareUnits within one MedicalUnit                   </xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element OrganizationType/MedicalUnit
diagram Booking_p220.png
properties
minOcc 0
maxOcc 1
content complex
children Id ShortNameId Name
annotation
documentation
Department/Medical Speciality                       HIS90: Avdeling
source <xs:element name="MedicalUnit" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Department/Medical Speciality                       HIS90: Avdeling</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string"/>
     
<xs:element name="ShortNameId" type="xs:string"/>
     
<xs:element name="Name" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/MedicalUnit/Id
diagram Booking_p221.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element OrganizationType/MedicalUnit/ShortNameId
diagram Booking_p222.png
type xs:string
properties
content simple
source <xs:element name="ShortNameId" type="xs:string"/>

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

element OrganizationType/CareUnit
diagram Booking_p224.png
properties
content complex
children Id ShortNameId Name
annotation
documentation
Unit where the care takes place.                       HIS90: Enhet/Post
source <xs:element name="CareUnit">
 
<xs:annotation>
   
<xs:documentation>Unit where the care takes place.                       HIS90: Enhet/Post</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string"/>
     
<xs:element name="ShortNameId" type="xs:string"/>
     
<xs:element name="Name" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/CareUnit/Id
diagram Booking_p225.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element OrganizationType/CareUnit/ShortNameId
diagram Booking_p226.png
type xs:string
properties
content simple
source <xs:element name="ShortNameId" type="xs:string"/>

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

element OrganizationType/Section
diagram Booking_p228.png
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
HIS90 Only                Section defines a collection of CareUnits within one MedicalUnit                  
source <xs:element name="Section" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90 Only                Section defines a collection of CareUnits within one MedicalUnit                   </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element OrganizationType/Section/Code
diagram Booking_p229.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

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

complexType OrganizationTypeBooking
diagram Booking_p231.png
children Id TypeOfId ShortNameId Name
used by
elements ScheduleByOrgListType/CareUnit AppointmentByOrgListType/CareUnit ScheduleSlotBaseType/CareUnit ResourceTypeBookingExt1/CareUnit ScheduleByOrgListType/MedicalUnit AppointmentByOrgListType/MedicalUnit ResourceTypeBookingExt1/MedicalUnit MoveScheduleSlotsType/OrganzationUnit
complexType OrganizationTypeExtBooking
source <xs:complexType name="OrganizationTypeBooking">
 
<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:sequence>
</xs:complexType>

element OrganizationTypeBooking/Id
diagram Booking_p232.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 OrganizationTypeBooking/TypeOfId
diagram Booking_p233.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 OrganizationTypeBooking/ShortNameId
diagram Booking_p234.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ShortNameId" type="xs:string" minOccurs="0"/>

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

complexType OrganizationTypeExtBooking
diagram Booking_p236.png
type extension of OrganizationTypeBooking
properties
base OrganizationTypeBooking
children Id TypeOfId ShortNameId Name AdditionalIds
source <xs:complexType name="OrganizationTypeExtBooking">
 
<xs:complexContent>
   
<xs:extension base="OrganizationTypeBooking">
     
<xs:sequence>
       
<xs:element name="AdditionalIds" type="AdditionalIdListBooking" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Additional ids for the organization</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element OrganizationTypeExtBooking/AdditionalIds
diagram Booking_p237.png
type AdditionalIdListBooking
properties
minOcc 0
maxOcc 1
content complex
children AdditionalId
annotation
documentation
Additional ids for the organization
source <xs:element name="AdditionalIds" type="AdditionalIdListBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Additional ids for the organization</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PatientInfoListType
diagram Booking_p238.png
children PatientId OfficialId FormattedName BirthDate Dead Sex Municipality PostalAddress Telecom
used by
elements ResourceAppointmentListType/Patient ScheduleByResourceListType/Patient
annotation
documentation
Common Patient info type used in list methods. Please only use data as necessary to avoid big responses.
source <xs:complexType name="PatientInfoListType">
 
<xs:annotation>
   
<xs:documentation>Common Patient info type used in list methods. Please only use data as necessary to avoid big responses.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="PatientId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal patient id for the HIS</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OfficialId" type="OfficialIdTypeBooking" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Official id. Can also be an emergency number.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="FormattedName" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The person's names formatted in one string according to national rules.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="BirthDate" type="xs:date" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Birthdate including century</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Dead" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="DeathDate" type="xs:dateTime"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Sex" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>M = male, K = female, U=Unknown</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="OfficialCode" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>1=Male, 2=Female, 9=Unknown</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Text" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Municipality" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Municipality the patient belongs to.
Economic Municipality
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Name" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="PostalAddress" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Postal code/address for the patient.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Name" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Telecom" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="MobilePhoneNumber" type="xs:string" minOccurs="0"/>
         
<xs:element name="MobilePhoneReservation" type="xs:boolean" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Set to true if the patients has reservations about using his mobilephonenumber</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element PatientInfoListType/PatientId
diagram Booking_p239.png
type xs:string
properties
content simple
annotation
documentation
Internal patient id for the HIS
source <xs:element name="PatientId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal patient id for the HIS</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientInfoListType/OfficialId
diagram Booking_p240.png
type OfficialIdTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Value TypeOfId FormattedId
annotation
documentation
Official id. Can also be an emergency number.
source <xs:element name="OfficialId" type="OfficialIdTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Official id. Can also be an emergency number.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientInfoListType/FormattedName
diagram Booking_p241.png
type xs:string
properties
content simple
annotation
documentation
The person's names formatted in one string according to national rules.
source <xs:element name="FormattedName" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The person's names formatted in one string according to national rules.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientInfoListType/BirthDate
diagram Booking_p242.png
type xs:date
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Birthdate including century
source <xs:element name="BirthDate" type="xs:date" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Birthdate including century</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientInfoListType/Dead
diagram Booking_p243.png
properties
minOcc 0
maxOcc 1
content complex
children DeathDate
source <xs:element name="Dead" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="DeathDate" type="xs:dateTime"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientInfoListType/Dead/DeathDate
diagram Booking_p244.png
type xs:dateTime
properties
content simple
source <xs:element name="DeathDate" type="xs:dateTime"/>

element PatientInfoListType/Sex
diagram Booking_p245.png
properties
minOcc 0
maxOcc 1
content complex
children Code OfficialCode Text
annotation
documentation
M = male, K = female, U=Unknown
source <xs:element name="Sex" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>M = male, K = female, U=Unknown</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="OfficialCode" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>1=Male, 2=Female, 9=Unknown</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Text" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientInfoListType/Sex/Code
diagram Booking_p246.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element PatientInfoListType/Sex/OfficialCode
diagram Booking_p247.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
1=Male, 2=Female, 9=Unknown
source <xs:element name="OfficialCode" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>1=Male, 2=Female, 9=Unknown</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientInfoListType/Sex/Text
diagram Booking_p248.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element PatientInfoListType/Municipality
diagram Booking_p249.png
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Municipality the patient belongs to.
Economic Municipality
source <xs:element name="Municipality" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Municipality the patient belongs to.
Economic Municipality
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Name" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientInfoListType/Municipality/Code
diagram Booking_p250.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element PatientInfoListType/Municipality/Name
diagram Booking_p251.png
type xs:string
properties
content simple
source <xs:element name="Name" type="xs:string"/>

element PatientInfoListType/PostalAddress
diagram Booking_p252.png
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Postal code/address for the patient.
source <xs:element name="PostalAddress" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Postal code/address for the patient.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Name" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientInfoListType/PostalAddress/Code
diagram Booking_p253.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element PatientInfoListType/PostalAddress/Name
diagram Booking_p254.png
type xs:string
properties
content simple
source <xs:element name="Name" type="xs:string"/>

element PatientInfoListType/Telecom
diagram Booking_p255.png
properties
minOcc 0
maxOcc 1
content complex
children MobilePhoneNumber MobilePhoneReservation
source <xs:element name="Telecom" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MobilePhoneNumber" type="xs:string" minOccurs="0"/>
     
<xs:element name="MobilePhoneReservation" type="xs:boolean" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Set to true if the patients has reservations about using his mobilephonenumber</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientInfoListType/Telecom/MobilePhoneNumber
diagram Booking_p256.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="MobilePhoneNumber" type="xs:string" minOccurs="0"/>

element PatientInfoListType/Telecom/MobilePhoneReservation
diagram Booking_p257.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Set to true if the patients has reservations about using his mobilephonenumber
source <xs:element name="MobilePhoneReservation" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Set to true if the patients has reservations about using his mobilephonenumber</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType RequesterType
diagram Booking_p258.png
children Id Code Name Type
used by
elements AppointmentDetailType/Requesters/Requester AppointmentListType/Requesters/Requester
source <xs:complexType name="RequesterType">
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string"/>
   
<xs:element name="Code" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
   
<xs:element name="Type" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Resource type. ie room, doctor</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

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

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

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

element RequesterType/Type
diagram Booking_p262.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Resource type. ie room, doctor
source <xs:element name="Type" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource type. ie room, doctor</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ResourceAppointmentListType
diagram Booking_p263.png
children ScheduleSlotId BookingId WaitingListId WaitingList ContactId Contact BookingStatus VisitType AppointmentStatus AppointmentType AppointmentDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To Patient Resource SendNotification
used by
element ListResourceAppointments2GResponse/ResourceAppointments/ResourceAppointment
complexType AppointmentByOrgListType
annotation
documentation
XXXX NB Slettes!! Er erstattet av ScheduleByResourceListType
source <xs:complexType name="ResourceAppointmentListType">
 
<xs:annotation>
   
<xs:documentation>XXXX NB Slettes!! Er erstattet av ScheduleByResourceListType</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ScheduleSlotId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The internal id for one schedlule/appointment for a resource.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="BookingId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The internal id for the booking/appointment/schedule slot.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="WaitingListId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Waitinglist Id.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="WaitingList" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Reason" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Reason from waitinglist</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="ContactId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Contact Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Contact" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Status" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Contact status

For TypeOfCare I:
AK=Active/Aktiv
UT=Discharged/Utskrevet

For TypeOfCare P:
AK=OutPatient Visit Arrival Registered/Ankomstregistrert
UT= OutPatient Visit Finished Registered/Besøksregistrert
</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:complexContent>
               
<xs:extension base="CodeTextTypeBooking">
                 
<xs:sequence>
                   
<xs:element name="VisitStatus" type="CodeTextTypeBooking" minOccurs="0"/>
                 
</xs:sequence>
               
</xs:extension>
             
</xs:complexContent>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="BookingStatus">
     
<xs:annotation>
       
<xs:documentation>Appointment/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="VisitType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Type of consulting</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="AppointmentStatus" type="AppointmentStatusType">
     
<xs:annotation>
       
<xs:documentation>Appointmentstatus
If booked, free or blocked. appointment.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="AppointmentType" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Appointment type

HIS90:                               Type of an appointment. Valid types are T1-T5 and OB
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="AppointmentDescription" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Appointment reason/description
HIS90: PAQREBO.REASON
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OpenScheduleSlot" type="xs:boolean" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>If the schedule slot is an open schedule slot (user must specify start and endtime) this is TRUE.
If FALSE or NULL then the schedule slot is fixed (have fixed/already set start and endtime)
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OverBookingAllowed" type="xs:int" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Overbooking if this is allowed.
If fixed schedule slot the number of schedule slots available for overbooking.
If open schedule slot then number of minutes available for overbooking.
If 0(zero) or NULL then no overbooking is allowed.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ReservedToDate" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date/time when a schedule slot is reserved until and cannot be booked/used in PAS.
After this date/time the schedule slot can be booked in PAS.
If no date/time or NULL then no reservation date is set.
Only valid if AppointmentStatus is FREE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="From" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date and time for the start for the appointment</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="To" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the end  of the appointment</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Patient" type="PatientInfoListType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Patient information</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Resource" type="ResourceTypeBooking" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Resource collection</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="SendNotification" type="SendNotificationType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Sending notfication  to the patient. If not set/null the no notifictaion is sent.
Codes are:
Y (YES) only patient
N (NO) no for both patients and relations
R Relations only
A All (both aptient and relations)
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ResourceAppointmentListType/ScheduleSlotId
diagram Booking_p264.png
type xs:string
properties
content simple
annotation
documentation
The internal id for one schedlule/appointment for a resource.
source <xs:element name="ScheduleSlotId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The internal id for one schedlule/appointment for a resource.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/BookingId
diagram Booking_p265.png
type xs:string
properties
content simple
annotation
documentation
The internal id for the booking/appointment/schedule slot.
source <xs:element name="BookingId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The internal id for the booking/appointment/schedule slot.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/WaitingListId
diagram Booking_p266.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Waitinglist Id.
source <xs:element name="WaitingListId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Waitinglist Id.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/WaitingList
diagram Booking_p267.png
properties
minOcc 0
maxOcc 1
content complex
children Reason
source <xs:element name="WaitingList" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Reason" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Reason from waitinglist</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ResourceAppointmentListType/WaitingList/Reason
diagram Booking_p268.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Reason from waitinglist
source <xs:element name="Reason" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Reason from waitinglist</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/ContactId
diagram Booking_p269.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Contact Id
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Contact Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/Contact
diagram Booking_p270.png
properties
minOcc 0
maxOcc 1
content complex
children Status
source <xs:element name="Contact" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Status" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Contact status

For TypeOfCare I:
AK=Active/Aktiv
UT=Discharged/Utskrevet

For TypeOfCare P:
AK=OutPatient Visit Arrival Registered/Ankomstregistrert
UT= OutPatient Visit Finished Registered/Besøksregistrert
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="CodeTextTypeBooking">
             
<xs:sequence>
               
<xs:element name="VisitStatus" type="CodeTextTypeBooking" minOccurs="0"/>
             
</xs:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ResourceAppointmentListType/Contact/Status
diagram Booking_p271.png
type extension of CodeTextTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Code Text VisitStatus
annotation
documentation
Contact status

For TypeOfCare I:
AK=Active/Aktiv
UT=Discharged/Utskrevet

For TypeOfCare P:
AK=OutPatient Visit Arrival Registered/Ankomstregistrert
UT= OutPatient Visit Finished Registered/Besøksregistrert
source <xs:element name="Status" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Contact status

For TypeOfCare I:
AK=Active/Aktiv
UT=Discharged/Utskrevet

For TypeOfCare P:
AK=OutPatient Visit Arrival Registered/Ankomstregistrert
UT= OutPatient Visit Finished Registered/Besøksregistrert
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="CodeTextTypeBooking">
       
<xs:sequence>
         
<xs:element name="VisitStatus" type="CodeTextTypeBooking" minOccurs="0"/>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element ResourceAppointmentListType/Contact/Status/VisitStatus
diagram Booking_p272.png
type CodeTextTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Code Text
source <xs:element name="VisitStatus" type="CodeTextTypeBooking" minOccurs="0"/>

element ResourceAppointmentListType/BookingStatus
diagram Booking_p273.png
properties
content complex
children Code Text
annotation
documentation
Appointment/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
source <xs:element name="BookingStatus">
 
<xs:annotation>
   
<xs:documentation>Appointment/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ResourceAppointmentListType/BookingStatus/Code
diagram Booking_p274.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element ResourceAppointmentListType/BookingStatus/Text
diagram Booking_p275.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element ResourceAppointmentListType/VisitType
diagram Booking_p276.png
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Type of consulting
source <xs:element name="VisitType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of consulting</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ResourceAppointmentListType/VisitType/Code
diagram Booking_p277.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element ResourceAppointmentListType/VisitType/Text
diagram Booking_p278.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element ResourceAppointmentListType/AppointmentStatus
diagram Booking_p279.png
type AppointmentStatusType
properties
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
annotation
documentation
Appointmentstatus
If booked, free or blocked. appointment.
source <xs:element name="AppointmentStatus" type="AppointmentStatusType">
 
<xs:annotation>
   
<xs:documentation>Appointmentstatus
If booked, free or blocked. appointment.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/AppointmentType
diagram Booking_p280.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Appointment type

HIS90:                               Type of an appointment. Valid types are T1-T5 and OB
source <xs:element name="AppointmentType" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Appointment type

HIS90:                               Type of an appointment. Valid types are T1-T5 and OB
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/AppointmentDescription
diagram Booking_p281.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Appointment reason/description
HIS90: PAQREBO.REASON
source <xs:element name="AppointmentDescription" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Appointment reason/description
HIS90: PAQREBO.REASON
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/OpenScheduleSlot
diagram Booking_p282.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
If the schedule slot is an open schedule slot (user must specify start and endtime) this is TRUE.
If FALSE or NULL then the schedule slot is fixed (have fixed/already set start and endtime)
source <xs:element name="OpenScheduleSlot" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If the schedule slot is an open schedule slot (user must specify start and endtime) this is TRUE.
If FALSE or NULL then the schedule slot is fixed (have fixed/already set start and endtime)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/OverBookingAllowed
diagram Booking_p283.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Overbooking if this is allowed.
If fixed schedule slot the number of schedule slots available for overbooking.
If open schedule slot then number of minutes available for overbooking.
If 0(zero) or NULL then no overbooking is allowed.
source <xs:element name="OverBookingAllowed" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Overbooking if this is allowed.
If fixed schedule slot the number of schedule slots available for overbooking.
If open schedule slot then number of minutes available for overbooking.
If 0(zero) or NULL then no overbooking is allowed.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/ReservedToDate
diagram Booking_p284.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date/time when a schedule slot is reserved until and cannot be booked/used in PAS.
After this date/time the schedule slot can be booked in PAS.
If no date/time or NULL then no reservation date is set.
Only valid if AppointmentStatus is FREE
source <xs:element name="ReservedToDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date/time when a schedule slot is reserved until and cannot be booked/used in PAS.
After this date/time the schedule slot can be booked in PAS.
If no date/time or NULL then no reservation date is set.
Only valid if AppointmentStatus is FREE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/From
diagram Booking_p285.png
type xs:dateTime
properties
content simple
annotation
documentation
Date and time for the start for the appointment
source <xs:element name="From" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/To
diagram Booking_p286.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the appointment
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/Patient
diagram Booking_p287.png
type PatientInfoListType
properties
minOcc 0
maxOcc 1
content complex
children PatientId OfficialId FormattedName BirthDate Dead Sex Municipality PostalAddress Telecom
annotation
documentation
Patient information
source <xs:element name="Patient" type="PatientInfoListType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patient information</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/Resource
diagram Booking_p288.png
type ResourceTypeBooking
properties
minOcc 1
maxOcc unbounded
content complex
children ResourceId TypeOfId Code Name Property
annotation
documentation
Resource collection
source <xs:element name="Resource" type="ResourceTypeBooking" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Resource collection</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentListType/SendNotification
diagram Booking_p289.png
type SendNotificationType
properties
minOcc 0
maxOcc 1
content complex
children Code Text TypeOfNotification
annotation
documentation
Sending notfication  to the patient. If not set/null the no notifictaion is sent.
Codes are:
Y (YES) only patient
N (NO) no for both patients and relations
R Relations only
A All (both aptient and relations)
source <xs:element name="SendNotification" type="SendNotificationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Sending notfication  to the patient. If not set/null the no notifictaion is sent.
Codes are:
Y (YES) only patient
N (NO) no for both patients and relations
R Relations only
A All (both aptient and relations)
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ResourceAppointmentType
diagram Booking_p290.png
children ResourceId Id From To Code Name Type MedicalUnit CareUnit
used by
elements AppointmentDetailType/Resources/Resource AppointmentListType/Resources/Resource
annotation
documentation
Type fpr giving reosurce details for an appointement/schedule slot
source <xs:complexType name="ResourceAppointmentType">
 
<xs:annotation>
   
<xs:documentation>Type fpr giving reosurce details for an appointement/schedule slot</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ResourceId" type="xs:string"/>
   
<xs:element name="Id" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="From" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the start for the appointment with this resource</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="To" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the end  of the appointment with this resource</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Code" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Code for reaource</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Name" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Resource name</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Type" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Resource type. ie room, doctor</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="MedicalUnit" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Medicla unit/Department where the resource is placed.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string"/>
         
<xs:element name="ShortNameId" type="xs:string"/>
         
<xs:element name="Name" type="xs:string" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="CareUnit" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Care unit where the resource is placed.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string"/>
         
<xs:element name="ShortNameId" type="xs:string"/>
         
<xs:element name="Name" type="xs:string" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ResourceAppointmentType/ResourceId
diagram Booking_p291.png
type xs:string
properties
content simple
source <xs:element name="ResourceId" type="xs:string"/>

element ResourceAppointmentType/Id
diagram Booking_p292.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal id
source <xs:element name="Id" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentType/From
diagram Booking_p293.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the start for the appointment with this resource
source <xs:element name="From" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the appointment with this resource</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentType/To
diagram Booking_p294.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the appointment with this resource
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the appointment with this resource</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentType/Code
diagram Booking_p295.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Code for reaource
source <xs:element name="Code" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Code for reaource</xs:documentation>
 
</xs:annotation>
</xs:element>

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

element ResourceAppointmentType/Type
diagram Booking_p297.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Resource type. ie room, doctor
source <xs:element name="Type" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource type. ie room, doctor</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceAppointmentType/MedicalUnit
diagram Booking_p298.png
properties
minOcc 0
maxOcc 1
content complex
children Id ShortNameId Name
annotation
documentation
Medicla unit/Department where the resource is placed.
source <xs:element name="MedicalUnit" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Medicla unit/Department where the resource is placed.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string"/>
     
<xs:element name="ShortNameId" type="xs:string"/>
     
<xs:element name="Name" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ResourceAppointmentType/MedicalUnit/Id
diagram Booking_p299.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element ResourceAppointmentType/MedicalUnit/ShortNameId
diagram Booking_p300.png
type xs:string
properties
content simple
source <xs:element name="ShortNameId" type="xs:string"/>

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

element ResourceAppointmentType/CareUnit
diagram Booking_p302.png
properties
minOcc 0
maxOcc 1
content complex
children Id ShortNameId Name
annotation
documentation
Care unit where the resource is placed.
source <xs:element name="CareUnit" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Care unit where the resource is placed.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string"/>
     
<xs:element name="ShortNameId" type="xs:string"/>
     
<xs:element name="Name" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ResourceAppointmentType/CareUnit/Id
diagram Booking_p303.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element ResourceAppointmentType/CareUnit/ShortNameId
diagram Booking_p304.png
type xs:string
properties
content simple
source <xs:element name="ShortNameId" type="xs:string"/>

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

complexType ResourceTypeBooking
diagram Booking_p306.png
children ResourceId TypeOfId Code Name Property
used by
elements ResourceAppointmentListType/Resource ScheduleByResourceListType/Resource MoveScheduleSlotsType/Resource MoveScheduleSlotsType/ToNewResource
complexType ResourceTypeBookingExt1
source <xs:complexType name="ResourceTypeBooking">
 
<xs:sequence>
   
<xs:element name="ResourceId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Type of Id
For internal id set to LRC
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Code" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
   
<xs:element name="Property" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Resource type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ResourceTypeBooking/ResourceId
diagram Booking_p307.png
type xs:string
properties
content simple
annotation
documentation
Internal Id
source <xs:element name="ResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceTypeBooking/TypeOfId
diagram Booking_p308.png
type xs:string
properties
content simple
annotation
documentation
Type of Id
For internal id set to LRC
source <xs:element name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of Id
For internal id set to LRC
</xs:documentation>
 
</xs:annotation>
</xs:element>

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

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

element ResourceTypeBooking/Property
diagram Booking_p311.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Resource type
source <xs:element name="Property" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource type</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ResourceTypeBookingExt1
diagram Booking_p312.png
type extension of ResourceTypeBooking
properties
base ResourceTypeBooking
children ResourceId TypeOfId Code Name Property MedicalUnit CareUnit
used by
element ScheduleSlotBaseType/Resource
source <xs:complexType name="ResourceTypeBookingExt1">
 
<xs:complexContent>
   
<xs:extension base="ResourceTypeBooking">
     
<xs:sequence>
       
<xs:element name="MedicalUnit" type="OrganizationTypeBooking" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Medicla unit/Department where the resource is placed.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="CareUnit" type="OrganizationTypeBooking" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Care unit where the resource is placed.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element ResourceTypeBookingExt1/MedicalUnit
diagram Booking_p313.png
type OrganizationTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Medicla unit/Department where the resource is placed.
source <xs:element name="MedicalUnit" type="OrganizationTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Medicla unit/Department where the resource is placed.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceTypeBookingExt1/CareUnit
diagram Booking_p314.png
type OrganizationTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Care unit where the resource is placed.
source <xs:element name="CareUnit" type="OrganizationTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Care unit where the resource is placed.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ScheduleByOrgListType
diagram Booking_p315.png
type extension of ScheduleByResourceListType
properties
base ScheduleByResourceListType
children ScheduleSlotId BookingId CarePeriod WaitingList Contact ScheduleSlotStatus ScheduleSlotType ScheduleSlotDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To Patient Resource BookingText SendNotification MedicalUnit CareUnit
used by
elements ListScheduleByResourcesResponse/ResourcesSchedules/ResourcesSchedule ListScheduleByOrgResponse/ScheduleByOrgs/ScheduleByOrg
annotation
documentation
Type used for schedule slot related to an organisation. E.g.ListScheduleSlotByOrgResponse
source <xs:complexType name="ScheduleByOrgListType">
 
<xs:annotation>
   
<xs:documentation>Type used for schedule slot related to an organisation. E.g.ListScheduleSlotByOrgResponse</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="ScheduleByResourceListType">
     
<xs:sequence>
       
<xs:element name="MedicalUnit" type="OrganizationTypeBooking" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Department/Medical Speciality                       HIS90: Avdeling</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="CareUnit" type="OrganizationTypeBooking">
         
<xs:annotation>
           
<xs:documentation>Unit where the care takes place.                       HIS90: Enhet/Post</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element ScheduleByOrgListType/MedicalUnit
diagram Booking_p316.png
type OrganizationTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Department/Medical Speciality                       HIS90: Avdeling
source <xs:element name="MedicalUnit" type="OrganizationTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Department/Medical Speciality                       HIS90: Avdeling</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByOrgListType/CareUnit
diagram Booking_p317.png
type OrganizationTypeBooking
properties
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Unit where the care takes place.                       HIS90: Enhet/Post
source <xs:element name="CareUnit" type="OrganizationTypeBooking">
 
<xs:annotation>
   
<xs:documentation>Unit where the care takes place.                       HIS90: Enhet/Post</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ScheduleByResourceListType
diagram Booking_p318.png
children ScheduleSlotId BookingId CarePeriod WaitingList Contact ScheduleSlotStatus ScheduleSlotType ScheduleSlotDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To Patient Resource BookingText SendNotification
used by
element ListScheduleByResourceResponse/ResourceSchedules/ResourceSchedule
complexType ScheduleByOrgListType
annotation
documentation
Type for listing schedule slots for a resource
source <xs:complexType name="ScheduleByResourceListType">
 
<xs:annotation>
   
<xs:documentation>Type for listing schedule slots for a resource </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ScheduleSlotId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The internal id for one schedule slot/appointment for a resource.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="BookingId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>The internal id for the booking.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CarePeriod" type="CarePeriodTypeBooking" minOccurs="0"/>
   
<xs:element name="WaitingList" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="WaitingListId" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Waitinglist Id.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Reason" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Reason from waitinglist</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Status" type="CodeTextTypeBooking">
           
<xs:annotation>
             
<xs:documentation>Waiting list/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="VisitType" type="CodeTextTypeBooking" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Type of consulting</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="ClinicalArea" type="CodeTextTypeBooking" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Clinical area.
If not set on waiting list level then use clinical area from care period.
HIS90: Fagområde
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="InDiagnosis" type="DiagnosisTypeBooking" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>In diagnosis using code from medical register, i.e. ICD10</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Contact" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="ContactId" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Contact Id</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Status" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Contact status

For TypeOfCare I:
AK=Active/Aktiv
UT=Discharged/Utskrevet

For TypeOfCare P:
AK=OutPatient Visit Arrival Registered/Ankomstregistrert
UT= OutPatient Visit Finished Registered/Besøksregistrert
</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:complexContent>
               
<xs:extension base="CodeTextTypeBooking">
                 
<xs:sequence>
                   
<xs:element name="VisitStatus" type="CodeTextTypeBooking" minOccurs="0"/>
                 
</xs:sequence>
               
</xs:extension>
             
</xs:complexContent>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="ScheduleSlotStatus" type="ScheduleSlotStatusType">
     
<xs:annotation>
       
<xs:documentation>Schdeule slot/Appointment status
If booked, free or blocked. schedule slot/appointment.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ScheduleSlotType" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Schedule slot type

HIS90:                               Type of an Schedule slot/appointment. Valid types are T1-T5 and OB
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ScheduleSlotDescription" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Schedule slot/Appointment reason/description
HIS90: PAQREBO.REASON
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OpenScheduleSlot" type="xs:boolean" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>If the schedule slot is an open schedule slot (user must specify start and endtime) this is TRUE.
If FALSE or NULL then the schedule slot is fixed (have fixed/already set start and endtime)
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OverBookingAllowed" type="xs:int" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Overbooking if this is allowed.
If fixed schedule slot the number of schedule slots available for overbooking.
If open schedule slot then number of minutes available for overbooking.
If 0(zero) or NULL then no overbooking is allowed.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ReservedToDate" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date/time when a schedule slot is reserved until and cannot be booked/used in PAS.
After this date/time the schedule slot can be booked in PAS.
If no date/time or NULL then no reservation date is set.
Only valid if AppointmentStatus is FREE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="From" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date and time for the start for the schedule slot/appointment</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="To" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the end  of the schedule slot/appointment</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Patient" type="PatientInfoListType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Patient information</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Resource" type="ResourceTypeBooking" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Resource collection</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="BookingText" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Free text used in referrall/waitinglist/booking</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Text" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>The Text</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="TypeOfText" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Coded description of the text type. For valid codes see documentation.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="SendNotification" type="SendNotificationType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Sending notfication  to the patient. If not set/null the no notifictaion is sent.
Codes are:
Y (YES) only patient
N (NO) no for both patients and relations
R Relations only
A All (both aptient and relations)
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ScheduleByResourceListType/ScheduleSlotId
diagram Booking_p319.png
type xs:string
properties
content simple
annotation
documentation
The internal id for one schedule slot/appointment for a resource.
source <xs:element name="ScheduleSlotId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The internal id for one schedule slot/appointment for a resource.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/BookingId
diagram Booking_p320.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
The internal id for the booking.
source <xs:element name="BookingId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The internal id for the booking.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/CarePeriod
diagram Booking_p321.png
type CarePeriodTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children CarePeriodId ClinicalArea InDiagnosis
source <xs:element name="CarePeriod" type="CarePeriodTypeBooking" minOccurs="0"/>

element ScheduleByResourceListType/WaitingList
diagram Booking_p322.png
properties
minOcc 0
maxOcc 1
content complex
children WaitingListId Reason Status VisitType ClinicalArea InDiagnosis
source <xs:element name="WaitingList" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="WaitingListId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Waitinglist Id.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Reason" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Reason from waitinglist</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Status" type="CodeTextTypeBooking">
       
<xs:annotation>
         
<xs:documentation>Waiting list/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="VisitType" type="CodeTextTypeBooking" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Type of consulting</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ClinicalArea" type="CodeTextTypeBooking" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Clinical area.
If not set on waiting list level then use clinical area from care period.
HIS90: Fagområde
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="InDiagnosis" type="DiagnosisTypeBooking" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>In diagnosis using code from medical register, i.e. ICD10</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ScheduleByResourceListType/WaitingList/WaitingListId
diagram Booking_p323.png
type xs:string
properties
content simple
annotation
documentation
Waitinglist Id.
source <xs:element name="WaitingListId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Waitinglist Id.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/WaitingList/Reason
diagram Booking_p324.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Reason from waitinglist
source <xs:element name="Reason" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Reason from waitinglist</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/WaitingList/Status
diagram Booking_p325.png
type CodeTextTypeBooking
properties
content complex
children Code Text
annotation
documentation
Waiting list/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
source <xs:element name="Status" type="CodeTextTypeBooking">
 
<xs:annotation>
   
<xs:documentation>Waiting list/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/WaitingList/VisitType
diagram Booking_p326.png
type CodeTextTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Type of consulting
source <xs:element name="VisitType" type="CodeTextTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of consulting</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/WaitingList/ClinicalArea
diagram Booking_p327.png
type CodeTextTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Clinical area.
If not set on waiting list level then use clinical area from care period.
HIS90: Fagområde
source <xs:element name="ClinicalArea" type="CodeTextTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Clinical area.
If not set on waiting list level then use clinical area from care period.
HIS90: Fagområde
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/WaitingList/InDiagnosis
diagram Booking_p328.png
type DiagnosisTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Id Code Text MedRegister
annotation
documentation
In diagnosis using code from medical register, i.e. ICD10
source <xs:element name="InDiagnosis" type="DiagnosisTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>In diagnosis using code from medical register, i.e. ICD10</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/Contact
diagram Booking_p329.png
properties
minOcc 0
maxOcc 1
content complex
children ContactId Status
source <xs:element name="Contact" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ContactId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Contact Id</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Status" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Contact status

For TypeOfCare I:
AK=Active/Aktiv
UT=Discharged/Utskrevet

For TypeOfCare P:
AK=OutPatient Visit Arrival Registered/Ankomstregistrert
UT= OutPatient Visit Finished Registered/Besøksregistrert
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="CodeTextTypeBooking">
             
<xs:sequence>
               
<xs:element name="VisitStatus" type="CodeTextTypeBooking" minOccurs="0"/>
             
</xs:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ScheduleByResourceListType/Contact/ContactId
diagram Booking_p330.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Contact Id
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Contact Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/Contact/Status
diagram Booking_p331.png
type extension of CodeTextTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Code Text VisitStatus
annotation
documentation
Contact status

For TypeOfCare I:
AK=Active/Aktiv
UT=Discharged/Utskrevet

For TypeOfCare P:
AK=OutPatient Visit Arrival Registered/Ankomstregistrert
UT= OutPatient Visit Finished Registered/Besøksregistrert
source <xs:element name="Status" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Contact status

For TypeOfCare I:
AK=Active/Aktiv
UT=Discharged/Utskrevet

For TypeOfCare P:
AK=OutPatient Visit Arrival Registered/Ankomstregistrert
UT= OutPatient Visit Finished Registered/Besøksregistrert
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="CodeTextTypeBooking">
       
<xs:sequence>
         
<xs:element name="VisitStatus" type="CodeTextTypeBooking" minOccurs="0"/>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element ScheduleByResourceListType/Contact/Status/VisitStatus
diagram Booking_p332.png
type CodeTextTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Code Text
source <xs:element name="VisitStatus" type="CodeTextTypeBooking" minOccurs="0"/>

element ScheduleByResourceListType/ScheduleSlotStatus
diagram Booking_p333.png
type ScheduleSlotStatusType
properties
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
enumeration FirstEachResource
annotation
documentation
Schdeule slot/Appointment status
If booked, free or blocked. schedule slot/appointment.
source <xs:element name="ScheduleSlotStatus" type="ScheduleSlotStatusType">
 
<xs:annotation>
   
<xs:documentation>Schdeule slot/Appointment status
If booked, free or blocked. schedule slot/appointment.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/ScheduleSlotType
diagram Booking_p334.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Schedule slot type

HIS90:                               Type of an Schedule slot/appointment. Valid types are T1-T5 and OB
source <xs:element name="ScheduleSlotType" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Schedule slot type

HIS90:                               Type of an Schedule slot/appointment. Valid types are T1-T5 and OB
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/ScheduleSlotDescription
diagram Booking_p335.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Schedule slot/Appointment reason/description
HIS90: PAQREBO.REASON
source <xs:element name="ScheduleSlotDescription" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Schedule slot/Appointment reason/description
HIS90: PAQREBO.REASON
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/OpenScheduleSlot
diagram Booking_p336.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
If the schedule slot is an open schedule slot (user must specify start and endtime) this is TRUE.
If FALSE or NULL then the schedule slot is fixed (have fixed/already set start and endtime)
source <xs:element name="OpenScheduleSlot" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If the schedule slot is an open schedule slot (user must specify start and endtime) this is TRUE.
If FALSE or NULL then the schedule slot is fixed (have fixed/already set start and endtime)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/OverBookingAllowed
diagram Booking_p337.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Overbooking if this is allowed.
If fixed schedule slot the number of schedule slots available for overbooking.
If open schedule slot then number of minutes available for overbooking.
If 0(zero) or NULL then no overbooking is allowed.
source <xs:element name="OverBookingAllowed" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Overbooking if this is allowed.
If fixed schedule slot the number of schedule slots available for overbooking.
If open schedule slot then number of minutes available for overbooking.
If 0(zero) or NULL then no overbooking is allowed.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/ReservedToDate
diagram Booking_p338.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date/time when a schedule slot is reserved until and cannot be booked/used in PAS.
After this date/time the schedule slot can be booked in PAS.
If no date/time or NULL then no reservation date is set.
Only valid if AppointmentStatus is FREE
source <xs:element name="ReservedToDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date/time when a schedule slot is reserved until and cannot be booked/used in PAS.
After this date/time the schedule slot can be booked in PAS.
If no date/time or NULL then no reservation date is set.
Only valid if AppointmentStatus is FREE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/From
diagram Booking_p339.png
type xs:dateTime
properties
content simple
annotation
documentation
Date and time for the start for the schedule slot/appointment
source <xs:element name="From" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the schedule slot/appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/To
diagram Booking_p340.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the schedule slot/appointment
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the schedule slot/appointment</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/Patient
diagram Booking_p341.png
type PatientInfoListType
properties
minOcc 0
maxOcc 1
content complex
children PatientId OfficialId FormattedName BirthDate Dead Sex Municipality PostalAddress Telecom
annotation
documentation
Patient information
source <xs:element name="Patient" type="PatientInfoListType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patient information</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/Resource
diagram Booking_p342.png
type ResourceTypeBooking
properties
minOcc 1
maxOcc unbounded
content complex
children ResourceId TypeOfId Code Name Property
annotation
documentation
Resource collection
source <xs:element name="Resource" type="ResourceTypeBooking" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Resource collection</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/BookingText
diagram Booking_p343.png
properties
minOcc 0
maxOcc unbounded
content complex
children Text TypeOfText
annotation
documentation
Free text used in referrall/waitinglist/booking
source <xs:element name="BookingText" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Free text used in referrall/waitinglist/booking</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Text" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The Text</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfText" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Coded description of the text type. For valid codes see documentation.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ScheduleByResourceListType/BookingText/Text
diagram Booking_p344.png
type xs:string
properties
content simple
annotation
documentation
The Text
source <xs:element name="Text" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The Text</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/BookingText/TypeOfText
diagram Booking_p345.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Coded description of the text type. For valid codes see documentation.
source <xs:element name="TypeOfText" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Coded description of the text type. For valid codes see documentation.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleByResourceListType/SendNotification
diagram Booking_p346.png
type SendNotificationType
properties
minOcc 0
maxOcc 1
content complex
children Code Text TypeOfNotification
annotation
documentation
Sending notfication  to the patient. If not set/null the no notifictaion is sent.
Codes are:
Y (YES) only patient
N (NO) no for both patients and relations
R Relations only
A All (both aptient and relations)
source <xs:element name="SendNotification" type="SendNotificationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Sending notfication  to the patient. If not set/null the no notifictaion is sent.
Codes are:
Y (YES) only patient
N (NO) no for both patients and relations
R Relations only
A All (both aptient and relations)
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ScheduleSlotBaseType
diagram Booking_p347.png
children ScheduleSlotId NewScheduleSlotId ScheduleSlotSequence WaitingList ScheduleSlotStatus ScheduleSlotType ScheduleSlotDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To CareUnit Resource Update
used by
element ScheduleSlotsBaseListType/ScheduleSlot
annotation
documentation
Type for get one schedule slot
source <xs:complexType name="ScheduleSlotBaseType">
 
<xs:annotation>
   
<xs:documentation>Type for get one schedule slot</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ScheduleSlotId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The internal id for one schedule slot for a resource.
For Save rebooking this is the original/old id.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="NewScheduleSlotId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>The internal id for the new schedule slot. Only used with Save rebooking.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ScheduleSlotSequence" type="xs:int" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Schedule slot sequence/no. If patient has several schedule slot(appointments) for same waitinglist/treatment this is the sequence for appointments.
If 1 then this is the main resource /schedule slot.
HIS90: PAQREBO.Resource_no
</xs:documentation>
       
<xs:documentation>Resource sequence/no. If patient has several appointments/bookings this is the sequence for resources the patients shall visit.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="WaitingList" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="WaitingListId" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Waitinglist Id.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="BookingText" type="TextTypeOfTextTypeBooking" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Free text used in referrall/waitinglist/booking</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Status" type="CodeTextTypeBooking" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Waiting list/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="ScheduleSlotStatus" type="ScheduleSlotStatusType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Schedule slot tstatus
If booked, free or blocked schedule slot.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ScheduleSlotType" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Schedule slot type

HIS90:                               Type of schedule slot. Valid types are T1-T5 and OB
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ScheduleSlotDescription" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Schedule slot/Appointment reason/description
If no patient then this is schedule slot description. If slot is allocated to a patient then it is appointments/booking description/reason.
HIS90: PAQREBO.REASON
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OpenScheduleSlot" type="xs:boolean" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>If the schedule slot is an open schedule slot (user must specify start and endtime) this is TRUE.
If FALSE or NULL then the schedule slot is fixed (have set start and endtime)
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OverBookingAllowed" type="xs:int" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Overbooking if this is allowed.
If fixed schedule slot the number of schedule slots available for overbooking.
If open schedule slot then number of minutes available for overbooking.
If 0(zero) or NULL then no overbooking is allowed.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ReservedToDate" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date/time when schedule slot is reserved for until and cannot be booked/used in PAS.
After this date/time the schedule slot can be booked in PAS.
If no date/time or NULL then no reservation date is set.
Only valid if ScheduleSlotStatus is FREE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="From" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the start for the schedule slot.
HIS90: PAQREBO.RSCH_DATE + PAQREBO.HOUR_MIN
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="To" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the end  of the schedule slot.
HIS90: PAQREBO.RSCH_DATE + PAQREBO.HOUR_MIN + PAQREBO.DURATION
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CareUnit" type="OrganizationTypeBooking" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unit where the care takes place.
HIS90: Enhet/Post
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Resource" type="ResourceTypeBookingExt1">
     
<xs:annotation>
       
<xs:documentation>Resource collection</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Update" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Information about update or modification of waitinglist</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 waiting list is updated.</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ScheduleSlotBaseType/ScheduleSlotId
diagram Booking_p348.png
type xs:string
properties
content simple
annotation
documentation
The internal id for one schedule slot for a resource.
For Save rebooking this is the original/old id.
source <xs:element name="ScheduleSlotId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The internal id for one schedule slot for a resource.
For Save rebooking this is the original/old id.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/NewScheduleSlotId
diagram Booking_p349.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
The internal id for the new schedule slot. Only used with Save rebooking.
source <xs:element name="NewScheduleSlotId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The internal id for the new schedule slot. Only used with Save rebooking.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/ScheduleSlotSequence
diagram Booking_p350.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Schedule slot sequence/no. If patient has several schedule slot(appointments) for same waitinglist/treatment this is the sequence for appointments.
If 1 then this is the main resource /schedule slot.
HIS90: PAQREBO.Resource_no
documentation
Resource sequence/no. If patient has several appointments/bookings this is the sequence for resources the patients shall visit.
source <xs:element name="ScheduleSlotSequence" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Schedule slot sequence/no. If patient has several schedule slot(appointments) for same waitinglist/treatment this is the sequence for appointments.
If 1 then this is the main resource /schedule slot.
HIS90: PAQREBO.Resource_no
</xs:documentation>
   
<xs:documentation>Resource sequence/no. If patient has several appointments/bookings this is the sequence for resources the patients shall visit.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/WaitingList
diagram Booking_p351.png
properties
minOcc 0
maxOcc 1
content complex
children WaitingListId BookingText Status
source <xs:element name="WaitingList" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="WaitingListId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Waitinglist Id.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="BookingText" type="TextTypeOfTextTypeBooking" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Free text used in referrall/waitinglist/booking</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Status" type="CodeTextTypeBooking" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Waiting list/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ScheduleSlotBaseType/WaitingList/WaitingListId
diagram Booking_p352.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Waitinglist Id.
source <xs:element name="WaitingListId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Waitinglist Id.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/WaitingList/BookingText
diagram Booking_p353.png
type TextTypeOfTextTypeBooking
properties
minOcc 0
maxOcc unbounded
content complex
children Text TypeOfText
annotation
documentation
Free text used in referrall/waitinglist/booking
source <xs:element name="BookingText" type="TextTypeOfTextTypeBooking" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Free text used in referrall/waitinglist/booking</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/WaitingList/Status
diagram Booking_p354.png
type CodeTextTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Waiting list/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
source <xs:element name="Status" type="CodeTextTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Waiting list/Booking status  related to the waiting list HIS90:
Valid status is:
1 Active on waitinglist
2 Deleted from waitinglist
3 Suspended from waitinglist
4 Active on waitinglist with appointment time (Visit time) in place.
5 Deleted from waitinglist (deleted from status 4)
6 Did not meet up
7 Met at Policlinic 
8 Met at clinic for inpatients
9 Suspended. (Suspension code 55)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/ScheduleSlotStatus
diagram Booking_p355.png
type ScheduleSlotStatusType
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
enumeration FirstEachResource
annotation
documentation
Schedule slot tstatus
If booked, free or blocked schedule slot.
source <xs:element name="ScheduleSlotStatus" type="ScheduleSlotStatusType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Schedule slot tstatus
If booked, free or blocked schedule slot.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/ScheduleSlotType
diagram Booking_p356.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Schedule slot type

HIS90:                               Type of schedule slot. Valid types are T1-T5 and OB
source <xs:element name="ScheduleSlotType" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Schedule slot type

HIS90:                               Type of schedule slot. Valid types are T1-T5 and OB
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/ScheduleSlotDescription
diagram Booking_p357.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Schedule slot/Appointment reason/description
If no patient then this is schedule slot description. If slot is allocated to a patient then it is appointments/booking description/reason.
HIS90: PAQREBO.REASON
source <xs:element name="ScheduleSlotDescription" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Schedule slot/Appointment reason/description
If no patient then this is schedule slot description. If slot is allocated to a patient then it is appointments/booking description/reason.
HIS90: PAQREBO.REASON
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/OpenScheduleSlot
diagram Booking_p358.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
If the schedule slot is an open schedule slot (user must specify start and endtime) this is TRUE.
If FALSE or NULL then the schedule slot is fixed (have set start and endtime)
source <xs:element name="OpenScheduleSlot" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If the schedule slot is an open schedule slot (user must specify start and endtime) this is TRUE.
If FALSE or NULL then the schedule slot is fixed (have set start and endtime)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/OverBookingAllowed
diagram Booking_p359.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Overbooking if this is allowed.
If fixed schedule slot the number of schedule slots available for overbooking.
If open schedule slot then number of minutes available for overbooking.
If 0(zero) or NULL then no overbooking is allowed.
source <xs:element name="OverBookingAllowed" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Overbooking if this is allowed.
If fixed schedule slot the number of schedule slots available for overbooking.
If open schedule slot then number of minutes available for overbooking.
If 0(zero) or NULL then no overbooking is allowed.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/ReservedToDate
diagram Booking_p360.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date/time when schedule slot is reserved for until and cannot be booked/used in PAS.
After this date/time the schedule slot can be booked in PAS.
If no date/time or NULL then no reservation date is set.
Only valid if ScheduleSlotStatus is FREE
source <xs:element name="ReservedToDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date/time when schedule slot is reserved for until and cannot be booked/used in PAS.
After this date/time the schedule slot can be booked in PAS.
If no date/time or NULL then no reservation date is set.
Only valid if ScheduleSlotStatus is FREE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/From
diagram Booking_p361.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the start for the schedule slot.
HIS90: PAQREBO.RSCH_DATE + PAQREBO.HOUR_MIN
source <xs:element name="From" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start for the schedule slot.
HIS90: PAQREBO.RSCH_DATE + PAQREBO.HOUR_MIN
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/To
diagram Booking_p362.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end  of the schedule slot.
HIS90: PAQREBO.RSCH_DATE + PAQREBO.HOUR_MIN + PAQREBO.DURATION
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  of the schedule slot.
HIS90: PAQREBO.RSCH_DATE + PAQREBO.HOUR_MIN + PAQREBO.DURATION
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/CareUnit
diagram Booking_p363.png
type OrganizationTypeBooking
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Unit where the care takes place.
HIS90: Enhet/Post
source <xs:element name="CareUnit" type="OrganizationTypeBooking" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Unit where the care takes place.
HIS90: Enhet/Post
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/Resource
diagram Booking_p364.png
type ResourceTypeBookingExt1
properties
content complex
children ResourceId TypeOfId Code Name Property MedicalUnit CareUnit
annotation
documentation
Resource collection
source <xs:element name="Resource" type="ResourceTypeBookingExt1">
 
<xs:annotation>
   
<xs:documentation>Resource collection</xs:documentation>
 
</xs:annotation>
</xs:element>

element ScheduleSlotBaseType/Update
diagram Booking_p365.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 waitinglist
source <xs:element name="Update" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Information about update or modification of waitinglist</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 waiting list is updated.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element ScheduleSlotBaseType/Update/UpdateCount
diagram Booking_p366.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Count used for concurrency testing when waiting list is updated.
source <xs:element name="UpdateCount" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Count used for concurrency testing when waiting list is updated.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ScheduleSlotsBaseListType
diagram Booking_p367.png
children ScheduleSlot
used by
elements ListScheduleSlotsResponse/ScheduleSlots SaveScheduleSlotRequest/ScheduleSlots SaveScheduleSlotResponse/ScheduleSlots
annotation
documentation
Type for list/array of several ScheduleSlotBaseType
source <xs:complexType name="ScheduleSlotsBaseListType">
 
<xs:annotation>
   
<xs:documentation>Type for list/array of several ScheduleSlotBaseType</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ScheduleSlot" type="ScheduleSlotBaseType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

element ScheduleSlotsBaseListType/ScheduleSlot
diagram Booking_p368.png
type ScheduleSlotBaseType
properties
minOcc 1
maxOcc unbounded
content complex
children ScheduleSlotId NewScheduleSlotId ScheduleSlotSequence WaitingList ScheduleSlotStatus ScheduleSlotType ScheduleSlotDescription OpenScheduleSlot OverBookingAllowed ReservedToDate From To CareUnit Resource Update
source <xs:element name="ScheduleSlot" type="ScheduleSlotBaseType" maxOccurs="unbounded"/>

complexType SendNotificationType
diagram Booking_p369.png
type extension of CodeTextTypeBooking
properties
base CodeTextTypeBooking
children Code Text TypeOfNotification
used by
elements ResourceAppointmentListType/SendNotification ScheduleByResourceListType/SendNotification
annotation
documentation
Sending notfication to the patient. If not set/null the no notifictaion is sent.
Codes are:
Y (YES) only patient
N (NO) no for both patients and relations
R Relations only
A All (both aptient and relations)
source <xs:complexType name="SendNotificationType">
 
<xs:annotation>
   
<xs:documentation>Sending notfication to the patient. If not set/null the no notifictaion is sent.
Codes are:
Y (YES) only patient
N (NO) no for both patients and relations
R Relations only
A All (both aptient and relations)
</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="CodeTextTypeBooking">
     
<xs:sequence>
       
<xs:element name="TypeOfNotification" type="NotificationType">
         
<xs:annotation>
           
<xs:documentation>Type of notification to send.
Valid values are:
- SMS
- Letter
- EMail
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element SendNotificationType/TypeOfNotification
diagram Booking_p370.png
type NotificationType
properties
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration SMS
enumeration Letter
enumeration EMail
annotation
documentation
Type of notification to send.
Valid values are:
- SMS
- Letter
- EMail
source <xs:element name="TypeOfNotification" type="NotificationType">
 
<xs:annotation>
   
<xs:documentation>Type of notification to send.
Valid values are:
- SMS
- Letter
- EMail
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType TextTypeOfTextTypeBooking
diagram Booking_p371.png
children Text TypeOfText
used by
element ScheduleSlotBaseType/WaitingList/BookingText
annotation
documentation
Type for Text and TypeOfText(with text as optional)
source <xs:complexType name="TextTypeOfTextTypeBooking">
 
<xs:annotation>
   
<xs:documentation>Type for Text and TypeOfText(with text as optional)</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Text" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The Text</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfText" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Coded description of the text type. For valid codes see documentation.
HIS90: TXT1 and TXT2
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element TextTypeOfTextTypeBooking/Text
diagram Booking_p372.png
type xs:string
properties
content simple
annotation
documentation
The Text
source <xs:element name="Text" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The Text</xs:documentation>
 
</xs:annotation>
</xs:element>

element TextTypeOfTextTypeBooking/TypeOfText
diagram Booking_p373.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Coded description of the text type. For valid codes see documentation.
HIS90: TXT1 and TXT2
source <xs:element name="TypeOfText" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Coded description of the text type. For valid codes see documentation.
HIS90: TXT1 and TXT2
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ValidDatesBooking
diagram Booking_p374.png
children From To
used by
element ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource/Dates
source <xs:complexType name="ValidDatesBooking">
 
<xs:sequence>
   
<xs:element name="From" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the start </xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="To" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time for the end  </xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ValidDatesBooking/From
diagram Booking_p375.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the start
source <xs:element name="From" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the start </xs:documentation>
 
</xs:annotation>
</xs:element>

element ValidDatesBooking/To
diagram Booking_p376.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time for the end 
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time for the end  </xs:documentation>
 
</xs:annotation>
</xs:element>

simpleType AppointmentStatusType
type restriction of xs:string
properties
base xs:string
used by
elements ResourceAppointmentListType/AppointmentStatus ListResourceAppointments2GRequest/AppointmentStatusFilter ListAppointmentsByOrgRequest/AppointmentStatusFilter
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
annotation
documentation
XXXX Deleted !! - Apppintmentstatus if appointment is booked, blocked or free
source <xs:simpleType name="AppointmentStatusType">
 
<xs:annotation>
   
<xs:documentation>XXXX Deleted !! - Apppintmentstatus if appointment is booked, blocked or free</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="ALL"/>
   
<xs:enumeration value="BOOKED"/>
   
<xs:enumeration value="BLOCKED"/>
   
<xs:enumeration value="FREE"/>
   
<xs:enumeration value="PAUSE"/>
 
</xs:restriction>
</xs:simpleType>

simpleType NotificationType
type restriction of xs:string
properties
base xs:string
used by
element SendNotificationType/TypeOfNotification
facets
Kind Value Annotation
enumeration NotSet
enumeration SMS
enumeration Letter
enumeration EMail
source <xs:simpleType name="NotificationType">
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="NotSet"/>
   
<xs:enumeration value="SMS"/>
   
<xs:enumeration value="Letter"/>
   
<xs:enumeration value="EMail"/>
 
</xs:restriction>
</xs:simpleType>

simpleType ScheduleSlotStatusType
type restriction of xs:string
properties
base xs:string
used by
elements ScheduleByResourceListType/ScheduleSlotStatus ScheduleSlotBaseType/ScheduleSlotStatus ListScheduleByResourceRequest/ScheduleSlotStatusFilter ListScheduleByOrgRequest/ScheduleSlotStatusFilter ListScheduleByResourcesRequest/SchedulesByResources/SchedulesByResource/ScheduleSlotStatusFilter
facets
Kind Value Annotation
enumeration ALL
enumeration BOOKED
enumeration BLOCKED
enumeration FREE
enumeration PAUSE
enumeration FirstEachResource
annotation
documentation
Schdeule slot status, if slot is booked, blocked, pause or free
source <xs:simpleType name="ScheduleSlotStatusType">
 
<xs:annotation>
   
<xs:documentation>Schdeule slot status, if slot is booked, blocked, pause or free</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="ALL"/>
   
<xs:enumeration value="BOOKED"/>
   
<xs:enumeration value="BLOCKED"/>
   
<xs:enumeration value="FREE"/>
   
<xs:enumeration value="PAUSE"/>
   
<xs:enumeration value="FirstEachResource"/>
 
</xs:restriction>
</xs:simpleType>


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