Schema patientrelatives.xsd


schema location:  ..\..\patientrelatives.xsd
 
Elements 
PatientRelatives 


schema location:  ..\..\include\personbasictypes.xsd
 
Complex types 
PatientEconomicAddressBaseType 
PatientEconomicAddressType 
PatientIdFormattedType 
PatientIdType 
PersonAddressExtType 
PersonAddressType 
PersonalInformationBaseType 
PersonalInformationExt1Type 
PersonalInformationExt2Type 
PersonalInformationExt3Type 
PersonIdType 
PersonNamesType 
PersonNameType 
PersonRegisterAddressBaseType 
PersonRegisterAddressType 
PersonTelecomType 


schema location:  ..\..\include\commonbasictypes.xsd
 
Complex types 
CodeNameType 
CodeOfficialCodeTextType 
CodeTextType 
IdCodeNameType 
IdCodeOfficialCodeTextType 
IdCodeShortAndLongTextType 
IdCodeTextType 
IdCodeType 
IdNameType 
IdShortAndLongTextType 
IdTextType 
LastChangedType 
ShortAndLongTextType 
UserType 


schema location:  ..\..\include\orgbasictypes.xsd
 
Complex types 
ExternalOrganizationType 
OrganizationType 
ResourceType 


element PatientRelatives
diagram
children PatientId Relatives
annotation
documentation 
The relatives for a patient

element PatientRelatives/PatientId
diagram
type xs:int

element PatientRelatives/Relatives
diagram
children Relative

element PatientRelatives/Relatives/Relative
diagram
children Priority Relation OfficialIdFormatted Name Address Telecom Comment

element PatientRelatives/Relatives/Relative/Priority
diagram
type xs:short
annotation
documentation 
Priority from 1 and up. Used to show which relative is the most important.

element PatientRelatives/Relatives/Relative/Relation
diagram
type CodeTextType
children Code Text

element PatientRelatives/Relatives/Relative/OfficialIdFormatted
diagram
type xs:string
annotation
documentation 
The relative's official id, ie the Norwegian number 010133 56789.

element PatientRelatives/Relatives/Relative/Name
diagram
type PersonNameType
children FormattedName

element PatientRelatives/Relatives/Relative/Address
diagram
type PersonAddressType
children AddressLines PostalAddress

element PatientRelatives/Relatives/Relative/Telecom
diagram
type PersonTelecomType
children HomePhoneNumber OfficePhoneNumber MobilePhoneNumber FaxNumber EMailAddress

element PatientRelatives/Relatives/Relative/Comment
diagram
type xs:string
annotation
documentation 
Comment about the relative

complexType PatientEconomicAddressBaseType
diagram
children County Municipality UrbanNeighbourhood Country
used by
complexType PatientEconomicAddressType
annotation
documentation 
Patient economic address base

element PatientEconomicAddressBaseType/County
diagram
type CodeNameType
children Code Name

element PatientEconomicAddressBaseType/Municipality
diagram
type CodeNameType
children Code Name

element PatientEconomicAddressBaseType/UrbanNeighbourhood
diagram
type CodeNameType
children Code Name

element PatientEconomicAddressBaseType/Country
diagram
type CodeNameType
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.

complexType PatientEconomicAddressType
diagram
type extension of PatientEconomicAddressBaseType
children County Municipality UrbanNeighbourhood Country HouseProperty District BillingDistrict
annotation
documentation 
Patient economic address

element PatientEconomicAddressType/HouseProperty
diagram
type xs:string
annotation
documentation 
For Swedish persons only

element PatientEconomicAddressType/District
diagram
type xs:string
annotation
documentation 
For Swedish persons only

element PatientEconomicAddressType/BillingDistrict
diagram
type xs:string
annotation
documentation 
For Swedish persons only

complexType PatientIdFormattedType
diagram
children PatientId OfficialId
annotation
documentation 
Patient ID, Official ID formatted

element PatientIdFormattedType/PatientId
diagram
type xs:int
annotation
documentation 
Internal patient id for the HIS

element PatientIdFormattedType/OfficialId
diagram
children FormattedId
annotation
documentation 
Official id. Can also be an emergency number.

element PatientIdFormattedType/OfficialId/FormattedId
diagram
type xs:string
annotation
documentation 
The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.

