Schema PatientWS2G.xsd


schema location ..\..\..\..\Common\PasDataTypes\Patient\PatientWS2G.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Elements  Complex types  Simple types 
ListPatientAdditionalInformationsRequest  PatientAdditionalInformationsListType  ItemActionType 
ListPatientAdditionalInformationsResponse  PatientAdditionalInformationType 
ListPatientRelationsRequest  PatientConsentForContactType 
ListPatientRelationsResponse  PatientRelationsListType 
SavePatientAdditionalInformationsRequest  PatientRelationsType 
SavePatientAdditionalInformationsResponse 
SavePatientRelationsRequest 
SavePatientRelationsResponse 


schema location ..\..\..\..\Common\PasDataTypes\Common\CommonDataTypes.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Complex types  Simple types 
AdditionalIdListCommon  ItemStatusTypeCommon 
AddressTypeAddressTypeCommon  NotificationType 
AddressTypeAddressTypeExt1Common  RequestFilterType 
AddressTypeAddressTypeExt2Common 
AddressTypeCommon 
AddressTypeExtCommon 
CodeNameTypeCommon 
CodeTextTypeCommon 
CodeTextTypeOfTypeCommon 
CodeTextTypeOfTypeIdCommon 
CodeTextTypeOfTypeValidDateCommon 
EconomyPersonTypeCommon 
IdTextTypeCommon 
IdTypeCodeNameTypeCommon 
IdTypeCodeNameTypeExtCommon 
IdTypeCommon 
IdTypeOfIdTextTypeCommon 
IdTypeTypeCommon 
InsertedChangedByTypeCommon 
InsertedChangedByTypeWithInstCommon 
MoreRelatedDataType 
NameTypeCommon 
OrganizationTypeCommon 
OrganizationTypeExtCommon 
PatientIdTypeCommon 
PatientInfoListTypeCommon 
PatientOfficialIdTypeCommon 
ResourceTypeCommon 
ResourceTypeWithOrgCommon 
TelecomTypeCommon 
TelecomValueTypeCommon 
TelecomValueTypeCommonWithExt 
TextAndTypeOfTextTypeCommon 
ValidDatePeriodTypeCommon 


element ListPatientAdditionalInformationsRequest
diagram PatientWS2G_p1.png
properties
content complex
children PatientId Information ValidDatePeriod AdditionalInformationId
source <xs:element name="ListPatientAdditionalInformationsRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:annotation>
       
<xs:documentation>List: PatientId
Get: AdditionalInformationId
</xs:documentation>
     
</xs:annotation>
     
<xs:sequence>
       
<xs:annotation>
         
<xs:documentation>List functionality</xs:documentation>
       
</xs:annotation>
       
<xs:element name="PatientId" type="xs:string">
         
<xs:annotation>
           
<xs:documentation>Internal Patient id</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Information" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Type and/or code of addtional information to list/get.</xs:documentation>
         
</xs:annotation>
         
<xs:complexType>
           
<xs:sequence>
             
<xs:element name="Type" type="xs:string">
               
<xs:annotation>
                 
<xs:documentation>Type of addtional information to list. Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes</xs:documentation>
               
</xs:annotation>
             
</xs:element>
             
<xs:element name="Code" type="xs:string" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>Type of addtional information to list. Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:complexType>
       
</xs:element>
       
<xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Dates code is valid. Deafult is valid today/now.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
     
<xs:sequence>
       
<xs:annotation>
         
<xs:documentation>Get functionlaity</xs:documentation>
       
</xs:annotation>
       
<xs:element name="AdditionalInformationId" type="xs:string">
         
<xs:annotation>
           
<xs:documentation>Internal id for additional patient information.
If AdditionalInformationId is given then other input parameters is ignored as this gets the specific item.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAdditionalInformationsRequest/PatientId
diagram PatientWS2G_p2.png
type xs:string
properties
content simple
annotation
documentation
Internal Patient id
source <xs:element name="PatientId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Patient id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAdditionalInformationsRequest/Information
diagram PatientWS2G_p3.png
properties
minOcc 0
maxOcc 1
content complex
children Type Code
annotation
documentation
Type and/or code of addtional information to list/get.
source <xs:element name="Information" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type and/or code of addtional information to list/get.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Type" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Type of addtional information to list. Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Code" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Type of addtional information to list. Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAdditionalInformationsRequest/Information/Type
diagram PatientWS2G_p4.png
type xs:string
properties
content simple
annotation
documentation
Type of addtional information to list. Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes
source <xs:element name="Type" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of addtional information to list. Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAdditionalInformationsRequest/Information/Code
diagram PatientWS2G_p5.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of addtional information to list. Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes
source <xs:element name="Code" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of addtional information to list. Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAdditionalInformationsRequest/ValidDatePeriod
diagram PatientWS2G_p6.png
type ValidDatePeriodTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children FromDate ToDate
annotation
documentation
Dates code is valid. Deafult is valid today/now.
source <xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Dates code is valid. Deafult is valid today/now.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAdditionalInformationsRequest/AdditionalInformationId
diagram PatientWS2G_p7.png
type xs:string
properties
content simple
annotation
documentation
Internal id for additional patient information.
If AdditionalInformationId is given then other input parameters is ignored as this gets the specific item.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
source <xs:element name="AdditionalInformationId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal id for additional patient information.
If AdditionalInformationId is given then other input parameters is ignored as this gets the specific item.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientAdditionalInformationsResponse
diagram PatientWS2G_p8.png
properties
content complex
children PatientAdditionalInformations
source <xs:element name="ListPatientAdditionalInformationsResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PatientAdditionalInformations" type="PatientAdditionalInformationsListType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientAdditionalInformationsResponse/PatientAdditionalInformations
diagram PatientWS2G_p9.png
type PatientAdditionalInformationsListType
properties
minOcc 0
maxOcc 1
content complex
children PatientAdditionalInformation
source <xs:element name="PatientAdditionalInformations" type="PatientAdditionalInformationsListType" minOccurs="0"/>

element ListPatientRelationsRequest
diagram PatientWS2G_p10.png
properties
content complex
children PatientId RelationType ValidDatePeriod Filters PatientRelationId
annotation
documentation
Request to ListPatientRelations
source <xs:element name="ListPatientRelationsRequest">
 
<xs:annotation>
   
<xs:documentation>Request to ListPatientRelations</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:annotation>
       
<xs:documentation>List: PatientId
Get: PatientRelationId
</xs:documentation>
     
</xs:annotation>
     
<xs:sequence>
       
<xs:annotation>
         
<xs:documentation>List functionality</xs:documentation>
       
</xs:annotation>
       
<xs:element name="PatientId" type="xs:string">
         
<xs:annotation>
           
<xs:documentation>Internal Patient id</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="RelationType" type="CodeTextTypeOfTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>The type of relation with the patient.
Use code set PatientRelationRole with CommonCodesWS.ListCommonCodes to get valid values.
HIS90: PAQPARE.REL_VALUE
PAQGECO.DESC
PAQPARE.INTERNAL_TYPE_OF_REL
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Dates code is valid. Deafult is valid today/now.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Filters" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Filters to show active, future  and/or all(including historical/deleted/outdated/future) items.
If filter is excluded/NULL then only active items is shown.
For most cases this will be enough.
</xs:documentation>
         
</xs:annotation>
         
<xs:complexType>
           
<xs:sequence>
             
<xs:element name="AllRelations" type="xs:boolean" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>Filter to show all relations and properties, if TRUE then show historical (outdated) relations (Deleted not shown). Default if not set is FALSE.
Only show valid relations as of today,
</xs:documentation>
               
</xs:annotation>
             
</xs:element>
             
<xs:element name="AllProperties" type="xs:boolean" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>Filter to also show all deleted properties, if TRUE then show properties (like adresses,  telecom, codes like Custody, Language etc) that are also deleted relation properties.
Default if not set is FALSE.
Only show valid properties as of today.
</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:complexType>
       
</xs:element>
     
</xs:sequence>
     
<xs:sequence>
       
<xs:annotation>
         
<xs:documentation>Get functionlaity</xs:documentation>
       
</xs:annotation>
       
<xs:element name="PatientRelationId" type="xs:string">
         
<xs:annotation>
           
<xs:documentation>Internal id for patient Relation item
If PatientRelationId is given then other input parameters is ignored as this gets the specific item.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientRelationsRequest/PatientId
diagram PatientWS2G_p11.png
type xs:string
properties
content simple
annotation
documentation
Internal Patient id
source <xs:element name="PatientId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Patient id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientRelationsRequest/RelationType
diagram PatientWS2G_p12.png
type CodeTextTypeOfTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Text TypeOfCode
annotation
documentation
The type of relation with the patient.
Use code set PatientRelationRole with CommonCodesWS.ListCommonCodes to get valid values.
HIS90: PAQPARE.REL_VALUE
PAQGECO.DESC
PAQPARE.INTERNAL_TYPE_OF_REL
source <xs:element name="RelationType" type="CodeTextTypeOfTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The type of relation with the patient.
Use code set PatientRelationRole with CommonCodesWS.ListCommonCodes to get valid values.
HIS90: PAQPARE.REL_VALUE
PAQGECO.DESC
PAQPARE.INTERNAL_TYPE_OF_REL
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientRelationsRequest/ValidDatePeriod
diagram PatientWS2G_p13.png
type ValidDatePeriodTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children FromDate ToDate
annotation
documentation
Dates code is valid. Deafult is valid today/now.
source <xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Dates code is valid. Deafult is valid today/now.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientRelationsRequest/Filters
diagram PatientWS2G_p14.png
properties
minOcc 0
maxOcc 1
content complex
children AllRelations AllProperties
annotation
documentation
Filters to show active, future  and/or all(including historical/deleted/outdated/future) items.
If filter is excluded/NULL then only active items is shown.
For most cases this will be enough.
source <xs:element name="Filters" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Filters to show active, future  and/or all(including historical/deleted/outdated/future) items.
If filter is excluded/NULL then only active items is shown.
For most cases this will be enough.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AllRelations" type="xs:boolean" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Filter to show all relations and properties, if TRUE then show historical (outdated) relations (Deleted not shown). Default if not set is FALSE.
Only show valid relations as of today,
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="AllProperties" type="xs:boolean" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Filter to also show all deleted properties, if TRUE then show properties (like adresses,  telecom, codes like Custody, Language etc) that are also deleted relation properties.
Default if not set is FALSE.
Only show valid properties as of today.
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientRelationsRequest/Filters/AllRelations
diagram PatientWS2G_p15.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Filter to show all relations and properties, if TRUE then show historical (outdated) relations (Deleted not shown). Default if not set is FALSE.
Only show valid relations as of today,
source <xs:element name="AllRelations" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Filter to show all relations and properties, if TRUE then show historical (outdated) relations (Deleted not shown). Default if not set is FALSE.
Only show valid relations as of today,
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientRelationsRequest/Filters/AllProperties
diagram PatientWS2G_p16.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Filter to also show all deleted properties, if TRUE then show properties (like adresses,  telecom, codes like Custody, Language etc) that are also deleted relation properties.
Default if not set is FALSE.
Only show valid properties as of today.
source <xs:element name="AllProperties" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Filter to also show all deleted properties, if TRUE then show properties (like adresses,  telecom, codes like Custody, Language etc) that are also deleted relation properties.
Default if not set is FALSE.
Only show valid properties as of today.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientRelationsRequest/PatientRelationId
diagram PatientWS2G_p17.png
type xs:string
properties
content simple
annotation
documentation
Internal id for patient Relation item
If PatientRelationId is given then other input parameters is ignored as this gets the specific item.
source <xs:element name="PatientRelationId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal id for patient Relation item
If PatientRelationId is given then other input parameters is ignored as this gets the specific item.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ListPatientRelationsResponse
diagram PatientWS2G_p18.png
properties
content complex
children PatientRelations
annotation
documentation
Response from ListPatientRelations
source <xs:element name="ListPatientRelationsResponse">
 
