Schema Patient.xsd


schema location ..\..\Patient.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Elements  Complex types  Simple types 
Patient  AddressTypeAddressTypeCommon  ItemStatusTypeCommon 
AddressTypeAddressTypeExt1Common  oid 
AddressTypeAddressTypeExt2Common 
AddressTypeCommon 
CodeNameTypeCommon 
CodeOIDTextTypePatient 
CodeTextTypeCommon 
CodeTextTypeOfTypeCommon 
CodeTextTypeOfTypeValidDateCommon 
IdTypeCommon 
TelecomValueTypeCommon 
TelecomValueTypeCommonWithExt 
TextAndTypeOfTextTypeCommon 
ValidDatePeriodTypeCommon 


schema location ..\..\Include\PersonBasicTypes.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Complex types 
IMFBaseType 
PatientEconomicAddressBaseType 
PatientEconomicAddressType 
PatientIdFormattedType 
PatientIdType 
PersonAddressExtType 
PersonAddressType 
PersonalInformationBaseType 
PersonalInformationExt1Type 
PersonalInformationExt2Type 
PersonalInformationExt3Type 
PersonIdType 
PersonNamesType 
PersonNameType 
PersonRegisterAddressBaseType 
PersonRegisterAddressType 
PersonTelecomType 


schema location ..\..\Include\ContactTypes.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Complex types 
AdmMedRemarkType 
ContactDetailCareType 
ContactDetailMedType 
ContactDetailType 
ContactType 
ContactTypeDetails 
ContactTypeLatest 
DiagnosisType 
ProcedureCodeType 
RemarkType 


schema location ..\..\Include\CommonBasicTypes.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Complex types 
CodeNameType 
CodeOfficialCodeTextType 
CodeTextType 
IdCodeNameType 
IdCodeOfficialCodeTextType 
IdCodeShortAndLongTextType 
IdCodeTextType 
IdCodeType 
IdNameType 
IdShortAndLongTextType 
IdTextType 
LastChangedType 
MedCodeType 
ShortAndLongTextType 
UserType 


schema location ..\..\Include\OrgBasicTypes.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Complex types 
ExternalOrganizationType 
OrganizationType 
OrganizationType2 
ResourceType 
ValidPeriodTypeOrgs 


element Patient
diagram Patient_p1.png
properties
content complex
children Id Name Address AdditonalAddresses Economy Telecom PersonalInformation CurrentContactStatus UpdateCount
annotation
documentation
Comment describing your root element
source <xs:element name="Patient">
 
<xs:annotation>
   
<xs:documentation>Comment describing your root element</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id">
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="PatientIdType">
             
<xs:sequence>
               
<xs:element name="AdditionalId" minOccurs="0" maxOccurs="unbounded">
                 
<xs:annotation>
                   
<xs:documentation>OBSOLETE, DO NOT USE. Rpalced by AdditionalIds</xs:documentation>
                 
</xs:annotation>
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="Id" type="xs:int"/>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
               
<xs:element name="AdditionalIds" minOccurs="0" maxOccurs="unbounded">
                 
<xs:annotation>
                   
<xs:documentation>AdditionalIds if the patient have more than one internal id. (HIS90)</xs:documentation>
                 
</xs:annotation>
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="Id" type="xs:string">
                       
<xs:annotation>
                         
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
                       
</xs:annotation>
                     
</xs:element>
                     
<xs:element name="TypeOfId" type="xs:string">
                       
<xs:annotation>
                         
<xs:documentation>F = official id
H or N = Emergency number
K = Catastrophy number
U = Non human number
D = D-number (Norway only)
LOC= LocalId/PID/PatientId
</xs:documentation>
                       
</xs:annotation>
                     
</xs:element>
                     
<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:complexType>
               
</xs:element>
             
</xs:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Name" type="PersonNamesType"/>
     
<xs:element name="Address" type="PersonAddressType" minOccurs="0"/>
     
<xs:element name="AdditonalAddresses" type="AddressTypeAddressTypeExt2Common" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Othjer/additional addresses for the patient tha the living adress(bostedadresse).
Usud for temp.adresses(C/O), invoce adressed ....
HIS90:
Use AdressType INV or TMP
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Economy" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="EconomicAddress" type="PatientEconomicAddressType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>These data are used for economy.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Freepass" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Patents freepass

Missing/Blank = Not known if have freepass
</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="InternalFreepassId" type="xs:string" minOccurs="0">
                   
<xs:annotation>
                     
<xs:documentation>Internal id for the freepass record
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="Number" type="xs:string" minOccurs="0"/>
                 
<xs:element name="ValidPeriod" minOccurs="0">
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="ValidFrom" type="xs:date" minOccurs="0"/>
                       
<xs:element name="ValidTo" type="xs:date"/>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
                 
<xs:element name="HaveFreepass" type="xs:boolean" minOccurs="0">
                   
<xs:annotation>
                     
<xs:documentation>If Patient have freepass
True = Have freepass
False = Not freepass
Missing/Blank = Not known if have freepass
</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="Asylum" minOccurs="0">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="DossierNumber" type="xs:string" minOccurs="0"/>
                 
<xs:element name="DossierValidTo" type="xs:date" minOccurs="0"/>
                 
<xs:element name="Applicant" type="xs:boolean"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="Insurance" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>Patients inscurance or EHIC(EU Health Insurance Card)</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="InternalInscuranceId" type="xs:string" minOccurs="0">
                   
<xs:annotation>
                     
<xs:documentation>Internal id for the inscurance record.
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="Id" type="xs:string">
                   
<xs:annotation>
                     
<xs:documentation>Insurance card number or policy</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
                 
<xs:element name="Type" type="xs:string">
                   
<xs:annotation>
                     
<xs:documentation>Type of card or policy</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
                 
<xs:element name="Text" type="xs:string" minOccurs="0">
                   
<xs:annotation>
                     
<xs:documentation>Description of card or policy</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
                 
<xs:element name="ValidPeriod" minOccurs="0">
                   
<xs:annotation>
                     
<xs:documentation>Valid period for insurance</xs:documentation>
                   
</xs:annotation>
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="FromDate" type="xs:dateTime" minOccurs="0"/>
                       
<xs:element name="ToDate" type="xs:dateTime" minOccurs="0"/>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
                 
<xs:element name="InsuranceOffice" minOccurs="0">
                   
<xs:annotation>
                     
<xs:documentation>Social security office, Inscurance company name,</xs:documentation>
                   
</xs:annotation>
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="Id" type="xs:int"/>
                       
<xs:element name="Name" type="xs:string"/>
                       
<xs:element name="ForeignPatientId" type="xs:string" minOccurs="0">
                         
<xs:annotation>
                           
<xs:documentation>External or foreign patient id related to the insurance</xs:documentation>
                         
</xs:annotation>
                       
</xs:element>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Telecom" minOccurs="0">
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="PersonTelecomType">
             
<xs:sequence>
               
<xs:element name="MobilePhoneReservation" type="xs:boolean" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Set to true if the patients has reservations about using his mobilephonenumber</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="EMailReservation" type="xs:boolean" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Set to true if the patients has reservations about using his email address</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="PersonalInformation" minOccurs="0">
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="PersonalInformationExt3Type">
             
<xs:sequence>
               
<xs:element name="AdditionalInformations" minOccurs="0">
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="AdditionalInformation" maxOccurs="unbounded">
                       
<xs:complexType>
                         
<xs:complexContent>
                           
<xs:extension base="CodeOIDTextTypePatient">
                             
<xs:sequence>
                               
<xs:element name="TypeOfCode" type="CodeOIDTextTypePatient">
                                 
<xs:annotation>
                                   
<xs:documentation>Type of Code given i AdditionalIformation.Code

Valid TypeOfCode are:
COC = Care of Own Children
LVA = Live Alone
</xs:documentation>
                                 
</xs:annotation>
                               
</xs:element>
                               
<xs:element name="ValidPeriod" minOccurs="0">
                                 
<xs:annotation>
                                   
<xs:documentation>The period the code is valid</xs:documentation>
                                 
</xs:annotation>
                                 
<xs:complexType>
                                   
<xs:sequence>
                                     
<xs:element name="From" type="xs:dateTime"/>
                                     
<xs:element name="To" type="xs:dateTime" minOccurs="0"/>
                                   
</xs:sequence>
                                 
</xs:complexType>
                               
</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:sequence>
                           
</xs:extension>
                         
</xs:complexContent>
                       
</xs:complexType>
                     
</xs:element>
                   
</xs:sequence>
                 
</xs:complexType>
               
</xs:element>
               
<xs:element name="CareLivingSituation" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
                 
<xs:annotation>
                   
<xs:documentation>The patient's living/care situation
(Omsorgssituasjon)
Use CommonCodesWS.ListCommonCodes with code set CareLivingSituation to list valid codes/values.
Ref Volven 8419
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="LivingWithPartner" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
                 
<xs:annotation>
                   
<xs:documentation>Patient livings with partner status.
(Samlivsstatus)
Use CommonCodesWS.ListCommonCodes with code set PatientLivingWithPartner to list valid codes/values.
Ref Volven 8414
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="NeedsTranslator" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
                 
<xs:annotation>
                   
<xs:documentation>If the patient 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="EPRInfoTransferConsent" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
                 
<xs:annotation>
                   
<xs:documentation>Status for getting the patient's consent to the transfer of medical records information.
Use CommonCodesWS.ListCommonCodes with code set EPRInfoTransferConsent to list valid codes/values.
Ref Volven 9064
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="DocumentLanguage" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>The patient's language for written communications
Use CommonCodesWS.ListCommonCodes with code set DocumentLanguageCodes to list valid codes/values.
</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:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="CurrentContactStatus" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The patient current contact status.
If the patient is admitted/in treatment or have been treated earlier.
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="TypeOfCare" type="CodeTextType"/>
           
<xs:element name="MedicalUnit" type="OrganizationType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Department/MedicalSpeciality</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="CareUnit" type="OrganizationType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Organization unit where the care is taking place</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Placement" type="IdCodeNameType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Room/bed</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="PreviouslyAdmitted" type="xs:boolean" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90 nly</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="LastDateDischarged" type="xs:dateTime" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>HIS90 only</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Confidential" type="CodeTextType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Infomation about confidentiality or reservation to display/give out the information about a patient. </xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="IsUserAuthenticatedForPatientCareUnit" type="xs:boolean" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>True/flase flag to indicate if unit(CareUnit) the patiente is at is in users authentication group. This flag tells if user has access to the unit(CareUnit) the patient is at now.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="UpdateCount" type="xs:int" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90 only: UpdateCount used for concurrencycheck when updating patient.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/Id
diagram Patient_p2.png
type extension of PatientIdType
properties
content complex
children OfficialId PatientId AdditionalId AdditionalIds
source <xs:element name="Id">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="PatientIdType">
       
<xs:sequence>
         
<xs:element name="AdditionalId" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>OBSOLETE, DO NOT USE. Rpalced by AdditionalIds</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Id" type="xs:int"/>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="AdditionalIds" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>AdditionalIds if the patient have more than one internal id. (HIS90)</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Id" type="xs:string">
                 
<xs:annotation>
                   
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="TypeOfId" type="xs:string">
                 
<xs:annotation>
                   
<xs:documentation>F = official id
H or N = Emergency number
K = Catastrophy number
U = Non human number
D = D-number (Norway only)
LOC= LocalId/PID/PatientId
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<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:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element Patient/Id/AdditionalId
diagram Patient_p3.png
properties
minOcc 0
maxOcc unbounded
content complex
children Id
annotation
documentation
OBSOLETE, DO NOT USE. Rpalced by AdditionalIds
source <xs:element name="AdditionalId" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>OBSOLETE, DO NOT USE. Rpalced by AdditionalIds</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:int"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/Id/AdditionalId/Id
diagram Patient_p4.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

element Patient/Id/AdditionalIds
diagram Patient_p5.png
properties
minOcc 0
maxOcc unbounded
content complex
children Id TypeOfId FormattedId
annotation
documentation
AdditionalIds if the patient have more than one internal id. (HIS90)
source <xs:element name="AdditionalIds" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>AdditionalIds if the patient have more than one internal id. (HIS90)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="TypeOfId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>F = official id
H or N = Emergency number
K = Catastrophy number
U = Non human number
D = D-number (Norway only)
LOC= LocalId/PID/PatientId
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<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:complexType>
</xs:element>

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

element Patient/Id/AdditionalIds/TypeOfId
diagram Patient_p7.png
type xs:string
properties
content simple
annotation
documentation
F = official id
H or N = Emergency number
K = Catastrophy number
U = Non human number
D = D-number (Norway only)
LOC= LocalId/PID/PatientId
source <xs:element name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>F = official id
H or N = Emergency number
K = Catastrophy number
U = Non human number
D = D-number (Norway only)
LOC= LocalId/PID/PatientId
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Id/AdditionalIds/FormattedId
diagram Patient_p8.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>

element Patient/Name
diagram Patient_p9.png
type PersonNamesType
properties
content complex
children FormattedName LastName MiddleName FirstName GivenName
source <xs:element name="Name" type="PersonNamesType"/>

element Patient/Address
diagram Patient_p10.png
type PersonAddressType
properties
minOcc 0
maxOcc 1
content complex
children AddressLines PostalAddress AddressLine1 AddressLine2 COAddress
source <xs:element name="Address" type="PersonAddressType" minOccurs="0"/>

element Patient/AdditonalAddresses
diagram Patient_p11.png
type AddressTypeAddressTypeExt2Common
properties
minOcc 0
maxOcc unbounded
content complex
children AddressLines PostalAddress Country AddressType ValidDatePeriod Status Id Telephones
annotation
documentation
Othjer/additional addresses for the patient tha the living adress(bostedadresse).
Usud for temp.adresses(C/O), invoce adressed ....
HIS90:
Use AdressType INV or TMP
source <xs:element name="AdditonalAddresses" type="AddressTypeAddressTypeExt2Common" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Othjer/additional addresses for the patient tha the living adress(bostedadresse).
Usud for temp.adresses(C/O), invoce adressed ....
HIS90:
Use AdressType INV or TMP
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Economy
diagram Patient_p12.png
properties
minOcc 0
maxOcc 1
content complex
children EconomicAddress Freepass Asylum Insurance
source <xs:element name="Economy" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="EconomicAddress" type="PatientEconomicAddressType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>These data are used for economy.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Freepass" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Patents freepass