complexType PatientIdType
diagram
type extension of PersonIdType
children OfficialId PatientId
annotation
documentation 
Patient id's

element PatientIdType/PatientId
diagram
type xs:int
annotation
documentation 
Internal patient id for the HIS

complexType PersonAddressExtType
diagram
type extension of PersonAddressType
children AddressLines PostalAddress Country Municipality
annotation
documentation 
Incl. municipality and country

element PersonAddressExtType/Country
diagram
type xs:string

element PersonAddressExtType/Municipality
diagram
type CodeNameType
children Code Name

complexType PersonAddressType
diagram
children AddressLines PostalAddress
used by
element PatientRelatives/Relatives/Relative/Address
complexTypes PersonAddressExtType PersonRegisterAddressBaseType
annotation
documentation 
Addresslines, postaladdress

element PersonAddressType/AddressLines
diagram
children AddressLine

element PersonAddressType/AddressLines/AddressLine
diagram
children Type Text

element PersonAddressType/AddressLines/AddressLine/Type
diagram
type xs:string
annotation
documentation 
Type of address line, ie 1 and 2 if the HIS has more than one address line. CO for 'care of' address.

element PersonAddressType/AddressLines/AddressLine/Text
diagram
type xs:string
annotation
documentation 
The address

element PersonAddressType/PostalAddress
diagram
type CodeNameType
children Code Name

complexType PersonalInformationBaseType
diagram
children BirthDate PersonNumber BirthCentury Sex
used by
complexType PersonalInformationExt1Type
annotation
documentation 
Personal information base. Typically used for listing persons.

element PersonalInformationBaseType/BirthDate
diagram
type xs:date

element PersonalInformationBaseType/PersonNumber
diagram
type xs:int
annotation
documentation 
Norwegian use only. 5 last numbers of the persons official id

element PersonalInformationBaseType/BirthCentury
diagram
type xs:int

element PersonalInformationBaseType/Sex
diagram
type CodeOfficialCodeTextType
children Code OfficialCode Text

complexType PersonalInformationExt1Type
diagram
type extension of PersonalInformationBaseType
children BirthDate PersonNumber BirthCentury Sex Dead
used by
complexType PersonalInformationExt2Type
annotation
documentation 
Personal information type. Typically used for listing patients.

element PersonalInformationExt1Type/Dead
diagram
children DeathDate

element PersonalInformationExt1Type/Dead/DeathDate
diagram
type xs:dateTime

complexType PersonalInformationExt2Type
diagram
type extension of PersonalInformationExt1Type
children BirthDate PersonNumber BirthCentury Sex Dead Nationality MaritalStatus
used by
complexType PersonalInformationExt3Type
annotation
documentation 
Personal information type. Typically used for getting a person.

element PersonalInformationExt2Type/Nationality
diagram
type CodeTextType
children Code Text

element PersonalInformationExt2Type/MaritalStatus
diagram
type CodeTextType
children Code Text

complexType PersonalInformationExt3Type
diagram
type extension of PersonalInformationExt2Type
children BirthDate PersonNumber BirthCentury Sex Dead Nationality MaritalStatus Occupation ExternalDoctor HealthCareCentre PatientSecurity
annotation
documentation 
Personal information type for patient. Typically used for getting a patient.

element PersonalInformationExt3Type/Occupation
diagram
type CodeTextType
children Code Text

element PersonalInformationExt3Type/ExternalDoctor
diagram
type ExternalOrganizationType
children Id Code Name

element PersonalInformationExt3Type/HealthCareCentre
diagram
type ExternalOrganizationType
children Id Code Name

element PersonalInformationExt3Type/PatientSecurity
diagram
type xs:boolean
annotation
documentation 
For Swedish persons only

complexType PersonIdType
diagram
children OfficialId
used by
complexType PatientIdType
annotation
documentation 
Person id

element PersonIdType/OfficialId
diagram
children Value TypeOfId FormattedId
annotation
documentation 
Official id. Can also be an emergency number.

element PersonIdType/OfficialId/Value
diagram
type xs:string
annotation
documentation 
The value of the official id as it is stored in the database, ie. the Norwegian number 01013356789.

