Schema DecisionWS.xsd


schema location ..\..\DecisionWS.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Elements  Complex types  Simple types 
DeleteDecisionExecutionRequest  ComplaintType  ComplaintRegisteredTypes 
DeleteDecisionExecutionResponse  CriteriaType  ItemStatusType 
ListComplaintsRequest  DecisionByOrgListType  oid 
ListComplaintsResponse  DecisionExecutionListType 
ListCriteriaRequest  DecisionExecutionType 
ListCriteriaResponse  IdDescriptionType 
ListDecisionExecutionsRequest  InsertedChangedByType 
ListDecisionExecutionsResponse  OrganizationType 
ListDecisionsByOrgRequest  PatientDecisionListType 
ListDecisionsByOrgResponse  PatientDecisionType 
ListPatientDecisionsRequest  PatientInfoListType 
ListPatientDecisionsResponse  ResourceTypeDecision 
SaveComplaintRequest 
SaveComplaintResponse 
SaveCriteriaRequest 
SaveCriteriaResponse 
SaveDecisionExecutionRequest 
SaveDecisionExecutionResponse 
SavePatientDecisionRequest 
SavePatientDecisionResponse 


element DeleteDecisionExecutionRequest
diagram DecisionWS_p1.png
properties
content complex
children ExecutionId
source <xs:element name="DeleteDecisionExecutionRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ExecutionId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoExec
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element DeleteDecisionExecutionRequest/ExecutionId
diagram DecisionWS_p2.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoExec
source <xs:element name="ExecutionId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoExec
</xs:documentation>
 
</xs:annotation>
</xs:element>

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

element ListComplaintsRequest
diagram DecisionWS_p4.png
properties
content complex
children ContactId DecisionId ComplaintId PatientId StatusFilter
source <xs:element name="ListComplaintsRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ContactId" type="xs:string" minOccurs="0"/>
     
<xs:element name="DecisionId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ComplaintId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoCmpl
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PatientId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Makes it possible to list all paragraphs according to a Patient</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="StatusFilter" type="ItemStatusType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Define which status should be listed. Default if not set is ACTIVE. Not used if exact ComplaintId is given</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListComplaintsRequest/ContactId
diagram DecisionWS_p5.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ContactId" type="xs:string" minOccurs="0"/>

element ListComplaintsRequest/DecisionId
diagram DecisionWS_p6.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci
source <xs:element name="DecisionId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListComplaintsRequest/ComplaintId
diagram DecisionWS_p7.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoCmpl
source <xs:element name="ComplaintId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoCmpl
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListComplaintsRequest/PatientId
diagram DecisionWS_p8.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Makes it possible to list all paragraphs according to a Patient
source <xs:element name="PatientId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Makes it possible to list all paragraphs according to a Patient</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListComplaintsRequest/StatusFilter
diagram DecisionWS_p9.png
type ItemStatusType
properties
minOcc 0
maxOcc unbounded
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration ACTIVE
enumeration DELETED
enumeration OUTOFDATE
annotation
documentation
Define which status should be listed. Default if not set is ACTIVE. Not used if exact ComplaintId is given
source <xs:element name="StatusFilter" type="ItemStatusType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Define which status should be listed. Default if not set is ACTIVE. Not used if exact ComplaintId is given</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListComplaintsResponse
diagram DecisionWS_p10.png
properties
content complex
children Complaints
source <xs:element name="ListComplaintsResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Complaints">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Complaint" type="ComplaintType" maxOccurs="unbounded"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListComplaintsResponse/Complaints
diagram DecisionWS_p11.png
properties
content complex
children Complaint
source <xs:element name="Complaints">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Complaint" type="ComplaintType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListComplaintsResponse/Complaints/Complaint
diagram DecisionWS_p12.png
type ComplaintType
properties
minOcc 1
maxOcc unbounded
content complex
children PatientId ContactId DecisionId ComplaintId Type OID DateTime Status Result Registration Update
source <xs:element name="Complaint" type="ComplaintType" maxOccurs="unbounded"/>

element ListCriteriaRequest
diagram DecisionWS_p13.png
properties
content complex
children ContactId DecisionId CriteriaId PatientId StatusFilter
source <xs:element name="ListCriteriaRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ContactId" type="xs:string" minOccurs="0"/>
     
<xs:element name="DecisionId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="CriteriaId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoCrit
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PatientId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Makes it possible to list all paragraphs according to a Patient</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="StatusFilter" type="ItemStatusType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Define which status should be listed. Default if not set is ACTIVE. Not used if exact CriteriaId is given</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListCriteriaRequest/ContactId
diagram DecisionWS_p14.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ContactId" type="xs:string" minOccurs="0"/>

element ListCriteriaRequest/DecisionId
diagram DecisionWS_p15.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci
source <xs:element name="DecisionId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListCriteriaRequest/CriteriaId
diagram DecisionWS_p16.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoCrit
source <xs:element name="CriteriaId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoCrit
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListCriteriaRequest/PatientId
diagram DecisionWS_p17.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Makes it possible to list all paragraphs according to a Patient
source <xs:element name="PatientId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Makes it possible to list all paragraphs according to a Patient</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListCriteriaRequest/StatusFilter
diagram DecisionWS_p18.png
type ItemStatusType
properties
minOcc 0
maxOcc unbounded
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration ACTIVE
enumeration DELETED
enumeration OUTOFDATE
annotation
documentation
Define which status should be listed. Default if not set is ACTIVE. Not used if exact CriteriaId is given
source <xs:element name="StatusFilter" type="ItemStatusType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Define which status should be listed. Default if not set is ACTIVE. Not used if exact CriteriaId is given</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListCriteriaResponse
diagram DecisionWS_p19.png
properties
content complex
children Criteria
source <xs:element name="ListCriteriaResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Criteria">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Criteria" type="CriteriaType" maxOccurs="unbounded"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListCriteriaResponse/Criteria
diagram DecisionWS_p20.png
properties
content complex
children Criteria
source <xs:element name="Criteria">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Criteria" type="CriteriaType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListCriteriaResponse/Criteria/Criteria
diagram DecisionWS_p21.png
type CriteriaType
properties
minOcc 1
maxOcc unbounded
content complex
children PatientId ContactId DecisionId CriteriaId Type OID DateTime Status Registration Update
source <xs:element name="Criteria" type="CriteriaType" maxOccurs="unbounded"/>

element ListDecisionExecutionsRequest
diagram DecisionWS_p22.png
properties
content complex
children PatientId ContactId DecisionId ExecutionId StatusFilter
source <xs:element name="ListDecisionExecutionsRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:sequence>
       
<xs:element name="PatientId" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Makes it possible to list all executions according to a Patient</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="ContactId" type="xs:string" minOccurs="0"/>
       
<xs:element name="DecisionId" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="ExecutionId" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoExec
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="StatusFilter" type="ItemStatusType" minOccurs="0" maxOccurs="unbounded">
         
<xs:annotation>
           
<xs:documentation>Define which status should be listed. Default if not set is ACTIVE. Not used if exact CriteriaId is given</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListDecisionExecutionsRequest/PatientId
diagram DecisionWS_p23.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Makes it possible to list all executions according to a Patient
source <xs:element name="PatientId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Makes it possible to list all executions according to a Patient</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListDecisionExecutionsRequest/ContactId
diagram DecisionWS_p24.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ContactId" type="xs:string" minOccurs="0"/>

element ListDecisionExecutionsRequest/DecisionId
diagram DecisionWS_p25.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci
source <xs:element name="DecisionId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListDecisionExecutionsRequest/ExecutionId
diagram DecisionWS_p26.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoExec
source <xs:element name="ExecutionId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Combined Id.

In HIS90:
Id contains PatientId|SourceOfPara|SerialNoMeca|SerialNoStay|SerialNoDeci|SerialNoExec
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListDecisionExecutionsRequest/StatusFilter
diagram DecisionWS_p27.png
type ItemStatusType
properties
minOcc 0
maxOcc unbounded
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration ACTIVE
enumeration DELETED
enumeration OUTOFDATE
annotation
documentation
Define which status should be listed. Default if not set is ACTIVE. Not used if exact CriteriaId is given
source <xs:element name="StatusFilter" type="ItemStatusType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Define which status should be listed. Default if not set is ACTIVE. Not used if exact CriteriaId is given</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListDecisionExecutionsResponse
diagram DecisionWS_p28.png
type DecisionExecutionListType
properties
content complex
children Execution
source <xs:element name="ListDecisionExecutionsResponse" type="DecisionExecutionListType"/>