<xs:annotation>
   
<xs:documentation>Response from ListPatientRelations</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PatientRelations" type="PatientRelationsListType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ListPatientRelationsResponse/PatientRelations
diagram PatientWS2G_p19.png
type PatientRelationsListType
properties
minOcc 0
maxOcc 1
content complex
children PatientRelation
source <xs:element name="PatientRelations" type="PatientRelationsListType" minOccurs="0"/>

element SavePatientAdditionalInformationsRequest
diagram PatientWS2G_p20.png
properties
content complex
children PatientAdditionalInformations
source <xs:element name="SavePatientAdditionalInformationsRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PatientAdditionalInformations" type="PatientAdditionalInformationsListType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SavePatientAdditionalInformationsRequest/PatientAdditionalInformations
diagram PatientWS2G_p21.png
type PatientAdditionalInformationsListType
properties
minOcc 0
maxOcc 1
content complex
children PatientAdditionalInformation
source <xs:element name="PatientAdditionalInformations" type="PatientAdditionalInformationsListType" minOccurs="0"/>

element SavePatientAdditionalInformationsResponse
diagram PatientWS2G_p22.png
properties
content complex
children PatientAdditionalInformations
source <xs:element name="SavePatientAdditionalInformationsResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PatientAdditionalInformations" type="PatientAdditionalInformationsListType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SavePatientAdditionalInformationsResponse/PatientAdditionalInformations
diagram PatientWS2G_p23.png
type PatientAdditionalInformationsListType
properties
minOcc 0
maxOcc 1
content complex
children PatientAdditionalInformation
source <xs:element name="PatientAdditionalInformations" type="PatientAdditionalInformationsListType" minOccurs="0"/>

element SavePatientRelationsRequest
diagram PatientWS2G_p24.png
properties
content complex
children PatientRelations
annotation
documentation
Request to SavePatientRelations
source <xs:element name="SavePatientRelationsRequest">
 
<xs:annotation>
   
<xs:documentation>Request to SavePatientRelations</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PatientRelations" type="PatientRelationsListType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SavePatientRelationsRequest/PatientRelations
diagram PatientWS2G_p25.png
type PatientRelationsListType
properties
minOcc 0
maxOcc 1
content complex
children PatientRelation
source <xs:element name="PatientRelations" type="PatientRelationsListType" minOccurs="0"/>

element SavePatientRelationsResponse
diagram PatientWS2G_p26.png
properties
content complex
children PatientRelations
annotation
documentation
Response from SavePatientRelations
source <xs:element name="SavePatientRelationsResponse">
 
<xs:annotation>
   
<xs:documentation>Response from SavePatientRelations</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PatientRelations" type="PatientRelationsListType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element SavePatientRelationsResponse/PatientRelations
diagram PatientWS2G_p27.png
type PatientRelationsListType
properties
minOcc 0
maxOcc 1
content complex
children PatientRelation
source <xs:element name="PatientRelations" type="PatientRelationsListType" minOccurs="0"/>

complexType PatientAdditionalInformationsListType
diagram PatientWS2G_p28.png
children PatientAdditionalInformation
used by
elements ListPatientAdditionalInformationsResponse/PatientAdditionalInformations SavePatientAdditionalInformationsRequest/PatientAdditionalInformations SavePatientAdditionalInformationsResponse/PatientAdditionalInformations
annotation
documentation
List with patient additional informations items
source <xs:complexType name="PatientAdditionalInformationsListType">
 
<xs:annotation>
   
<xs:documentation>List with patient additional informations items</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="PatientAdditionalInformation" type="PatientAdditionalInformationType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

element PatientAdditionalInformationsListType/PatientAdditionalInformation
diagram PatientWS2G_p29.png
type PatientAdditionalInformationType
properties
minOcc 1
maxOcc unbounded
content complex
children PatientId AdditionalInformationId TypeOfCode Code ValidDatePeriod AdditionalInfo AdditionalInformationAction
source <xs:element name="PatientAdditionalInformation" type="PatientAdditionalInformationType" maxOccurs="unbounded"/>

complexType PatientAdditionalInformationType
diagram PatientWS2G_p30.png
children PatientId AdditionalInformationId TypeOfCode Code ValidDatePeriod AdditionalInfo AdditionalInformationAction
used by
element PatientAdditionalInformationsListType/PatientAdditionalInformation
annotation
documentation
A patient additional information record/type
source <xs:complexType name="PatientAdditionalInformationType">
 
<xs:annotation>
   
<xs:documentation>A patient additional information record/type</xs:documentation>
 
</xs:annotation>
 
<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="AdditionalInformationId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal id for additional patient information.
Used for existing items on get and updating existing items.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfCode" type="CodeTextTypeOfTypeCommon">
     
<xs:annotation>
       
<xs:documentation>Type of Code given in AdditionalIformation.Code

Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes with CommonCodeType = PatientAdditionalInformationType

HIS90: PAQPEXI.INFO_TYPE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Code" type="CodeTextTypeOfTypeCommon">
     
<xs:annotation>
       
<xs:documentation>The code

Valid Code can be found with CommonCodesWS.ListCommonCodes with CommonCodeType = PatientAdditionalInformationCode

Text can be set to the value stored if not using a CodeSet from PAQGECS/PAQGECO

HIS90: PAQPEXI.INFO_CODE
PAQPEXI.INFO_TEXT
PAQPEXI.OID
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>The period the code is valid
HIS90;
PAQPEXI.FROM_DATE
PAQPEXI.TO_DATE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="AdditionalInfo" type="CodeTextTypeOfTypeCommon" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Additional information for the type and code.
TypeOfCode contains the type desc and Code the values. Text is optional of exists, then as an further/additional description of the Code
---------------------------------------
Valid values are for TypeOfCode in this context are:
Used with info type E (EHIC)
LSSN = Foreign/other social security number
LINSNO = Local/Foreign inscurance officse number
LINSNAME = Local/Foreign inscurance officse name
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="AdditionalInformationAction" type="ItemActionType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Flag for doing an action on the AdditionalInformation row, e.g. delete of information

Valid values:
NotSet - Do noting
Delete - Delete the row/data (requiers confirm)

HIS90:
ONLY use Delete action if deletion if is needed as this is a physical deletion from the database, not a logical delete.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element PatientAdditionalInformationType/PatientId
diagram PatientWS2G_p31.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 PatientAdditionalInformationType/AdditionalInformationId
diagram PatientWS2G_p32.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal id for additional patient information.
Used for existing items on get and updating existing items.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
source <xs:element name="AdditionalInformationId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal id for additional patient information.
Used for existing items on get and updating existing items.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientAdditionalInformationType/TypeOfCode
diagram PatientWS2G_p33.png
type CodeTextTypeOfTypeCommon
properties
content complex
children Code Text TypeOfCode
annotation
documentation
Type of Code given in AdditionalIformation.Code

Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes with CommonCodeType = PatientAdditionalInformationType

HIS90: PAQPEXI.INFO_TYPE
source <xs:element name="TypeOfCode" type="CodeTextTypeOfTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type of Code given in AdditionalIformation.Code

Valid TypeOfCode can be found with CommonCodesWS.ListCommonCodes with CommonCodeType = PatientAdditionalInformationType

HIS90: PAQPEXI.INFO_TYPE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientAdditionalInformationType/Code
diagram PatientWS2G_p34.png
type CodeTextTypeOfTypeCommon
properties
content complex
children Code Text TypeOfCode
annotation
documentation
The code

Valid Code can be found with CommonCodesWS.ListCommonCodes with CommonCodeType = PatientAdditionalInformationCode

Text can be set to the value stored if not using a CodeSet from PAQGECS/PAQGECO

HIS90: PAQPEXI.INFO_CODE
PAQPEXI.INFO_TEXT
PAQPEXI.OID
source <xs:element name="Code" type="CodeTextTypeOfTypeCommon">
 
<xs:annotation>
   
<xs:documentation>The code

Valid Code can be found with CommonCodesWS.ListCommonCodes with CommonCodeType = PatientAdditionalInformationCode

Text can be set to the value stored if not using a CodeSet from PAQGECS/PAQGECO

HIS90: PAQPEXI.INFO_CODE
PAQPEXI.INFO_TEXT
PAQPEXI.OID
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientAdditionalInformationType/ValidDatePeriod
diagram PatientWS2G_p35.png
type ValidDatePeriodTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children FromDate ToDate
annotation
documentation
The period the code is valid
HIS90;
PAQPEXI.FROM_DATE
PAQPEXI.TO_DATE
source <xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The period the code is valid
HIS90;
PAQPEXI.FROM_DATE
PAQPEXI.TO_DATE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientAdditionalInformationType/AdditionalInfo
diagram PatientWS2G_p36.png
type CodeTextTypeOfTypeCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode
annotation
documentation
Additional information for the type and code.
TypeOfCode contains the type desc and Code the values. Text is optional of exists, then as an further/additional description of the Code
---------------------------------------
Valid values are for TypeOfCode in this context are:
Used with info type E (EHIC)
LSSN = Foreign/other social security number
LINSNO = Local/Foreign inscurance officse number
LINSNAME = Local/Foreign inscurance officse name
source <xs:element name="AdditionalInfo" type="CodeTextTypeOfTypeCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Additional information for the type and code.
TypeOfCode contains the type desc and Code the values. Text is optional of exists, then as an further/additional description of the Code
---------------------------------------
Valid values are for TypeOfCode in this context are:
Used with info type E (EHIC)
LSSN = Foreign/other social security number
LINSNO = Local/Foreign inscurance officse number
LINSNAME = Local/Foreign inscurance officse name
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientAdditionalInformationType/AdditionalInformationAction
diagram PatientWS2G_p37.png
type ItemActionType
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration Delete
annotation
documentation
Flag for doing an action on the AdditionalInformation row, e.g. delete of information

