Schema systemcode.xsd


schema location:  ..\..\systemcode.xsd
 
Elements  Complex types 
SystemCode  SystemCodeType 


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


schema location:  ..\..\PeriodicBasicTypes.xsd
 
Complex types 
PerFixCodeTextCommentType 
PerFixCodeTextType 
PerFixCodeType 
PerFixDTCodeTextCommentType 
PerFixDTCodeTextType 
PerFixDTCodeType 
PerFixDTTextCommentType 
PerFixTextCommentType 
PerVarCodeTextCommentType 
PerVarCodeTextType 
PerVarCodeType 
PerVarDTCodeTextCommentType 
PerVarDTCodeTextType 
PerVarDTCodeType 
PerVarDTTextCommentType 
PerVarTextCommentType 
ValidPeriodDateTimeType 
ValidPeriodDateType 


schema location:  ..\..\OrgBasicTypes.xsd
 
Complex types 
ExternalOrganizationType 
OrganizationType 
ResourceType 


element SystemCode
diagram
children Type SubType SystemCodeItem
annotation
documentation 
System code

element SystemCode/Type
diagram
type xs:string

element SystemCode/SubType
diagram
type xs:string

element SystemCode/SystemCodeItem
diagram
type SystemCodeType
children Id Code Text Value Rule1 Reference1 Rule2 Reference2 SortingOrder ValidPeriod OrganizationUnit

complexType SystemCodeType
diagram
children Id Code Text Value Rule1 Reference1 Rule2 Reference2 SortingOrder ValidPeriod OrganizationUnit
used by
element SystemCode/SystemCodeItem

element SystemCodeType/Id
diagram
type xs:int
annotation
documentation 
Numerical id for DVD

element SystemCodeType/Code
diagram
type xs:string

element SystemCodeType/Text
diagram
type ShortAndLongTextType
children ShortText LongText

element SystemCodeType/Value
diagram
type xs:int

element SystemCodeType/Rule1
diagram
type xs:string

element SystemCodeType/Reference1
diagram
type xs:string

element SystemCodeType/Rule2
diagram
type xs:string

element SystemCodeType/Reference2
diagram
type xs:string

element SystemCodeType/SortingOrder
diagram
type xs:short

element SystemCodeType/ValidPeriod
diagram
type ValidPeriodDateType
children ValidFrom ValidTo

element SystemCodeType/OrganizationUnit
diagram
type OrganizationType
children Id ShortNameId Name

complexType CodeNameType
diagram
children Code Name
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
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
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
used by
element SystemCodeType/Text
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 PerFixCodeTextCommentType
diagram
children Code Text Comment ValidPeriod
annotation
documentation 
Type for periodic fixed (date only) code, text and optional comment strings.

element PerFixCodeTextCommentType/Code
diagram
type xs:string

element PerFixCodeTextCommentType/Text
diagram
type xs:string

element PerFixCodeTextCommentType/Comment
diagram
type xs:string

element PerFixCodeTextCommentType/ValidPeriod
diagram
type ValidPeriodDateType
children ValidFrom ValidTo

complexType PerFixCodeTextType
diagram
children Code Text ValidPeriod
annotation
documentation 
Type for periodic (date only) fixed code and text strings.

element PerFixCodeTextType/Code
diagram
type xs:string

element PerFixCodeTextType/Text
diagram
type xs:string

element PerFixCodeTextType/ValidPeriod
diagram
type ValidPeriodDateType
children ValidFrom ValidTo

complexType PerFixCodeType
diagram
children Code ValidPeriod
annotation
documentation 
Type for periodic (date only) fixed code string.

element PerFixCodeType/Code
diagram
type xs:string

element PerFixCodeType/ValidPeriod
diagram
type ValidPeriodDateType
children ValidFrom ValidTo

complexType PerFixDTCodeTextCommentType
diagram
children Code Text Comment ValidPeriod
annotation
documentation 
Type for periodic fixed (date+time) code, text and optional comment strings.

element PerFixDTCodeTextCommentType/Code
diagram
type xs:string

element PerFixDTCodeTextCommentType/Text
diagram
type xs:string

element PerFixDTCodeTextCommentType/Comment
diagram
type xs:string

element PerFixDTCodeTextCommentType/ValidPeriod
diagram
type ValidPeriodDateTimeType
children ValidFrom ValidTo

complexType PerFixDTCodeTextType
diagram
children Code Text ValidPeriod
annotation
documentation 
Type for periodic (date+time) fixed code and text strings.

element PerFixDTCodeTextType/Code
diagram
type xs:string

element PerFixDTCodeTextType/Text
diagram
type xs:string

element PerFixDTCodeTextType/ValidPeriod
diagram
type ValidPeriodDateTimeType
children ValidFrom ValidTo

complexType PerFixDTCodeType
diagram
children Code ValidPeriod
annotation
documentation 
Type for periodic (date+time) fixed code string.

element PerFixDTCodeType/Code
diagram
type xs:string

element PerFixDTCodeType/ValidPeriod
diagram
type ValidPeriodDateTimeType
children ValidFrom ValidTo

complexType PerFixDTTextCommentType
diagram
children Text Comment ValidPeriod
annotation
documentation 
Type for periodic (date+time) fixed text and comment (optional) strings.

element PerFixDTTextCommentType/Text
diagram
type xs:string

element PerFixDTTextCommentType/Comment
diagram
type xs:string

element PerFixDTTextCommentType/ValidPeriod
diagram
type ValidPeriodDateTimeType
children ValidFrom ValidTo