element ListDecisionsByOrgRequest
diagram DecisionWS_p29.png
properties
content complex
children ResponsibleResource ResponsibleUnit ResponsibleFollowUpUnit DecisionDates Type Registration
source <xs:element name="ListDecisionsByOrgRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ResponsibleResource" type="ResourceTypeDecision" minOccurs="0"/>
     
<xs:element name="ResponsibleUnit" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="MedicalUnit" type="OrganizationType"/>
           
<xs:element name="CareUnit" type="OrganizationType" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="ResponsibleFollowUpUnit" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="MedicalUnit" type="OrganizationType"/>
           
<xs:element name="CareUnit" type="OrganizationType" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="DecisionDates" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Dates of the decisions</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="From" type="xs:dateTime" minOccurs="0"/>
           
<xs:element name="To" type="xs:dateTime" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Type" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Describes which type of decision this is. </xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Id" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Registration" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Search on registration info</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="From" type="xs:dateTime"/>
           
<xs:element name="To" type="xs:dateTime"/>
           
<xs:element name="Unit" type="OrganizationType" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListDecisionsByOrgRequest/ResponsibleResource
diagram DecisionWS_p30.png
type ResourceTypeDecision
properties
minOcc 0
maxOcc 1
content complex
children ResourceId TypeOfId Code Name Property
source <xs:element name="ResponsibleResource" type="ResourceTypeDecision" minOccurs="0"/>

element ListDecisionsByOrgRequest/ResponsibleUnit
diagram DecisionWS_p31.png
properties
minOcc 0
maxOcc 1
content complex
children MedicalUnit CareUnit
source <xs:element name="ResponsibleUnit" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MedicalUnit" type="OrganizationType"/>
     
<xs:element name="CareUnit" type="OrganizationType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListDecisionsByOrgRequest/ResponsibleUnit/MedicalUnit
diagram DecisionWS_p32.png
type OrganizationType
properties
content complex
children Id TypeOfId ShortNameId Name
source <xs:element name="MedicalUnit" type="OrganizationType"/>

element ListDecisionsByOrgRequest/ResponsibleUnit/CareUnit
diagram DecisionWS_p33.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
source <xs:element name="CareUnit" type="OrganizationType" minOccurs="0"/>

element ListDecisionsByOrgRequest/ResponsibleFollowUpUnit
diagram DecisionWS_p34.png
properties
minOcc 0
maxOcc 1
content complex
children MedicalUnit CareUnit
source <xs:element name="ResponsibleFollowUpUnit" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MedicalUnit" type="OrganizationType"/>
     
<xs:element name="CareUnit" type="OrganizationType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListDecisionsByOrgRequest/ResponsibleFollowUpUnit/MedicalUnit
diagram DecisionWS_p35.png
type OrganizationType
properties
content complex
children Id TypeOfId ShortNameId Name
source <xs:element name="MedicalUnit" type="OrganizationType"/>

element ListDecisionsByOrgRequest/ResponsibleFollowUpUnit/CareUnit
diagram DecisionWS_p36.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
source <xs:element name="CareUnit" type="OrganizationType" minOccurs="0"/>

element ListDecisionsByOrgRequest/DecisionDates
diagram DecisionWS_p37.png
properties
minOcc 0
maxOcc 1
content complex
children From To
annotation
documentation
Dates of the decisions
source <xs:element name="DecisionDates" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Dates of the decisions</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="From" type="xs:dateTime" minOccurs="0"/>
     
<xs:element name="To" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListDecisionsByOrgRequest/DecisionDates/From
diagram DecisionWS_p38.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="From" type="xs:dateTime" minOccurs="0"/>

element ListDecisionsByOrgRequest/DecisionDates/To
diagram DecisionWS_p39.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="To" type="xs:dateTime" minOccurs="0"/>

element ListDecisionsByOrgRequest/Type
diagram DecisionWS_p40.png
properties
minOcc 0
maxOcc 1
content complex
children Id
annotation
documentation
Describes which type of decision this is.
source <xs:element name="Type" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Describes which type of decision this is. </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListDecisionsByOrgRequest/Type/Id
diagram DecisionWS_p41.png
type xs:string
properties
content simple
annotation
documentation
Link to codetable describing what kind of type this is.
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListDecisionsByOrgRequest/Registration
diagram DecisionWS_p42.png
properties
minOcc 0
maxOcc 1
content complex
children From To Unit
annotation
documentation
Search on registration info
source <xs:element name="Registration" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Search on registration info</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="From" type="xs:dateTime"/>
     
<xs:element name="To" type="xs:dateTime"/>
     
<xs:element name="Unit" type="OrganizationType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListDecisionsByOrgRequest/Registration/From
diagram DecisionWS_p43.png
type xs:dateTime
properties
content simple
source <xs:element name="From" type="xs:dateTime"/>

element ListDecisionsByOrgRequest/Registration/To
diagram DecisionWS_p44.png
type xs:dateTime
properties
content simple
source <xs:element name="To" type="xs:dateTime"/>

element ListDecisionsByOrgRequest/Registration/Unit
diagram DecisionWS_p45.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
source <xs:element name="Unit" type="OrganizationType" minOccurs="0"/>

element ListDecisionsByOrgResponse
diagram DecisionWS_p46.png
type DecisionByOrgListType
properties
content complex
children Decisions
source <xs:element name="ListDecisionsByOrgResponse" type="DecisionByOrgListType"/>

element ListPatientDecisionsRequest
diagram DecisionWS_p47.png
properties
content complex
children ContactId DecisionId PatientId DecisionCategory DecisionType DecisionDate StatusFilter
source <xs:element name="ListPatientDecisionsRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:annotation>
       
<xs:documentation>At least one of the ids must be filled out</xs:documentation>
     
</xs:annotation>
     
<xs:element name="ContactId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>ContactId
HIS90: Not used
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="DecisionId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>DecisionId
HIS90: Combined id
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PatientId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Internal patient id</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="DecisionCategory" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Category of decision types. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="DecisionType" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Type of Decision.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="DecisionDate" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Date of the decision</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="From" type="xs:dateTime" minOccurs="0"/>
           
<xs:element name="To" type="xs:dateTime" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="StatusFilter" type="ItemStatusType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Define which status should be listed. Default if not set is ACTIVE. Not used if exact DecisionId is given</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientDecisionsRequest/ContactId
diagram DecisionWS_p48.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
ContactId
HIS90: Not used
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>ContactId
HIS90: Not used
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientDecisionsRequest/DecisionId
diagram DecisionWS_p49.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
DecisionId
HIS90: Combined id
source <xs:element name="DecisionId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>DecisionId
HIS90: Combined id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientDecisionsRequest/PatientId
diagram DecisionWS_p50.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal patient id
source <xs:element name="PatientId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal patient id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientDecisionsRequest/DecisionCategory
diagram DecisionWS_p51.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Category of decision types.
source <xs:element name="DecisionCategory" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Category of decision types. </xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientDecisionsRequest/DecisionType
diagram DecisionWS_p52.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of Decision.
source <xs:element name="DecisionType" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of Decision.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientDecisionsRequest/DecisionDate
diagram DecisionWS_p53.png
properties
minOcc 0
maxOcc 1
content complex
children From To
annotation
documentation
Date of the decision
source <xs:element name="DecisionDate" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date of the decision</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="From" type="xs:dateTime" minOccurs="0"/>
     
<xs:element name="To" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientDecisionsRequest/DecisionDate/From
diagram DecisionWS_p54.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="From" type="xs:dateTime" minOccurs="0"/>

element ListPatientDecisionsRequest/DecisionDate/To
diagram DecisionWS_p55.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="To" type="xs:dateTime" minOccurs="0"/>