Missing/Blank = Not known if have freepass
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="InternalFreepassId" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Internal id for the freepass record
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="Number" type="xs:string" minOccurs="0"/>
           
<xs:element name="ValidPeriod" minOccurs="0">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="ValidFrom" type="xs:date" minOccurs="0"/>
                 
<xs:element name="ValidTo" type="xs:date"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="HaveFreepass" type="xs:boolean" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>If Patient have freepass
True = Have freepass
False = Not freepass
Missing/Blank = Not known if have freepass
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Asylum" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="DossierNumber" type="xs:string" minOccurs="0"/>
           
<xs:element name="DossierValidTo" type="xs:date" minOccurs="0"/>
           
<xs:element name="Applicant" type="xs:boolean"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Insurance" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Patients inscurance or EHIC(EU Health Insurance Card)</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="InternalInscuranceId" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Internal id for the inscurance record.
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="Id" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Insurance card number or policy</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Type" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Type of card or policy</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Text" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Description of card or policy</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="ValidPeriod" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Valid period for insurance</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="FromDate" type="xs:dateTime" minOccurs="0"/>
                 
<xs:element name="ToDate" type="xs:dateTime" minOccurs="0"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="InsuranceOffice" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Social security office, Inscurance company name,</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="Id" type="xs:int"/>
                 
<xs:element name="Name" type="xs:string"/>
                 
<xs:element name="ForeignPatientId" type="xs:string" minOccurs="0">
                   
<xs:annotation>
                     
<xs:documentation>External or foreign patient id related to the insurance</xs:documentation>
                   
</xs:annotation>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/Economy/EconomicAddress
diagram Patient_p13.png
type PatientEconomicAddressType
properties
minOcc 0
maxOcc 1
content complex
children County Municipality UrbanNeighbourhood Country HouseProperty District BillingDistrict
annotation
documentation
These data are used for economy.
source <xs:element name="EconomicAddress" type="PatientEconomicAddressType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>These data are used for economy.</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Economy/Freepass
diagram Patient_p14.png
properties
minOcc 0
maxOcc 1
content complex
children InternalFreepassId Number ValidPeriod HaveFreepass
annotation
documentation
Patents freepass

Missing/Blank = Not known if have freepass
source <xs:element name="Freepass" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Patents freepass

Missing/Blank = Not known if have freepass
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="InternalFreepassId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Internal id for the freepass record
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="Number" type="xs:string" minOccurs="0"/>
     
<xs:element name="ValidPeriod" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ValidFrom" type="xs:date" minOccurs="0"/>
           
<xs:element name="ValidTo" type="xs:date"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="HaveFreepass" type="xs:boolean" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>If Patient have freepass
True = Have freepass
False = Not freepass
Missing/Blank = Not known if have freepass
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/Economy/Freepass/InternalFreepassId
diagram Patient_p15.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal id for the freepass record
Used for existing items on get and updating existing items.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
source <xs:element name="InternalFreepassId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal id for the freepass record
Used for existing items on get and updating existing items.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Economy/Freepass/Number
diagram Patient_p16.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Number" type="xs:string" minOccurs="0"/>

element Patient/Economy/Freepass/ValidPeriod
diagram Patient_p17.png
properties
minOcc 0
maxOcc 1
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ValidFrom" type="xs:date" minOccurs="0"/>
     
<xs:element name="ValidTo" type="xs:date"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/Economy/Freepass/ValidPeriod/ValidFrom
diagram Patient_p18.png
type xs:date
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ValidFrom" type="xs:date" minOccurs="0"/>

element Patient/Economy/Freepass/ValidPeriod/ValidTo
diagram Patient_p19.png
type xs:date
properties
content simple
source <xs:element name="ValidTo" type="xs:date"/>

element Patient/Economy/Freepass/HaveFreepass
diagram Patient_p20.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
If Patient have freepass
True = Have freepass
False = Not freepass
Missing/Blank = Not known if have freepass
source <xs:element name="HaveFreepass" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If Patient have freepass
True = Have freepass
False = Not freepass
Missing/Blank = Not known if have freepass
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Economy/Asylum
diagram Patient_p21.png
properties
minOcc 0
maxOcc 1
content complex
children DossierNumber DossierValidTo Applicant
source <xs:element name="Asylum" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="DossierNumber" type="xs:string" minOccurs="0"/>
     
<xs:element name="DossierValidTo" type="xs:date" minOccurs="0"/>
     
<xs:element name="Applicant" type="xs:boolean"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/Economy/Asylum/DossierNumber
diagram Patient_p22.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="DossierNumber" type="xs:string" minOccurs="0"/>

element Patient/Economy/Asylum/DossierValidTo
diagram Patient_p23.png
type xs:date
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="DossierValidTo" type="xs:date" minOccurs="0"/>

element Patient/Economy/Asylum/Applicant
diagram Patient_p24.png
type xs:boolean
properties
content simple
source <xs:element name="Applicant" type="xs:boolean"/>

element Patient/Economy/Insurance
diagram Patient_p25.png
properties
minOcc 0
maxOcc unbounded
content complex
children InternalInscuranceId Id Type Text ValidPeriod InsuranceOffice
annotation
documentation
Patients inscurance or EHIC(EU Health Insurance Card)
source <xs:element name="Insurance" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Patients inscurance or EHIC(EU Health Insurance Card)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="InternalInscuranceId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Internal id for the inscurance record.
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="Id" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Insurance card number or policy</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Type" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Type of card or policy</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Text" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Description of card or policy</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ValidPeriod" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Valid period for insurance</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="FromDate" type="xs:dateTime" minOccurs="0"/>
           
<xs:element name="ToDate" type="xs:dateTime" minOccurs="0"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="InsuranceOffice" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Social security office, Inscurance company name,</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Id" type="xs:int"/>
           
<xs:element name="Name" type="xs:string"/>
           
<xs:element name="ForeignPatientId" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>External or foreign patient id related to the insurance</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/Economy/Insurance/InternalInscuranceId
diagram Patient_p26.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Internal id for the inscurance record.
Used for existing items on get and updating existing items.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
source <xs:element name="InternalInscuranceId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Internal id for the inscurance record.
Used for existing items on get and updating existing items.
HIS90: Combined id.
PatientId|InfoType|InfoCode|ToDate
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Economy/Insurance/Id
diagram Patient_p27.png
type xs:string
properties
content simple
annotation
documentation
Insurance card number or policy
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Insurance card number or policy</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Economy/Insurance/Type
diagram Patient_p28.png
type xs:string
properties
content simple
annotation
documentation
Type of card or policy
source <xs:element name="Type" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of card or policy</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Economy/Insurance/Text
diagram Patient_p29.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Description of card or policy
source <xs:element name="Text" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Description of card or policy</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Economy/Insurance/ValidPeriod
diagram Patient_p30.png
properties
minOcc 0
maxOcc 1
content complex
children FromDate ToDate
annotation
documentation
Valid period for insurance
source <xs:element name="ValidPeriod" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Valid period for insurance</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="FromDate" type="xs:dateTime" minOccurs="0"/>
     
<xs:element name="ToDate" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/Economy/Insurance/ValidPeriod/FromDate
diagram Patient_p31.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="FromDate" type="xs:dateTime" minOccurs="0"/>

element Patient/Economy/Insurance/ValidPeriod/ToDate
diagram Patient_p32.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ToDate" type="xs:dateTime" minOccurs="0"/>

element Patient/Economy/Insurance/InsuranceOffice
diagram Patient_p33.png
properties
minOcc 0
maxOcc 1
content complex
children Id Name ForeignPatientId
annotation
documentation
Social security office, Inscurance company name,
source <xs:element name="InsuranceOffice" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Social security office, Inscurance company name,</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:int"/>
     
<xs:element name="Name" type="xs:string"/>
     
<xs:element name="ForeignPatientId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>External or foreign patient id related to the insurance</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/Economy/Insurance/InsuranceOffice/Id
diagram Patient_p34.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

element Patient/Economy/Insurance/InsuranceOffice/Name
diagram Patient_p35.png
type xs:string
properties
content simple
source <xs:element name="Name" type="xs:string"/>

element Patient/Economy/Insurance/InsuranceOffice/ForeignPatientId
diagram Patient_p36.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
External or foreign patient id related to the insurance
source <xs:element name="ForeignPatientId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>External or foreign patient id related to the insurance</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/Telecom
diagram Patient_p37.png
type extension of PersonTelecomType
properties
minOcc 0
maxOcc 1
content complex
children HomePhoneNumber OfficePhoneNumber MobilePhoneNumber FaxNumber EMailAddress MobilePhoneReservation EMailReservation
source <xs:element name="Telecom" minOccurs="0">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="PersonTelecomType">
       
<xs:sequence>
         
<xs:element name="MobilePhoneReservation" type="xs:boolean" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Set to true if the patients has reservations about using his mobilephonenumber</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="EMailReservation" type="xs:boolean" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Set to true if the patients has reservations about using his email address</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

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

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

element Patient/PersonalInformation
diagram Patient_p40.png
type extension of PersonalInformationExt3Type
properties
minOcc 0
maxOcc 1
content complex
children BirthDate PersonNumber BirthCentury Sex Dead Nationality MaritalStatus Language Occupation ExternalDoctor HealthCareCentre PatientSecurity AdditionalInformations CareLivingSituation LivingWithPartner NeedsTranslator EPRInfoTransferConsent DocumentLanguage Consentability
source <xs:element name="PersonalInformation" minOccurs="0">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="PersonalInformationExt3Type">
       
<xs:sequence>
         
<xs:element name="AdditionalInformations" minOccurs="0">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="AdditionalInformation" maxOccurs="unbounded">
                 
<xs:complexType>
                   
<xs:complexContent>
                     
<xs:extension base="CodeOIDTextTypePatient">
                       
<xs:sequence>
                         
<xs:element name="TypeOfCode" type="CodeOIDTextTypePatient">
                           
<xs:annotation>
                             
<xs:documentation>Type of Code given i AdditionalIformation.Code

Valid TypeOfCode are:
COC = Care of Own Children
LVA = Live Alone
</xs:documentation>
                           
</xs:annotation>
                         
</xs:element>
                         
<xs:element name="ValidPeriod" minOccurs="0">
                           
<xs:annotation>
                             
<xs:documentation>The period the code is valid</xs:documentation>
                           
</xs:annotation>
                           
<xs:complexType>
                             
<xs:sequence>
                               
<xs:element name="From" type="xs:dateTime"/>
                               
<xs:element name="To" type="xs:dateTime" minOccurs="0"/>
                             
</xs:sequence>
                           
</xs:complexType>
                         
</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:sequence>
                     
</xs:extension>
                   
</xs:complexContent>
                 
</xs:complexType>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="CareLivingSituation" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>The patient's living/care situation
(Omsorgssituasjon)
Use CommonCodesWS.ListCommonCodes with code set CareLivingSituation to list valid codes/values.
Ref Volven 8419
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="LivingWithPartner" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Patient livings with partner status.
(Samlivsstatus)
Use CommonCodesWS.ListCommonCodes with code set PatientLivingWithPartner to list valid codes/values.
Ref Volven 8414
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="NeedsTranslator" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>If the patient 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="EPRInfoTransferConsent" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
           
<xs:annotation>
             
<xs:documentation>Status for getting the patient's consent to the transfer of medical records information.
Use CommonCodesWS.ListCommonCodes with code set EPRInfoTransferConsent to list valid codes/values.
Ref Volven 9064
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="DocumentLanguage" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>The patient's language for written communications
Use CommonCodesWS.ListCommonCodes with code set DocumentLanguageCodes to list valid codes/values.
</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:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element Patient/PersonalInformation/AdditionalInformations
diagram Patient_p41.png
properties
minOcc 0
maxOcc 1
content complex
children AdditionalInformation
source <xs:element name="AdditionalInformations" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AdditionalInformation" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="CodeOIDTextTypePatient">
             
<xs:sequence>
               
<xs:element name="TypeOfCode" type="CodeOIDTextTypePatient">
                 
<xs:annotation>
                   
<xs:documentation>Type of Code given i AdditionalIformation.Code

Valid TypeOfCode are:
COC = Care of Own Children
LVA = Live Alone
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="ValidPeriod" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>The period the code is valid</xs:documentation>
                 
</xs:annotation>
                 
<xs:complexType>
                   
<xs:sequence>
                     
<xs:element name="From" type="xs:dateTime"/>
                     
<xs:element name="To" type="xs:dateTime" minOccurs="0"/>
                   
</xs:sequence>
                 
</xs:complexType>
               
</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:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/PersonalInformation/AdditionalInformations/AdditionalInformation
diagram Patient_p42.png
type extension of CodeOIDTextTypePatient
properties
minOcc 1
maxOcc unbounded
content complex
children Code CodeSystemOID TextDescription TypeOfCode ValidPeriod AdditionalInformationId
source <xs:element name="AdditionalInformation" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="CodeOIDTextTypePatient">
       
<xs:sequence>
         
<xs:element name="TypeOfCode" type="CodeOIDTextTypePatient">
           
<xs:annotation>
             
<xs:documentation>Type of Code given i AdditionalIformation.Code

Valid TypeOfCode are:
COC = Care of Own Children
LVA = Live Alone
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="ValidPeriod" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>The period the code is valid</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="From" type="xs:dateTime"/>
               
<xs:element name="To" type="xs:dateTime" minOccurs="0"/>
             
</xs:sequence>
           
</xs:complexType>
         
</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:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element Patient/PersonalInformation/AdditionalInformations/AdditionalInformation/TypeOfCode
diagram Patient_p43.png
type CodeOIDTextTypePatient
properties
content complex
children Code CodeSystemOID TextDescription
annotation
documentation
Type of Code given i AdditionalIformation.Code

Valid TypeOfCode are:
COC = Care of Own Children
LVA = Live Alone
source <xs:element name="TypeOfCode" type="CodeOIDTextTypePatient">
 
<xs:annotation>
   
<xs:documentation>Type of Code given i AdditionalIformation.Code

Valid TypeOfCode are:
COC = Care of Own Children
LVA = Live Alone
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/PersonalInformation/AdditionalInformations/AdditionalInformation/ValidPeriod
diagram Patient_p44.png
properties
minOcc 0
maxOcc 1
content complex
children From To
annotation
documentation
The period the code is valid
source <xs:element name="ValidPeriod" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The period the code is valid</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="From" type="xs:dateTime"/>
     