complexType PerFixTextCommentType
diagram
children Text Comment ValidPeriod
annotation
documentation 
Type for periodic (date only) fixed text and comment (optional) string. Example of use: A property of a org.unit which can be on or off in various periods, but with same meaning/text. Do not set "unbounded" on item of this type.

element PerFixTextCommentType/Text
diagram
type xs:string

element PerFixTextCommentType/Comment
diagram
type xs:string

element PerFixTextCommentType/ValidPeriod
diagram
type ValidPeriodDateType
children ValidFrom ValidTo

complexType PerVarCodeTextCommentType
diagram
children Code Text Comment ValidPeriod
annotation
documentation 
Type for periodic variable (date only) code, text and optional comment strings.

element PerVarCodeTextCommentType/Code
diagram
type xs:string

element PerVarCodeTextCommentType/Text
diagram
type xs:string

element PerVarCodeTextCommentType/Comment
diagram
type xs:string

element PerVarCodeTextCommentType/ValidPeriod
diagram
type ValidPeriodDateType
children ValidFrom ValidTo

complexType PerVarCodeTextType
diagram
children Code Text ValidPeriod
annotation
documentation 
Type for periodic variable (date only) code and text strings.

element PerVarCodeTextType/Code
diagram
type xs:string

element PerVarCodeTextType/Text
diagram
type xs:string

element PerVarCodeTextType/ValidPeriod
diagram
type ValidPeriodDateType
children ValidFrom ValidTo

complexType PerVarCodeType
diagram
children Code ValidPeriod
annotation
documentation 
Type for periodic variable (date only) code string.

element PerVarCodeType/Code
diagram
type xs:string

element PerVarCodeType/ValidPeriod
diagram
type ValidPeriodDateType
children ValidFrom ValidTo

complexType PerVarDTCodeTextCommentType
diagram
children Code Text Comment ValidPeriod
annotation
documentation 
Type for periodic variable (date+time) code, text and optional comment strings.

element PerVarDTCodeTextCommentType/Code
diagram
type xs:string

element PerVarDTCodeTextCommentType/Text
diagram
type xs:string

element PerVarDTCodeTextCommentType/Comment
diagram
type xs:string

element PerVarDTCodeTextCommentType/ValidPeriod
diagram
type ValidPeriodDateTimeType
children ValidFrom ValidTo

complexType PerVarDTCodeTextType
diagram
children Code Text ValidPeriod
annotation
documentation 
Type for periodic variable (date+time) code and text strings.

element PerVarDTCodeTextType/Code
diagram
type xs:string

element PerVarDTCodeTextType/Text
diagram
type xs:string

element PerVarDTCodeTextType/ValidPeriod
diagram
type ValidPeriodDateTimeType
children ValidFrom ValidTo

complexType PerVarDTCodeType
diagram
children Code ValidPeriod
annotation
documentation 
Type for periodic variable (date+time) code string.

element PerVarDTCodeType/Code
diagram
type xs:string

element PerVarDTCodeType/ValidPeriod
diagram
type ValidPeriodDateTimeType
children ValidFrom ValidTo

complexType PerVarDTTextCommentType
diagram
children Text Comment ValidPeriod
annotation
documentation 
Type for periodic (date+time) variable text and comment (optional) strings.

element PerVarDTTextCommentType/Text
diagram
type xs:string

element PerVarDTTextCommentType/Comment
diagram
type xs:string

element PerVarDTTextCommentType/ValidPeriod
diagram
type ValidPeriodDateTimeType
children ValidFrom ValidTo

complexType PerVarTextCommentType
diagram
children Text Comment ValidPeriod
annotation
documentation 
Type for periodic variable (date only) text and comment (optional) strings. Example of use: Active/passive status with comment for a org.unit. Set "unbounded" on the item of this type. Data type can be extended by adding a sequence and other subsidiary items.

element PerVarTextCommentType/Text
diagram
type xs:string

element PerVarTextCommentType/Comment
diagram
type xs:string

element PerVarTextCommentType/ValidPeriod
diagram
type ValidPeriodDateType
children ValidFrom ValidTo

complexType ValidPeriodDateTimeType
diagram
children ValidFrom ValidTo
used by
elements PerVarDTCodeType/ValidPeriod PerVarDTCodeTextType/ValidPeriod PerVarDTCodeTextCommentType/ValidPeriod PerVarDTTextCommentType/ValidPeriod PerFixDTCodeType/ValidPeriod PerFixDTCodeTextType/ValidPeriod PerFixDTCodeTextCommentType/ValidPeriod PerFixDTTextCommentType/ValidPeriod
annotation
documentation 
Type for valid datetimeperiods (date and time/clock)

element ValidPeriodDateTimeType/ValidFrom
diagram
type xs:dateTime

element ValidPeriodDateTimeType/ValidTo
diagram
type xs:dateTime

complexType ValidPeriodDateType
diagram
children ValidFrom ValidTo
used by
elements SystemCodeType/ValidPeriod PerVarCodeType/ValidPeriod PerVarCodeTextType/ValidPeriod PerVarCodeTextCommentType/ValidPeriod PerVarTextCommentType/ValidPeriod PerFixCodeType/ValidPeriod PerFixCodeTextType/ValidPeriod PerFixCodeTextCommentType/ValidPeriod PerFixTextCommentType/ValidPeriod
annotation
documentation 
Type for valid dateperiods (date only, not time/clock)

element ValidPeriodDateType/ValidFrom
diagram
type xs:date

element ValidPeriodDateType/ValidTo
diagram
type xs:date

complexType ExternalOrganizationType
diagram
children Id Code Name
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
used by
element SystemCodeType/OrganizationUnit
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