Valid values:
NotSet - Do noting
Delete - Delete the row/data (requiers confirm)

HIS90:
ONLY use Delete action if deletion if is needed as this is a physical deletion from the database, not a logical delete.
source <xs:element name="AdditionalInformationAction" type="ItemActionType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Flag for doing an action on the AdditionalInformation row, e.g. delete of information

Valid values:
NotSet - Do noting
Delete - Delete the row/data (requiers confirm)

HIS90:
ONLY use Delete action if deletion if is needed as this is a physical deletion from the database, not a logical delete.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PatientConsentForContactType
diagram PatientWS2G_p38.png
type extension of CodeTextTypeOfTypeValidDateCommon
properties
base CodeTextTypeOfTypeValidDateCommon
children Code Text TypeOfCode Status ValidDatePeriod Id CommunicationType
source <xs:complexType name="PatientConsentForContactType">
 
<xs:complexContent>
   
<xs:extension base="CodeTextTypeOfTypeValidDateCommon">
     
<xs:sequence>
       
<xs:element name="CommunicationType" type="CodeTextTypeOfTypeCommon" minOccurs="0" maxOccurs="unbounded">
         
<xs:annotation>
           
<xs:documentation>Communication type consent is givene for.
If no CommunicationType then all is allowed/denied.

Valid codes can be found in CommonCodesWS.ListCommonCodes with CommonCodeType = PatientCommunicationTypes
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PatientConsentForContactType/CommunicationType
diagram PatientWS2G_p39.png
type CodeTextTypeOfTypeCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode
annotation
documentation
Communication type consent is givene for.
If no CommunicationType then all is allowed/denied.

Valid codes can be found in CommonCodesWS.ListCommonCodes with CommonCodeType = PatientCommunicationTypes
source <xs:element name="CommunicationType" type="CodeTextTypeOfTypeCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Communication type consent is givene for.
If no CommunicationType then all is allowed/denied.

Valid codes can be found in CommonCodesWS.ListCommonCodes with CommonCodeType = PatientCommunicationTypes
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PatientRelationsListType
diagram PatientWS2G_p40.png
children PatientRelation
used by
elements ListPatientRelationsResponse/PatientRelations SavePatientRelationsRequest/PatientRelations SavePatientRelationsResponse/PatientRelations
annotation
documentation
List with patient relations items
source <xs:complexType name="PatientRelationsListType">
 
<xs:annotation>
   
<xs:documentation>List with patient relations items</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="PatientRelation" type="PatientRelationsType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

element PatientRelationsListType/PatientRelation
diagram PatientWS2G_p41.png
type PatientRelationsType
properties
minOcc 1
maxOcc unbounded
content complex
children PatientId PatientRelationId RelationType RelationId Name Addresses SendNotification Telecom Language NeedsTranslator PatientConsentForContact EthnicGroupAffiliation Custody CaregiverRelation Consentability ValidDatePeriod Status Registration Update
source <xs:element name="PatientRelation" type="PatientRelationsType" maxOccurs="unbounded"/>

complexType PatientRelationsType
diagram PatientWS2G_p42.png
children PatientId PatientRelationId RelationType RelationId Name Addresses SendNotification Telecom Language NeedsTranslator PatientConsentForContact EthnicGroupAffiliation Custody CaregiverRelation Consentability ValidDatePeriod Status Registration Update
used by
element PatientRelationsListType/PatientRelation
annotation
documentation
A patient relation record/type
source <xs:complexType name="PatientRelationsType">
 
<xs:annotation>
   
<xs:documentation>A patient relation record/type</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="PatientId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Patient id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="PatientRelationId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal id for patient's relation.
HIS90: Combined id.
PatientId|SerailNoPare
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="RelationType" type="CodeTextTypeOfTypeCommon">
     
<xs:annotation>
       
<xs:documentation>The type of relation with the patient.
(Sleksskap/tilknytning)
Use code set PatientRelationRole with CommonCodesWS.ListCommonCodes to get valid values.

HIS90: PAQPARE.REL_VALUE
PAQGECO.DESC
PAQPARE.INTERNAL_TYPE_OF_REL
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="RelationId" type="IdTypeTypeCommon" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>The id for relation with the patient.

This can be internal pids, official ids(fødselsnummer)

No code set defined.
Valid values are:
FNR - Fødselsnummer/OfficialId from the PAS patient reqistry
LRC - Requester code from the PAS requester reqistry
Person- Fødselsnummer/OfficialId/person identifier (as free text)
Requester - Requester/organization/school etc (as free text)

HIS90: PAQPARE.ID_VALUE
PAQPARE.ID_TEXT

PAQPARE.INTERNAL_TYPE_OF_ID
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Name" type="NameTypeCommon">
     
<xs:annotation>
       
<xs:documentation>Name of the relation</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Addresses" type="AddressTypeAddressTypeExt1Common" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Adresses for the relation</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="SendNotification" type="NotificationType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Sending notfication to the relation. E.g. about appointment
If not set or null then no notification is sent.
Valid values are:
- SMS
- Letter
- EMail
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Telecom" type="TelecomTypeCommon" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Telephones and email addresses for the relation</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Language" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>The Relations main language
Use CommonCodesWS.ListCommonCodes with code set LanguageCode to list valid codes/values.
Ref Volven 3303
HIS90 PAS:
table PAQLANG
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="NeedsTranslator" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>If the relation needs translator
Use CommonCodesWS.ListCommonCodes with code set PatientTranslatorNeed to list valid codes/values.
Ref Volven 8418
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="PatientConsentForContact" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Patient have given consent for contacing the relation
Use CommonCodesWS.ListCommonCodes with code set AdmYesNoUnknown to list valid codes/values.
Ref Volven 1103
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="EthnicGroupAffiliation" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>The relations ethnic group
(Etnisk tilhørighet)
Use CommonCodesWS.ListCommonCodes with code set PatientEthnicAffiliation to list valid codes/values.
Ref Volven 8423
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Custody" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>If relation have custodey of the patient
Use CommonCodesWS.ListCommonCodes with code set AdmYesNo to list valid codes/values.
Ref Volven 1101
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CaregiverRelation" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>The relation's caregviver role/relation for the  patient.
(Omsorgsrolle)
Use CommonCodesWS.ListCommonCodes with code set PatientCaregiverRelations to list valid codes/values.
Ref Volven 8422
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Consentability" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>If relation have the ability to consent for a patient
(Samtykkekompetanse)
Use CommonCodesWS.ListCommonCodes with code set AdmYesNo to list valid codes/values.
Ref Volven 1101
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>The period this relation and properties/information is valid
HIS90;
PAQPARE.FROM_DATE
PAQPARE.TO_DATE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Status" type="ItemStatusTypeCommon" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Status for the item. If blank or null then item is active. Only used occasionally in Save method to set item Active or Deleted</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Registration" type="InsertedChangedByTypeWithInstCommon" 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="InsertedChangedByTypeWithInstCommon">
           
<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 PatientRelationsType/PatientId
diagram PatientWS2G_p43.png
type xs:string
properties
content simple
annotation
documentation
Internal Patient id
source <xs:element name="PatientId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Patient id</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/PatientRelationId
diagram PatientWS2G_p44.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal id for patient's relation.
HIS90: Combined id.
PatientId|SerailNoPare
source <xs:element name="PatientRelationId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal id for patient's relation.
HIS90: Combined id.
PatientId|SerailNoPare
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/RelationType
diagram PatientWS2G_p45.png
type CodeTextTypeOfTypeCommon
properties
content complex
children Code Text TypeOfCode
annotation
documentation
The type of relation with the patient.
(Sleksskap/tilknytning)
Use code set PatientRelationRole with CommonCodesWS.ListCommonCodes to get valid values.

HIS90: PAQPARE.REL_VALUE
PAQGECO.DESC
PAQPARE.INTERNAL_TYPE_OF_REL
source <xs:element name="RelationType" type="CodeTextTypeOfTypeCommon">
 
<xs:annotation>
   
<xs:documentation>The type of relation with the patient.
(Sleksskap/tilknytning)
Use code set PatientRelationRole with CommonCodesWS.ListCommonCodes to get valid values.

HIS90: PAQPARE.REL_VALUE
PAQGECO.DESC
PAQPARE.INTERNAL_TYPE_OF_REL
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/RelationId
diagram PatientWS2G_p46.png
type IdTypeTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId
annotation
documentation
The id for relation with the patient.

This can be internal pids, official ids(fødselsnummer)

No code set defined.
Valid values are:
FNR - Fødselsnummer/OfficialId from the PAS patient reqistry
LRC - Requester code from the PAS requester reqistry
Person- Fødselsnummer/OfficialId/person identifier (as free text)
Requester - Requester/organization/school etc (as free text)

HIS90: PAQPARE.ID_VALUE
PAQPARE.ID_TEXT

PAQPARE.INTERNAL_TYPE_OF_ID
source <xs:element name="RelationId" type="IdTypeTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The id for relation with the patient.

This can be internal pids, official ids(fødselsnummer)

No code set defined.
Valid values are:
FNR - Fødselsnummer/OfficialId from the PAS patient reqistry
LRC - Requester code from the PAS requester reqistry
Person- Fødselsnummer/OfficialId/person identifier (as free text)
Requester - Requester/organization/school etc (as free text)

HIS90: PAQPARE.ID_VALUE
PAQPARE.ID_TEXT