<xs:element name="To" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/PersonalInformation/AdditionalInformations/AdditionalInformation/ValidPeriod/From
diagram Patient_p45.png
type xs:dateTime
properties
content simple
source <xs:element name="From" type="xs:dateTime"/>

element Patient/PersonalInformation/AdditionalInformations/AdditionalInformation/ValidPeriod/To
diagram Patient_p46.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="To" type="xs:dateTime" minOccurs="0"/>

element Patient/PersonalInformation/AdditionalInformations/AdditionalInformation/AdditionalInformationId
diagram Patient_p47.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 Patient/PersonalInformation/CareLivingSituation
diagram Patient_p48.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
The patient's living/care situation
(Omsorgssituasjon)
Use CommonCodesWS.ListCommonCodes with code set CareLivingSituation to list valid codes/values.
Ref Volven 8419
source <xs:element name="CareLivingSituation" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>The patient's living/care situation
(Omsorgssituasjon)
Use CommonCodesWS.ListCommonCodes with code set CareLivingSituation to list valid codes/values.
Ref Volven 8419
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/PersonalInformation/LivingWithPartner
diagram Patient_p49.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
Patient livings with partner status.
(Samlivsstatus)
Use CommonCodesWS.ListCommonCodes with code set PatientLivingWithPartner to list valid codes/values.
Ref Volven 8414
source <xs:element name="LivingWithPartner" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Patient livings with partner status.
(Samlivsstatus)
Use CommonCodesWS.ListCommonCodes with code set PatientLivingWithPartner to list valid codes/values.
Ref Volven 8414
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/PersonalInformation/NeedsTranslator
diagram Patient_p50.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
If the patient 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 patient needs translator
Use CommonCodesWS.ListCommonCodes with code set PatientTranslatorNeed to list valid codes/values.
Ref Volven 8418
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/PersonalInformation/EPRInfoTransferConsent
diagram Patient_p51.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc unbounded
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
Status for getting the patient's consent to the transfer of medical records information.
Use CommonCodesWS.ListCommonCodes with code set EPRInfoTransferConsent to list valid codes/values.
Ref Volven 9064
source <xs:element name="EPRInfoTransferConsent" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Status for getting the patient's consent to the transfer of medical records information.
Use CommonCodesWS.ListCommonCodes with code set EPRInfoTransferConsent to list valid codes/values.
Ref Volven 9064
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/PersonalInformation/DocumentLanguage
diagram Patient_p52.png
type CodeTextTypeOfTypeValidDateCommon
properties
minOcc 0
maxOcc 1
content complex
children Code Text TypeOfCode Status ValidDatePeriod Id
annotation
documentation
The patient's language for written communications
Use CommonCodesWS.ListCommonCodes with code set DocumentLanguageCodes to list valid codes/values.
source <xs:element name="DocumentLanguage" type="CodeTextTypeOfTypeValidDateCommon" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The patient's language for written communications
Use CommonCodesWS.ListCommonCodes with code set DocumentLanguageCodes to list valid codes/values.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/PersonalInformation/Consentability
diagram Patient_p53.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 Patient/CurrentContactStatus
diagram Patient_p54.png
properties
minOcc 0
maxOcc 1
content complex
children TypeOfCare MedicalUnit CareUnit Placement PreviouslyAdmitted LastDateDischarged Confidential IsUserAuthenticatedForPatientCareUnit
annotation
documentation
The patient current contact status.
If the patient is admitted/in treatment or have been treated earlier.
source <xs:element name="CurrentContactStatus" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The patient current contact status.
If the patient is admitted/in treatment or have been treated earlier.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="TypeOfCare" type="CodeTextType"/>
     
<xs:element name="MedicalUnit" type="OrganizationType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Department/MedicalSpeciality</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="CareUnit" type="OrganizationType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization unit where the care is taking place</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Placement" type="IdCodeNameType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Room/bed</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PreviouslyAdmitted" type="xs:boolean" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90 nly</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="LastDateDischarged" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>HIS90 only</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Confidential" type="CodeTextType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Infomation about confidentiality or reservation to display/give out the information about a patient. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="IsUserAuthenticatedForPatientCareUnit" type="xs:boolean" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>True/flase flag to indicate if unit(CareUnit) the patiente is at is in users authentication group. This flag tells if user has access to the unit(CareUnit) the patient is at now.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element Patient/CurrentContactStatus/TypeOfCare
diagram Patient_p55.png
type CodeTextType
properties
content complex
children Code Text
source <xs:element name="TypeOfCare" type="CodeTextType"/>

element Patient/CurrentContactStatus/MedicalUnit
diagram Patient_p56.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod
annotation
documentation
Department/MedicalSpeciality
source <xs:element name="MedicalUnit" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Department/MedicalSpeciality</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/CurrentContactStatus/CareUnit
diagram Patient_p57.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod
annotation
documentation
Organization unit where the care is taking place
source <xs:element name="CareUnit" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization unit where the care is taking place</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/CurrentContactStatus/Placement
diagram Patient_p58.png
type IdCodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name
annotation
documentation
Room/bed
source <xs:element name="Placement" type="IdCodeNameType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Room/bed</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/CurrentContactStatus/PreviouslyAdmitted
diagram Patient_p59.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90 nly
source <xs:element name="PreviouslyAdmitted" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90 nly</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/CurrentContactStatus/LastDateDischarged
diagram Patient_p60.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90 only
source <xs:element name="LastDateDischarged" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90 only</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/CurrentContactStatus/Confidential
diagram Patient_p61.png
type CodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Infomation about confidentiality or reservation to display/give out the information about a patient.
source <xs:element name="Confidential" type="CodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Infomation about confidentiality or reservation to display/give out the information about a patient. </xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/CurrentContactStatus/IsUserAuthenticatedForPatientCareUnit
diagram Patient_p62.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
True/flase flag to indicate if unit(CareUnit) the patiente is at is in users authentication group. This flag tells if user has access to the unit(CareUnit) the patient is at now.
source <xs:element name="IsUserAuthenticatedForPatientCareUnit" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>True/flase flag to indicate if unit(CareUnit) the patiente is at is in users authentication group. This flag tells if user has access to the unit(CareUnit) the patient is at now.</xs:documentation>
 
</xs:annotation>
</xs:element>

element Patient/UpdateCount
diagram Patient_p63.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90 only: UpdateCount used for concurrencycheck when updating patient.
source <xs:element name="UpdateCount" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90 only: UpdateCount used for concurrencycheck when updating patient.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType AddressTypeAddressTypeCommon
diagram Patient_p64.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 Patient_p65.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 Patient_p66.png
type extension of AddressTypeAddressTypeCommon
properties
base AddressTypeAddressTypeCommon
children AddressLines PostalAddress Country AddressType ValidDatePeriod Status Id
used by
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="Status" type="ItemStatusTypeCommon" 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:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element AddressTypeAddressTypeExt1Common/ValidDatePeriod
diagram Patient_p67.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/Status
diagram Patient_p68.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>

element AddressTypeAddressTypeExt1Common/Id
diagram Patient_p69.png
type IdTypeCommon
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Id    required      
documentation

The id.
TypeOfId          
documentation

Type of Id blank/NULL=Internal Id else consult documentation for valid TypeOfId in the context
TypeOfIdCodeSet          
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>

complexType AddressTypeAddressTypeExt2Common
diagram Patient_p70.png
type extension of AddressTypeAddressTypeExt1Common
properties
base AddressTypeAddressTypeExt1Common
children AddressLines PostalAddress Country AddressType ValidDatePeriod Status Id Telephones
used by
element Patient/AdditonalAddresses
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 Patient_p71.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 Patient_p72.png
children AddressLines PostalAddress Country
used by
complexType AddressTypeAddressTypeCommon
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 TypeOfText.
</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 Patient_p73.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 TypeOfText.
</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 Patient_p74.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 TypeOfText.
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 TypeOfText.
</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 Patient_p75.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 Patient_p76.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 Patient_p77.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 CodeNameTypeCommon
diagram Patient_p78.png
children Code Name
used by
elements AddressTypeCommon/Country AddressTypeCommon/PostalAddress
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 Patient_p79.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

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

complexType CodeOIDTextTypePatient
diagram Patient_p81.png
children Code CodeSystemOID TextDescription
used by
elements Patient/PersonalInformation/AdditionalInformations/AdditionalInformation Patient/PersonalInformation/AdditionalInformations/AdditionalInformation/TypeOfCode
annotation
documentation
Common type for code, textdescription and code system oid
source <xs:complexType name="CodeOIDTextTypePatient">
 
<xs:annotation>
   
<xs:documentation>Common type for code, textdescription and code system oid</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The Code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CodeSystemOID" type="oid" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>OID for the CodeSystem the Code belongs to</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TextDescription" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Text description of the Code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

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

element CodeOIDTextTypePatient/CodeSystemOID
diagram Patient_p83.png
type oid
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
pattern (\d+\.?)*\d+
annotation
documentation
OID for the CodeSystem the Code belongs to
source <xs:element name="CodeSystemOID" type="oid" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>OID for the CodeSystem the Code belongs to</xs:documentation>
 
</xs:annotation>
</xs:element>

element CodeOIDTextTypePatient/TextDescription
diagram Patient_p84.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Text description of the Code
source <xs:element name="TextDescription" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Text description of the Code</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CodeTextTypeCommon
diagram Patient_p85.png
children Code Text
used by
complexType CodeTextTypeOfTypeCommon
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 Patient_p86.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 Patient_p87.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 Patient_p88.png
type extension of CodeTextTypeCommon
properties
base CodeTextTypeCommon
children Code Text TypeOfCode
used by
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 Patient_p89.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 CodeTextTypeOfTypeValidDateCommon
diagram Patient_p90.png
type extension of CodeTextTypeOfTypeCommon
properties
base CodeTextTypeOfTypeCommon
children Code Text TypeOfCode Status ValidDatePeriod Id
used by
elements Patient/PersonalInformation/CareLivingSituation Patient/PersonalInformation/Consentability Patient/PersonalInformation/DocumentLanguage Patient/PersonalInformation/EPRInfoTransferConsent Patient/PersonalInformation/LivingWithPartner Patient/PersonalInformation/NeedsTranslator
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 Patient_p91.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 Patient_p92.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 Patient_p93.png
type IdTypeCommon
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Id    required      
documentation

The id.
TypeOfId          
documentation

Type of Id blank/NULL=Internal Id else consult documentation for valid TypeOfId in the context
TypeOfIdCodeSet          
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 IdTypeCommon
diagram Patient_p94.png
used by
elements AddressTypeAddressTypeExt1Common/Id CodeTextTypeOfTypeValidDateCommon/Id TelecomValueTypeCommon/Id
attributes
Name  Type  Use  Default  Fixed  Annotation
Id    required      
documentation

The id.
TypeOfId          
documentation

Type of Id blank/NULL=Internal Id else consult documentation for valid TypeOfId in the context
TypeOfIdCodeSet          
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" use="required">
   
<xs:annotation>
     
<xs:documentation>
The id.
</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="TypeOfId">
   
<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">
   
<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
properties
use required
annotation
documentation

The id.
source <xs:attribute name="Id" use="required">
 
<xs:annotation>
   
<xs:documentation>
The id.
</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute IdTypeCommon/@TypeOfId
annotation
documentation

Type of Id blank/NULL=Internal Id else consult documentation for valid TypeOfId in the context
source <xs:attribute name="TypeOfId">
 
<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
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">
 
<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 TelecomValueTypeCommon
diagram Patient_p95.png
type extension of TextAndTypeOfTextTypeCommon
properties
base TextAndTypeOfTextTypeCommon
children TypeOfText Text Reservation Id Status
used by
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 Patient_p96.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 Patient_p97.png
type IdTypeCommon
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Id    required      
documentation

The id.
TypeOfId          
documentation

Type of Id blank/NULL=Internal Id else consult documentation for valid TypeOfId in the context
TypeOfIdCodeSet          
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 Patient_p98.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 Patient_p99.png
type extension of TelecomValueTypeCommon
properties
base TelecomValueTypeCommon
children TypeOfText Text Reservation Id Status Extension
used by
element AddressTypeAddressTypeExt2Common/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 Patient_p100.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 Patient_p101.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 Patient_p102.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 Patient_p103.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

complexType ValidDatePeriodTypeCommon
diagram Patient_p104.png
children FromDate ToDate
used by
elements AddressTypeAddressTypeExt1Common/ValidDatePeriod CodeTextTypeOfTypeValidDateCommon/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 Patient_p105.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 Patient_p106.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 AddressTypeAddressTypeExt1Common/Status CodeTextTypeOfTypeValidDateCommon/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 oid
type restriction of xs:token
properties
base xs:token
used by
element CodeOIDTextTypePatient/CodeSystemOID
facets
Kind Value Annotation
pattern (\d+\.?)*\d+
annotation
documentation
KITH's oid type
source <xs:simpleType name="oid">
 
<xs:annotation>
   
<xs:documentation>KITH's oid type</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:token">
   
<xs:pattern value="(\d+\.?)*\d+"/>
 
</xs:restriction>
</xs:simpleType>

complexType IMFBaseType
diagram Patient_p107.png
children Id Code Text Description
annotation
documentation
Important medical facts.
source <xs:complexType name="IMFBaseType">
 
<xs:annotation>
   
<xs:documentation>Important medical facts.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int">
     
<xs:annotation>
       
<xs:documentation>Internal, unique IMF id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:choice>
     
<xs:element name="Code" type="MedCodeType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Code related to a medical register, like ATC, ICD-10.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Text" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Text typed in by the user if Code is not given.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:choice>
   
<xs:element name="Description" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Description of the IMF.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element IMFBaseType/Id
diagram Patient_p108.png
type xs:int
properties
content simple
annotation
documentation
Internal, unique IMF id
source <xs:element name="Id" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Internal, unique IMF id</xs:documentation>
 
</xs:annotation>
</xs:element>

element IMFBaseType/Code
diagram Patient_p109.png
type MedCodeType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Text MedRegister
annotation
documentation
Code related to a medical register, like ATC, ICD-10.
source <xs:element name="Code" type="MedCodeType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Code related to a medical register, like ATC, ICD-10.</xs:documentation>
 
</xs:annotation>
</xs:element>

element IMFBaseType/Text
diagram Patient_p110.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Text typed in by the user if Code is not given.
source <xs:element name="Text" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Text typed in by the user if Code is not given.</xs:documentation>
 