element PersonIdType/OfficialId/TypeOfId
diagram
type xs:string
annotation
documentation 
F = official id, N = Emergency number, K = catastrophy number

element PersonIdType/OfficialId/FormattedId
diagram
type xs:string
annotation
documentation 
The official id formatted to be used for viewing the number, ie the Norwegian number 010133 56789.

complexType PersonNamesType
diagram
type extension of PersonNameType
children FormattedName LastName MiddleName FirstName GivenName
annotation
documentation 
Person names

element PersonNamesType/LastName
diagram
type xs:string

element PersonNamesType/MiddleName
diagram
type xs:string

element PersonNamesType/FirstName
diagram
type xs:string

element PersonNamesType/GivenName
diagram
type xs:string

complexType PersonNameType
diagram
children FormattedName
used by
element PatientRelatives/Relatives/Relative/Name
complexType PersonNamesType
annotation
documentation 
Formatted name

element PersonNameType/FormattedName
diagram
type xs:string
annotation
documentation 
The person's names formatted in one string according to national rules.

complexType PersonRegisterAddressBaseType
diagram
type extension of PersonAddressType
children AddressLines PostalAddress Municipality
used by
complexType PersonRegisterAddressType
annotation
documentation 
Address type for persons. Typicallly used for listing persons from the national register.

element PersonRegisterAddressBaseType/Municipality
diagram
type CodeNameType
children Code Name

complexType PersonRegisterAddressType
diagram
type extension of PersonRegisterAddressBaseType
children AddressLines PostalAddress Municipality County UrbanNeighbourhood HouseProperty District BillingDistrict
annotation
documentation 
Address type for persons. Typicallly used for getting a person from the national register.

element PersonRegisterAddressType/County
diagram
type CodeNameType
children Code Name

element PersonRegisterAddressType/UrbanNeighbourhood
diagram
type CodeNameType
children Code Name

element PersonRegisterAddressType/HouseProperty
diagram
type xs:string
annotation
documentation 
For Swedish persons only

element PersonRegisterAddressType/District
diagram
type xs:string
annotation
documentation 
For Swedish persons only

element PersonRegisterAddressType/BillingDistrict
diagram
type xs:string
annotation
documentation 
For Swedish persons only

complexType PersonTelecomType
diagram
children HomePhoneNumber OfficePhoneNumber MobilePhoneNumber FaxNumber EMailAddress
used by
element PatientRelatives/Relatives/Relative/Telecom
annotation
documentation 
Telecom addresses

element PersonTelecomType/HomePhoneNumber
diagram
type xs:string

element PersonTelecomType/OfficePhoneNumber
diagram
children Value Extension

element PersonTelecomType/OfficePhoneNumber/Value
diagram
type xs:string

element PersonTelecomType/OfficePhoneNumber/Extension
diagram
type xs:string

element PersonTelecomType/MobilePhoneNumber
diagram
type xs:string

element PersonTelecomType/FaxNumber
diagram
type xs:string

element PersonTelecomType/EMailAddress
diagram
type xs:string

complexType CodeNameType
diagram
children Code Name
used by
elements PatientEconomicAddressBaseType/Country PersonRegisterAddressType/County PatientEconomicAddressBaseType/County PersonAddressExtType/Municipality PersonRegisterAddressBaseType/Municipality PatientEconomicAddressBaseType/Municipality PersonAddressType/PostalAddress PersonRegisterAddressType/UrbanNeighbourhood PatientEconomicAddressBaseType/UrbanNeighbourhood
annotation
documentation 
Code and Name

element CodeNameType/Code
diagram
type xs:string

element CodeNameType/Name
diagram
type xs:string

complexType CodeOfficialCodeTextType
diagram
children Code OfficialCode Text
used by
element PersonalInformationBaseType/Sex
annotation
documentation 
Code, OfficialCode and Text

element CodeOfficialCodeTextType/Code
diagram
type xs:string

element CodeOfficialCodeTextType/OfficialCode
diagram
type xs:string

element CodeOfficialCodeTextType/Text
diagram
type xs:string

complexType CodeTextType
diagram
children Code Text
used by
elements PersonalInformationExt2Type/MaritalStatus PersonalInformationExt2Type/Nationality PersonalInformationExt3Type/Occupation PatientRelatives/Relatives/Relative/Relation
annotation
documentation 
Code and Text

