Schema MedicalCode.xsd


schema location ..\..\MedicalCode.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Elements  Complex types 
MedicalCode  MedicalCodeRuleType 


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\PeriodicBasicTypes.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Complex types 
PerFixCodeTextCommentType 
PerFixCodeTextType 
PerFixCodeType 
PerFixDTCodeTextCommentType 
PerFixDTCodeTextType 
PerFixDTCodeType 
PerFixDTTextCommentType 
PerFixTextCommentType 
PerVarCodeTextCommentType 
PerVarCodeTextType 
PerVarCodeType 
PerVarDTCodeTextCommentType 
PerVarDTCodeTextType 
PerVarDTCodeType 
PerVarDTTextCommentType 
PerVarTextCommentType 
ValidPeriodDateTimeType 
ValidPeriodDateType 


element MedicalCode
diagram MedicalCode_p1.png
properties
content complex
children Id Code Text ValidPeriod LastChanged Rules
annotation
documentation
Medical code (ie. ICD-10, NCSP)
source <xs:element name="MedicalCode">
 
<xs:annotation>
   
<xs:documentation>Medical code (ie. ICD-10, NCSP)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Id" type="xs:int"/>
     
<xs:element name="Code" type="xs:string"/>
     
<xs:element name="Text" type="ShortAndLongTextType"/>
     
<xs:element name="ValidPeriod" type="ValidPeriodDateType"/>
     
<xs:element name="LastChanged" type="LastChangedType"/>
     
<xs:element name="Rules" type="MedicalCodeRuleType" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Rule for medical codes </xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

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

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

element MedicalCode/Text
diagram MedicalCode_p4.png
type ShortAndLongTextType
properties
content complex
children ShortText LongText
source <xs:element name="Text" type="ShortAndLongTextType"/>

element MedicalCode/ValidPeriod
diagram MedicalCode_p5.png
type ValidPeriodDateType
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateType"/>

element MedicalCode/LastChanged
diagram MedicalCode_p6.png
type LastChangedType
properties
content complex
children ChangedBy Changed
source <xs:element name="LastChanged" type="LastChangedType"/>

element MedicalCode/Rules
diagram MedicalCode_p7.png
type MedicalCodeRuleType
properties
minOcc 0
maxOcc unbounded
content complex
children Id Rule RuleValue
annotation
documentation
Rule for medical codes
source <xs:element name="Rules" type="MedicalCodeRuleType" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Rule for medical codes </xs:documentation>
 
</xs:annotation>
</xs:element>

complexType MedicalCodeRuleType
diagram MedicalCode_p8.png
children Id Rule RuleValue
used by
element MedicalCode/Rules
annotation
documentation
Rule for medical codes
source <xs:complexType name="MedicalCodeRuleType">
 
<xs:annotation>
   
<xs:documentation>Rule for medical codes </xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:int"/>
   
<xs:element name="Rule" type="CodeTextType">
     
<xs:annotation>
       
<xs:documentation>KodeverkKode</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="RuleValue" type="CodeTextType" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

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

element MedicalCodeRuleType/Rule
diagram MedicalCode_p10.png
type CodeTextType
properties
content complex
children Code Text
annotation
documentation
KodeverkKode
source <xs:element name="Rule" type="CodeTextType">
 
<xs:annotation>
   
<xs:documentation>KodeverkKode</xs:documentation>
 
</xs:annotation>
</xs:element>

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

complexType CodeNameType
diagram MedicalCode_p12.png
children Code Name
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 MedicalCode_p13.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

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

complexType CodeOfficialCodeTextType
diagram MedicalCode_p15.png
children Code OfficialCode Text
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 MedicalCode_p16.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element CodeOfficialCodeTextType/OfficialCode
diagram MedicalCode_p17.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 MedicalCode_p18.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

complexType CodeTextType
diagram MedicalCode_p19.png
children Code Text
used by
elements MedicalCodeRuleType/Rule MedicalCodeRuleType/RuleValue
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 MedicalCode_p20.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

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

complexType IdCodeNameType
diagram MedicalCode_p22.png
children Id Code Name
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 MedicalCode_p23.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

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