</xs:annotation>
</xs:element>

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

complexType PatientEconomicAddressBaseType
diagram Patient_p112.png
children County Municipality UrbanNeighbourhood Country
used by
complexType PatientEconomicAddressType
annotation
documentation
Patient economic address base
source <xs:complexType name="PatientEconomicAddressBaseType">
 
<xs:annotation>
   
<xs:documentation>Patient economic address base</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="County" type="CodeNameType" minOccurs="0"/>
   
<xs:element name="Municipality" type="CodeNameType" minOccurs="0"/>
   
<xs:element name="UrbanNeighbourhood" type="CodeNameType" minOccurs="0"/>
   
<xs:element name="Country" type="CodeNameType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Country is given if the person is a foreigner. County and municipality is not given if country is given. This is used for economic purposes.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element PatientEconomicAddressBaseType/County
diagram Patient_p113.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
source <xs:element name="County" type="CodeNameType" minOccurs="0"/>

element PatientEconomicAddressBaseType/Municipality
diagram Patient_p114.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
source <xs:element name="Municipality" type="CodeNameType" minOccurs="0"/>

element PatientEconomicAddressBaseType/UrbanNeighbourhood
diagram Patient_p115.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
source <xs:element name="UrbanNeighbourhood" type="CodeNameType" minOccurs="0"/>

element PatientEconomicAddressBaseType/Country
diagram Patient_p116.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Country is given if the person is a foreigner. County and municipality is not given if country is given. This is used for economic purposes.
source <xs:element name="Country" type="CodeNameType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Country is given if the person is a foreigner. County and municipality is not given if country is given. This is used for economic purposes.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PatientEconomicAddressType
diagram Patient_p117.png
type extension of PatientEconomicAddressBaseType
properties
base PatientEconomicAddressBaseType
children County Municipality UrbanNeighbourhood Country HouseProperty District BillingDistrict
used by
element Patient/Economy/EconomicAddress
annotation
documentation
Patient economic address
source <xs:complexType name="PatientEconomicAddressType">
 
<xs:annotation>
   
<xs:documentation>Patient economic address</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="PatientEconomicAddressBaseType">
     
<xs:sequence>
       
<xs:element name="HouseProperty" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>For Swedish persons only</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="District" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>For Swedish persons only</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="BillingDistrict" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>For Swedish persons only</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PatientEconomicAddressType/HouseProperty
diagram Patient_p118.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
For Swedish persons only
source <xs:element name="HouseProperty" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For Swedish persons only</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientEconomicAddressType/District
diagram Patient_p119.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
For Swedish persons only
source <xs:element name="District" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For Swedish persons only</xs:documentation>
 
</xs:annotation>
</xs:element>

element PatientEconomicAddressType/BillingDistrict
diagram Patient_p120.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
For Swedish persons only
source <xs:element name="BillingDistrict" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For Swedish persons only</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PatientIdFormattedType
diagram Patient_p121.png
children PatientId OfficialId
annotation
documentation
Patient ID, Official ID formatted
source <xs:complexType name="PatientIdFormattedType">
 
<xs:annotation>
   
<xs:documentation>Patient ID, Official ID formatted</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="PatientId" type="xs:int">
     
<xs:annotation>
       
<xs:documentation>Internal patient id for the HIS</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="OfficialId">
     
<xs:annotation>
       
<xs:documentation>Official id. Can also be an emergency number.</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="FormattedId" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

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

element PatientIdFormattedType/OfficialId
diagram Patient_p123.png
properties
content complex
children FormattedId
annotation
documentation
Official id. Can also be an emergency number.
source <xs:element name="OfficialId">
 
<xs:annotation>
   
<xs:documentation>Official id. Can also be an emergency number.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="FormattedId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

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

complexType PatientIdType
diagram Patient_p125.png
type extension of PersonIdType
properties
base PersonIdType
children OfficialId PatientId
used by
element Patient/Id
annotation
documentation
Patient id's
source <xs:complexType name="PatientIdType">
 
<xs:annotation>
   
<xs:documentation>Patient id's</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="PersonIdType">
     
<xs:sequence>
       
<xs:element name="PatientId" type="xs:int">
         
<xs:annotation>
           
<xs:documentation>Internal patient id for the HIS</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

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

complexType PersonAddressExtType
diagram Patient_p127.png
type extension of PersonAddressType
properties
base PersonAddressType
children AddressLines PostalAddress AddressLine1 AddressLine2 COAddress Country Municipality
annotation
documentation
Incl. municipality and country
source <xs:complexType name="PersonAddressExtType">
 
<xs:annotation>
   
<xs:documentation>Incl. municipality and country</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="PersonAddressType">
     
<xs:sequence>
       
<xs:element name="Country" type="xs:string" minOccurs="0"/>
       
<xs:element name="Municipality" type="CodeNameType" minOccurs="0"/>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PersonAddressExtType/Country
diagram Patient_p128.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Country" type="xs:string" minOccurs="0"/>

element PersonAddressExtType/Municipality
diagram Patient_p129.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
source <xs:element name="Municipality" type="CodeNameType" minOccurs="0"/>

complexType PersonAddressType
diagram Patient_p130.png
children AddressLines PostalAddress AddressLine1 AddressLine2 COAddress
used by
element Patient/Address
complexTypes PersonAddressExtType PersonRegisterAddressBaseType
annotation
documentation
Addresslines, postaladdress
source <xs:complexType name="PersonAddressType">
 
<xs:annotation>
   
<xs:documentation>Addresslines, postaladdress</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="AddressLines" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="AddressLine" minOccurs="0" maxOccurs="unbounded">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="Type" type="xs:string">
                 
<xs:annotation>
                   
<xs:documentation>Type of address line, ie 1 and 2 if the HIS has more than one address line. CO for 'care of' address.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="Text" type="xs:string">
                 
<xs:annotation>
                   
<xs:documentation>The address</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="PostalAddress" type="CodeNameType" minOccurs="0"/>
   
<xs:element name="AddressLine1" type="xs:string" minOccurs="0"/>
   
<xs:element name="AddressLine2" type="xs:string" minOccurs="0"/>
   
<xs:element name="COAddress" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element PersonAddressType/AddressLines
diagram Patient_p131.png
properties
minOcc 0
maxOcc 1
content complex
children AddressLine
source <xs:element name="AddressLines" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="AddressLine" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Type" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Type of address line, ie 1 and 2 if the HIS has more than one address line. CO for 'care of' address.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Text" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>The address</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PersonAddressType/AddressLines/AddressLine
diagram Patient_p132.png
properties
minOcc 0
maxOcc unbounded
content complex
children Type Text
source <xs:element name="AddressLine" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Type" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Type of address line, ie 1 and 2 if the HIS has more than one address line. CO for 'care of' address.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Text" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>The address</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PersonAddressType/AddressLines/AddressLine/Type
diagram Patient_p133.png
type xs:string
properties
content simple
annotation
documentation
Type of address line, ie 1 and 2 if the HIS has more than one address line. CO for 'care of' address.
source <xs:element name="Type" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of address line, ie 1 and 2 if the HIS has more than one address line. CO for 'care of' address.</xs:documentation>
 
</xs:annotation>
</xs:element>

element PersonAddressType/AddressLines/AddressLine/Text
diagram Patient_p134.png
type xs:string
properties
content simple
annotation
documentation
The address
source <xs:element name="Text" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>The address</xs:documentation>
 
</xs:annotation>
</xs:element>

element PersonAddressType/PostalAddress
diagram Patient_p135.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
source <xs:element name="PostalAddress" type="CodeNameType" minOccurs="0"/>

element PersonAddressType/AddressLine1
diagram Patient_p136.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="AddressLine1" type="xs:string" minOccurs="0"/>

element PersonAddressType/AddressLine2
diagram Patient_p137.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="AddressLine2" type="xs:string" minOccurs="0"/>

element PersonAddressType/COAddress
diagram Patient_p138.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="COAddress" type="xs:string" minOccurs="0"/>

complexType PersonalInformationBaseType
diagram Patient_p139.png
children BirthDate PersonNumber BirthCentury Sex
used by
complexType PersonalInformationExt1Type
annotation
documentation
Personal information base. Typically used for listing persons.
source <xs:complexType name="PersonalInformationBaseType">
 
<xs:annotation>
   
<xs:documentation>Personal information base. Typically used for listing persons.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="BirthDate" type="xs:date" minOccurs="0"/>
   
<xs:element name="PersonNumber" type="xs:int" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Norwegian use only. 5 last numbers of the persons official id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="BirthCentury" type="xs:int" minOccurs="0"/>
   
<xs:element name="Sex" type="CodeOfficialCodeTextType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>M = male, K = female</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element PersonalInformationBaseType/BirthDate
diagram Patient_p140.png
type xs:date
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="BirthDate" type="xs:date" minOccurs="0"/>

element PersonalInformationBaseType/PersonNumber
diagram Patient_p141.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Norwegian use only. 5 last numbers of the persons official id
source <xs:element name="PersonNumber" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Norwegian use only. 5 last numbers of the persons official id</xs:documentation>
 
</xs:annotation>
</xs:element>

element PersonalInformationBaseType/BirthCentury
diagram Patient_p142.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="BirthCentury" type="xs:int" minOccurs="0"/>

element PersonalInformationBaseType/Sex
diagram Patient_p143.png
type CodeOfficialCodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code OfficialCode Text
annotation
documentation
M = male, K = female
source <xs:element name="Sex" type="CodeOfficialCodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>M = male, K = female</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PersonalInformationExt1Type
diagram Patient_p144.png
type extension of PersonalInformationBaseType
properties
base PersonalInformationBaseType
children BirthDate PersonNumber BirthCentury Sex Dead
used by
complexType PersonalInformationExt2Type
annotation
documentation
Personal information type. Typically used for listing patients.
source <xs:complexType name="PersonalInformationExt1Type">
 
<xs:annotation>
   
<xs:documentation>Personal information type. Typically used for listing patients.</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="PersonalInformationBaseType">
     
<xs:sequence>
       
<xs:element name="Dead" minOccurs="0">
         
<xs:complexType>
           
<xs:sequence>
             
<xs:element name="DeathDate" type="xs:dateTime"/>
           
</xs:sequence>
         
</xs:complexType>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PersonalInformationExt1Type/Dead
diagram Patient_p145.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 PersonalInformationExt1Type/Dead/DeathDate
diagram Patient_p146.png
type xs:dateTime
properties
content simple
source <xs:element name="DeathDate" type="xs:dateTime"/>

complexType PersonalInformationExt2Type
diagram Patient_p147.png
type extension of PersonalInformationExt1Type
properties
base PersonalInformationExt1Type
children BirthDate PersonNumber BirthCentury Sex Dead Nationality MaritalStatus Language
used by
complexType PersonalInformationExt3Type
annotation
documentation
Personal information type. Typically used for getting a person.
source <xs:complexType name="PersonalInformationExt2Type">
 
<xs:annotation>
   
<xs:documentation>Personal information type. Typically used for getting a person.</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="PersonalInformationExt1Type">
     
<xs:sequence>
       
<xs:element name="Nationality" type="CodeTextType" minOccurs="0"/>
       
<xs:element name="MaritalStatus" type="CodeTextType" minOccurs="0"/>
       
<xs:element name="Language" type="CodeTextType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>The patient's language
(Språk)
Use CommonCodesWS.ListCommonCodes with code set Language to list valid codes/values.
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PersonalInformationExt2Type/Nationality
diagram Patient_p148.png
type CodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code Text
source <xs:element name="Nationality" type="CodeTextType" minOccurs="0"/>

element PersonalInformationExt2Type/MaritalStatus
diagram Patient_p149.png
type CodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code Text
source <xs:element name="MaritalStatus" type="CodeTextType" minOccurs="0"/>

element PersonalInformationExt2Type/Language
diagram Patient_p150.png
type CodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
The patient's language
(Språk)
Use CommonCodesWS.ListCommonCodes with code set Language to list valid codes/values.
source <xs:element name="Language" type="CodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The patient's language
(Språk)
Use CommonCodesWS.ListCommonCodes with code set Language to list valid codes/values.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PersonalInformationExt3Type
diagram Patient_p151.png
type extension of PersonalInformationExt2Type
properties
base PersonalInformationExt2Type
children BirthDate PersonNumber BirthCentury Sex Dead Nationality MaritalStatus Language Occupation ExternalDoctor HealthCareCentre PatientSecurity
used by
element Patient/PersonalInformation
annotation
documentation
Personal information type for patient. Typically used for getting a patient.
source <xs:complexType name="PersonalInformationExt3Type">
 
<xs:annotation>
   
<xs:documentation>Personal information type for patient. Typically used for getting a patient.</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="PersonalInformationExt2Type">
     
<xs:sequence>
       
<xs:element name="Occupation" type="CodeTextType" minOccurs="0"/>
       
<xs:element name="ExternalDoctor" type="ExternalOrganizationType" minOccurs="0"/>
       
<xs:element name="HealthCareCentre" type="ExternalOrganizationType" minOccurs="0"/>
       
<xs:element name="PatientSecurity" type="xs:boolean" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>For Swedish persons only</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PersonalInformationExt3Type/Occupation
diagram Patient_p152.png
type CodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code Text
source <xs:element name="Occupation" type="CodeTextType" minOccurs="0"/>

element PersonalInformationExt3Type/ExternalDoctor
diagram Patient_p153.png
type ExternalOrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name OfficialId
source <xs:element name="ExternalDoctor" type="ExternalOrganizationType" minOccurs="0"/>

element PersonalInformationExt3Type/HealthCareCentre
diagram Patient_p154.png
type ExternalOrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name OfficialId
source <xs:element name="HealthCareCentre" type="ExternalOrganizationType" minOccurs="0"/>

element PersonalInformationExt3Type/PatientSecurity
diagram Patient_p155.png
type xs:boolean
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
For Swedish persons only
source <xs:element name="PatientSecurity" type="xs:boolean" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For Swedish persons only</xs:documentation>
 
</xs:annotation>
</xs:element>

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

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

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

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

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

complexType PersonNamesType
diagram Patient_p161.png
type extension of PersonNameType
properties
base PersonNameType
children FormattedName LastName MiddleName FirstName GivenName
used by
element Patient/Name
annotation
documentation
Person names
source <xs:complexType name="PersonNamesType">
 
<xs:annotation>
   