PAQPARE.INTERNAL_TYPE_OF_ID
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/Name
diagram PatientWS2G_p47.png
type NameTypeCommon
properties
content complex
children FormattedName LastName MiddleName FirstName GivenName
annotation
documentation
Name of the relation
source <xs:element name="Name" type="NameTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Name of the relation</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/Addresses
diagram PatientWS2G_p48.png
type AddressTypeAddressTypeExt1Common
properties
minOcc 0
maxOcc unbounded
content complex
children AddressLines PostalAddress Country AddressType ValidDatePeriod Id Status
annotation
documentation
Adresses for the relation
source <xs:element name="Addresses" type="AddressTypeAddressTypeExt1Common" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Adresses for the relation</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/SendNotification
diagram PatientWS2G_p49.png
type NotificationType
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration SMS
enumeration Letter
enumeration EMail
annotation
documentation
Sending notfication to the relation. E.g. about appointment
If not set or null then no notification is sent.
Valid values are:
- SMS
- Letter
- EMail
source <xs:element name="SendNotification" type="NotificationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Sending notfication to the relation. E.g. about appointment
If not set or null then no notification is sent.
Valid values are:
- SMS
- Letter
- EMail
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/Telecom
diagram PatientWS2G_p50.png
type TelecomTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Telephones EMails
annotation
documentation
Telephones and email addresses for the relation
source <xs:element name="Telecom" type="TelecomTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Telephones and email addresses for the relation</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/Language
diagram PatientWS2G_p51.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
The Relations main language
Use CommonCodesWS.ListCommonCodes with code set LanguageCode to list valid codes/values.
Ref Volven 3303
HIS90 PAS:
table PAQLANG
source <xs:element name="Language" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>The Relations main language
Use CommonCodesWS.ListCommonCodes with code set LanguageCode to list valid codes/values.
Ref Volven 3303
HIS90 PAS:
table PAQLANG
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/NeedsTranslator
diagram PatientWS2G_p52.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
If the relation needs translator
Use CommonCodesWS.ListCommonCodes with code set PatientTranslatorNeed to list valid codes/values.
Ref Volven 8418
source <xs:element name="NeedsTranslator" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>If the relation needs translator
Use CommonCodesWS.ListCommonCodes with code set PatientTranslatorNeed to list valid codes/values.
Ref Volven 8418
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/PatientConsentForContact
diagram PatientWS2G_p53.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
Patient have given consent for contacing the relation
Use CommonCodesWS.ListCommonCodes with code set AdmYesNoUnknown to list valid codes/values.
Ref Volven 1103
source <xs:element name="PatientConsentForContact" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Patient have given consent for contacing the relation
Use CommonCodesWS.ListCommonCodes with code set AdmYesNoUnknown to list valid codes/values.
Ref Volven 1103
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/EthnicGroupAffiliation
diagram PatientWS2G_p54.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
The relations ethnic group
(Etnisk tilhørighet)
Use CommonCodesWS.ListCommonCodes with code set PatientEthnicAffiliation to list valid codes/values.
Ref Volven 8423
source <xs:element name="EthnicGroupAffiliation" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>The relations ethnic group
(Etnisk tilhørighet)
Use CommonCodesWS.ListCommonCodes with code set PatientEthnicAffiliation to list valid codes/values.
Ref Volven 8423
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/Custody
diagram PatientWS2G_p55.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
If relation have custodey of the patient
Use CommonCodesWS.ListCommonCodes with code set AdmYesNo to list valid codes/values.
Ref Volven 1101
source <xs:element name="Custody" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>If relation have custodey of the patient
Use CommonCodesWS.ListCommonCodes with code set AdmYesNo to list valid codes/values.
Ref Volven 1101
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/CaregiverRelation
diagram PatientWS2G_p56.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
The relation's caregviver role/relation for the  patient.
(Omsorgsrolle)
Use CommonCodesWS.ListCommonCodes with code set PatientCaregiverRelations to list valid codes/values.
Ref Volven 8422
source <xs:element name="CaregiverRelation" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>The relation's caregviver role/relation for the  patient.
(Omsorgsrolle)
Use CommonCodesWS.ListCommonCodes with code set PatientCaregiverRelations to list valid codes/values.
Ref Volven 8422
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/Consentability
diagram PatientWS2G_p57.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
If relation have the ability to consent for a patient
(Samtykkekompetanse)
Use CommonCodesWS.ListCommonCodes with code set AdmYesNo to list valid codes/values.
Ref Volven 1101
source <xs:element name="Consentability" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If relation have the ability to consent for a patient
(Samtykkekompetanse)
Use CommonCodesWS.ListCommonCodes with code set AdmYesNo to list valid codes/values.
Ref Volven 1101
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/ValidDatePeriod
diagram PatientWS2G_p58.png
type ValidDatePeriodTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children FromDate ToDate
annotation
documentation
The period this relation and properties/information is valid
HIS90;
PAQPARE.FROM_DATE
PAQPARE.TO_DATE
source <xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The period this relation and properties/information is valid
HIS90;
PAQPARE.FROM_DATE
PAQPARE.TO_DATE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientRelationsType/Status
diagram PatientWS2G_p59.png
type ItemStatusTypeCommon
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration Active
enumeration Deleted
enumeration OutOfDate
annotation
documentation
Status for the item. If blank or null then item is active. Only used occasionally in Save method to set item Active or Deleted
source <xs:element name="Status" type="ItemStatusTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Status for the item. If blank or null then item is active. Only used occasionally in Save method to set item Active or Deleted</xs:documentation>
 
</xs:annotation>
</xs:element>

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

element PatientRelationsType/Update
diagram PatientWS2G_p61.png
type extension of InsertedChangedByTypeWithInstCommon
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy Institution 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="InsertedChangedByTypeWithInstCommon">
       
<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 PatientRelationsType/Update/UpdateCount
diagram PatientWS2G_p62.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>

simpleType ItemActionType
type restriction of xs:string
properties
base xs:string
used by
element PatientAdditionalInformationType/AdditionalInformationAction
facets
Kind Value Annotation
enumeration NotSet
enumeration Delete
source <xs:simpleType name="ItemActionType">
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="NotSet"/>
   
<xs:enumeration value="Delete"/>
 
</xs:restriction>
</xs:simpleType>

complexType AdditionalIdListCommon
diagram PatientWS2G_p63.png
children AdditionalId
used by
elements IdTypeCodeNameTypeExtCommon/AdditionalIds OrganizationTypeExtCommon/AdditionalIds
annotation
documentation
Type for list of additional id for organiszation, requester, Requisition, sample, patientids etc
source <xs:complexType name="AdditionalIdListCommon">
 
<xs:annotation>
   
<xs:documentation>Type for list of additional id for organiszation, requester, Requisition, sample, patientids etc </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="AdditionalId" type="IdTypeTypeCommon" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

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

complexType AddressTypeAddressTypeCommon
diagram PatientWS2G_p65.png
type extension of AddressTypeCommon
properties
base AddressTypeCommon
children AddressLines PostalAddress Country AddressType
used by
complexType AddressTypeAddressTypeExt1Common
source <xs:complexType name="AddressTypeAddressTypeCommon">
 
<xs:complexContent>
   
<xs:extension base="AddressTypeCommon">
     
<xs:sequence>
       
<xs:element name="AddressType" type="xs:string">
         
<xs:annotation>
           
<xs:documentation>Adresse type

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressPostalTypes to list valid values for AddressType.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element AddressTypeAddressTypeCommon/AddressType
diagram PatientWS2G_p66.png
type xs:string
properties
content simple
annotation
documentation
Adresse type

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressPostalTypes to list valid values for AddressType.
source <xs:element name="AddressType" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Adresse type

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressPostalTypes to list valid values for AddressType.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AddressTypeAddressTypeExt1Common
diagram PatientWS2G_p67.png
type extension of AddressTypeAddressTypeCommon
properties
base AddressTypeAddressTypeCommon
children AddressLines PostalAddress Country AddressType ValidDatePeriod Id Status
used by
element PatientRelationsType/Addresses
complexType AddressTypeAddressTypeExt2Common
source <xs:complexType name="AddressTypeAddressTypeExt1Common">
 
<xs:complexContent>
   
<xs:extension base="AddressTypeAddressTypeCommon">
     
<xs:sequence>
       
<xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>
The period the address is valid
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Id" type="IdTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>
Internal id for the address. Is set and parsed by WS only.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Status" type="ItemStatusTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>The period the address is valid</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element AddressTypeAddressTypeExt1Common/ValidDatePeriod
diagram PatientWS2G_p68.png
type ValidDatePeriodTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children FromDate ToDate
annotation
documentation

The period the address is valid
source <xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>
The period the address is valid
</xs:documentation>
 
</xs:annotation>
</xs:element>

element AddressTypeAddressTypeExt1Common/Id
diagram PatientWS2G_p69.png
type IdTypeCommon
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Id  xs:string  required      
documentation
The id.
TypeOfId  xs:string        
documentation
Type of Id

blank/NULL=Internal Id
else consult documentation for valid TypeOfId in the context
TypeOfIdCodeSet  xs:string        
documentation
The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
annotation
documentation

Internal id for the address. Is set and parsed by WS only.
source <xs:element name="Id" type="IdTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>
Internal id for the address. Is set and parsed by WS only.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element AddressTypeAddressTypeExt1Common/Status
diagram PatientWS2G_p70.png
type ItemStatusTypeCommon
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration Active
enumeration Deleted
enumeration OutOfDate
annotation
documentation
The period the address is valid
source <xs:element name="Status" type="ItemStatusTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The period the address is valid</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AddressTypeAddressTypeExt2Common
diagram PatientWS2G_p71.png
type extension of AddressTypeAddressTypeExt1Common
properties
base AddressTypeAddressTypeExt1Common
children AddressLines PostalAddress Country AddressType ValidDatePeriod Id Status Telephones
source <xs:complexType name="AddressTypeAddressTypeExt2Common">
 
<xs:complexContent>
   
<xs:extension base="AddressTypeAddressTypeExt1Common">
     
<xs:sequence>
       
<xs:element name="Telephones" type="TelecomValueTypeCommonWithExt" minOccurs="0" maxOccurs="unbounded">
         
<xs:annotation>
           
<xs:documentation>Telephone numbers

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressTelephoneTypes to list valid values for TypeOfText.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element AddressTypeAddressTypeExt2Common/Telephones
diagram PatientWS2G_p72.png
type TelecomValueTypeCommonWithExt
properties
minOcc 0
maxOcc unbounded
content complex
children TypeOfText Text Reservation Id Status Extension
annotation
documentation
Telephone numbers

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressTelephoneTypes to list valid values for TypeOfText.
source <xs:element name="Telephones" type="TelecomValueTypeCommonWithExt" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Telephone numbers

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressTelephoneTypes to list valid values for TypeOfText.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AddressTypeCommon
diagram PatientWS2G_p73.png
children AddressLines PostalAddress Country
used by
complexTypes AddressTypeAddressTypeCommon AddressTypeExtCommon
source <xs:complexType name="AddressTypeCommon">
 
<xs:sequence>
   
<xs:element name="AddressLines" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Patient's street, bost addresses</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="AddressLine" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Address, e.g. streetname and number, house numbre, postboks etc.
TypeOfText is coding the type of adress,
Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressLineTypes to list valid values for AddressType.
</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:complexContent>
               