element ListPatientDecisionsRequest/StatusFilter
diagram DecisionWS_p56.png
type ItemStatusType
properties
minOcc 0
maxOcc unbounded
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration ACTIVE
enumeration DELETED
enumeration OUTOFDATE
annotation
documentation
Define which status should be listed. Default if not set is ACTIVE. Not used if exact DecisionId is given
source <xs:element name="StatusFilter" type="ItemStatusType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Define which status should be listed. Default if not set is ACTIVE. Not used if exact DecisionId is given</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientDecisionsResponse
diagram DecisionWS_p57.png
type PatientDecisionListType
properties
content complex
children Decisions
source <xs:element name="ListPatientDecisionsResponse" type="PatientDecisionListType"/>

element SaveComplaintRequest
diagram DecisionWS_p58.png
properties
content complex
children Complaint
source <xs:element name="SaveComplaintRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Complaint" type="ComplaintType"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SaveComplaintRequest/Complaint
diagram DecisionWS_p59.png
type ComplaintType
properties
content complex
children PatientId ContactId DecisionId ComplaintId Type OID DateTime Status Result Registration Update
source <xs:element name="Complaint" type="ComplaintType"/>

element SaveComplaintResponse
diagram DecisionWS_p60.png
properties
content complex
children Complaint
source <xs:element name="SaveComplaintResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Complaint" type="ComplaintType"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SaveComplaintResponse/Complaint
diagram DecisionWS_p61.png
type ComplaintType
properties
content complex
children PatientId ContactId DecisionId ComplaintId Type OID DateTime Status Result Registration Update
source <xs:element name="Complaint" type="ComplaintType"/>

element SaveCriteriaRequest
diagram DecisionWS_p62.png
properties
content complex
children Criteria
source <xs:element name="SaveCriteriaRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Criteria" type="CriteriaType"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SaveCriteriaRequest/Criteria
diagram DecisionWS_p63.png
type CriteriaType
properties
content complex
children PatientId ContactId DecisionId CriteriaId Type OID DateTime Status Registration Update
source <xs:element name="Criteria" type="CriteriaType"/>

element SaveCriteriaResponse
diagram DecisionWS_p64.png
properties
content complex
children Criteria
source <xs:element name="SaveCriteriaResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Criteria" type="CriteriaType"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SaveCriteriaResponse/Criteria
diagram DecisionWS_p65.png
type CriteriaType
properties
content complex
children PatientId ContactId DecisionId CriteriaId Type OID DateTime Status Registration Update
source <xs:element name="Criteria" type="CriteriaType"/>

element SaveDecisionExecutionRequest
diagram DecisionWS_p66.png
properties
content complex
children Execution
source <xs:element name="SaveDecisionExecutionRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Execution" type="DecisionExecutionType"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SaveDecisionExecutionRequest/Execution
diagram DecisionWS_p67.png
type DecisionExecutionType
properties
content complex
children PatientId ContactId DecisionId ExecutionId ExecutionDescription StartDateTime EndDateTime ExecutedBy Status Registration Update
source <xs:element name="Execution" type="DecisionExecutionType"/>

element SaveDecisionExecutionResponse
diagram DecisionWS_p68.png
properties
content complex
children Execution
source <xs:element name="SaveDecisionExecutionResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Execution" type="DecisionExecutionType"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SaveDecisionExecutionResponse/Execution
diagram DecisionWS_p69.png
type DecisionExecutionType
properties
content complex
children PatientId ContactId DecisionId ExecutionId ExecutionDescription StartDateTime EndDateTime ExecutedBy Status Registration Update
source <xs:element name="Execution" type="DecisionExecutionType"/>

element SavePatientDecisionRequest
diagram DecisionWS_p70.png
properties
content complex
children Decision
source <xs:element name="SavePatientDecisionRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Decision" type="PatientDecisionType"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SavePatientDecisionRequest/Decision
diagram DecisionWS_p71.png
type PatientDecisionType
properties
content complex
children PatientId ContactId DecisionId DecisionIdParent Group Type Category Code OID Description Date ValidToDate ClosedDate RenewalDate EvaluationDate CompulsoryCare ComplaintRegistered CriteriaRegistered ExecutionsRegistered Responsible ResponsibleFollowUp ClosingResource Tutor Status Criteria Registration Update
source <xs:element name="Decision" type="PatientDecisionType"/>

element SavePatientDecisionResponse
diagram DecisionWS_p72.png
properties
content complex
children Decision
source <xs:element name="SavePatientDecisionResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Decision" type="PatientDecisionType"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SavePatientDecisionResponse/Decision
diagram DecisionWS_p73.png
type PatientDecisionType
properties
content complex
children PatientId ContactId DecisionId DecisionIdParent Group Type Category Code OID Description Date ValidToDate ClosedDate RenewalDate EvaluationDate CompulsoryCare ComplaintRegistered CriteriaRegistered ExecutionsRegistered Responsible ResponsibleFollowUp ClosingResource Tutor Status Criteria Registration Update
source <xs:element name="Decision" type="PatientDecisionType"/>

complexType ComplaintType
diagram DecisionWS_p74.png
children PatientId ContactId DecisionId ComplaintId Type OID DateTime Status Result Registration Update
used by
elements ListComplaintsResponse/Complaints/Complaint SaveComplaintRequest/Complaint SaveComplaintResponse/Complaint
source <xs:complexType name="ComplaintType">
 
<xs:sequence>
   
<xs:element name="PatientId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal patient id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ContactId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>ContactId
HIS90: Not used
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DecisionId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>DecisionId
HIS90: Combined Id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ComplaintId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>ComplaintId
HIS90: Combined Id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Type">
     
<xs:annotation>
       
<xs:documentation>Describes which type of Complain

</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Kodeverk 8436
Kodeverdier (Type klage (OID=8436))
1 Klage på spesialistvedtak 
2 Klage på endring av formalia 
3 Klage på vedtak om bruk av tvangsmidler §4-8a, §4-8b, §4-8c 
4 Klage til Fylkeslegen §4-4 
5 Klage på formalitet ved utskriving/overføring/avslutning 
9 Klage på diverse vedtak §4-3, §4-5, §4-6, §4-7
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Description" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Descriptiuon of the Type</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="OID" type="xs:string" minOccurs="0"/>
   
<xs:element name="DateTime" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date and time of the complain</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Status" type="ItemStatusType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Status for the item. If blank or null then item is active. Cannot be used in Save.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Result" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Describes the result of the complaint</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Codes for result.
Code setyxxxx used.
HIS90:
Kodeverdier eks (Medhold fra institusjon, Medhold fra Kk, Medhold fra retten, forkastet, Trukket)
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Description" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Descriptiuon of the Type</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="DateTime" type="xs:dateTime">
           
<xs:annotation>
             
<xs:documentation>Date and time of the result</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unit registration</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Update" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Information about update or modification of unit</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="InsertedChangedByType">
           
<xs:sequence>
             
<xs:element name="UpdateCount" type="xs:int">
               
<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 ComplaintType/PatientId
diagram DecisionWS_p75.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal patient id
source <xs:element name="PatientId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal patient id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/ContactId
diagram DecisionWS_p76.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
ContactId
HIS90: Not used
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>ContactId
HIS90: Not used
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/DecisionId
diagram DecisionWS_p77.png
type xs:string
properties
content simple
annotation
documentation
DecisionId
HIS90: Combined Id
source <xs:element name="DecisionId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>DecisionId
HIS90: Combined Id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/ComplaintId
diagram DecisionWS_p78.png
type xs:string
properties
content simple
annotation
documentation
ComplaintId
HIS90: Combined Id
source <xs:element name="ComplaintId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>ComplaintId
HIS90: Combined Id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/Type
diagram DecisionWS_p79.png
properties
content complex
children Id Description
annotation
documentation
Describes which type of Complain

source <xs:element name="Type">
 
<xs:annotation>
   
<xs:documentation>Describes which type of Complain