<xs:documentation>Person names</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="PersonNameType">
     
<xs:sequence>
       
<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:extension>
 
</xs:complexContent>
</xs:complexType>

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

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

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

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

complexType PersonNameType
diagram Patient_p166.png
children FormattedName
used by
complexType PersonNamesType
annotation
documentation
Formatted name
source <xs:complexType name="PersonNameType">
 
<xs:annotation>
   
<xs:documentation>Formatted name</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="FormattedName" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>The person's names formatted in one string according to national rules.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

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

complexType PersonRegisterAddressBaseType
diagram Patient_p168.png
type extension of PersonAddressType
properties
base PersonAddressType
children AddressLines PostalAddress AddressLine1 AddressLine2 COAddress Municipality
used by
complexType PersonRegisterAddressType
annotation
documentation
Address type for persons. Typicallly used for listing persons from the national register.
source <xs:complexType name="PersonRegisterAddressBaseType">
 
<xs:annotation>
   
<xs:documentation>Address type for persons. Typicallly used for listing persons from the national register.</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="PersonAddressType">
     
<xs:sequence>
       
<xs:element name="Municipality" type="CodeNameType" minOccurs="0"/>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PersonRegisterAddressBaseType/Municipality
diagram Patient_p169.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
source <xs:element name="Municipality" type="CodeNameType" minOccurs="0"/>

complexType PersonRegisterAddressType
diagram Patient_p170.png
type extension of PersonRegisterAddressBaseType
properties
base PersonRegisterAddressBaseType
children AddressLines PostalAddress AddressLine1 AddressLine2 COAddress Municipality County UrbanNeighbourhood HouseProperty District BillingDistrict
annotation
documentation
Address type for persons. Typicallly used for getting a person from the national register.
source <xs:complexType name="PersonRegisterAddressType">
 
<xs:annotation>
   
<xs:documentation>Address type for persons. Typicallly used for getting a person from the national register.</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="PersonRegisterAddressBaseType">
     
<xs:sequence>
       
<xs:element name="County" type="CodeNameType" minOccurs="0"/>
       
<xs:element name="UrbanNeighbourhood" type="CodeNameType" minOccurs="0"/>
       
<xs:element name="HouseProperty" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>For Swedish persons only</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="District" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>For Swedish persons only</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="BillingDistrict" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>For Swedish persons only</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element PersonRegisterAddressType/County
diagram Patient_p171.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
source <xs:element name="County" type="CodeNameType" minOccurs="0"/>

element PersonRegisterAddressType/UrbanNeighbourhood
diagram Patient_p172.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
source <xs:element name="UrbanNeighbourhood" type="CodeNameType" minOccurs="0"/>

element PersonRegisterAddressType/HouseProperty
diagram Patient_p173.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
For Swedish persons only
source <xs:element name="HouseProperty" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For Swedish persons only</xs:documentation>
 
</xs:annotation>
</xs:element>

element PersonRegisterAddressType/District
diagram Patient_p174.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
For Swedish persons only
source <xs:element name="District" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For Swedish persons only</xs:documentation>
 
</xs:annotation>
</xs:element>

element PersonRegisterAddressType/BillingDistrict
diagram Patient_p175.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
For Swedish persons only
source <xs:element name="BillingDistrict" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For Swedish persons only</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PersonTelecomType
diagram Patient_p176.png
children HomePhoneNumber OfficePhoneNumber MobilePhoneNumber FaxNumber EMailAddress
used by
element Patient/Telecom
annotation
documentation
Telecom addresses
source <xs:complexType name="PersonTelecomType">
 
<xs:annotation>
   
<xs:documentation>Telecom addresses</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="HomePhoneNumber" type="xs:string" minOccurs="0"/>
   
<xs:element name="OfficePhoneNumber" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Value" type="xs:string"/>
         
<xs:element name="Extension" type="xs:string" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="MobilePhoneNumber" type="xs:string" minOccurs="0"/>
   
<xs:element name="FaxNumber" type="xs:string" minOccurs="0"/>
   
<xs:element name="EMailAddress" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element PersonTelecomType/HomePhoneNumber
diagram Patient_p177.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="HomePhoneNumber" type="xs:string" minOccurs="0"/>

element PersonTelecomType/OfficePhoneNumber
diagram Patient_p178.png
properties
minOcc 0
maxOcc 1
content complex
children Value Extension
source <xs:element name="OfficePhoneNumber" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Value" type="xs:string"/>
     
<xs:element name="Extension" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element PersonTelecomType/OfficePhoneNumber/Value
diagram Patient_p179.png
type xs:string
properties
content simple
source <xs:element name="Value" type="xs:string"/>

element PersonTelecomType/OfficePhoneNumber/Extension
diagram Patient_p180.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Extension" type="xs:string" minOccurs="0"/>

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

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

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

complexType AdmMedRemarkType
diagram Patient_p184.png
children Medical Administrative
annotation
documentation
Medical and Administrative remarks
source <xs:complexType name="AdmMedRemarkType">
 
<xs:annotation>
   
<xs:documentation>Medical and Administrative remarks</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Medical" type="RemarkType" minOccurs="0"/>
   
<xs:element name="Administrative" type="RemarkType" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element AdmMedRemarkType/Medical
diagram Patient_p185.png
type RemarkType
properties
minOcc 0
maxOcc 1
content complex
children Remark Signature SignatureDateTime
source <xs:element name="Medical" type="RemarkType" minOccurs="0"/>

element AdmMedRemarkType/Administrative
diagram Patient_p186.png
type RemarkType
properties
minOcc 0
maxOcc 1
content complex
children Remark Signature SignatureDateTime
source <xs:element name="Administrative" type="RemarkType" minOccurs="0"/>

complexType ContactDetailCareType
diagram Patient_p187.png
type extension of ContactDetailType
properties
base ContactDetailType
children Id Status From To Organization OrganizationAddresses ContactActivityId CareResponsible CareGroup Placement PatientCategory
used by
elements ContactTypeLatest/Details/LatestDetails/CareDetail ContactTypeDetails/Details/CareDetails/CareDetail
annotation
documentation
ContactDetailType + care specific data
source <xs:complexType name="ContactDetailCareType">
 
<xs:annotation>
   
<xs:documentation>ContactDetailType + care specific data</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="ContactDetailType">
     
<xs:sequence>
       
<xs:element name="CareResponsible" type="ResourceType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Resource responsible for the care</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="CareGroup" type="ResourceType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Resource group involved in the care</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="Placement" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Where the care takes place, i.e. Roomnumber, bednumber</xs:documentation>
         
</xs:annotation>
         
<xs:complexType>
           
<xs:sequence>
             
<xs:element name="Permanent" type="IdCodeNameType" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>Permanent placement at the care unit</xs:documentation>
               
</xs:annotation>
             
</xs:element>
             
<xs:element name="Temporary" type="IdCodeNameType" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>Temporary placement. May be used to show that the patient has an activity on another unit.</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:complexType>
       
</xs:element>
       
<xs:element name="PatientCategory" type="CodeOfficialCodeTextType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>For inpatients only. Indicates i.e. whether the stay is a 24-hours stay or a stay at daytime only.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element ContactDetailCareType/CareResponsible
diagram Patient_p188.png
type ResourceType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name
annotation
documentation
Resource responsible for the care
source <xs:element name="CareResponsible" type="ResourceType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource responsible for the care</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactDetailCareType/CareGroup
diagram Patient_p189.png
type ResourceType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name
annotation
documentation
Resource group involved in the care
source <xs:element name="CareGroup" type="ResourceType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource group involved in the care</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactDetailCareType/Placement
diagram Patient_p190.png
properties
minOcc 0
maxOcc 1
content complex
children Permanent Temporary
annotation
documentation
Where the care takes place, i.e. Roomnumber, bednumber
source <xs:element name="Placement" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Where the care takes place, i.e. Roomnumber, bednumber</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Permanent" type="IdCodeNameType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Permanent placement at the care unit</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Temporary" type="IdCodeNameType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Temporary placement. May be used to show that the patient has an activity on another unit.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactDetailCareType/Placement/Permanent
diagram Patient_p191.png
type IdCodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name
annotation
documentation
Permanent placement at the care unit
source <xs:element name="Permanent" type="IdCodeNameType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Permanent placement at the care unit</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactDetailCareType/Placement/Temporary
diagram Patient_p192.png
type IdCodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name
annotation
documentation
Temporary placement. May be used to show that the patient has an activity on another unit.
source <xs:element name="Temporary" type="IdCodeNameType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Temporary placement. May be used to show that the patient has an activity on another unit.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactDetailCareType/PatientCategory
diagram Patient_p193.png
type CodeOfficialCodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code OfficialCode Text
annotation
documentation
For inpatients only. Indicates i.e. whether the stay is a 24-hours stay or a stay at daytime only.
source <xs:element name="PatientCategory" type="CodeOfficialCodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For inpatients only. Indicates i.e. whether the stay is a 24-hours stay or a stay at daytime only.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ContactDetailMedType
diagram Patient_p194.png
type extension of ContactDetailType
properties
base ContactDetailType
children Id Status From To Organization OrganizationAddresses ContactActivityId PatientResponsible ContactResponsible
used by
elements ContactTypeLatest/Details/LatestDetails/MedicalDetail ContactTypeDetails/Details/MedicalDetails/MedicalDetail
annotation
documentation
ContactDetailType + med. specific data
source <xs:complexType name="ContactDetailMedType">
 
<xs:annotation>
   
<xs:documentation>ContactDetailType + med. specific data</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="ContactDetailType">
     
<xs:sequence>
       
<xs:element name="PatientResponsible" type="ResourceType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>The resource (i.e. the chief physician) responsible for the patient.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="ContactResponsible" type="ResourceType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>The resource responsible for the contact. For outpatients the economy can be influenced whether this resource is a physician or not.</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element ContactDetailMedType/PatientResponsible
diagram Patient_p195.png
type ResourceType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name
annotation
documentation
The resource (i.e. the chief physician) responsible for the patient.
source <xs:element name="PatientResponsible" type="ResourceType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The resource (i.e. the chief physician) responsible for the patient.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactDetailMedType/ContactResponsible
diagram Patient_p196.png
type ResourceType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name
annotation
documentation
The resource responsible for the contact. For outpatients the economy can be influenced whether this resource is a physician or not.
source <xs:element name="ContactResponsible" type="ResourceType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The resource responsible for the contact. For outpatients the economy can be influenced whether this resource is a physician or not.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ContactDetailType
diagram Patient_p197.png
children Id Status From To Organization OrganizationAddresses ContactActivityId
used by
complexTypes ContactDetailCareType ContactDetailMedType
annotation
documentation
Id, status, organization
source <xs:complexType name="ContactDetailType">
 
<xs:annotation>
   
<xs:documentation>Id, status, organization</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Status" type="CodeTextType">
     
<xs:annotation>
       
<xs:documentation>AK = in progress, UT = finished</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="From" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Started date/time </xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="To" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Ended date/time </xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Organization">
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="OrganizationType"/>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="OrganizationAddresses" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence minOccurs="0">
         
<xs:element name="Address1" type="xs:string" minOccurs="0"/>
         
<xs:element name="Address2" type="xs:string" minOccurs="0"/>
         
<xs:element name="Address3" type="xs:string" minOccurs="0"/>
         
<xs:element name="PostalAddress1" type="xs:string" minOccurs="0"/>
         
<xs:element name="PostalAddress2" type="xs:string" minOccurs="0"/>
         
<xs:element name="PostalNumber" type="xs:string" minOccurs="0"/>
         
<xs:element name="PhoneNumber" type="xs:string" minOccurs="0"/>
         
<xs:element name="FaxNumber" type="xs:string" minOccurs="0"/>
         
<xs:element name="EMailAddress" type="xs:string" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="ContactActivityId" type="xs:int"/>
 
</xs:sequence>
</xs:complexType>

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

element ContactDetailType/Status
diagram Patient_p199.png
type CodeTextType
properties
content complex
children Code Text
annotation
documentation
AK = in progress, UT = finished
source <xs:element name="Status" type="CodeTextType">
 
<xs:annotation>
   
<xs:documentation>AK = in progress, UT = finished</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactDetailType/From
diagram Patient_p200.png
type xs:dateTime
properties
content simple
annotation
documentation
Started date/time
source <xs:element name="From" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Started date/time </xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactDetailType/To
diagram Patient_p201.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Ended date/time
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Ended date/time </xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactDetailType/Organization
diagram Patient_p202.png
type extension of OrganizationType
properties
content complex
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod
source <xs:element name="Organization">
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="OrganizationType"/>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element ContactDetailType/OrganizationAddresses
diagram Patient_p203.png
properties
minOcc 0
maxOcc 1
content complex
children Address1 Address2 Address3 PostalAddress1 PostalAddress2 PostalNumber PhoneNumber FaxNumber EMailAddress
source <xs:element name="OrganizationAddresses" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence minOccurs="0">
     
<xs:element name="Address1" type="xs:string" minOccurs="0"/>
     
<xs:element name="Address2" type="xs:string" minOccurs="0"/>
     
<xs:element name="Address3" type="xs:string" minOccurs="0"/>
     
<xs:element name="PostalAddress1" type="xs:string" minOccurs="0"/>
     
<xs:element name="PostalAddress2" type="xs:string" minOccurs="0"/>
     
<xs:element name="PostalNumber" type="xs:string" minOccurs="0"/>
     
<xs:element name="PhoneNumber" type="xs:string" minOccurs="0"/>
     
<xs:element name="FaxNumber" type="xs:string" minOccurs="0"/>
     
<xs:element name="EMailAddress" type="xs:string" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactDetailType/OrganizationAddresses/Address1
diagram Patient_p204.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Address1" type="xs:string" minOccurs="0"/>

element ContactDetailType/OrganizationAddresses/Address2
diagram Patient_p205.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Address2" type="xs:string" minOccurs="0"/>

element ContactDetailType/OrganizationAddresses/Address3
diagram Patient_p206.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Address3" type="xs:string" minOccurs="0"/>

element ContactDetailType/OrganizationAddresses/PostalAddress1
diagram Patient_p207.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="PostalAddress1" type="xs:string" minOccurs="0"/>

element ContactDetailType/OrganizationAddresses/PostalAddress2
diagram Patient_p208.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="PostalAddress2" type="xs:string" minOccurs="0"/>