<xs:extension base="TextAndTypeOfTextTypeCommon">
                 
<xs:sequence>
                   
<xs:element name="Sequence" type="xs:int" minOccurs="0">
                     
<xs:annotation>
                       
<xs:documentation>Sequence of address if several of same type, if sequence is important</xs:documentation>
                     
</xs:annotation>
                   
</xs:element>
                 
</xs:sequence>
               
</xs:extension>
             
</xs:complexContent>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="PostalAddress" type="CodeNameTypeCommon" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Patient'ss postal code and city</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Country" type="CodeNameTypeCommon" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Living country is given if the person is a foreigner. County, UrbanNeighbourhood and municipality is not given if country is given.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element AddressTypeCommon/AddressLines
diagram PatientWS2G_p74.png
properties
minOcc 0
maxOcc 1
content complex
children AddressLine
annotation
documentation
Patient's street, bost addresses
source <xs:element name="AddressLines" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patient's street, bost addresses</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AddressLine" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Address, e.g. streetname and number, house numbre, postboks etc.
TypeOfText is coding the type of adress,
Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressLineTypes to list valid values for AddressType.
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="TextAndTypeOfTextTypeCommon">
             
<xs:sequence>
               
<xs:element name="Sequence" type="xs:int" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Sequence of address if several of same type, if sequence is important</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AddressTypeCommon/AddressLines/AddressLine
diagram PatientWS2G_p75.png
type extension of TextAndTypeOfTextTypeCommon
properties
minOcc 1
maxOcc unbounded
content complex
children TypeOfText Text Sequence
annotation
documentation
Address, e.g. streetname and number, house numbre, postboks etc.
TypeOfText is coding the type of adress,
Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressLineTypes to list valid values for AddressType.
source <xs:element name="AddressLine" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Address, e.g. streetname and number, house numbre, postboks etc.
TypeOfText is coding the type of adress,
Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressLineTypes to list valid values for AddressType.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="TextAndTypeOfTextTypeCommon">
       
<xs:sequence>
         
<xs:element name="Sequence" type="xs:int" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Sequence of address if several of same type, if sequence is important</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element AddressTypeCommon/AddressLines/AddressLine/Sequence
diagram PatientWS2G_p76.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Sequence of address if several of same type, if sequence is important
source <xs:element name="Sequence" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Sequence of address if several of same type, if sequence is important</xs:documentation>
 
</xs:annotation>
</xs:element>

element AddressTypeCommon/PostalAddress
diagram PatientWS2G_p77.png
type CodeNameTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Patient'ss postal code and city
source <xs:element name="PostalAddress" type="CodeNameTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patient'ss postal code and city</xs:documentation>
 
</xs:annotation>
</xs:element>

element AddressTypeCommon/Country
diagram PatientWS2G_p78.png
type CodeNameTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Living country is given if the person is a foreigner. County, UrbanNeighbourhood and municipality is not given if country is given.
source <xs:element name="Country" type="CodeNameTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Living country is given if the person is a foreigner. County, UrbanNeighbourhood and municipality is not given if country is given.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AddressTypeExtCommon
diagram PatientWS2G_p79.png
type extension of AddressTypeCommon
properties
base AddressTypeCommon
children AddressLines PostalAddress Country County Municipality UrbanNeighbourhood
source <xs:complexType name="AddressTypeExtCommon">
 
<xs:complexContent>
   
<xs:extension base="AddressTypeCommon">
     
<xs:sequence>
       
<xs:element name="County" type="CodeNameTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Patient's primary/living county. Usually same as in population register.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Municipality" type="CodeNameTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Patient's primary/living Municpality. Usually same as in population register.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="UrbanNeighbourhood" type="CodeNameTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Patient's primary/living Urban Neighbourhood. Usually same as in population register.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element AddressTypeExtCommon/County
diagram PatientWS2G_p80.png
type CodeNameTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Patient's primary/living county. Usually same as in population register.
source <xs:element name="County" type="CodeNameTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patient's primary/living county. Usually same as in population register.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AddressTypeExtCommon/Municipality
diagram PatientWS2G_p81.png
type CodeNameTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Patient's primary/living Municpality. Usually same as in population register.
source <xs:element name="Municipality" type="CodeNameTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patient's primary/living Municpality. Usually same as in population register.</xs:documentation>
 
</xs:annotation>
</xs:element>

element AddressTypeExtCommon/UrbanNeighbourhood
diagram PatientWS2G_p82.png
type CodeNameTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Patient's primary/living Urban Neighbourhood. Usually same as in population register.
source <xs:element name="UrbanNeighbourhood" type="CodeNameTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patient's primary/living Urban Neighbourhood. Usually same as in population register.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CodeNameTypeCommon
diagram PatientWS2G_p83.png
children Code Name
used by
elements AddressTypeCommon/Country AddressTypeExtCommon/County PatientInfoListTypeCommon/Municipality AddressTypeExtCommon/Municipality PatientInfoListTypeCommon/PostalAddress AddressTypeCommon/PostalAddress AddressTypeExtCommon/UrbanNeighbourhood
annotation
documentation
Type for Code and Name(with Name as optional)
source <xs:complexType name="CodeNameTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type for Code and Name(with Name as optional) </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

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

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

complexType CodeTextTypeCommon
diagram PatientWS2G_p86.png
children Code Text
used by
elements EconomyPersonTypeCommon/EECDocument PatientInfoListTypeCommon/Sex
complexTypes CodeTextTypeOfTypeCommon CodeTextTypeOfTypeIdCommon
annotation
documentation
Type for Code and Text(with text as optional)
source <xs:complexType name="CodeTextTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type for Code and Text(with text as optional) </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Text" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Description/text for code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element CodeTextTypeCommon/Code
diagram PatientWS2G_p87.png
type xs:string
properties
content simple
annotation
documentation
Code
source <xs:element name="Code" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Code</xs:documentation>
 
</xs:annotation>
</xs:element>

element CodeTextTypeCommon/Text
diagram PatientWS2G_p88.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Description/text for code
source <xs:element name="Text" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Description/text for code</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CodeTextTypeOfTypeCommon
diagram PatientWS2G_p89.png
type extension of CodeTextTypeCommon
properties
base CodeTextTypeCommon
children Code Text TypeOfCode
used by
elements PatientAdditionalInformationType/AdditionalInfo PatientAdditionalInformationType/Code PatientConsentForContactType/CommunicationType ListPatientRelationsRequest/RelationType PatientRelationsType/RelationType PatientAdditionalInformationType/TypeOfCode
complexType CodeTextTypeOfTypeValidDateCommon
source <xs:complexType name="CodeTextTypeOfTypeCommon">
 
<xs:complexContent>
   
<xs:extension base="CodeTextTypeCommon">
     
<xs:sequence>
       
<xs:element name="TypeOfCode" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>The code set used, if any.
Valid code sets can be found in CommonCodesWS.ListCommonCodes
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element CodeTextTypeOfTypeCommon/TypeOfCode
diagram PatientWS2G_p90.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
The code set used, if any.
Valid code sets can be found in CommonCodesWS.ListCommonCodes
source <xs:element name="TypeOfCode" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The code set used, if any.
Valid code sets can be found in CommonCodesWS.ListCommonCodes
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CodeTextTypeOfTypeIdCommon
diagram PatientWS2G_p91.png
type extension of CodeTextTypeCommon
properties
base CodeTextTypeCommon
children Code Text TypeOfCode Id
source <xs:complexType name="CodeTextTypeOfTypeIdCommon">
 
<xs:complexContent>
   
<xs:extension base="CodeTextTypeCommon">
     
<xs:sequence>
       
<xs:element name="TypeOfCode" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>The code set used, if any.
Valid code sets can be found in CommonCodesWS.ListCommonCodes
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Id" type="IdTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Internal id.
Is set and parsed by WS only.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element CodeTextTypeOfTypeIdCommon/TypeOfCode
diagram PatientWS2G_p92.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
The code set used, if any.
Valid code sets can be found in CommonCodesWS.ListCommonCodes
source <xs:element name="TypeOfCode" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The code set used, if any.
Valid code sets can be found in CommonCodesWS.ListCommonCodes
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CodeTextTypeOfTypeIdCommon/Id
diagram PatientWS2G_p93.png
type IdTypeCommon
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Id  xs:string  required      
documentation
The id.
TypeOfId  xs:string        
documentation
Type of Id

blank/NULL=Internal Id
else consult documentation for valid TypeOfId in the context
TypeOfIdCodeSet  xs:string        
documentation
The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
annotation
documentation
Internal id.
Is set and parsed by WS only.
source <xs:element name="Id" type="IdTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal id.
Is set and parsed by WS only.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CodeTextTypeOfTypeValidDateCommon
diagram PatientWS2G_p94.png
type extension of CodeTextTypeOfTypeCommon
properties
base CodeTextTypeOfTypeCommon
children Code Text TypeOfCode Status ValidDatePeriod Id
used by
elements PatientRelationsType/CaregiverRelation PatientRelationsType/Consentability PatientRelationsType/Custody PatientRelationsType/EthnicGroupAffiliation PatientRelationsType/Language PatientRelationsType/NeedsTranslator PatientRelationsType/PatientConsentForContact
complexType PatientConsentForContactType
source <xs:complexType name="CodeTextTypeOfTypeValidDateCommon">
 
<xs:complexContent>
   
<xs:extension base="CodeTextTypeOfTypeCommon">
     
<xs:sequence>
       
<xs:element name="Status" type="ItemStatusTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Status for the item. If blank or null then item is active.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>The period this item is valid</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Id" type="IdTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Internal id.
Is set and parsed by WS only.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element CodeTextTypeOfTypeValidDateCommon/Status
diagram PatientWS2G_p95.png
type ItemStatusTypeCommon
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration Active
enumeration Deleted
enumeration OutOfDate
annotation
documentation
Status for the item. If blank or null then item is active.
source <xs:element name="Status" type="ItemStatusTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Status for the item. If blank or null then item is active.</xs:documentation>
 
</xs:annotation>
</xs:element>

element CodeTextTypeOfTypeValidDateCommon/ValidDatePeriod
diagram PatientWS2G_p96.png
type ValidDatePeriodTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children FromDate ToDate
annotation
documentation
The period this item is valid
source <xs:element name="ValidDatePeriod" type="ValidDatePeriodTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The period this item is valid</xs:documentation>
 
</xs:annotation>
</xs:element>

element CodeTextTypeOfTypeValidDateCommon/Id
diagram PatientWS2G_p97.png
type IdTypeCommon
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Id  xs:string  required      
documentation
The id.
TypeOfId  xs:string        
documentation
Type of Id