complexType IdCodeOfficialCodeTextType
diagram MedicalCode_p26.png
children Id Code OfficialCode Text
used by
element 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 MedicalCode_p27.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

element IdCodeOfficialCodeTextType/OfficialCode
diagram MedicalCode_p29.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 MedicalCode_p30.png
type xs:string
properties
content simple
source <xs:element name="Text" type="xs:string"/>

complexType IdCodeShortAndLongTextType
diagram MedicalCode_p31.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 MedicalCode_p32.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

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

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

complexType IdCodeTextType
diagram MedicalCode_p36.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 MedicalCode_p37.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

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

complexType IdCodeType
diagram MedicalCode_p40.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 MedicalCode_p41.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

complexType IdNameType
diagram MedicalCode_p43.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 MedicalCode_p44.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

complexType IdShortAndLongTextType
diagram MedicalCode_p46.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 MedicalCode_p47.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

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

complexType IdTextType
diagram MedicalCode_p50.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 MedicalCode_p51.png
type xs:int
properties
content simple
source <xs:element name="Id" type="xs:int"/>

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

complexType LastChangedType
diagram MedicalCode_p53.png
children ChangedBy Changed
used by
element MedicalCode/LastChanged
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 MedicalCode_p54.png
type xs:string
properties
content simple
source <xs:element name="ChangedBy" type="xs:string"/>

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

complexType MedCodeType
diagram MedicalCode_p56.png
type extension of IdCodeTextType
properties
base IdCodeTextType
children Id Code Text MedRegister
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 MedicalCode_p57.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 MedicalCode_p58.png
children ShortText LongText
used by
element MedicalCode/Text
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 MedicalCode_p59.png
type xs:string
properties
content simple
source <xs:element name="ShortText" type="xs:string"/>

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

complexType UserType
diagram MedicalCode_p61.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 MedicalCode_p62.png
type xs:string
properties
content simple
source <xs:element name="Name" type="xs:string"/>

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

complexType PerFixCodeTextCommentType
diagram MedicalCode_p64.png
children Code Text Comment ValidPeriod
annotation
documentation
Type for periodic fixed (date only) code, text and optional comment strings.
source <xs:complexType name="PerFixCodeTextCommentType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic fixed (date only) code, text and optional comment strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

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

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

element PerFixCodeTextCommentType/Comment
diagram MedicalCode_p67.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element PerFixCodeTextCommentType/ValidPeriod
diagram MedicalCode_p68.png
type ValidPeriodDateType
properties
minOcc 1
maxOcc unbounded
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateType" maxOccurs="unbounded"/>

complexType PerFixCodeTextType
diagram MedicalCode_p69.png
children Code Text ValidPeriod
annotation
documentation
Type for periodic (date only) fixed code and text strings.
source <xs:complexType name="PerFixCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic (date only) fixed code and text strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

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

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

element PerFixCodeTextType/ValidPeriod
diagram MedicalCode_p72.png
type ValidPeriodDateType
properties
minOcc 1
maxOcc unbounded
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateType" maxOccurs="unbounded"/>

complexType PerFixCodeType
diagram MedicalCode_p73.png
children Code ValidPeriod
annotation
documentation
Type for periodic (date only) fixed code string.
source <xs:complexType name="PerFixCodeType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic (date only) fixed code string.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

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

element PerFixCodeType/ValidPeriod
diagram MedicalCode_p75.png
type ValidPeriodDateType
properties
minOcc 1
maxOcc unbounded
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateType" maxOccurs="unbounded"/>

complexType PerFixDTCodeTextCommentType
diagram MedicalCode_p76.png
children Code Text Comment ValidPeriod
annotation
documentation
Type for periodic fixed (date+time) code, text and optional comment strings.
source <xs:complexType name="PerFixDTCodeTextCommentType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic fixed (date+time) code, text and optional comment strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateTimeType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

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

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

element PerFixDTCodeTextCommentType/Comment
diagram MedicalCode_p79.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element PerFixDTCodeTextCommentType/ValidPeriod
diagram MedicalCode_p80.png
type ValidPeriodDateTimeType
properties
minOcc 1
maxOcc unbounded
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateTimeType" maxOccurs="unbounded"/>