</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Kodeverk 8436
Kodeverdier (Type klage (OID=8436))
1 Klage på spesialistvedtak 
2 Klage på endring av formalia 
3 Klage på vedtak om bruk av tvangsmidler §4-8a, §4-8b, §4-8c 
4 Klage til Fylkeslegen §4-4 
5 Klage på formalitet ved utskriving/overføring/avslutning 
9 Klage på diverse vedtak §4-3, §4-5, §4-6, §4-7
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Description" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Descriptiuon of the Type</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ComplaintType/Type/Id
diagram DecisionWS_p80.png
type xs:string
properties
content simple
annotation
documentation
Kodeverk 8436
Kodeverdier (Type klage (OID=8436))
1 Klage på spesialistvedtak 
2 Klage på endring av formalia 
3 Klage på vedtak om bruk av tvangsmidler §4-8a, §4-8b, §4-8c 
4 Klage til Fylkeslegen §4-4 
5 Klage på formalitet ved utskriving/overføring/avslutning 
9 Klage på diverse vedtak §4-3, §4-5, §4-6, §4-7
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Kodeverk 8436
Kodeverdier (Type klage (OID=8436))
1 Klage på spesialistvedtak 
2 Klage på endring av formalia 
3 Klage på vedtak om bruk av tvangsmidler §4-8a, §4-8b, §4-8c 
4 Klage til Fylkeslegen §4-4 
5 Klage på formalitet ved utskriving/overføring/avslutning 
9 Klage på diverse vedtak §4-3, §4-5, §4-6, §4-7
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/Type/Description
diagram DecisionWS_p81.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Descriptiuon of the Type
source <xs:element name="Description" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Descriptiuon of the Type</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/OID
diagram DecisionWS_p82.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="OID" type="xs:string" minOccurs="0"/>

element ComplaintType/DateTime
diagram DecisionWS_p83.png
type xs:dateTime
properties
content simple
annotation
documentation
Date and time of the complain
source <xs:element name="DateTime" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date and time of the complain</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/Status
diagram DecisionWS_p84.png
type ItemStatusType
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration ACTIVE
enumeration DELETED
enumeration OUTOFDATE
annotation
documentation
Status for the item. If blank or null then item is active. Cannot be used in Save.
source <xs:element name="Status" type="ItemStatusType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Status for the item. If blank or null then item is active. Cannot be used in Save.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/Result
diagram DecisionWS_p85.png
properties
minOcc 0
maxOcc 1
content complex
children Id Description DateTime
annotation
documentation
Describes the result of the complaint
source <xs:element name="Result" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Describes the result of the complaint</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Codes for result.
Code setyxxxx used.
HIS90:
Kodeverdier eks (Medhold fra institusjon, Medhold fra Kk, Medhold fra retten, forkastet, Trukket)
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Description" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Descriptiuon of the Type</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="DateTime" type="xs:dateTime">
       
<xs:annotation>
         
<xs:documentation>Date and time of the result</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ComplaintType/Result/Id
diagram DecisionWS_p86.png
type xs:string
properties
content simple
annotation
documentation
Codes for result.
Code setyxxxx used.
HIS90:
Kodeverdier eks (Medhold fra institusjon, Medhold fra Kk, Medhold fra retten, forkastet, Trukket)
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Codes for result.
Code setyxxxx used.
HIS90:
Kodeverdier eks (Medhold fra institusjon, Medhold fra Kk, Medhold fra retten, forkastet, Trukket)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/Result/Description
diagram DecisionWS_p87.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Descriptiuon of the Type
source <xs:element name="Description" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Descriptiuon of the Type</xs:documentation>
 
</xs:annotation>
</xs:element>

element ComplaintType/Result/DateTime
diagram DecisionWS_p88.png
type xs:dateTime
properties
content simple
annotation
documentation
Date and time of the result
source <xs:element name="DateTime" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date and time of the result</xs:documentation>
 
</xs:annotation>
</xs:element>

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

element ComplaintType/Update
diagram DecisionWS_p90.png
type extension of InsertedChangedByType
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy UpdateCount
annotation
documentation
Information about update or modification of unit
source <xs:element name="Update" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Information about update or modification of unit</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="InsertedChangedByType">
       
<xs:sequence>
         
<xs:element name="UpdateCount" type="xs:int">
           
<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 ComplaintType/Update/UpdateCount
diagram DecisionWS_p91.png
type xs:int
properties
content simple
annotation
documentation
Count used for concurrency testing when waiting list is updated.
source <xs:element name="UpdateCount" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Count used for concurrency testing when waiting list is updated.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CriteriaType
diagram DecisionWS_p92.png
children PatientId ContactId DecisionId CriteriaId Type OID DateTime Status Registration Update
used by
elements ListCriteriaResponse/Criteria/Criteria SaveCriteriaRequest/Criteria SaveCriteriaResponse/Criteria PatientDecisionType/Criteria
source <xs:complexType name="CriteriaType">
 
<xs:sequence>
   
<xs:element name="PatientId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal patient id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ContactId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>ContactId
HIS90: Not used.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DecisionId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>DecisionId
HIS90: Combined id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CriteriaId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>CriteriaId
HIS90: Combined id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Type">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Describes which type of  criteria to be set</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Description" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Description describing the type</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="OID" type="xs:string" minOccurs="0"/>
   
<xs:element name="DateTime" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date and time of the criteria</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Status" type="ItemStatusType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Status for the item. If blank or null then item is active. Cannot be used in Save.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unit registration</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Update" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Information about update or modification of unit</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="InsertedChangedByType">
           
<xs:sequence>
             
<xs:element name="UpdateCount" type="xs:int">
               
<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 CriteriaType/PatientId
diagram DecisionWS_p93.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal patient id
source <xs:element name="PatientId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal patient id</xs:documentation>
 
</xs:annotation>
</xs:element>

element CriteriaType/ContactId
diagram DecisionWS_p94.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
ContactId
HIS90: Not used.
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>ContactId
HIS90: Not used.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CriteriaType/DecisionId
diagram DecisionWS_p95.png
type xs:string
properties
content simple
annotation
documentation
DecisionId
HIS90: Combined id
source <xs:element name="DecisionId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>DecisionId
HIS90: Combined id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CriteriaType/CriteriaId
diagram DecisionWS_p96.png
type xs:string
properties
content simple
annotation
documentation
CriteriaId
HIS90: Combined id
source <xs:element name="CriteriaId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>CriteriaId
HIS90: Combined id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CriteriaType/Type
diagram DecisionWS_p97.png
properties
content complex
children Id Description
source <xs:element name="Type">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Describes which type of  criteria to be set</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Description" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Description describing the type</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element CriteriaType/Type/Id
diagram DecisionWS_p98.png
type xs:string
properties
content simple
annotation
documentation
Describes which type of  criteria to be set
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Describes which type of  criteria to be set</xs:documentation>
 
</xs:annotation>
</xs:element>

element CriteriaType/Type/Description
diagram DecisionWS_p99.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Description describing the type
source <xs:element name="Description" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Description describing the type</xs:documentation>
 
</xs:annotation>
</xs:element>

element CriteriaType/OID
diagram DecisionWS_p100.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="OID" type="xs:string" minOccurs="0"/>

element CriteriaType/DateTime
diagram DecisionWS_p101.png
type xs:dateTime
properties
content simple
annotation
documentation
Date and time of the criteria
source <xs:element name="DateTime" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date and time of the criteria</xs:documentation>
 
</xs:annotation>
</xs:element>

element CriteriaType/Status
diagram DecisionWS_p102.png
type ItemStatusType
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration ACTIVE
enumeration DELETED
enumeration OUTOFDATE
annotation
documentation
Status for the item. If blank or null then item is active. Cannot be used in Save.
source <xs:element name="Status" type="ItemStatusType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Status for the item. If blank or null then item is active. Cannot be used in Save.</xs:documentation>
 
</xs:annotation>
</xs:element>

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

element CriteriaType/Update
diagram DecisionWS_p104.png
type extension of InsertedChangedByType
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy UpdateCount
annotation
documentation
Information about update or modification of unit
source <xs:element name="Update" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Information about update or modification of unit</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="InsertedChangedByType">
       
<xs:sequence>
         
<xs:element name="UpdateCount" type="xs:int">
           