blank/NULL=Internal Id
else consult documentation for valid TypeOfId in the context
TypeOfIdCodeSet  xs:string        
documentation
The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
annotation
documentation
Internal id.
Is set and parsed by WS only.
source <xs:element name="Id" type="IdTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal id.
Is set and parsed by WS only.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType EconomyPersonTypeCommon
diagram PatientWS2G_p98.png
children ForeignEmployee EECDocument
annotation
documentation
Type for economic informations
source <xs:complexType name="EconomyPersonTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type for economic informations</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ForeignEmployee" type="xs:boolean" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Patient is employee from another country</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="EECDocument" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>If patient has document/identification from EEC(EØS)</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="CodeTextTypeCommon">
           
<xs:sequence>
             
<xs:element name="DocumentDate" type="xs:dateTime" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>
Date of issue. For some codes this date can be required when saving the code.
</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element EconomyPersonTypeCommon/ForeignEmployee
diagram PatientWS2G_p99.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Patient is employee from another country
source <xs:element name="ForeignEmployee" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patient is employee from another country</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyPersonTypeCommon/EECDocument
diagram PatientWS2G_p100.png
type extension of CodeTextTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Text DocumentDate
annotation
documentation
If patient has document/identification from EEC(EØS)
source <xs:element name="EECDocument" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If patient has document/identification from EEC(EØS)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="CodeTextTypeCommon">
       
<xs:sequence>
         
<xs:element name="DocumentDate" type="xs:dateTime" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>
Date of issue. For some codes this date can be required when saving the code.
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element EconomyPersonTypeCommon/EECDocument/DocumentDate
diagram PatientWS2G_p101.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation

Date of issue. For some codes this date can be required when saving the code.
source <xs:element name="DocumentDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>
Date of issue. For some codes this date can be required when saving the code.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType IdTextTypeCommon
diagram PatientWS2G_p102.png
children Id Text
source <xs:complexType name="IdTextTypeCommon">
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string"/>
   
<xs:element name="Text" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

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

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

complexType IdTypeCodeNameTypeCommon
diagram PatientWS2G_p105.png
type extension of IdTypeTypeCommon
properties
base IdTypeTypeCommon
children Id TypeOfId Code Name
used by
complexType IdTypeCodeNameTypeExtCommon
annotation
documentation
Type with id, typeofid, code and name
source <xs:complexType name="IdTypeCodeNameTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type with id, typeofid, code and name</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="IdTypeTypeCommon">
     
<xs:sequence>
       
<xs:element name="Code" type="xs:string" minOccurs="0"/>
       
<xs:element name="Name" type="xs:string" minOccurs="0"/>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

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

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

complexType IdTypeCodeNameTypeExtCommon
diagram PatientWS2G_p108.png
type extension of IdTypeCodeNameTypeCommon
properties
base IdTypeCodeNameTypeCommon
children Id TypeOfId Code Name AdditionalIds
annotation
documentation
Type with id, typeofid, code and name + additional ids
source <xs:complexType name="IdTypeCodeNameTypeExtCommon">
 
<xs:annotation>
   
<xs:documentation>Type with id, typeofid, code and name + additional ids </xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="IdTypeCodeNameTypeCommon">
     
<xs:sequence>
       
<xs:element name="AdditionalIds" type="AdditionalIdListCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Additional ids for the organization </xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

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

complexType IdTypeCommon
diagram PatientWS2G_p110.png
used by
elements CodeTextTypeOfTypeIdCommon/Id CodeTextTypeOfTypeValidDateCommon/Id AddressTypeAddressTypeExt1Common/Id TelecomValueTypeCommon/Id
attributes
Name  Type  Use  Default  Fixed  Annotation
Id  xs:string  required      
documentation
The id.
TypeOfId  xs:string        
documentation
Type of Id

blank/NULL=Internal Id
else consult documentation for valid TypeOfId in the context
TypeOfIdCodeSet  xs:string        
documentation
The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
annotation
documentation
Type with id and typeofid + code set, all as attributes
source <xs:complexType name="IdTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type with id and typeofid + code set, all as attributes</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="Id" type="xs:string" use="required">
   
<xs:annotation>
     
<xs:documentation>The id.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="TypeOfId" type="xs:string">
   
<xs:annotation>
     
<xs:documentation>Type of Id

blank/NULL=Internal Id
else consult documentation for valid TypeOfId in the context
</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="TypeOfIdCodeSet" type="xs:string">
   
<xs:annotation>
     
<xs:documentation>The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:complexType>

attribute IdTypeCommon/@Id
type xs:string
properties
use required
annotation
documentation
The id.
source <xs:attribute name="Id" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>The id.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute IdTypeCommon/@TypeOfId
type xs:string
annotation
documentation
Type of Id

blank/NULL=Internal Id
else consult documentation for valid TypeOfId in the context
source <xs:attribute name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of Id

blank/NULL=Internal Id
else consult documentation for valid TypeOfId in the context
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute IdTypeCommon/@TypeOfIdCodeSet
type xs:string
annotation
documentation
The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
source <xs:attribute name="TypeOfIdCodeSet" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

complexType IdTypeOfIdTextTypeCommon
diagram PatientWS2G_p111.png
children Id TypeOfId Text
annotation
documentation
Type with id, typeofid and text
source <xs:complexType name="IdTypeOfIdTextTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type with id, typeofid and text </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string"/>
   
<xs:element name="TypeOfId" type="xs:string"/>
   
<xs:element name="Text" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

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

element IdTypeOfIdTextTypeCommon/TypeOfId
diagram PatientWS2G_p113.png
type xs:string
properties
content simple
source <xs:element name="TypeOfId" type="xs:string"/>

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

complexType IdTypeTypeCommon
diagram PatientWS2G_p115.png
children Id TypeOfId
used by
elements AdditionalIdListCommon/AdditionalId PatientRelationsType/RelationId
complexTypes IdTypeCodeNameTypeCommon PatientOfficialIdTypeCommon
annotation
documentation
Type with id and typeofid as tags + code set as attribute
source <xs:complexType name="IdTypeTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type with id and typeofid as tags + code set as attribute</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Id </xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId">
     
<xs:annotation>
       
<xs:documentation>Type of Id Generic:
blank/NULL=Internal Id
LOC/LOK = Local id/Internal Id
LOCPAS = Unkown/Local id/Internal Id in PAS
LOCLAB = Unkown/Local id/Internal Id in LAB
NOID=No id/dummy id, only name is used
LUI=UniqueId (HIS90)
XXX=Annet
---------------------------------------
Organization/resource/room: RHF=Regional id
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
ENH=Off. org.no in Br.sund
HSA= HSA-id(Sweden)
LRC=Local requester id LRCO=Local resource id
HER=Her Id(Norway)
HPR=Health Personel Registration Id(Norway)
RSH=RESH-id
NPR= NPR nr
LROOM = Local Room Id
---------------------------------------
Patient:
LOC=Local PatientId/PID
FNR or F= Patient's official id/social security number
H or N = Emergency number
K = Catastrophy number
U = Non human number
D = D-number (Norway only)
---------------------------------------
LAB:
LABRSLT = Local LAB ResultId
LABFIND = Local LAB FidningsId
LABMICR=Local LAB Microobe Id
LABRSTC = Local LAB resistance Id
LABWRK = Local LAB worklist id
LABGC = Local requester group code
---------------------------------------
Also KITH code standard can be used.
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:simpleContent>
         
<xs:extension base="xs:string">
           
<xs:attribute name="CodeSetId" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
</xs:documentation>
             
</xs:annotation>
           
</xs:attribute>
         
</xs:extension>
       
</xs:simpleContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

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

element IdTypeTypeCommon/TypeOfId
diagram PatientWS2G_p117.png
type extension of xs:string
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
CodeSetId  xs:string        
documentation
The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
annotation
documentation
Type of Id Generic:
blank/NULL=Internal Id
LOC/LOK = Local id/Internal Id
LOCPAS = Unkown/Local id/Internal Id in PAS
LOCLAB = Unkown/Local id/Internal Id in LAB
NOID=No id/dummy id, only name is used
LUI=UniqueId (HIS90)
XXX=Annet
---------------------------------------
Organization/resource/room: RHF=Regional id
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
ENH=Off. org.no in Br.sund
HSA= HSA-id(Sweden)
LRC=Local requester id LRCO=Local resource id
HER=Her Id(Norway)
HPR=Health Personel Registration Id(Norway)
RSH=RESH-id
NPR= NPR nr
LROOM = Local Room Id
---------------------------------------
Patient:
LOC=Local PatientId/PID
FNR or F= Patient's official id/social security number
H or N = Emergency number
K = Catastrophy number
U = Non human number
D = D-number (Norway only)
---------------------------------------
LAB:
LABRSLT = Local LAB ResultId
LABFIND = Local LAB FidningsId
LABMICR=Local LAB Microobe Id
LABRSTC = Local LAB resistance Id
LABWRK = Local LAB worklist id
LABGC = Local requester group code
---------------------------------------
Also KITH code standard can be used.
source <xs:element name="TypeOfId">
 
<xs:annotation>
   
<xs:documentation>Type of Id Generic:
blank/NULL=Internal Id
LOC/LOK = Local id/Internal Id
LOCPAS = Unkown/Local id/Internal Id in PAS
LOCLAB = Unkown/Local id/Internal Id in LAB
NOID=No id/dummy id, only name is used
LUI=UniqueId (HIS90)
XXX=Annet
---------------------------------------
Organization/resource/room: RHF=Regional id
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
ENH=Off. org.no in Br.sund
HSA= HSA-id(Sweden)
LRC=Local requester id LRCO=Local resource id
HER=Her Id(Norway)
HPR=Health Personel Registration Id(Norway)
RSH=RESH-id
NPR= NPR nr
LROOM = Local Room Id
---------------------------------------
Patient:
LOC=Local PatientId/PID
FNR or F= Patient's official id/social security number
H or N = Emergency number
K = Catastrophy number
U = Non human number
D = D-number (Norway only)
---------------------------------------
LAB:
LABRSLT = Local LAB ResultId
LABFIND = Local LAB FidningsId
LABMICR=Local LAB Microobe Id
LABRSTC = Local LAB resistance Id
LABWRK = Local LAB worklist id
LABGC = Local requester group code
---------------------------------------
Also KITH code standard can be used.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:simpleContent>
     
<xs:extension base="xs:string">
       
<xs:attribute name="CodeSetId" type="xs:string">
         
<xs:annotation>
           
<xs:documentation>The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
     
</xs:extension>
   