element ContactDetailType/OrganizationAddresses/PostalNumber
diagram Patient_p209.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="PostalNumber" type="xs:string" minOccurs="0"/>

element ContactDetailType/OrganizationAddresses/PhoneNumber
diagram Patient_p210.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="PhoneNumber" type="xs:string" minOccurs="0"/>

element ContactDetailType/OrganizationAddresses/FaxNumber
diagram Patient_p211.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="FaxNumber" type="xs:string" minOccurs="0"/>

element ContactDetailType/OrganizationAddresses/EMailAddress
diagram Patient_p212.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="EMailAddress" type="xs:string" minOccurs="0"/>

element ContactDetailType/ContactActivityId
diagram Patient_p213.png
type xs:int
properties
content simple
source <xs:element name="ContactActivityId" type="xs:int"/>

complexType ContactType
diagram Patient_p214.png
children Id From To MedicalOrganization Hospital TypeOfCare Status Emergency RequestFrom TypeOfContact Admitted Transportation VisitType PlaceOfTreatment Discharged InDiagnosis Confidential Accident BookingId
used by
complexTypes ContactTypeDetails ContactTypeLatest
annotation
documentation
INFOMEDIX Contact
source <xs:complexType name="ContactType">
 
<xs:annotation>
   
<xs:documentation>INFOMEDIX Contact</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="From" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Contact start datetime</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="To" type="xs:dateTime" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Contact end datetime</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="MedicalOrganization" type="OrganizationType">
     
<xs:annotation>
       
<xs:documentation>Departement</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Hospital" type="OrganizationType">
     
<xs:annotation>
       
<xs:documentation>The hospital of the contact medical/care  unit</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfCare" type="CodeOfficialCodeTextType">
     
<xs:annotation>
       
<xs:documentation>P= outpatient, I=inpatient, D= in hospital only at daytime</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Status" type="CodeTextType">
     
<xs:annotation>
       
<xs:documentation>Contact status. AK = in progress, UT = finished</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Emergency" type="xs:boolean">
     
<xs:annotation>
       
<xs:documentation>True if this is an emergency contact</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="RequestFrom" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Shows who requested the contact</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:choice>
         
<xs:element name="External" minOccurs="0">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="ExternalOrganization" type="ExternalOrganizationType" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>If the contact was requested by an external organization</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="ExternalPhysician" type="xs:string" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>The external physician who made the request. Text only.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="Internal" minOccurs="0">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="InternalOrganization" type="OrganizationType" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>If the contact was requested by an internal organization</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="InternalPhysician" type="ResourceType" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>The internal physician who made the request.</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
       
</xs:choice>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="TypeOfContact" type="CodeOfficialCodeTextType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>i.e. Surgery, Consultation etc.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Admitted">
     
<xs:annotation>
       
<xs:documentation>Data about the admission</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Type" type="CodeOfficialCodeTextType">
           
<xs:annotation>
             
<xs:documentation>Type of admission, i.e. Planned, Emergency, Born in hospital etc.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="From" type="CodeOfficialCodeTextType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Admitted from, i.e. Home, Other institution etc. </xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:choice minOccurs="0">
           
<xs:element name="FromExternalOrganization" type="ExternalOrganizationType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>If patient was admitted from an external organization </xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="FromInternalOrganization" type="OrganizationType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>If patient was transferred from another organization in the hospital</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:choice>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Transportation" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Transportation used for admission, i.e. Ambulance</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="CodeTextType">
           
<xs:sequence>
             
<xs:element name="Companion" type="CodeTextType" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>Transportation for companion. HIS90 only</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="VisitType" type="CodeOfficialCodeTextType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>For outpatients only. i.e. New visit, Control visit etc.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="PlaceOfTreatment" type="CodeOfficialCodeTextType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>For outpatients only, i.e. Home, Telephone etc.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Discharged" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Data about the discharge</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="To" type="CodeOfficialCodeTextType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Where the patient was discharged, i.e. Home, Other organization etc.</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="DeathDate" type="xs:dateTime" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>DeathDate if Discharged To Code = "DO"</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Physician" type="ResourceType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>The physician for the internal organization</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:choice minOccurs="0">
           
<xs:element name="ToExternalOrganization" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>If the patient was discaharged to an external organization</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:complexContent>
                 
<xs:extension base="ExternalOrganizationType"/>
               
</xs:complexContent>
             
</xs:complexType>
           
</xs:element>
           
<xs:element name="ToInternalOrganization" type="OrganizationType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>If the patient was discaharged to an internall organization</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:choice>
         
<xs:element name="DischargeLetterSentDate" type="xs:dateTime" minOccurs="0"/>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="InDiagnosis" type="DiagnosisType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>In diagnosis using code from medical register, i.e. ICD10</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Confidential" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Confidential contact</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="CodeTextType">
           
<xs:sequence>
             
<xs:element name="Comment" type="xs:string" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>Comment on the confidentiality (Not Implemented for HIS90)</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Accident" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>The patient was admitted because of an accident</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Municipality" type="CodeNameType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Municipality in which the accident happened</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
       
<xs:attribute name="Accident" type="xs:boolean" use="optional" default="true"/>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="BookingId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Booking Id. HIS90 only</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

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

element ContactType/From
diagram Patient_p216.png
type xs:dateTime
properties
content simple
annotation
documentation
Contact start datetime
source <xs:element name="From" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Contact start datetime</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/To
diagram Patient_p217.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Contact end datetime
source <xs:element name="To" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Contact end datetime</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/MedicalOrganization
diagram Patient_p218.png
type OrganizationType
properties
content complex
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod
annotation
documentation
Departement
source <xs:element name="MedicalOrganization" type="OrganizationType">
 
<xs:annotation>
   
<xs:documentation>Departement</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Hospital
diagram Patient_p219.png
type OrganizationType
properties
content complex
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod
annotation
documentation
The hospital of the contact medical/care  unit
source <xs:element name="Hospital" type="OrganizationType">
 
<xs:annotation>
   
<xs:documentation>The hospital of the contact medical/care  unit</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/TypeOfCare
diagram Patient_p220.png
type CodeOfficialCodeTextType
properties
content complex
children Code OfficialCode Text
annotation
documentation
P= outpatient, I=inpatient, D= in hospital only at daytime
source <xs:element name="TypeOfCare" type="CodeOfficialCodeTextType">
 
<xs:annotation>
   
<xs:documentation>P= outpatient, I=inpatient, D= in hospital only at daytime</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Status
diagram Patient_p221.png
type CodeTextType
properties
content complex
children Code Text
annotation
documentation
Contact status. AK = in progress, UT = finished
source <xs:element name="Status" type="CodeTextType">
 
<xs:annotation>
   
<xs:documentation>Contact status. AK = in progress, UT = finished</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Emergency
diagram Patient_p222.png
type xs:boolean
properties
content simple
annotation
documentation
True if this is an emergency contact
source <xs:element name="Emergency" type="xs:boolean">
 
<xs:annotation>
   
<xs:documentation>True if this is an emergency contact</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/RequestFrom
diagram Patient_p223.png
properties
minOcc 0
maxOcc 1
content complex
children External Internal
annotation
documentation
Shows who requested the contact
source <xs:element name="RequestFrom" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Shows who requested the contact</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:choice>
     
<xs:element name="External" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ExternalOrganization" type="ExternalOrganizationType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>If the contact was requested by an external organization</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="ExternalPhysician" type="xs:string" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>The external physician who made the request. Text only.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Internal" minOccurs="0">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="InternalOrganization" type="OrganizationType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>If the contact was requested by an internal organization</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="InternalPhysician" type="ResourceType" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>The internal physician who made the request.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:choice>
 
</xs:complexType>
</xs:element>

element ContactType/RequestFrom/External
diagram Patient_p224.png
properties
minOcc 0
maxOcc 1
content complex
children ExternalOrganization ExternalPhysician
source <xs:element name="External" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ExternalOrganization" type="ExternalOrganizationType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>If the contact was requested by an external organization</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ExternalPhysician" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The external physician who made the request. Text only.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactType/RequestFrom/External/ExternalOrganization
diagram Patient_p225.png
type ExternalOrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name OfficialId
annotation
documentation
If the contact was requested by an external organization
source <xs:element name="ExternalOrganization" type="ExternalOrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If the contact was requested by an external organization</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/RequestFrom/External/ExternalPhysician
diagram Patient_p226.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
The external physician who made the request. Text only.
source <xs:element name="ExternalPhysician" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The external physician who made the request. Text only.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/RequestFrom/Internal
diagram Patient_p227.png
properties
minOcc 0
maxOcc 1
content complex
children InternalOrganization InternalPhysician
source <xs:element name="Internal" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="InternalOrganization" type="OrganizationType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>If the contact was requested by an internal organization</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="InternalPhysician" type="ResourceType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The internal physician who made the request.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactType/RequestFrom/Internal/InternalOrganization
diagram Patient_p228.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod
annotation
documentation
If the contact was requested by an internal organization
source <xs:element name="InternalOrganization" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If the contact was requested by an internal organization</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/RequestFrom/Internal/InternalPhysician
diagram Patient_p229.png
type ResourceType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name
annotation
documentation
The internal physician who made the request.
source <xs:element name="InternalPhysician" type="ResourceType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The internal physician who made the request.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/TypeOfContact
diagram Patient_p230.png
type CodeOfficialCodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code OfficialCode Text
annotation
documentation
i.e. Surgery, Consultation etc.
source <xs:element name="TypeOfContact" type="CodeOfficialCodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>i.e. Surgery, Consultation etc.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Admitted
diagram Patient_p231.png
properties
content complex
children Type From FromExternalOrganization FromInternalOrganization
annotation
documentation
Data about the admission
source <xs:element name="Admitted">
 
<xs:annotation>
   
<xs:documentation>Data about the admission</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Type" type="CodeOfficialCodeTextType">
       
<xs:annotation>
         
<xs:documentation>Type of admission, i.e. Planned, Emergency, Born in hospital etc.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="From" type="CodeOfficialCodeTextType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Admitted from, i.e. Home, Other institution etc. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:choice minOccurs="0">
       
<xs:element name="FromExternalOrganization" type="ExternalOrganizationType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>If patient was admitted from an external organization </xs:documentation>
         
</xs:annotation>
       
</xs:element>
       
<xs:element name="FromInternalOrganization" type="OrganizationType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>If patient was transferred from another organization in the hospital</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:choice>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactType/Admitted/Type
diagram Patient_p232.png
type CodeOfficialCodeTextType
properties
content complex
children Code OfficialCode Text
annotation
documentation
Type of admission, i.e. Planned, Emergency, Born in hospital etc.
source <xs:element name="Type" type="CodeOfficialCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Type of admission, i.e. Planned, Emergency, Born in hospital etc.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Admitted/From
diagram Patient_p233.png
type CodeOfficialCodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code OfficialCode Text
annotation
documentation
Admitted from, i.e. Home, Other institution etc.
source <xs:element name="From" type="CodeOfficialCodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Admitted from, i.e. Home, Other institution etc. </xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Admitted/FromExternalOrganization
diagram Patient_p234.png
type ExternalOrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name OfficialId
annotation
documentation
If patient was admitted from an external organization
source <xs:element name="FromExternalOrganization" type="ExternalOrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If patient was admitted from an external organization </xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Admitted/FromInternalOrganization
diagram Patient_p235.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod
annotation
documentation
If patient was transferred from another organization in the hospital
source <xs:element name="FromInternalOrganization" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If patient was transferred from another organization in the hospital</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Transportation
diagram Patient_p236.png
type extension of CodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code Text Companion
annotation
documentation
Transportation used for admission, i.e. Ambulance
source <xs:element name="Transportation" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Transportation used for admission, i.e. Ambulance</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="CodeTextType">
       
<xs:sequence>
         
<xs:element name="Companion" type="CodeTextType" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Transportation for companion. HIS90 only</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element ContactType/Transportation/Companion
diagram Patient_p237.png
type CodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Transportation for companion. HIS90 only
source <xs:element name="Companion" type="CodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Transportation for companion. HIS90 only</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/VisitType
diagram Patient_p238.png
type CodeOfficialCodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code OfficialCode Text
annotation
documentation
For outpatients only. i.e. New visit, Control visit etc.
source <xs:element name="VisitType" type="CodeOfficialCodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For outpatients only. i.e. New visit, Control visit etc.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/PlaceOfTreatment
diagram Patient_p239.png
type CodeOfficialCodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code OfficialCode Text
annotation
documentation
For outpatients only, i.e. Home, Telephone etc.
source <xs:element name="PlaceOfTreatment" type="CodeOfficialCodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>For outpatients only, i.e. Home, Telephone etc.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Discharged
diagram Patient_p240.png
properties
minOcc 0
maxOcc 1
content complex
children To DeathDate Physician ToExternalOrganization ToInternalOrganization DischargeLetterSentDate
annotation
documentation
Data about the discharge
source <xs:element name="Discharged" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Data about the discharge</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="To" type="CodeOfficialCodeTextType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Where the patient was discharged, i.e. Home, Other organization etc.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="DeathDate" type="xs:dateTime" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>DeathDate if Discharged To Code = "DO"</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Physician" type="ResourceType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The physician for the internal organization</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:choice minOccurs="0">
       
<xs:element name="ToExternalOrganization" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>If the patient was discaharged to an external organization</xs:documentation>
         
</xs:annotation>
         
<xs:complexType>
           
<xs:complexContent>
             
<xs:extension base="ExternalOrganizationType"/>
           
</xs:complexContent>
         
</xs:complexType>
       
</xs:element>
       
<xs:element name="ToInternalOrganization" type="OrganizationType" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>If the patient was discaharged to an internall organization</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:choice>
     