complexType PerFixDTCodeTextType
diagram MedicalCode_p81.png
children Code Text ValidPeriod
annotation
documentation
Type for periodic (date+time) fixed code and text strings.
source <xs:complexType name="PerFixDTCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic (date+time) fixed code and text strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateTimeType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

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

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

element PerFixDTCodeTextType/ValidPeriod
diagram MedicalCode_p84.png
type ValidPeriodDateTimeType
properties
minOcc 1
maxOcc unbounded
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateTimeType" maxOccurs="unbounded"/>

complexType PerFixDTCodeType
diagram MedicalCode_p85.png
children Code ValidPeriod
annotation
documentation
Type for periodic (date+time) fixed code string.
source <xs:complexType name="PerFixDTCodeType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic (date+time) fixed code string.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateTimeType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

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

element PerFixDTCodeType/ValidPeriod
diagram MedicalCode_p87.png
type ValidPeriodDateTimeType
properties
minOcc 1
maxOcc unbounded
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateTimeType" maxOccurs="unbounded"/>

complexType PerFixDTTextCommentType
diagram MedicalCode_p88.png
children Text Comment ValidPeriod
annotation
documentation
Type for periodic (date+time) fixed text and comment (optional) strings.
source <xs:complexType name="PerFixDTTextCommentType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic (date+time) fixed text and comment (optional) strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateTimeType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

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

element PerFixDTTextCommentType/Comment
diagram MedicalCode_p90.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element PerFixDTTextCommentType/ValidPeriod
diagram MedicalCode_p91.png
type ValidPeriodDateTimeType
properties
minOcc 1
maxOcc unbounded
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateTimeType" maxOccurs="unbounded"/>

complexType PerFixTextCommentType
diagram MedicalCode_p92.png
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.
source <xs:complexType name="PerFixTextCommentType">
 
<xs:annotation>
   
<xs: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.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateType" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

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

element PerFixTextCommentType/Comment
diagram MedicalCode_p94.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element PerFixTextCommentType/ValidPeriod
diagram MedicalCode_p95.png
type ValidPeriodDateType
properties
minOcc 1
maxOcc unbounded
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateType" maxOccurs="unbounded"/>

complexType PerVarCodeTextCommentType
diagram MedicalCode_p96.png
children Code Text Comment ValidPeriod
annotation
documentation
Type for periodic variable (date only) code, text and optional comment strings.
source <xs:complexType name="PerVarCodeTextCommentType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic variable (date only) code, text and optional comment strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateType"/>
 
</xs:sequence>
</xs:complexType>

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

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

element PerVarCodeTextCommentType/Comment
diagram MedicalCode_p99.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element PerVarCodeTextCommentType/ValidPeriod
diagram MedicalCode_p100.png
type ValidPeriodDateType
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateType"/>

complexType PerVarCodeTextType
diagram MedicalCode_p101.png
children Code Text ValidPeriod
annotation
documentation
Type for periodic variable (date only) code and text strings.
source <xs:complexType name="PerVarCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic variable (date only) code and text strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateType"/>
 
</xs:sequence>
</xs:complexType>

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

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

element PerVarCodeTextType/ValidPeriod
diagram MedicalCode_p104.png
type ValidPeriodDateType
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateType"/>

complexType PerVarCodeType
diagram MedicalCode_p105.png
children Code ValidPeriod
annotation
documentation
Type for periodic variable (date only) code string.
source <xs:complexType name="PerVarCodeType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic variable (date only) code string.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateType"/>
 
</xs:sequence>
</xs:complexType>

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

element PerVarCodeType/ValidPeriod
diagram MedicalCode_p107.png
type ValidPeriodDateType
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateType"/>

complexType PerVarDTCodeTextCommentType
diagram MedicalCode_p108.png
children Code Text Comment ValidPeriod
annotation
documentation
Type for periodic variable (date+time) code, text and optional comment strings.
source <xs:complexType name="PerVarDTCodeTextCommentType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic variable (date+time) code, text and optional comment strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateTimeType"/>
 
</xs:sequence>
</xs:complexType>

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

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

element PerVarDTCodeTextCommentType/Comment
diagram MedicalCode_p111.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element PerVarDTCodeTextCommentType/ValidPeriod
diagram MedicalCode_p112.png
type ValidPeriodDateTimeType
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateTimeType"/>