<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 CriteriaType/Update/UpdateCount
diagram DecisionWS_p105.png
type xs:int
properties
content simple
annotation
documentation
Count used for concurrency testing when waiting list is updated.
source <xs:element name="UpdateCount" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Count used for concurrency testing when waiting list is updated.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType DecisionByOrgListType
diagram DecisionWS_p106.png
children Decisions
used by
element ListDecisionsByOrgResponse
source <xs:complexType name="DecisionByOrgListType">
 
<xs:sequence>
   
<xs:element name="Decisions">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Decision" maxOccurs="unbounded">
           
<xs:complexType>
             
<xs:complexContent>
               
<xs:extension base="PatientDecisionType">
                 
<xs:sequence>
                   
<xs:element name="Patient">
                     
<xs:complexType>
                       
<xs:complexContent>
                         
<xs:extension base="PatientInfoListType">
                           
<xs:sequence>
                             
<xs:element name="OfficialId" minOccurs="0">
                               
<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:sequence>
                         
</xs:extension>
                       
</xs:complexContent>
                     
</xs:complexType>
                   
</xs:element>
                 
</xs:sequence>
               
</xs:extension>
             
</xs:complexContent>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element DecisionByOrgListType/Decisions
diagram DecisionWS_p107.png
properties
content complex
children Decision
source <xs:element name="Decisions">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Decision" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="PatientDecisionType">
             
<xs:sequence>
               
<xs:element name="Patient">
                 
<xs:complexType>
                   
<xs:complexContent>
                     
<xs:extension base="PatientInfoListType">
                       
<xs:sequence>
                         
<xs:element name="OfficialId" minOccurs="0">
                           
<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:sequence>
                     
</xs:extension>
                   
</xs:complexContent>
                 
</xs:complexType>
               
</xs:element>
             
</xs:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element DecisionByOrgListType/Decisions/Decision
diagram DecisionWS_p108.png
type extension of PatientDecisionType
properties
minOcc 1
maxOcc unbounded
content complex
children PatientId ContactId DecisionId DecisionIdParent Group Type Category Code OID Description Date ValidToDate ClosedDate RenewalDate EvaluationDate CompulsoryCare ComplaintRegistered CriteriaRegistered ExecutionsRegistered Responsible ResponsibleFollowUp ClosingResource Tutor Status Criteria Registration Update Patient
source <xs:element name="Decision" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="PatientDecisionType">
       
<xs:sequence>
         
<xs:element name="Patient">
           
<xs:complexType>
             
<xs:complexContent>
               
<xs:extension base="PatientInfoListType">
                 
<xs:sequence>
                   
<xs:element name="OfficialId" minOccurs="0">
                     
<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:sequence>
               
</xs:extension>
             
</xs:complexContent>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element DecisionByOrgListType/Decisions/Decision/Patient
diagram DecisionWS_p109.png
type extension of PatientInfoListType
properties
content complex
children PatientId FormattedName BirthDate Dead Sex Municipality PostalAddress Telecom OfficialId
source <xs:element name="Patient">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="PatientInfoListType">
       
<xs:sequence>
         
<xs:element name="OfficialId" minOccurs="0">
           
<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:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element DecisionByOrgListType/Decisions/Decision/Patient/OfficialId
diagram DecisionWS_p110.png
properties
minOcc 0
maxOcc 1
content complex
children Value TypeOfId FormattedId
source <xs:element name="OfficialId" minOccurs="0">
 
<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 DecisionByOrgListType/Decisions/Decision/Patient/OfficialId/Value
diagram DecisionWS_p111.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 DecisionByOrgListType/Decisions/Decision/Patient/OfficialId/TypeOfId
diagram DecisionWS_p112.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 DecisionByOrgListType/Decisions/Decision/Patient/OfficialId/FormattedId
diagram DecisionWS_p113.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 DecisionExecutionListType
diagram DecisionWS_p114.png
children Execution
used by
element ListDecisionExecutionsResponse
source <xs:complexType name="DecisionExecutionListType">
 
<xs:sequence>
   
<xs:element name="Execution" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Executions" type="DecisionExecutionType" maxOccurs="unbounded"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element DecisionExecutionListType/Execution
diagram DecisionWS_p115.png
properties
minOcc 0
maxOcc 1
content complex
children Executions
source <xs:element name="Execution" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Executions" type="DecisionExecutionType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element DecisionExecutionListType/Execution/Executions
diagram DecisionWS_p116.png
type DecisionExecutionType
properties
minOcc 1
maxOcc unbounded
content complex
children PatientId ContactId DecisionId ExecutionId ExecutionDescription StartDateTime EndDateTime ExecutedBy Status Registration Update
source <xs:element name="Executions" type="DecisionExecutionType" maxOccurs="unbounded"/>

complexType DecisionExecutionType
diagram DecisionWS_p117.png
children PatientId ContactId DecisionId ExecutionId ExecutionDescription StartDateTime EndDateTime ExecutedBy Status Registration Update
used by
elements SaveDecisionExecutionRequest/Execution SaveDecisionExecutionResponse/Execution DecisionExecutionListType/Execution/Executions
source <xs:complexType name="DecisionExecutionType">
 
<xs:sequence>
   
<xs:element name="PatientId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal patient id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ContactId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>ContactId
HIS90: Not used.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DecisionId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>DecisionId
HIS90: Combined id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ExecutionId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>CriteriaId
HIS90: Combined id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ExecutionDescription" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Text describing the force/medication/dose used on the patient</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="StartDateTime" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Start date and time of the forcing</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="EndDateTime" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>End date and time of the forcing</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ExecutedBy" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Who executed the force on the patient</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="MedicalUnit" type="OrganizationType">
           
<xs:annotation>
             
<xs:documentation>Organization who executed the force in the patient</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="CareUnit" type="OrganizationType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Organization who executed the force in the patient</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Resource" type="ResourceTypeDecision" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Responsible resource for making the forcing</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Status" type="ItemStatusType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Status for the item. If blank or null then item is active. Cannot be used in Save.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unit registration</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Update" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Information about update or modification of unit</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="InsertedChangedByType">
           
<xs:sequence>
             
<xs:element name="UpdateCount" type="xs:int">
               
<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 DecisionExecutionType/PatientId
diagram DecisionWS_p118.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal patient id
source <xs:element name="PatientId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal patient id</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/ContactId
diagram DecisionWS_p119.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
ContactId
HIS90: Not used.
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>ContactId
HIS90: Not used.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/DecisionId
diagram DecisionWS_p120.png
type xs:string
properties
content simple
annotation
documentation
DecisionId
HIS90: Combined id
source <xs:element name="DecisionId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>DecisionId
HIS90: Combined id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/ExecutionId
diagram DecisionWS_p121.png
type xs:string
properties
content simple
annotation
documentation
CriteriaId
HIS90: Combined id
source <xs:element name="ExecutionId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>CriteriaId
HIS90: Combined id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/ExecutionDescription
diagram DecisionWS_p122.png
type xs:string
properties
content simple
annotation
documentation
Text describing the force/medication/dose used on the patient
source <xs:element name="ExecutionDescription" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Text describing the force/medication/dose used on the patient</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/StartDateTime
diagram DecisionWS_p123.png
type xs:dateTime
properties
content simple
annotation
documentation
Start date and time of the forcing
source <xs:element name="StartDateTime" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Start date and time of the forcing</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/EndDateTime
diagram DecisionWS_p124.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
End date and time of the forcing
source <xs:element name="EndDateTime" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>End date and time of the forcing</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/ExecutedBy
diagram DecisionWS_p125.png
properties
minOcc 0
maxOcc 1
content complex
children MedicalUnit CareUnit Resource
annotation
documentation
Who executed the force on the patient
source <xs:element name="ExecutedBy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Who executed the force on the patient</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MedicalUnit" type="OrganizationType">
       
<xs:annotation>
         
<xs:documentation>Organization who executed the force in the patient</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="CareUnit" type="OrganizationType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization who executed the force in the patient</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Resource" type="ResourceTypeDecision" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Responsible resource for making the forcing</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element DecisionExecutionType/ExecutedBy/MedicalUnit
diagram DecisionWS_p126.png
type OrganizationType
properties
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization who executed the force in the patient
source <xs:element name="MedicalUnit" type="OrganizationType">
 
<xs:annotation>
   