</xs:simpleContent>
 
</xs:complexType>
</xs:element>

attribute IdTypeTypeCommon/TypeOfId/@CodeSetId
type xs:string
annotation
documentation
The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
source <xs:attribute name="CodeSetId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

complexType InsertedChangedByTypeCommon
diagram PatientWS2G_p118.png
children Date Name Organization SignedBy
used by
complexType InsertedChangedByTypeWithInstCommon
annotation
documentation
Type with information about registration and updates of data
source <xs:complexType name="InsertedChangedByTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type with information about registration and updates of data</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Date" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date when inserted/last modified.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Name" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Organization Name</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Organization" type="OrganizationTypeCommon" 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 InsertedChangedByTypeCommon/Date
diagram PatientWS2G_p119.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 InsertedChangedByTypeCommon/Name
diagram PatientWS2G_p120.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 InsertedChangedByTypeCommon/Organization
diagram PatientWS2G_p121.png
type OrganizationTypeCommon
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="OrganizationTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization responsible for insertion/last modification of the instance.</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByTypeCommon/SignedBy
diagram PatientWS2G_p122.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 InsertedChangedByTypeWithInstCommon
diagram PatientWS2G_p123.png
type extension of InsertedChangedByTypeCommon
properties
base InsertedChangedByTypeCommon
children Date Name Organization SignedBy Institution
used by
elements PatientRelationsType/Registration PatientRelationsType/Update
annotation
documentation
Type with information about registration and updates of data (with institution info)
source <xs:complexType name="InsertedChangedByTypeWithInstCommon">
 
<xs:annotation>
   
<xs:documentation>Type with information about registration and updates of data (with institution info)</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="InsertedChangedByTypeCommon">
     
<xs:sequence>
       
<xs:element name="Institution" type="OrganizationTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Institution responsible for insertion/last modification of the instance. </xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element InsertedChangedByTypeWithInstCommon/Institution
diagram PatientWS2G_p124.png
type OrganizationTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Institution responsible for insertion/last modification of the instance.
source <xs:element name="Institution" type="OrganizationTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Institution responsible for insertion/last modification of the instance. </xs:documentation>
 
</xs:annotation>
</xs:element>

complexType MoreRelatedDataType
diagram PatientWS2G_p125.png
children Type WSMethods
annotation
documentation
Information if there are more related date/information that can be fetched by using other web services and methods.

This list type and possible WS methods if available.

Only used in Get methods
source <xs:complexType name="MoreRelatedDataType">
 
<xs:annotation>
   
<xs:documentation>Information if there are more related date/information that can be fetched by using other web services and methods.

This list type and possible WS methods if available.

Only used in Get methods
</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Type" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Type of related data which can be fetched.
Valid values are:
Contact:
ContactCompanions
ContactCooperationPartners
ContactParticipants
ContactTreaters
ContactDiagnosis
ContactProcedures
ContactTreatments
ContactMeasurements
ContactLeaves
PatientTreatmentTimes
PatientIndividualPlans
PatientAdditionalInformations
WaitingList:
CarePeriodResource
CarePeriodInformation
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="WSMethods" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Web service and method that can be used for fetching the data</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:attribute name="WebService" use="required"/>
       
<xs:attribute name="Method" use="required"/>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element MoreRelatedDataType/Type
diagram PatientWS2G_p126.png
type xs:string
properties
content simple
annotation
documentation
Type of related data which can be fetched.
Valid values are:
Contact:
ContactCompanions
ContactCooperationPartners
ContactParticipants
ContactTreaters
ContactDiagnosis
ContactProcedures
ContactTreatments
ContactMeasurements
ContactLeaves
PatientTreatmentTimes
PatientIndividualPlans
PatientAdditionalInformations
WaitingList:
CarePeriodResource
CarePeriodInformation
source <xs:element name="Type" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of related data which can be fetched.
Valid values are:
Contact:
ContactCompanions
ContactCooperationPartners
ContactParticipants
ContactTreaters
ContactDiagnosis
ContactProcedures
ContactTreatments
ContactMeasurements
ContactLeaves
PatientTreatmentTimes
PatientIndividualPlans
PatientAdditionalInformations
WaitingList:
CarePeriodResource
CarePeriodInformation
</xs:documentation>
 
</xs:annotation>
</xs:element>

element MoreRelatedDataType/WSMethods
diagram PatientWS2G_p127.png
properties
minOcc 0
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
WebService    required      
Method    required      
annotation
documentation
Web service and method that can be used for fetching the data
source <xs:element name="WSMethods" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Web service and method that can be used for fetching the data</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="WebService" use="required"/>
   
<xs:attribute name="Method" use="required"/>
 
</xs:complexType>
</xs:element>

attribute MoreRelatedDataType/WSMethods/@WebService
properties
use required
source <xs:attribute name="WebService" use="required"/>

attribute MoreRelatedDataType/WSMethods/@Method
properties
use required
source <xs:attribute name="Method" use="required"/>

complexType NameTypeCommon
diagram PatientWS2G_p128.png
children FormattedName LastName MiddleName FirstName GivenName
used by
elements PatientInfoListTypeCommon/FormattedName PatientRelationsType/Name
source <xs:complexType name="NameTypeCommon">
 
<xs:sequence>
   
<xs:element name="FormattedName" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The person's names formatted in one string according to national or application's rules.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="LastName" type="xs:string" minOccurs="0"/>
   
<xs:element name="MiddleName" type="xs:string" minOccurs="0"/>
   
<xs:element name="FirstName" type="xs:string" minOccurs="0"/>
   
<xs:element name="GivenName" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

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

element NameTypeCommon/LastName
diagram PatientWS2G_p130.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="LastName" type="xs:string" minOccurs="0"/>

element NameTypeCommon/MiddleName
diagram PatientWS2G_p131.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="MiddleName" type="xs:string" minOccurs="0"/>

element NameTypeCommon/FirstName
diagram PatientWS2G_p132.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="FirstName" type="xs:string" minOccurs="0"/>

element NameTypeCommon/GivenName
diagram PatientWS2G_p133.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="GivenName" type="xs:string" minOccurs="0"/>

complexType OrganizationTypeCommon
diagram PatientWS2G_p134.png
children Id TypeOfId ShortNameId Name
used by
elements InsertedChangedByTypeWithInstCommon/Institution ResourceTypeWithOrgCommon/Organization InsertedChangedByTypeCommon/Organization
complexType OrganizationTypeExtCommon
annotation
documentation
Type for the organizational unit and additional ids
source <xs:complexType name="OrganizationTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type for the organizational unit and additional ids </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Id
Can be combined ids
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Type of Id
Valie values are:
Empty/LOC = Unkown or Local id in PAS
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
LRC= Local requester code
LRES = Local resource code
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ShortNameId" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element OrganizationTypeCommon/Id
diagram PatientWS2G_p135.png
type xs:string
properties
content simple
annotation
documentation
Internal Id
Can be combined ids
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Id
Can be combined ids
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationTypeCommon/TypeOfId
diagram PatientWS2G_p136.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of Id
Valie values are:
Empty/LOC = Unkown or Local id in PAS
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
LRC= Local requester code
LRES = Local resource code
source <xs:element name="TypeOfId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of Id
Valie values are:
Empty/LOC = Unkown or Local id in PAS
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
LRC= Local requester code
LRES = Local resource code
</xs:documentation>
 
</xs:annotation>
</xs:element>

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

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

complexType OrganizationTypeExtCommon
diagram PatientWS2G_p139.png
type extension of OrganizationTypeCommon
properties
base OrganizationTypeCommon
children Id TypeOfId ShortNameId Name AdditionalIds
annotation
documentation
Type for the organizational unit and additional ids
source <xs:complexType name="OrganizationTypeExtCommon">
 
<xs:annotation>
   
<xs:documentation>Type for the organizational unit and additional ids </xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="OrganizationTypeCommon">
     
<xs:sequence>
       
<xs:element name="AdditionalIds" type="AdditionalIdListCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Additional ids for the organization </xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

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

complexType PatientIdTypeCommon
diagram PatientWS2G_p141.png
children OfficialId PatientId
used by
complexType PatientInfoListTypeCommon
annotation
documentation
Type for patient's ids, (pid and officialid with typeof id)
source <xs:complexType name="PatientIdTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type for patient's ids, (pid and officialid with typeof id)</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="OfficialId" type="PatientOfficialIdTypeCommon" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Official id. Can also be an emergency number.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="PatientId" type="xs:int" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Internal patient id for the application (HIS/PAS/LAB system)</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

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

element PatientIdTypeCommon/PatientId
diagram PatientWS2G_p143.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal patient id for the application (HIS/PAS/LAB system)
source <xs:element name="PatientId" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal patient id for the application (HIS/PAS/LAB system)</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PatientInfoListTypeCommon
diagram PatientWS2G_p144.png
type extension of PatientIdTypeCommon
properties
base PatientIdTypeCommon
children OfficialId PatientId FormattedName BirthDate Dead Sex Municipality PostalAddress Telecom
annotation
documentation
Common Patient info type used in list methods. Please only use data as necessary to avoid big responses.
source <xs:complexType name="PatientInfoListTypeCommon">
 
<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:complexContent>
   
<xs:extension base="PatientIdTypeCommon">
     
<xs:sequence>
       
<xs:element name="FormattedName" type="NameTypeCommon" minOccurs="0">
         
<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:complexContent>
             
<xs:extension base="CodeTextTypeCommon">
               
<xs:sequence>
                 
<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:sequence>
             
</xs:extension>
           
</xs:complexContent>
         
</xs:complexType>
       
</xs:element>
       
<xs:element name="Municipality" type="CodeNameTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Municipality the patient belongs to. Economic Municipality </xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="PostalAddress" type="CodeNameTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Postal code/address for the patient. </xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Telecom" type="TelecomTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Telecom - Phones and emails</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PatientInfoListTypeCommon/FormattedName
diagram PatientWS2G_p145.png
type NameTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children FormattedName LastName MiddleName FirstName GivenName
annotation
documentation
The person's names formatted in one string according to national rules.
source <xs:element name="FormattedName" type="NameTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The person's names formatted in one string according to national rules.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientInfoListTypeCommon/BirthDate
diagram PatientWS2G_p146.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 PatientInfoListTypeCommon/Dead
diagram PatientWS2G_p147.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 PatientInfoListTypeCommon/Dead/DeathDate
diagram PatientWS2G_p148.png
type xs:dateTime
properties
content simple
source <xs:element name="DeathDate" type="xs:dateTime"/>

element PatientInfoListTypeCommon/Sex
diagram PatientWS2G_p149.png
type extension of CodeTextTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Text OfficialCode
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:complexContent>
     