complexType PerVarDTCodeTextType
diagram MedicalCode_p113.png
children Code Text ValidPeriod
annotation
documentation
Type for periodic variable (date+time) code and text strings.
source <xs:complexType name="PerVarDTCodeTextType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic variable (date+time) code and text strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateTimeType"/>
 
</xs:sequence>
</xs:complexType>

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

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

element PerVarDTCodeTextType/ValidPeriod
diagram MedicalCode_p116.png
type ValidPeriodDateTimeType
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateTimeType"/>

complexType PerVarDTCodeType
diagram MedicalCode_p117.png
children Code ValidPeriod
annotation
documentation
Type for periodic variable (date+time) code string.
source <xs:complexType name="PerVarDTCodeType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic variable (date+time) code string.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateTimeType"/>
 
</xs:sequence>
</xs:complexType>

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

element PerVarDTCodeType/ValidPeriod
diagram MedicalCode_p119.png
type ValidPeriodDateTimeType
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateTimeType"/>

complexType PerVarDTTextCommentType
diagram MedicalCode_p120.png
children Text Comment ValidPeriod
annotation
documentation
Type for periodic (date+time) variable text and comment (optional) strings.
source <xs:complexType name="PerVarDTTextCommentType">
 
<xs:annotation>
   
<xs:documentation>Type for periodic (date+time) variable text and comment (optional) strings.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateTimeType"/>
 
</xs:sequence>
</xs:complexType>

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

element PerVarDTTextCommentType/Comment
diagram MedicalCode_p122.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element PerVarDTTextCommentType/ValidPeriod
diagram MedicalCode_p123.png
type ValidPeriodDateTimeType
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateTimeType"/>

complexType PerVarTextCommentType
diagram MedicalCode_p124.png
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.
source <xs:complexType name="PerVarTextCommentType">
 
<xs:annotation>
   
<xs: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.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Text" type="xs:string"/>
   
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
   
<xs:element name="ValidPeriod" type="ValidPeriodDateType"/>
 
</xs:sequence>
</xs:complexType>

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

element PerVarTextCommentType/Comment
diagram MedicalCode_p126.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Comment" type="xs:string" minOccurs="0"/>

element PerVarTextCommentType/ValidPeriod
diagram MedicalCode_p127.png
type ValidPeriodDateType
properties
content complex
children ValidFrom ValidTo
source <xs:element name="ValidPeriod" type="ValidPeriodDateType"/>

complexType ValidPeriodDateTimeType
diagram MedicalCode_p128.png
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)
source <xs:complexType name="ValidPeriodDateTimeType">
 
<xs:annotation>
   
<xs:documentation>Type for valid datetimeperiods (date and time/clock)</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ValidFrom" type="xs:dateTime"/>
   
<xs:element name="ValidTo" type="xs:dateTime"/>
 
</xs:sequence>
</xs:complexType>

element ValidPeriodDateTimeType/ValidFrom
diagram MedicalCode_p129.png
type xs:dateTime
properties
content simple
source <xs:element name="ValidFrom" type="xs:dateTime"/>

element ValidPeriodDateTimeType/ValidTo
diagram MedicalCode_p130.png
type xs:dateTime
properties
content simple
source <xs:element name="ValidTo" type="xs:dateTime"/>

complexType ValidPeriodDateType
diagram MedicalCode_p131.png
children ValidFrom ValidTo
used by
elements MedicalCode/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)
source <xs:complexType name="ValidPeriodDateType">
 
<xs:annotation>
   
<xs:documentation>Type for valid dateperiods (date only, not time/clock)</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="ValidFrom" type="xs:date"/>
   
<xs:element name="ValidTo" type="xs:date"/>
 
</xs:sequence>
</xs:complexType>

element ValidPeriodDateType/ValidFrom
diagram MedicalCode_p132.png
type xs:date
properties
content simple
source <xs:element name="ValidFrom" type="xs:date"/>

element ValidPeriodDateType/ValidTo
diagram MedicalCode_p133.png
type xs:date
properties
content simple
source <xs:element name="ValidTo" type="xs:date"/>


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