<xs:documentation>Organization who executed the force in the patient</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/ExecutedBy/CareUnit
diagram DecisionWS_p127.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization who executed the force in the patient
source <xs:element name="CareUnit" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization who executed the force in the patient</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/ExecutedBy/Resource
diagram DecisionWS_p128.png
type ResourceTypeDecision
properties
minOcc 0
maxOcc 1
content complex
children ResourceId TypeOfId Code Name Property
annotation
documentation
Responsible resource for making the forcing
source <xs:element name="Resource" type="ResourceTypeDecision" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Responsible resource for making the forcing</xs:documentation>
 
</xs:annotation>
</xs:element>

element DecisionExecutionType/Status
diagram DecisionWS_p129.png
type ItemStatusType
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration ACTIVE
enumeration DELETED
enumeration OUTOFDATE
annotation
documentation
Status for the item. If blank or null then item is active. Cannot be used in Save.
source <xs:element name="Status" type="ItemStatusType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Status for the item. If blank or null then item is active. Cannot be used in Save.</xs:documentation>
 
</xs:annotation>
</xs:element>

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

element DecisionExecutionType/Update
diagram DecisionWS_p131.png
type extension of InsertedChangedByType
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy UpdateCount
annotation
documentation
Information about update or modification of unit
source <xs:element name="Update" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Information about update or modification of unit</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="InsertedChangedByType">
       
<xs:sequence>
         
<xs:element name="UpdateCount" type="xs:int">
           
<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 DecisionExecutionType/Update/UpdateCount
diagram DecisionWS_p132.png
type xs:int
properties
content simple
annotation
documentation
Count used for concurrency testing when waiting list is updated.
source <xs:element name="UpdateCount" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Count used for concurrency testing when waiting list is updated.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType IdDescriptionType
diagram DecisionWS_p133.png
children Id Description
used by
element PatientDecisionType/Group
source <xs:complexType name="IdDescriptionType">
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Description" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Description of the type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element IdDescriptionType/Id
diagram DecisionWS_p134.png
type xs:string
properties
content simple
annotation
documentation
Link to codetable describing what kind of type this is.
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
 
</xs:annotation>
</xs:element>

element IdDescriptionType/Description
diagram DecisionWS_p135.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Description of the type
source <xs:element name="Description" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Description of the type</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType InsertedChangedByType
diagram DecisionWS_p136.png
children Date Name Organization SignedBy
used by
elements PatientDecisionType/Registration ComplaintType/Registration CriteriaType/Registration DecisionExecutionType/Registration PatientDecisionType/Update ComplaintType/Update CriteriaType/Update DecisionExecutionType/Update
source <xs:complexType name="InsertedChangedByType">
 
<xs:sequence>
   
<xs:element name="Date" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date when inserted/last modified.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Name" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Organization Name</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Organization" type="OrganizationType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Organization responsible for insertion/last modification of the instance. </xs:documentation>
     
</xs:annotation>
   
</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 DecisionWS_p137.png
type xs:dateTime
properties
content simple
annotation
documentation
Date when inserted/last modified.
source <xs:element name="Date" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date when inserted/last modified.</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/Name
diagram DecisionWS_p138.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 DecisionWS_p139.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization responsible for insertion/last modification of the instance.
source <xs:element name="Organization" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization responsible for insertion/last modification of the instance. </xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/SignedBy
diagram DecisionWS_p140.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 OrganizationType
diagram DecisionWS_p141.png
children Id TypeOfId ShortNameId Name
used by
elements ListDecisionsByOrgRequest/ResponsibleUnit/CareUnit ListDecisionsByOrgRequest/ResponsibleFollowUpUnit/CareUnit DecisionExecutionType/ExecutedBy/CareUnit ListDecisionsByOrgRequest/ResponsibleUnit/MedicalUnit ListDecisionsByOrgRequest/ResponsibleFollowUpUnit/MedicalUnit DecisionExecutionType/ExecutedBy/MedicalUnit PatientDecisionType/Responsible/Resource/Organization PatientDecisionType/Responsible/Organization PatientDecisionType/ResponsibleFollowUp/Organization InsertedChangedByType/Organization ListDecisionsByOrgRequest/Registration/Unit
source <xs:complexType name="OrganizationType">
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation> Internal Id.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string" minOccurs="0"/>
   
<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>

element OrganizationType/Id
diagram DecisionWS_p142.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 OrganizationType/TypeOfId
diagram DecisionWS_p143.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="TypeOfId" type="xs:string" minOccurs="0"/>

element OrganizationType/ShortNameId
diagram DecisionWS_p144.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 OrganizationType/Name
diagram DecisionWS_p145.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>

complexType PatientDecisionListType
diagram DecisionWS_p146.png
children Decisions
used by
element ListPatientDecisionsResponse
source <xs:complexType name="PatientDecisionListType">
 
<xs:sequence>
   
<xs:element name="Decisions">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Decision" type="PatientDecisionType" maxOccurs="unbounded"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element PatientDecisionListType/Decisions
diagram DecisionWS_p147.png
properties
content complex
children Decision
source <xs:element name="Decisions">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Decision" type="PatientDecisionType" maxOccurs="unbounded"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientDecisionListType/Decisions/Decision
diagram DecisionWS_p148.png
type PatientDecisionType
properties
minOcc 1
maxOcc unbounded
content complex
children PatientId ContactId DecisionId DecisionIdParent Group Type Category Code OID Description Date ValidToDate ClosedDate RenewalDate EvaluationDate CompulsoryCare ComplaintRegistered CriteriaRegistered ExecutionsRegistered Responsible ResponsibleFollowUp ClosingResource Tutor Status Criteria Registration Update
source <xs:element name="Decision" type="PatientDecisionType" maxOccurs="unbounded"/>

complexType PatientDecisionType
diagram DecisionWS_p149.png
children PatientId ContactId DecisionId DecisionIdParent Group Type Category Code OID Description Date ValidToDate ClosedDate RenewalDate EvaluationDate CompulsoryCare ComplaintRegistered CriteriaRegistered ExecutionsRegistered Responsible ResponsibleFollowUp ClosingResource Tutor Status Criteria Registration Update
used by
elements SavePatientDecisionRequest/Decision SavePatientDecisionResponse/Decision PatientDecisionListType/Decisions/Decision DecisionByOrgListType/Decisions/Decision
source <xs:complexType name="PatientDecisionType">
 
<xs:sequence>
   
<xs:element name="PatientId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal patient id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ContactId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Contact id
HIS90: Not used
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DecisionId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Decision id
HIS90: Combined id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DecisionIdParent" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Decision id where this decision is linked to.
HIS90: Combined id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Group" type="IdDescriptionType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Describes which group this decision is releted to.
E.g. RUS, PSYC
Use CommonCodesWS.ListCommonCodes with CommonCodeTypes = DecisionGroup
HIS90:
RUS, PSYC
If blank/null in HIS90 defaulted to PSYC
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Type">
     
<xs:annotation>
       
<xs:documentation>Describes which type of decision this is.

HIS90:
In, Out, etc...
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Description" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Description of the type</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Category">
     
<xs:annotation>
       
<xs:documentation>Describes which type of category this decision is.

HIS90:
S, T, H
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Description" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Description of the type</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Code" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Decision code.

HIS90: PAQPACO
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OID" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>OID code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Description" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Description of the code

HIS90: PAQPACO
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Date" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date and time for decision.
When decision is made.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ValidToDate" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time when decision is valid to. Used when decisions are valid for a period.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ClosedDate" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time when decision is actually closed or set not valid anymore.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="RenewalDate" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time when decision has to be renewed, reconfirmed or reevaluated.
If ClosedDate is set then this date is historical.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="EvaluationDate" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date and time when decision has to be evaluated/verified.
If ClosedDate is set then this date is historical.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CompulsoryCare" type="xs:boolean" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Checked/true if this decision has resulted in compulsory care (tvungent vern).
If false the no compulsory care. And if blank the compulsory care to decided.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ComplaintRegistered" type="ComplaintRegisteredTypes" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>If a complaint is registered for this decision.
If null/blank or NO the no complaint.
YES - a complaint is registered and is in progress
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CriteriaRegistered" type="ComplaintRegisteredTypes" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>If a criteria is registered for this decision.
If null/blank or NO the no complaint.
YES - a criteria is registered
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ExecutionsRegistered" type="ComplaintRegisteredTypes" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>If a execution is registered for this decision.
If null/blank or NO the no complaint.
YES - a criteria is registered
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Responsible" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Responsible resource and organization for making the decision</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Resource" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Responsible resource for making the decision</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:complexContent>
               