<xs:extension base="CodeTextTypeCommon">
       
<xs:sequence>
         
<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:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element PatientInfoListTypeCommon/Sex/OfficialCode
diagram PatientWS2G_p150.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 PatientInfoListTypeCommon/Municipality
diagram PatientWS2G_p151.png
type CodeNameTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Municipality the patient belongs to. Economic Municipality
source <xs:element name="Municipality" type="CodeNameTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Municipality the patient belongs to. Economic Municipality </xs:documentation>
 
</xs:annotation>
</xs:element>

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

element PatientInfoListTypeCommon/Telecom
diagram PatientWS2G_p153.png
type TelecomTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Telephones EMails
annotation
documentation
Telecom - Phones and emails
source <xs:element name="Telecom" type="TelecomTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Telecom - Phones and emails</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PatientOfficialIdTypeCommon
diagram PatientWS2G_p154.png
type extension of IdTypeTypeCommon
properties
base IdTypeTypeCommon
children Id TypeOfId FormattedId
used by
element PatientIdTypeCommon/OfficialId
source <xs:complexType name="PatientOfficialIdTypeCommon">
 
<xs:complexContent>
   
<xs:extension base="IdTypeTypeCommon">
     
<xs:sequence>
       
<xs:element name="FormattedId" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.
Only used when the Id have a special format.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PatientOfficialIdTypeCommon/FormattedId
diagram PatientWS2G_p155.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.
Only used when the Id have a special format.
source <xs:element name="FormattedId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.
Only used when the Id have a special format.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ResourceTypeCommon
diagram PatientWS2G_p156.png
children ResourceId TypeOfId Code Name Property
used by
complexType ResourceTypeWithOrgCommon
annotation
documentation
Type for resource
source <xs:complexType name="ResourceTypeCommon">
 
<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</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Type of Id Valid values: Empty/LOC= Internal or local resource code
LRC=Internal or local requester code
HER=HER id
HPR=HPR number
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Code" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string" 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 ResourceTypeCommon/ResourceId
diagram PatientWS2G_p157.png
type xs:string
properties
content simple
annotation
documentation
Internal Id
source <xs:element name="ResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceTypeCommon/TypeOfId
diagram PatientWS2G_p158.png
type xs:string
properties
content simple
annotation
documentation
Type of Id Valid values: Empty/LOC= Internal or local resource code
LRC=Internal or local requester code
HER=HER id
HPR=HPR number
source <xs:element name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of Id Valid values: Empty/LOC= Internal or local resource code
LRC=Internal or local requester code
HER=HER id
HPR=HPR number
</xs:documentation>
 
</xs:annotation>
</xs:element>

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

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

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

complexType ResourceTypeWithOrgCommon
diagram PatientWS2G_p162.png
type extension of ResourceTypeCommon
properties
base ResourceTypeCommon
children ResourceId TypeOfId Code Name Property Organization
source <xs:complexType name="ResourceTypeWithOrgCommon">
 
<xs:complexContent>
   
<xs:extension base="ResourceTypeCommon">
     
<xs:sequence>
       
<xs:element name="Organization" type="OrganizationTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Organization the resource belongs to</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element ResourceTypeWithOrgCommon/Organization
diagram PatientWS2G_p163.png
type OrganizationTypeCommon
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization the resource belongs to
source <xs:element name="Organization" type="OrganizationTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization the resource belongs to</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType TelecomTypeCommon
diagram PatientWS2G_p164.png
children Telephones EMails
used by
elements PatientRelationsType/Telecom PatientInfoListTypeCommon/Telecom
source <xs:complexType name="TelecomTypeCommon">
 
<xs:sequence>
   
<xs:element name="Telephones" type="TelecomValueTypeCommonWithExt" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Telephone numbers

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressTelephoneTypes to list valid values for TypeOfText.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="EMails" type="TelecomValueTypeCommon" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Email addresses

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressEmailTypes to list valid values for TypeOfText.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element TelecomTypeCommon/Telephones
diagram PatientWS2G_p165.png
type TelecomValueTypeCommonWithExt
properties
minOcc 0
maxOcc unbounded
content complex
children TypeOfText Text Reservation Id Status Extension
annotation
documentation
Telephone numbers

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressTelephoneTypes to list valid values for TypeOfText.
source <xs:element name="Telephones" type="TelecomValueTypeCommonWithExt" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Telephone numbers

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressTelephoneTypes to list valid values for TypeOfText.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element TelecomTypeCommon/EMails
diagram PatientWS2G_p166.png
type TelecomValueTypeCommon
properties
minOcc 0
maxOcc unbounded
content complex
children TypeOfText Text Reservation Id Status
annotation
documentation
Email addresses

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressEmailTypes to list valid values for TypeOfText.
source <xs:element name="EMails" type="TelecomValueTypeCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Email addresses

Use CommonCodesWS.ListCommonCodes with CommonCodeType=AddressEmailTypes to list valid values for TypeOfText.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType TelecomValueTypeCommon
diagram PatientWS2G_p167.png
type extension of TextAndTypeOfTextTypeCommon
properties
base TextAndTypeOfTextTypeCommon
children TypeOfText Text Reservation Id Status
used by
element TelecomTypeCommon/EMails
complexType TelecomValueTypeCommonWithExt
source <xs:complexType name="TelecomValueTypeCommon">
 
<xs:complexContent>
   
<xs:extension base="TextAndTypeOfTextTypeCommon">
     
<xs:sequence>
       
<xs:element name="Reservation" type="xs:boolean" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Set to true if the patients has reservations about using his telephone number/email address</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Id" type="IdTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Internal id for the item.
Is set and parsed by WS only.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Status" type="ItemStatusTypeCommon" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Status for the item. If blank or null then item is active.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element TelecomValueTypeCommon/Reservation
diagram PatientWS2G_p168.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Set to true if the patients has reservations about using his telephone number/email address
source <xs:element name="Reservation" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Set to true if the patients has reservations about using his telephone number/email address</xs:documentation>
 
</xs:annotation>
</xs:element>

element TelecomValueTypeCommon/Id
diagram PatientWS2G_p169.png
type IdTypeCommon
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Id  xs:string  required      
documentation
The id.
TypeOfId  xs:string        
documentation
Type of Id

blank/NULL=Internal Id
else consult documentation for valid TypeOfId in the context
TypeOfIdCodeSet  xs:string        
documentation
The code set used for the TypeOfId code, can be unique id/name (code set name from ListCommonCodes) or OID.
If not used then leave NULL
annotation
documentation
Internal id for the item.
Is set and parsed by WS only.
source <xs:element name="Id" type="IdTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal id for the item.
Is set and parsed by WS only.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element TelecomValueTypeCommon/Status
diagram PatientWS2G_p170.png
type ItemStatusTypeCommon
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration Active
enumeration Deleted
enumeration OutOfDate
annotation
documentation
Status for the item. If blank or null then item is active.
source <xs:element name="Status" type="ItemStatusTypeCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Status for the item. If blank or null then item is active.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType TelecomValueTypeCommonWithExt
diagram PatientWS2G_p171.png
type extension of TelecomValueTypeCommon
properties
base TelecomValueTypeCommon
children TypeOfText Text Reservation Id Status Extension
used by
elements AddressTypeAddressTypeExt2Common/Telephones TelecomTypeCommon/Telephones
source <xs:complexType name="TelecomValueTypeCommonWithExt">
 
<xs:complexContent>
   
<xs:extension base="TelecomValueTypeCommon">
     
<xs:sequence>
       
<xs:element name="Extension" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Extension on phone number if applicable</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element TelecomValueTypeCommonWithExt/Extension
diagram PatientWS2G_p172.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Extension on phone number if applicable
source <xs:element name="Extension" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Extension on phone number if applicable</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType TextAndTypeOfTextTypeCommon
diagram PatientWS2G_p173.png
children TypeOfText Text
used by
element AddressTypeCommon/AddressLines/AddressLine
complexType TelecomValueTypeCommon
annotation
documentation
Type with text and code description of the text
source <xs:complexType name="TextAndTypeOfTextTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type with text and code description of the text </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="TypeOfText" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Code description of the text </xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Text" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

element TextAndTypeOfTextTypeCommon/TypeOfText
diagram PatientWS2G_p174.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Code description of the text
source <xs:element name="TypeOfText" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Code description of the text </xs:documentation>
 
</xs:annotation>
</xs:element>

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

complexType ValidDatePeriodTypeCommon
diagram PatientWS2G_p176.png
children FromDate ToDate
used by
elements ListPatientAdditionalInformationsRequest/ValidDatePeriod ListPatientRelationsRequest/ValidDatePeriod PatientAdditionalInformationType/ValidDatePeriod PatientRelationsType/ValidDatePeriod CodeTextTypeOfTypeValidDateCommon/ValidDatePeriod AddressTypeAddressTypeExt1Common/ValidDatePeriod
annotation
documentation
Type for valid from and to dates
source <xs:complexType name="ValidDatePeriodTypeCommon">
 
<xs:annotation>
   
<xs:documentation>Type for valid from and to dates </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="FromDate" type="xs:dateTime" minOccurs="0"/>
   
<xs:element name="ToDate" type="xs:dateTime" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element ValidDatePeriodTypeCommon/FromDate
diagram PatientWS2G_p177.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="FromDate" type="xs:dateTime" minOccurs="0"/>

element ValidDatePeriodTypeCommon/ToDate
diagram PatientWS2G_p178.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ToDate" type="xs:dateTime" minOccurs="0"/>

simpleType ItemStatusTypeCommon
type restriction of xs:string
properties
base xs:string
used by
elements PatientRelationsType/Status CodeTextTypeOfTypeValidDateCommon/Status AddressTypeAddressTypeExt1Common/Status TelecomValueTypeCommon/Status
facets
Kind Value Annotation
enumeration NotSet
enumeration Active
enumeration Deleted
enumeration OutOfDate
source <xs:simpleType name="ItemStatusTypeCommon">
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="NotSet"/>
   
<xs:enumeration value="Active"/>
   
<xs:enumeration value="Deleted"/>
   
<xs:enumeration value="OutOfDate"/>
 
</xs:restriction>
</xs:simpleType>

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

simpleType RequestFilterType
type restriction of xs:string
properties
base xs:string
facets
Kind Value Annotation
enumeration All
enumeration Active
enumeration Deleted
source <xs:simpleType name="RequestFilterType">
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="All"/>
   
<xs:enumeration value="Active"/>
   
<xs:enumeration value="Deleted"/>
 
</xs:restriction>
</xs:simpleType>


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