<xs:element name="DischargeLetterSentDate" type="xs:dateTime" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactType/Discharged/To
diagram Patient_p241.png
type CodeOfficialCodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code OfficialCode Text
annotation
documentation
Where the patient was discharged, i.e. Home, Other organization etc.
source <xs:element name="To" type="CodeOfficialCodeTextType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Where the patient was discharged, i.e. Home, Other organization etc.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Discharged/DeathDate
diagram Patient_p242.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
DeathDate if Discharged To Code = "DO"
source <xs:element name="DeathDate" type="xs:dateTime" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>DeathDate if Discharged To Code = "DO"</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Discharged/Physician
diagram Patient_p243.png
type ResourceType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name
annotation
documentation
The physician for the internal organization
source <xs:element name="Physician" type="ResourceType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The physician for the internal organization</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Discharged/ToExternalOrganization
diagram Patient_p244.png
type extension of ExternalOrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id Code Name OfficialId
annotation
documentation
If the patient was discaharged to an external organization
source <xs:element name="ToExternalOrganization" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If the patient was discaharged to an external organization</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="ExternalOrganizationType"/>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element ContactType/Discharged/ToInternalOrganization
diagram Patient_p245.png
type OrganizationType
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod
annotation
documentation
If the patient was discaharged to an internall organization
source <xs:element name="ToInternalOrganization" type="OrganizationType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>If the patient was discaharged to an internall organization</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Discharged/DischargeLetterSentDate
diagram Patient_p246.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="DischargeLetterSentDate" type="xs:dateTime" minOccurs="0"/>

element ContactType/InDiagnosis
diagram Patient_p247.png
type DiagnosisType
properties
minOcc 0
maxOcc 1
content complex
children Id MedCode
annotation
documentation
In diagnosis using code from medical register, i.e. ICD10
source <xs:element name="InDiagnosis" type="DiagnosisType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>In diagnosis using code from medical register, i.e. ICD10</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Confidential
diagram Patient_p248.png
type extension of CodeTextType
properties
minOcc 0
maxOcc 1
content complex
children Code Text Comment
annotation
documentation
Confidential contact
source <xs:element name="Confidential" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Confidential contact</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="CodeTextType">
       
<xs:sequence>
         
<xs:element name="Comment" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Comment on the confidentiality (Not Implemented for HIS90)</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element ContactType/Confidential/Comment
diagram Patient_p249.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Comment on the confidentiality (Not Implemented for HIS90)
source <xs:element name="Comment" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Comment on the confidentiality (Not Implemented for HIS90)</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/Accident
diagram Patient_p250.png
properties
minOcc 0
maxOcc 1
content complex
children Municipality
attributes
Name  Type  Use  Default  Fixed  Annotation
Accident  xs:boolean  optional  true    
annotation
documentation
The patient was admitted because of an accident
source <xs:element name="Accident" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The patient was admitted because of an accident</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Municipality" type="CodeNameType" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Municipality in which the accident happened</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="Accident" type="xs:boolean" use="optional" default="true"/>
 
</xs:complexType>
</xs:element>

attribute ContactType/Accident/@Accident
type xs:boolean
properties
use optional
default true
source <xs:attribute name="Accident" type="xs:boolean" use="optional" default="true"/>

element ContactType/Accident/Municipality
diagram Patient_p251.png
type CodeNameType
properties
minOcc 0
maxOcc 1
content complex
children Code Name
annotation
documentation
Municipality in which the accident happened
source <xs:element name="Municipality" type="CodeNameType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Municipality in which the accident happened</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactType/BookingId
diagram Patient_p252.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Booking Id. HIS90 only
source <xs:element name="BookingId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Booking Id. HIS90 only</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ContactTypeDetails
diagram Patient_p253.png
type extension of ContactType
properties
base ContactType
children Id From To MedicalOrganization Hospital TypeOfCare Status Emergency RequestFrom TypeOfContact Admitted Transportation VisitType PlaceOfTreatment Discharged InDiagnosis Confidential Accident BookingId Details
annotation
documentation
Contact with all org. details
source <xs:complexType name="ContactTypeDetails">
 
<xs:annotation>
   
<xs:documentation>Contact with all org. details</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="ContactType">
     
<xs:sequence>
       
<xs:element name="Details">
         
<xs:annotation>
           
<xs:documentation>Details attached to the medical organization and the care unit. Details change if the patient is transferred between organizations during the admission.</xs:documentation>
         
</xs:annotation>
         
<xs:complexType>
           
<xs:sequence>
             
<xs:element name="MedicalDetails">
               
<xs:complexType>
                 
<xs:sequence>
                   
<xs:element name="MedicalDetail" type="ContactDetailMedType" maxOccurs="unbounded">
                     
<xs:annotation>
                       
<xs:documentation>Details attached to the medical organziation</xs:documentation>
                     
</xs:annotation>
                   
</xs:element>
                 
</xs:sequence>
               
</xs:complexType>
             
</xs:element>
             
<xs:element name="CareDetails">
               
<xs:complexType>
                 
<xs:sequence>
                   
<xs:element name="CareDetail" type="ContactDetailCareType" maxOccurs="unbounded">
                     
<xs:annotation>
                       
<xs:documentation>Details attached to the care unit.</xs:documentation>
                     
</xs:annotation>
                   
</xs:element>
                 
</xs:sequence>
               
</xs:complexType>
             
</xs:element>
           
</xs:sequence>
         
</xs:complexType>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element ContactTypeDetails/Details
diagram Patient_p254.png
properties
content complex
children MedicalDetails CareDetails
annotation
documentation
Details attached to the medical organization and the care unit. Details change if the patient is transferred between organizations during the admission.
source <xs:element name="Details">
 
<xs:annotation>
   
<xs:documentation>Details attached to the medical organization and the care unit. Details change if the patient is transferred between organizations during the admission.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MedicalDetails">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="MedicalDetail" type="ContactDetailMedType" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>Details attached to the medical organziation</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="CareDetails">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="CareDetail" type="ContactDetailCareType" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>Details attached to the care unit.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactTypeDetails/Details/MedicalDetails
diagram Patient_p255.png
properties
content complex
children MedicalDetail
source <xs:element name="MedicalDetails">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MedicalDetail" type="ContactDetailMedType" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Details attached to the medical organziation</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactTypeDetails/Details/MedicalDetails/MedicalDetail
diagram Patient_p256.png
type ContactDetailMedType
properties
minOcc 1
maxOcc unbounded
content complex
children Id Status From To Organization OrganizationAddresses ContactActivityId PatientResponsible ContactResponsible
annotation
documentation
Details attached to the medical organziation
source <xs:element name="MedicalDetail" type="ContactDetailMedType" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Details attached to the medical organziation</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactTypeDetails/Details/CareDetails
diagram Patient_p257.png
properties
content complex
children CareDetail
source <xs:element name="CareDetails">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="CareDetail" type="ContactDetailCareType" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Details attached to the care unit.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactTypeDetails/Details/CareDetails/CareDetail
diagram Patient_p258.png
type ContactDetailCareType
properties
minOcc 1
maxOcc unbounded
content complex
children Id Status From To Organization OrganizationAddresses ContactActivityId CareResponsible CareGroup Placement PatientCategory
annotation
documentation
Details attached to the care unit.
source <xs:element name="CareDetail" type="ContactDetailCareType" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Details attached to the care unit.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ContactTypeLatest
diagram Patient_p259.png
type extension of ContactType
properties
base ContactType
children Id From To MedicalOrganization Hospital TypeOfCare Status Emergency RequestFrom TypeOfContact Admitted Transportation VisitType PlaceOfTreatment Discharged InDiagnosis Confidential Accident BookingId Details
annotation
documentation
Contact with latest org. details
source <xs:complexType name="ContactTypeLatest">
 
<xs:annotation>
   
<xs:documentation>Contact with latest org. details</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="ContactType">
     
<xs:sequence>
       
<xs:element name="Details">
         
<xs:annotation>
           
<xs:documentation>Details attached to the medical organization and the care unit</xs:documentation>
         
</xs:annotation>
         
<xs:complexType>
           
<xs:sequence>
             
<xs:element name="LatestDetails">
               
<xs:annotation>
                 
<xs:documentation>The current details if the patient is in hospital or the details at the time of discharge if the patient is discharged.</xs:documentation>
               
</xs:annotation>
               
<xs:complexType>
                 
<xs:sequence>
                   
<xs:element name="MedicalDetail" type="ContactDetailMedType">
                     
<xs:annotation>
                       
<xs:documentation>Details attached to the medical organziation</xs:documentation>
                     
</xs:annotation>
                   
</xs:element>
                   
<xs:element name="CareDetail" type="ContactDetailCareType">
                     
<xs:annotation>
                       
<xs:documentation>Details attached to the care unit.</xs:documentation>
                     
</xs:annotation>
                   
</xs:element>
                 
</xs:sequence>
               
</xs:complexType>
             
</xs:element>
           
</xs:sequence>
         
</xs:complexType>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element ContactTypeLatest/Details
diagram Patient_p260.png
properties
content complex
children LatestDetails
annotation
documentation
Details attached to the medical organization and the care unit
source <xs:element name="Details">
 
<xs:annotation>
   
<xs:documentation>Details attached to the medical organization and the care unit</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="LatestDetails">
       
<xs:annotation>
         
<xs:documentation>The current details if the patient is in hospital or the details at the time of discharge if the patient is discharged.</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="MedicalDetail" type="ContactDetailMedType">
             
<xs:annotation>
               
<xs:documentation>Details attached to the medical organziation</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="CareDetail" type="ContactDetailCareType">
             
<xs:annotation>
               
<xs:documentation>Details attached to the care unit.</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactTypeLatest/Details/LatestDetails
diagram Patient_p261.png
properties
content complex
children MedicalDetail CareDetail
annotation
documentation
The current details if the patient is in hospital or the details at the time of discharge if the patient is discharged.
source <xs:element name="LatestDetails">
 
<xs:annotation>
   
<xs:documentation>The current details if the patient is in hospital or the details at the time of discharge if the patient is discharged.</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MedicalDetail" type="ContactDetailMedType">
       
<xs:annotation>
         
<xs:documentation>Details attached to the medical organziation</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="CareDetail" type="ContactDetailCareType">
       
<xs:annotation>
         
<xs:documentation>Details attached to the care unit.</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ContactTypeLatest/Details/LatestDetails/MedicalDetail
diagram Patient_p262.png
type ContactDetailMedType
properties
content complex
children Id Status From To Organization OrganizationAddresses ContactActivityId PatientResponsible ContactResponsible
annotation
documentation
Details attached to the medical organziation
source <xs:element name="MedicalDetail" type="ContactDetailMedType">
 
<xs:annotation>
   
<xs:documentation>Details attached to the medical organziation</xs:documentation>
 
</xs:annotation>
</xs:element>

element ContactTypeLatest/Details/LatestDetails/CareDetail
diagram Patient_p263.png
type ContactDetailCareType
properties
content complex
children Id Status From To Organization OrganizationAddresses ContactActivityId CareResponsible CareGroup Placement PatientCategory
annotation
documentation
Details attached to the care unit.
source <xs:element name="CareDetail" type="ContactDetailCareType">
 
<xs:annotation>
   
<xs:documentation>Details attached to the care unit.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType DiagnosisType
diagram Patient_p264.png
children Id MedCode
used by
element ContactType/InDiagnosis
annotation
documentation
Diagnosis incl. medcode and medregister
source <xs:complexType name="DiagnosisType">
 
<xs:annotation>
   
<xs:documentation>Diagnosis incl. medcode and medregister</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="MedCode">
     
<xs:annotation>
       
<xs:documentation>Medical code from a medical register, i.e. ICD10</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string"/>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string"/>
         
<xs:element name="MedRegister" type="IdCodeOfficialCodeTextType">
           
<xs:annotation>
             
<xs:documentation>Medical register, i.e. ICD10</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

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

element DiagnosisType/MedCode
diagram Patient_p266.png
properties
content complex
children Id Code Text MedRegister
annotation
documentation
Medical code from a medical register, i.e. ICD10
source <xs:element name="MedCode">
 
<xs:annotation>
   
<xs:documentation>Medical code from a medical register, i.e. ICD10</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string"/>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
     
<xs:element name="MedRegister" type="IdCodeOfficialCodeTextType">
       
<xs:annotation>
         
<xs:documentation>Medical register, i.e. ICD10</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element DiagnosisType/MedCode/Id
diagram Patient_p267.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element DiagnosisType/MedCode/Code
diagram Patient_p268.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element DiagnosisType/MedCode/Text
diagram Patient_p269.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element DiagnosisType/MedCode/MedRegister
diagram Patient_p270.png
type IdCodeOfficialCodeTextType
properties
content complex
children Id Code OfficialCode Text
annotation
documentation
Medical register, i.e. ICD10
source <xs:element name="MedRegister" type="IdCodeOfficialCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Medical register, i.e. ICD10</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ProcedureCodeType
diagram Patient_p271.png
children SequenceNumber MedCode PercentAddition UpdateCount
annotation
documentation
Procedure codes incl. medcode and medregister
source <xs:complexType name="ProcedureCodeType">
 
<xs:annotation>
   
<xs:documentation>Procedure codes incl. medcode and medregister</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="SequenceNumber" type="xs:int">
     
<xs:annotation>
       
<xs:documentation>Code sequence number. 1 is the maincode. 2..n are additional codes.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="MedCode">
     
<xs:annotation>
       
<xs:documentation>Medical code from a medical register, i.e. NCSP</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Id" type="xs:string"/>
         
<xs:element name="Code" type="xs:string"/>
         
<xs:element name="Text" type="xs:string"/>
         
<xs:element name="MedRegister" type="IdCodeOfficialCodeTextType">
           
<xs:annotation>
             
<xs:documentation>Medical register, i.e. NCSP</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="PercentAddition" type="xs:int" minOccurs="0"/>
   
<xs:element name="UpdateCount" type="xs:int" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Number of diagnosis updates. </xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ProcedureCodeType/SequenceNumber
diagram Patient_p272.png
type xs:int
properties
content simple
annotation
documentation
Code sequence number. 1 is the maincode. 2..n are additional codes.
source <xs:element name="SequenceNumber" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Code sequence number. 1 is the maincode. 2..n are additional codes.</xs:documentation>
 
</xs:annotation>
</xs:element>

element ProcedureCodeType/MedCode
diagram Patient_p273.png
properties
content complex
children Id Code Text MedRegister
annotation
documentation
Medical code from a medical register, i.e. NCSP
source <xs:element name="MedCode">
 
<xs:annotation>
   
<xs:documentation>Medical code from a medical register, i.e. NCSP</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:string"/>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="xs:string"/>
     
<xs:element name="MedRegister" type="IdCodeOfficialCodeTextType">
       
<xs:annotation>
         
<xs:documentation>Medical register, i.e. NCSP</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element ProcedureCodeType/MedCode/Id
diagram Patient_p274.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element ProcedureCodeType/MedCode/Code
diagram Patient_p275.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element ProcedureCodeType/MedCode/Text
diagram Patient_p276.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