element CodeTextType/Code
diagram
type xs:string

element CodeTextType/Text
diagram
type xs:string

complexType IdCodeNameType
diagram
children Id Code Name
annotation
documentation 
Id, Code and Name

element IdCodeNameType/Id
diagram
type xs:int

element IdCodeNameType/Code
diagram
type xs:string

element IdCodeNameType/Name
diagram
type xs:string

complexType IdCodeOfficialCodeTextType
diagram
children Id Code OfficialCode Text
annotation
documentation 
Id, Code, Official Code and Text

element IdCodeOfficialCodeTextType/Id
diagram
type xs:int

element IdCodeOfficialCodeTextType/Code
diagram
type xs:string

element IdCodeOfficialCodeTextType/OfficialCode
diagram
type xs:string

element IdCodeOfficialCodeTextType/Text
diagram
type xs:string

complexType IdCodeShortAndLongTextType
diagram
children Id Code ShortText LongText
annotation
documentation 
Id, Code, ShortText and LongText

element IdCodeShortAndLongTextType/Id
diagram
type xs:int

element IdCodeShortAndLongTextType/Code
diagram
type xs:string

element IdCodeShortAndLongTextType/ShortText
diagram
type xs:string

element IdCodeShortAndLongTextType/LongText
diagram
type xs:string

complexType IdCodeTextType
diagram
children Id Code Text
annotation
documentation 
Id, Code and Text

element IdCodeTextType/Id
diagram
type xs:int

element IdCodeTextType/Code
diagram
type xs:string

element IdCodeTextType/Text
diagram
type xs:string

complexType IdCodeType
diagram
children Id Code
annotation
documentation 
 Id and Code

element IdCodeType/Id
diagram
type xs:int

element IdCodeType/Code
diagram
type xs:string

complexType IdNameType
diagram
children Id Name
annotation
documentation 
Id and Name

element IdNameType/Id
diagram
type xs:int

element IdNameType/Name
diagram
type xs:string

complexType IdShortAndLongTextType
diagram
children Id ShortText LongText
annotation
documentation 
Id, ShortText and LongText

element IdShortAndLongTextType/Id
diagram
type xs:int

element IdShortAndLongTextType/ShortText
diagram
type xs:string

element IdShortAndLongTextType/LongText
diagram
type xs:string

complexType IdTextType
diagram
children Id Text
annotation
documentation 
Id and Text

element IdTextType/Id
diagram
type xs:int

element IdTextType/Text
diagram
type xs:string

complexType LastChangedType
diagram
children ChangedBy Changed
annotation
documentation 
Last changed by and date

element LastChangedType/ChangedBy
diagram
type xs:string

element LastChangedType/Changed
diagram
type xs:dateTime

complexType ShortAndLongTextType
diagram
children ShortText LongText
annotation
documentation 
ShortText and LongText

element ShortAndLongTextType/ShortText
diagram
type xs:string

element ShortAndLongTextType/LongText
diagram
type xs:string

complexType UserType
diagram
children Name FullName
annotation
documentation 
ShortNameId and Name

element UserType/Name
diagram
type xs:string

element UserType/FullName
diagram
type xs:string

complexType ExternalOrganizationType
diagram
children Id Code Name
used by
elements PersonalInformationExt3Type/ExternalDoctor PersonalInformationExt3Type/HealthCareCentre
annotation
documentation 
Type for an external organization or resource (EksternInstans)

element ExternalOrganizationType/Id
diagram
type xs:int

element ExternalOrganizationType/Code
diagram
type xs:string

element ExternalOrganizationType/Name
diagram
type xs:string

complexType OrganizationType
diagram
children Id ShortNameId Name
annotation
documentation 
Type for the organizational unit

element OrganizationType/Id
diagram
type xs:int

element OrganizationType/ShortNameId
diagram
type xs:string

element OrganizationType/Name
diagram
type xs:string

complexType ResourceType
diagram
children Id Code Name
annotation
documentation 
Type for a resource

element ResourceType/Id
diagram
type xs:int

element ResourceType/Code
diagram
type xs:string

element ResourceType/Name
diagram
type xs:string


XML Schema documentation generated with
XML Spy Schema Editor www.xmlspy.com