<xs:extension base="ResourceTypeDecision">
                 
<xs:sequence>
                   
<xs:element name="Organization" type="OrganizationType" minOccurs="0">
                     
<xs:annotation>
                       
<xs:documentation>Organizationuinit where the resource responsible for the decision belongs to.</xs:documentation>
                     
</xs:annotation>
                   
</xs:element>
                 
</xs:sequence>
               
</xs:extension>
             
</xs:complexContent>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="Organization" type="OrganizationType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Organization responsible for the decision</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="ResponsibleFollowUp" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Responsible organization for following up the decision</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Organization" type="OrganizationType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Organization responsible for following up the decision</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="ClosingResource" type="ResourceTypeDecision" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Resource who closed/finished the decision.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Tutor" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Tutor</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="HaveTutor" type="xs:boolean" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>If patient av a tutor
True=Have tutor
False=Don't have tutor
Blank/Null = Not decided/Dod't know
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="TutorName" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Tutors name</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Status" type="ItemStatusType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Status for the item. If blank or null then item is also active. Cannot be used in Save.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Criteria" type="CriteriaType" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Criterias related to the decision</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unit registration</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Update" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Information about update or modification of unit</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="InsertedChangedByType">
           
<xs:sequence>
             
<xs:element name="UpdateCount" type="xs:int">
               
<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 PatientDecisionType/PatientId
diagram DecisionWS_p150.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal patient id
source <xs:element name="PatientId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal patient id</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/ContactId
diagram DecisionWS_p151.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Contact id
HIS90: Not used
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Contact id
HIS90: Not used
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/DecisionId
diagram DecisionWS_p152.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Decision id
HIS90: Combined id
source <xs:element name="DecisionId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Decision id
HIS90: Combined id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/DecisionIdParent
diagram DecisionWS_p153.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Decision id where this decision is linked to.
HIS90: Combined id
source <xs:element name="DecisionIdParent" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Decision id where this decision is linked to.
HIS90: Combined id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Group
diagram DecisionWS_p154.png
type IdDescriptionType
properties
minOcc 0
maxOcc 1
content complex
children Id Description
annotation
documentation
Describes which group this decision is releted to.
E.g. RUS, PSYC
Use CommonCodesWS.ListCommonCodes with CommonCodeTypes = DecisionGroup
HIS90:
RUS, PSYC
If blank/null in HIS90 defaulted to PSYC
source <xs:element name="Group" type="IdDescriptionType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Describes which group this decision is releted to.
E.g. RUS, PSYC
Use CommonCodesWS.ListCommonCodes with CommonCodeTypes = DecisionGroup
HIS90:
RUS, PSYC
If blank/null in HIS90 defaulted to PSYC
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Type
diagram DecisionWS_p155.png
properties
content complex
children Id Description
annotation
documentation
Describes which type of decision this is.

HIS90:
In, Out, etc...
source <xs:element name="Type">
 
<xs:annotation>
   
<xs:documentation>Describes which type of decision this is.

HIS90:
In, Out, etc...
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Description" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Description of the type</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientDecisionType/Type/Id
diagram DecisionWS_p156.png
type xs:string
properties
content simple
annotation
documentation
Link to codetable describing what kind of type this is.
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Type/Description
diagram DecisionWS_p157.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Description of the type
source <xs:element name="Description" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Description of the type</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Category
diagram DecisionWS_p158.png
properties
content complex
children Id Description
annotation
documentation
Describes which type of category this decision is.

HIS90:
S, T, H
source <xs:element name="Category">
 
<xs:annotation>
   
<xs:documentation>Describes which type of category this decision is.

HIS90:
S, T, H
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Description" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Description of the type</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientDecisionType/Category/Id
diagram DecisionWS_p159.png
type xs:string
properties
content simple
annotation
documentation
Link to codetable describing what kind of type this is.
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Link to codetable describing what kind of type this is.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Category/Description
diagram DecisionWS_p160.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Description of the type
source <xs:element name="Description" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Description of the type</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Code
diagram DecisionWS_p161.png
type xs:string
properties
content simple
annotation
documentation
Decision code.

HIS90: PAQPACO
source <xs:element name="Code" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Decision code.

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

element PatientDecisionType/OID
diagram DecisionWS_p162.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
OID code
source <xs:element name="OID" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>OID code</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Description
diagram DecisionWS_p163.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Description of the code

HIS90: PAQPACO
source <xs:element name="Description" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Description of the code

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

element PatientDecisionType/Date
diagram DecisionWS_p164.png
type xs:dateTime
properties
content simple
annotation
documentation
Date and time for decision.
When decision is made.
source <xs:element name="Date" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date and time for decision.
When decision is made.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/ValidToDate
diagram DecisionWS_p165.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time when decision is valid to. Used when decisions are valid for a period.
source <xs:element name="ValidToDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time when decision is valid to. Used when decisions are valid for a period.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/ClosedDate
diagram DecisionWS_p166.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time when decision is actually closed or set not valid anymore.
source <xs:element name="ClosedDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time when decision is actually closed or set not valid anymore.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/RenewalDate
diagram DecisionWS_p167.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time when decision has to be renewed, reconfirmed or reevaluated.
If ClosedDate is set then this date is historical.
source <xs:element name="RenewalDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time when decision has to be renewed, reconfirmed or reevaluated.
If ClosedDate is set then this date is historical.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/EvaluationDate
diagram DecisionWS_p168.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date and time when decision has to be evaluated/verified.
If ClosedDate is set then this date is historical.
source <xs:element name="EvaluationDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date and time when decision has to be evaluated/verified.
If ClosedDate is set then this date is historical.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/CompulsoryCare
diagram DecisionWS_p169.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Checked/true if this decision has resulted in compulsory care (tvungent vern).
If false the no compulsory care. And if blank the compulsory care to decided.
source <xs:element name="CompulsoryCare" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Checked/true if this decision has resulted in compulsory care (tvungent vern).
If false the no compulsory care. And if blank the compulsory care to decided.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/ComplaintRegistered
diagram DecisionWS_p170.png
type ComplaintRegisteredTypes
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration NO
enumeration YES
annotation
documentation
If a complaint is registered for this decision.
If null/blank or NO the no complaint.
YES - a complaint is registered and is in progress
source <xs:element name="ComplaintRegistered" type="ComplaintRegisteredTypes" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If a complaint is registered for this decision.
If null/blank or NO the no complaint.
YES - a complaint is registered and is in progress
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/CriteriaRegistered
diagram DecisionWS_p171.png
type ComplaintRegisteredTypes
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration NO
enumeration YES
annotation
documentation
If a criteria is registered for this decision.
If null/blank or NO the no complaint.
YES - a criteria is registered
source <xs:element name="CriteriaRegistered" type="ComplaintRegisteredTypes" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If a criteria is registered for this decision.
If null/blank or NO the no complaint.
YES - a criteria is registered
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/ExecutionsRegistered
diagram DecisionWS_p172.png
type ComplaintRegisteredTypes
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration NO
enumeration YES
annotation
documentation
If a execution is registered for this decision.
If null/blank or NO the no complaint.
YES - a criteria is registered
source <xs:element name="ExecutionsRegistered" type="ComplaintRegisteredTypes" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If a execution is registered for this decision.
If null/blank or NO the no complaint.
YES - a criteria is registered
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Responsible
diagram DecisionWS_p173.png
properties
minOcc 0
maxOcc 1
content complex
children Resource Organization
annotation
documentation
Responsible resource and organization for making the decision
source <xs:element name="Responsible" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Responsible resource and organization for making the decision</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Resource" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Responsible resource for making the decision</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="ResourceTypeDecision">
             
<xs:sequence>
               