element ProcedureCodeType/MedCode/MedRegister
diagram Patient_p277.png
type IdCodeOfficialCodeTextType
properties
content complex
children Id Code OfficialCode Text
annotation
documentation
Medical register, i.e. NCSP
source <xs:element name="MedRegister" type="IdCodeOfficialCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Medical register, i.e. NCSP</xs:documentation>
 
</xs:annotation>
</xs:element>

element ProcedureCodeType/PercentAddition
diagram Patient_p278.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="PercentAddition" type="xs:int" minOccurs="0"/>

element ProcedureCodeType/UpdateCount
diagram Patient_p279.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Number of diagnosis updates.
source <xs:element name="UpdateCount" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Number of diagnosis updates. </xs:documentation>
 
</xs:annotation>
</xs:element>

complexType RemarkType
diagram Patient_p280.png
children Remark Signature SignatureDateTime
used by
elements AdmMedRemarkType/Administrative AdmMedRemarkType/Medical
annotation
documentation
Remark, signature and signature date
source <xs:complexType name="RemarkType">
 
<xs:annotation>
   
<xs:documentation>Remark, signature and signature date</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Remark" type="xs:string"/>
   
<xs:element name="Signature" type="xs:string"/>
   
<xs:element name="SignatureDateTime" type="xs:dateTime"/>
 
</xs:sequence>
</xs:complexType>

element RemarkType/Remark
diagram Patient_p281.png
type xs:string
properties
content simple
source <xs:element name="Remark" type="xs:string"/>

element RemarkType/Signature
diagram Patient_p282.png
type xs:string
properties
content simple
source <xs:element name="Signature" type="xs:string"/>

element RemarkType/SignatureDateTime
diagram Patient_p283.png
type xs:dateTime
properties
content simple
source <xs:element name="SignatureDateTime" type="xs:dateTime"/>

complexType CodeNameType
diagram Patient_p284.png
children Code Name
used by
elements PatientEconomicAddressBaseType/Country PersonRegisterAddressType/County PatientEconomicAddressBaseType/County PersonAddressExtType/Municipality PersonRegisterAddressBaseType/Municipality PatientEconomicAddressBaseType/Municipality ContactType/Accident/Municipality PersonAddressType/PostalAddress PersonRegisterAddressType/UrbanNeighbourhood PatientEconomicAddressBaseType/UrbanNeighbourhood
annotation
documentation
Code and Name
source <xs:complexType name="CodeNameType">
 
<xs:annotation>
   
<xs:documentation>Code and Name</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Name" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

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

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

complexType CodeOfficialCodeTextType
diagram Patient_p287.png
children Code OfficialCode Text
used by
elements ContactType/Admitted/From ContactDetailCareType/PatientCategory ContactType/PlaceOfTreatment PersonalInformationBaseType/Sex ContactType/Discharged/To ContactType/Admitted/Type ContactType/TypeOfCare ContactType/TypeOfContact ContactType/VisitType
annotation
documentation
Code, OfficialCode and Text
source <xs:complexType name="CodeOfficialCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Code, OfficialCode and Text</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="OfficialCode" type="xs:string" minOccurs="0"/>
   
<xs:element name="Text" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

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

element CodeOfficialCodeTextType/OfficialCode
diagram Patient_p289.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="OfficialCode" type="xs:string" minOccurs="0"/>

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

complexType CodeTextType
diagram Patient_p291.png
children Code Text
used by
elements ContactType/Transportation/Companion Patient/CurrentContactStatus/Confidential ContactType/Confidential PersonalInformationExt2Type/Language PersonalInformationExt2Type/MaritalStatus PersonalInformationExt2Type/Nationality PersonalInformationExt3Type/Occupation ContactDetailType/Status ContactType/Status ContactType/Transportation Patient/CurrentContactStatus/TypeOfCare
annotation
documentation
Code and Text
source <xs:complexType name="CodeTextType">
 
<xs:annotation>
   
<xs:documentation>Code and Text</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

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

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

complexType IdCodeNameType
diagram Patient_p294.png
children Id Code Name
used by
elements ContactDetailCareType/Placement/Permanent Patient/CurrentContactStatus/Placement ContactDetailCareType/Placement/Temporary
annotation
documentation
Id, Code and Name
source <xs:complexType name="IdCodeNameType">
 
<xs:annotation>
   
<xs:documentation>Id, Code and Name</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Name" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

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

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

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

complexType IdCodeOfficialCodeTextType
diagram Patient_p298.png
children Id Code OfficialCode Text
used by
elements DiagnosisType/MedCode/MedRegister ProcedureCodeType/MedCode/MedRegister MedCodeType/MedRegister
annotation
documentation
Id, Code, Official Code and Text
source <xs:complexType name="IdCodeOfficialCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Id, Code, Official Code and Text</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="OfficialCode" type="xs:string" minOccurs="0"/>
   
<xs:element name="Text" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

element IdCodeOfficialCodeTextType/Id
diagram Patient_p299.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

element IdCodeOfficialCodeTextType/OfficialCode
diagram Patient_p301.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="OfficialCode" type="xs:string" minOccurs="0"/>

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

complexType IdCodeShortAndLongTextType
diagram Patient_p303.png
children Id Code ShortText LongText
annotation
documentation
Id, Code, ShortText and LongText
source <xs:complexType name="IdCodeShortAndLongTextType">
 
<xs:annotation>
   
<xs:documentation>Id, Code, ShortText and LongText</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="ShortText" type="xs:string"/>
   
<xs:element name="LongText" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

element IdCodeShortAndLongTextType/Id
diagram Patient_p304.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

element IdCodeShortAndLongTextType/ShortText
diagram Patient_p306.png
type xs:string
properties
content simple
source <xs:element name="ShortText" type="xs:string"/>

element IdCodeShortAndLongTextType/LongText
diagram Patient_p307.png
type xs:string
properties
content simple
source <xs:element name="LongText" type="xs:string"/>

complexType IdCodeTextType
diagram Patient_p308.png
children Id Code Text
used by
complexType MedCodeType
annotation
documentation
Id, Code and Text
source <xs:complexType name="IdCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Id, Code and Text</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

element IdCodeTextType/Id
diagram Patient_p309.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

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

complexType IdCodeType
diagram Patient_p312.png
children Id Code
annotation
documentation
Id and Code
source <xs:complexType name="IdCodeType">
 
<xs:annotation>
   
<xs:documentation> Id and Code</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="Code" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

element IdCodeType/Id
diagram Patient_p313.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

complexType IdNameType
diagram Patient_p315.png
children Id Name
annotation
documentation
Id and Name
source <xs:complexType name="IdNameType">
 
<xs:annotation>
   
<xs:documentation>Id and Name</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="Name" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

element IdNameType/Id
diagram Patient_p316.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

complexType IdShortAndLongTextType
diagram Patient_p318.png
children Id ShortText LongText
annotation
documentation
Id, ShortText and LongText
source <xs:complexType name="IdShortAndLongTextType">
 
<xs:annotation>
   
<xs:documentation>Id, ShortText and LongText</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="ShortText" type="xs:string"/>
   
<xs:element name="LongText" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

element IdShortAndLongTextType/Id
diagram Patient_p319.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

element IdShortAndLongTextType/ShortText
diagram Patient_p320.png
type xs:string
properties
content simple
source <xs:element name="ShortText" type="xs:string"/>

element IdShortAndLongTextType/LongText
diagram Patient_p321.png
type xs:string
properties
content simple
source <xs:element name="LongText" type="xs:string"/>

complexType IdTextType
diagram Patient_p322.png
children Id Text
annotation
documentation
Id and Text
source <xs:complexType name="IdTextType">
 
<xs:annotation>
   
<xs:documentation>Id and Text</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="Text" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

element IdTextType/Id
diagram Patient_p323.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

complexType LastChangedType
diagram Patient_p325.png
children ChangedBy Changed
annotation
documentation
Last changed by and date
source <xs:complexType name="LastChangedType">
 
<xs:annotation>
   
<xs:documentation>Last changed by and date</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ChangedBy" type="xs:string"/>
   
<xs:element name="Changed" type="xs:dateTime"/>
 
</xs:sequence>
</xs:complexType>

element LastChangedType/ChangedBy
diagram Patient_p326.png
type xs:string
properties
content simple
source <xs:element name="ChangedBy" type="xs:string"/>

element LastChangedType/Changed
diagram Patient_p327.png
type xs:dateTime
properties
content simple
source <xs:element name="Changed" type="xs:dateTime"/>

complexType MedCodeType
diagram Patient_p328.png
type extension of IdCodeTextType
properties
base IdCodeTextType
children Id Code Text MedRegister
used by
element IMFBaseType/Code
annotation
documentation
Medical code incl. medregister
source <xs:complexType name="MedCodeType">
 
<xs:annotation>
   
<xs:documentation>Medical code incl. medregister</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="IdCodeTextType">
     
<xs:sequence>
       
<xs:element name="MedRegister" type="IdCodeOfficialCodeTextType">
         
<xs:annotation>
           
<xs:documentation>Medical register, i.e. ICD10</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

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

complexType ShortAndLongTextType
diagram Patient_p330.png
children ShortText LongText
annotation
documentation
ShortText and LongText
source <xs:complexType name="ShortAndLongTextType">
 
<xs:annotation>
   
<xs:documentation>ShortText and LongText</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ShortText" type="xs:string"/>
   
<xs:element name="LongText" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

element ShortAndLongTextType/ShortText
diagram Patient_p331.png
type xs:string
properties
content simple
source <xs:element name="ShortText" type="xs:string"/>

element ShortAndLongTextType/LongText
diagram Patient_p332.png
type xs:string
properties
content simple
source <xs:element name="LongText" type="xs:string"/>

complexType UserType
diagram Patient_p333.png
children Name FullName
annotation
documentation
ShortNameId and Name
source <xs:complexType name="UserType">
 
<xs:annotation>
   
<xs:documentation>ShortNameId and Name</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Name" type="xs:string"/>
   
<xs:element name="FullName" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

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

element UserType/FullName
diagram Patient_p335.png
type xs:string
properties
content simple
source <xs:element name="FullName" type="xs:string"/>

complexType ExternalOrganizationType
diagram Patient_p336.png
children Id Code Name OfficialId
used by
elements PersonalInformationExt3Type/ExternalDoctor ContactType/RequestFrom/External/ExternalOrganization ContactType/Admitted/FromExternalOrganization PersonalInformationExt3Type/HealthCareCentre ContactType/Discharged/ToExternalOrganization
annotation
documentation
Type for an external organization or resource (EksternInstans)
source <xs:complexType name="ExternalOrganizationType">
 
<xs:annotation>
   
<xs:documentation>Type for an external organization or resource (EksternInstans)</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string"/>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Name" type="xs:string"/>
   
<xs:element name="OfficialId" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

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

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

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

element ExternalOrganizationType/OfficialId
diagram Patient_p340.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="OfficialId" type="xs:string" minOccurs="0"/>

complexType OrganizationType
diagram Patient_p341.png
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod
used by
elements Patient/CurrentContactStatus/CareUnit ContactType/Admitted/FromInternalOrganization ContactType/Hospital ContactType/RequestFrom/Internal/InternalOrganization ContactType/MedicalOrganization Patient/CurrentContactStatus/MedicalUnit ContactDetailType/Organization ContactType/Discharged/ToInternalOrganization
complexType OrganizationType2
annotation
documentation
Type for the organizational unit
source <xs:complexType name="OrganizationType">
 
<xs:annotation>
   
<xs:documentation>Type for the organizational unit</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="TypeOfId" type="xs:string" minOccurs="0"/>
   
<xs:element name="ShortNameId" type="xs:string"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
   
<xs:element name="OfficialId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>HIS90 only. Unique Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ValidPeriod" type="ValidPeriodTypeOrgs" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element OrganizationType/Id
diagram Patient_p342.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

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

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

element OrganizationType/OfficialId
diagram Patient_p346.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90 only. Unique Id
source <xs:element name="OfficialId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90 only. Unique Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationType/ValidPeriod
diagram Patient_p347.png
type ValidPeriodTypeOrgs
properties
minOcc 0
maxOcc 1
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodTypeOrgs" minOccurs="0"/>

complexType OrganizationType2
diagram Patient_p348.png
type extension of OrganizationType
properties
base OrganizationType
children Id TypeOfId ShortNameId Name OfficialId ValidPeriod OrgUnitType
annotation
documentation
Type for the organizational unit extended
source <xs:complexType name="OrganizationType2">
 
<xs:annotation>
   
<xs:documentation>Type for the organizational unit extended</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="OrganizationType">
     
<xs:sequence>
       
<xs:element name="OrgUnitType" type="xs:string" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Organization unit type
I : Inpatients/Sengepost org
P : Oupatients/Poliklinikk org
A : Admin org
R : Xray/røntgen org
M : Reception/Mottakelse org
</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element OrganizationType2/OrgUnitType
diagram Patient_p349.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Organization unit type
I : Inpatients/Sengepost org
P : Oupatients/Poliklinikk org
A : Admin org
R : Xray/røntgen org
M : Reception/Mottakelse org
source <xs:element name="OrgUnitType" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization unit type
I : Inpatients/Sengepost org
P : Oupatients/Poliklinikk org
A : Admin org
R : Xray/røntgen org
M : Reception/Mottakelse org
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ResourceType
diagram Patient_p350.png
children Id Code Name
used by
elements ContactDetailCareType/CareGroup ContactDetailCareType/CareResponsible ContactDetailMedType/ContactResponsible ContactType/RequestFrom/Internal/InternalPhysician ContactDetailMedType/PatientResponsible ContactType/Discharged/Physician
annotation
documentation
Type for a resource
source <xs:complexType name="ResourceType">
 
<xs:annotation>
   
<xs:documentation>Type for a resource</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string"/>
   
<xs:element name="Code" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string"/>
 
</xs:sequence>
</xs:complexType>

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

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

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

complexType ValidPeriodTypeOrgs
diagram Patient_p354.png
children ValidFrom ValidTo
used by
element OrganizationType/ValidPeriod
source <xs:complexType name="ValidPeriodTypeOrgs">
 
<xs:sequence>
   
<xs:element name="ValidFrom" type="xs:dateTime" minOccurs="0"/>
   
<xs:element name="ValidTo" type="xs:dateTime" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element ValidPeriodTypeOrgs/ValidFrom
diagram Patient_p355.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ValidFrom" type="xs:dateTime" minOccurs="0"/>

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


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