<xs:element name="Organization" type="OrganizationType" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Organizationuinit where the resource responsible for the decision belongs to.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Organization" type="OrganizationType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization responsible for the decision</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientDecisionType/Responsible/Resource
diagram DecisionWS_p174.png
type extension of ResourceTypeDecision
properties
minOcc 0
maxOcc 1
content complex
children ResourceId TypeOfId Code Name Property Organization
annotation
documentation
Responsible resource for making the decision
source <xs:element name="Resource" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Responsible resource for making the decision</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="ResourceTypeDecision">
       
<xs:sequence>
         
<xs:element name="Organization" type="OrganizationType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Organizationuinit where the resource responsible for the decision belongs to.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element PatientDecisionType/Responsible/Resource/Organization
diagram DecisionWS_p175.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organizationuinit where the resource responsible for the decision belongs to.
source <xs:element name="Organization" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organizationuinit where the resource responsible for the decision belongs to.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Responsible/Organization
diagram DecisionWS_p176.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization responsible for the decision
source <xs:element name="Organization" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization responsible for the decision</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/ResponsibleFollowUp
diagram DecisionWS_p177.png
properties
minOcc 0
maxOcc 1
content complex
children Organization
annotation
documentation
Responsible organization for following up the decision
source <xs:element name="ResponsibleFollowUp" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Responsible organization for following up the decision</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Organization" type="OrganizationType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization responsible for following up the decision</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientDecisionType/ResponsibleFollowUp/Organization
diagram DecisionWS_p178.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization responsible for following up the decision
source <xs:element name="Organization" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization responsible for following up the decision</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/ClosingResource
diagram DecisionWS_p179.png
type ResourceTypeDecision
properties
minOcc 0
maxOcc 1
content complex
children ResourceId TypeOfId Code Name Property
annotation
documentation
Resource who closed/finished the decision.
source <xs:element name="ClosingResource" type="ResourceTypeDecision" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource who closed/finished the decision.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Tutor
diagram DecisionWS_p180.png
properties
minOcc 0
maxOcc 1
content complex
children HaveTutor TutorName
annotation
documentation
Tutor
source <xs:element name="Tutor" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Tutor</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="HaveTutor" type="xs:boolean" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>If patient av a tutor
True=Have tutor
False=Don't have tutor
Blank/Null = Not decided/Dod't know
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TutorName" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Tutors name</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PatientDecisionType/Tutor/HaveTutor
diagram DecisionWS_p181.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
If patient av a tutor
True=Have tutor
False=Don't have tutor
Blank/Null = Not decided/Dod't know
source <xs:element name="HaveTutor" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If patient av a tutor
True=Have tutor
False=Don't have tutor
Blank/Null = Not decided/Dod't know
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Tutor/TutorName
diagram DecisionWS_p182.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Tutors name
source <xs:element name="TutorName" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Tutors name</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Status
diagram DecisionWS_p183.png
type ItemStatusType
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration ALL
enumeration ACTIVE
enumeration DELETED
enumeration OUTOFDATE
annotation
documentation
Status for the item. If blank or null then item is also active. Cannot be used in Save.
source <xs:element name="Status" type="ItemStatusType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Status for the item. If blank or null then item is also active. Cannot be used in Save.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientDecisionType/Criteria
diagram DecisionWS_p184.png
type CriteriaType
properties
minOcc 0
maxOcc unbounded
content complex
children PatientId ContactId DecisionId CriteriaId Type OID DateTime Status Registration Update
annotation
documentation
Criterias related to the decision
source <xs:element name="Criteria" type="CriteriaType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Criterias related to the decision</xs:documentation>
 
</xs:annotation>
</xs:element>

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

element PatientDecisionType/Update
diagram DecisionWS_p186.png
type extension of InsertedChangedByType
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy UpdateCount
annotation
documentation
Information about update or modification of unit
source <xs:element name="Update" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Information about update or modification of unit</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="InsertedChangedByType">
       
<xs:sequence>
         
<xs:element name="UpdateCount" type="xs:int">
           
<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 PatientDecisionType/Update/UpdateCount
diagram DecisionWS_p187.png
type xs:int
properties
content simple
annotation
documentation
Count used for concurrency testing when waiting list is updated.
source <xs:element name="UpdateCount" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Count used for concurrency testing when waiting list is updated.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PatientInfoListType
diagram DecisionWS_p188.png
children PatientId FormattedName BirthDate Dead Sex Municipality PostalAddress Telecom
used by
element DecisionByOrgListType/Decisions/Decision/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="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 DecisionWS_p189.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/FormattedName
diagram DecisionWS_p190.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 DecisionWS_p191.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 DecisionWS_p192.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 DecisionWS_p193.png
type xs:dateTime
properties
content simple
source <xs:element name="DeathDate" type="xs:dateTime"/>

element PatientInfoListType/Sex
diagram DecisionWS_p194.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 DecisionWS_p195.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element PatientInfoListType/Sex/OfficialCode
diagram DecisionWS_p196.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 DecisionWS_p197.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element PatientInfoListType/Municipality
diagram DecisionWS_p198.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 DecisionWS_p199.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

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

element PatientInfoListType/PostalAddress
diagram DecisionWS_p201.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 DecisionWS_p202.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

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

element PatientInfoListType/Telecom
diagram DecisionWS_p204.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 DecisionWS_p205.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 DecisionWS_p206.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 ResourceTypeDecision
diagram DecisionWS_p207.png
children ResourceId TypeOfId Code Name Property
used by
elements PatientDecisionType/ClosingResource PatientDecisionType/Responsible/Resource DecisionExecutionType/ExecutedBy/Resource ListDecisionsByOrgRequest/ResponsibleResource
annotation
documentation
Type for resource
source <xs:complexType name="ResourceTypeDecision">
 
<xs:annotation>
   
<xs:documentation>Type for resource</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ResourceId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Id
HIS90: Combinded ResourceId
DEPT_NO|CODE
</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 LOC
</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 ResourceTypeDecision/ResourceId
diagram DecisionWS_p208.png
type xs:string
properties
content simple
annotation
documentation
Internal Id
HIS90: Combinded ResourceId
DEPT_NO|CODE
source <xs:element name="ResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Id
HIS90: Combinded ResourceId
DEPT_NO|CODE
</xs:documentation>
 
</xs:annotation>
</xs:element>

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

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

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

element ResourceTypeDecision/Property
diagram DecisionWS_p212.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>

simpleType ComplaintRegisteredTypes
type restriction of xs:string
properties
base xs:string
used by
elements PatientDecisionType/ComplaintRegistered PatientDecisionType/CriteriaRegistered PatientDecisionType/ExecutionsRegistered
facets
Kind Value Annotation
enumeration NotSet
enumeration NO
enumeration YES
source <xs:simpleType name="ComplaintRegisteredTypes">
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="NotSet"/>
   
<xs:enumeration value="NO"/>
   
<xs:enumeration value="YES"/>
 
</xs:restriction>
</xs:simpleType>

simpleType ItemStatusType
type restriction of xs:string
properties
base xs:string
used by
elements PatientDecisionType/Status ComplaintType/Status CriteriaType/Status DecisionExecutionType/Status ListPatientDecisionsRequest/StatusFilter ListComplaintsRequest/StatusFilter ListCriteriaRequest/StatusFilter ListDecisionExecutionsRequest/StatusFilter
facets
Kind Value Annotation
enumeration ALL
enumeration ACTIVE
enumeration DELETED
enumeration OUTOFDATE
source <xs:simpleType name="ItemStatusType">
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="ALL"/>
   
<xs:enumeration value="ACTIVE"/>
   
<xs:enumeration value="DELETED"/>
   
<xs:enumeration value="OUTOFDATE"/>
 
</xs:restriction>
</xs:simpleType>

simpleType oid
type restriction of xs:token
properties
base xs:token
facets
Kind Value Annotation
pattern (\d+\.?)*\d+
annotation
documentation
KITH's oid type
source <xs:simpleType name="oid">
 
<xs:annotation>
   
<xs:documentation>KITH's oid type</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:token">
   
<xs:pattern value="(\d+\.?)*\d+"/>
 
</xs:restriction>
</xs:simpleType>


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