edifact_converter 2.0.13 → 2.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d06bfd1d6915f5256e82b38ae76703cbd83af0a
4
- data.tar.gz: 8f048692cc9a3d2c718e0a05c7578d49cb813c7f
3
+ metadata.gz: 28e136f1117185870ad78243cb999105c27b7dc9
4
+ data.tar.gz: 87c94f6ca5647900b564a0abcc22d8ec2a8f05be
5
5
  SHA512:
6
- metadata.gz: 7a1caf130b8f1922a9b0da3ab9b5b047c95e4947de5624ed21cfa73b4de2bb68a2ed995ca99bce369518bb593eaa80ac0fd6cbf08ca3a07d6897f81d554ecf46
7
- data.tar.gz: 05f593412e5ebe235038249225717f067a0f15417ff194cd7aa756e6a1c913c3f98f3c425e32e8fc3c6da59888d20223ace36142830a5fa3b55d3b3d3db14cf9
6
+ metadata.gz: 16f7df86fc01b236eff014f8cc71ae846ec732a3f683edb191327a6d62a36af5dcdd79e6d4358f4e35f2307961f20fae246a401b41d7572240a5d43b9c6b0872
7
+ data.tar.gz: 831bc865a8a38a1aa2a6c0eec6432f632ec4974693c4c1ddab5ae774bc48e20b2c9f2763323d5af1667497fc657e838a0202b25e81777052a375305f8e6dd7f3
@@ -49,24 +49,26 @@
49
49
  <xs:element name="GeneralResultInformation">
50
50
  <xs:complexType>
51
51
  <xs:sequence>
52
- <xs:element name="ResultStatusCode">
52
+ <xs:element name="ReportStatusCode">
53
53
  <xs:simpleType>
54
54
  <xs:restriction base="xs:string">
55
- <xs:enumeration value="svar_endeligt"/>
56
- <xs:enumeration value="svar_rettet"/>
55
+ <xs:enumeration value="del_svar"/>
56
+ <xs:enumeration value="komplet_svar"/>
57
+ <xs:enumeration value="modtaget"/>
57
58
  </xs:restriction>
58
59
  </xs:simpleType>
59
60
  </xs:element>
60
- <xs:element name="ToLabIdentifier" type="String_1_3" minOccurs="0"/>
61
- <xs:element name="ReportStatusCode">
61
+ <xs:element name="ResultStatusCode">
62
62
  <xs:simpleType>
63
63
  <xs:restriction base="xs:string">
64
- <xs:enumeration value="del_svar"/>
65
- <xs:enumeration value="komplet_svar"/>
66
- <xs:enumeration value="modtaget"/>
64
+ <xs:enumeration value="proeve_modtaget"/>
65
+ <xs:enumeration value="svar_midlertidigt"/>
66
+ <xs:enumeration value="svar_endeligt"/>
67
+ <xs:enumeration value="svar_rettet"/>
67
68
  </xs:restriction>
68
69
  </xs:simpleType>
69
70
  </xs:element>
71
+ <xs:element name="ToLabIdentifier" type="String_1_3" minOccurs="0"/>
70
72
  <xs:element name="ResultsDateTime" type="DateTimeType"/>
71
73
  <xs:element name="LaboratoryInternalProductionIdentifier" type="String_1_35"/>
72
74
  </xs:sequence>
@@ -75,14 +77,14 @@
75
77
  <xs:element name="CodedFormat">
76
78
  <xs:complexType>
77
79
  <xs:sequence>
78
- <xs:element name="DiagnosisHeadline" type="String_1_35"/>
80
+ <xs:element name="DiagnosisHeadline" type="String_1_35" minOccurs="0"/>
79
81
  <xs:element name="Sample">
80
82
  <xs:complexType>
81
83
  <xs:sequence>
82
84
  <xs:element name="LaboratoryInternalSampleIdentifier" type="String_1_20"/>
83
85
  <xs:element name="RequesterSampleIdentifier" type="String_1_15" minOccurs="0"/>
84
86
  <xs:element name="MaterialDescription" type="String_1_70"/>
85
- <xs:element name="CodedResults">
87
+ <xs:element name="CodedResults" minOccurs="0">
86
88
  <xs:complexType>
87
89
  <xs:sequence>
88
90
  <xs:element name="Topography">
@@ -273,4 +273,16 @@
273
273
  <xs:enumeration value="lokal"/>
274
274
  </xs:restriction>
275
275
  </xs:simpleType>
276
+ <xs:complexType name="ParagraphedTextType">
277
+ <xs:sequence>
278
+ <xs:element name="Paragraph" maxOccurs="10">
279
+ <xs:simpleType>
280
+ <xs:restriction base="xs:string">
281
+ <xs:maxLength value="500"/>
282
+ </xs:restriction>
283
+ </xs:simpleType>
284
+ </xs:element>
285
+ </xs:sequence>
286
+ </xs:complexType>
287
+
276
288
  </xs:schema>
@@ -12,6 +12,7 @@
12
12
  <xs:include schemaLocation="Receiver.xsd"/>
13
13
  <xs:include schemaLocation="CCReceiver.xsd"/>
14
14
  <xs:include schemaLocation="Patient.xsd"/>
15
+ <xs:include schemaLocation="Relative.xsd"/>
15
16
  <xs:include schemaLocation="ValueLists.xsd"/>
16
17
  <xs:element name="GeneticsReport" type="GeneticsReportType">
17
18
  <xs:annotation>
@@ -26,19 +27,18 @@
26
27
  <xs:sequence>
27
28
  <xs:element name="Letter" type="GeneticsReportLetterType">
28
29
  <xs:annotation>
29
- <xs:documentation>Kan betragtes som et Letter element, som blot begrænses til
30
- VersionCode=XR0730G og TypeCode=XRPT07</xs:documentation>
30
+ <xs:documentation>Kan betragtes som et Letter element, som blot begrænses til VersionCode=XR0730G og TypeCode=XRPT07</xs:documentation>
31
31
  </xs:annotation>
32
32
  </xs:element>
33
33
  <xs:element name="Sender" type="GeneticsReportSenderType"/>
34
34
  <xs:element name="Receiver" type="GeneticsReportReceiverType"/>
35
35
  <xs:element name="CCReceiver" type="GeneticsReportCCReceiverType" minOccurs="0"/>
36
36
  <xs:element name="Patient" type="GeneticsReportPatientType"/>
37
+ <xs:element name="Relative" type="GeneticsReportRelativeType" minOccurs="0"/>
37
38
  <xs:element name="RequisitionInformation">
38
39
  <xs:complexType>
39
40
  <xs:sequence>
40
- <xs:element name="RequestersRequisitionIdentifier" type="String_1_15"
41
- minOccurs="0"/>
41
+ <xs:element name="RequestersRequisitionIdentifier" type="String_1_15" minOccurs="0"/>
42
42
  <xs:element name="ReceiversRequisitionIdentifier" type="String_1_15"/>
43
43
  <xs:element name="SamplingDateTime" type="DateTimeType"/>
44
44
  <xs:element name="SampleReceivedDateTime" type="DateTimeType"/>
@@ -54,6 +54,15 @@
54
54
  <xs:element name="GeneralResultInformation">
55
55
  <xs:complexType>
56
56
  <xs:sequence>
57
+ <xs:element name="ReportStatusCode">
58
+ <xs:simpleType>
59
+ <xs:restriction base="xs:string">
60
+ <xs:enumeration value="del_svar"/>
61
+ <xs:enumeration value="komplet_svar"/>
62
+ <xs:enumeration value="modtaget"/>
63
+ </xs:restriction>
64
+ </xs:simpleType>
65
+ </xs:element>
57
66
  <xs:element name="ResultStatusCode">
58
67
  <xs:simpleType>
59
68
  <xs:restriction base="xs:string">
@@ -65,18 +74,8 @@
65
74
  </xs:simpleType>
66
75
  </xs:element>
67
76
  <xs:element name="ToLabIdentifier" type="String_1_3" minOccurs="0"/>
68
- <xs:element name="ReportStatusCode">
69
- <xs:simpleType>
70
- <xs:restriction base="xs:string">
71
- <xs:enumeration value="del_svar"/>
72
- <xs:enumeration value="komplet_svar"/>
73
- <xs:enumeration value="modtaget"/>
74
- </xs:restriction>
75
- </xs:simpleType>
76
- </xs:element>
77
77
  <xs:element name="ResultsDateTime" type="DateTimeType"/>
78
- <xs:element name="LaboratoryInternalProductionIdentifier"
79
- type="String_1_35"/>
78
+ <xs:element name="LaboratoryInternalProductionIdentifier" type="String_1_35"/>
80
79
  </xs:sequence>
81
80
  </xs:complexType>
82
81
  </xs:element>
@@ -86,13 +85,10 @@
86
85
  <xs:element name="Sample" maxOccurs="100">
87
86
  <xs:complexType>
88
87
  <xs:sequence>
89
- <xs:element name="RequesterSampleIdentifier"
90
- type="String_1_15" minOccurs="0"/>
91
- <xs:element
92
- name="LaboratoryInternalSampleIdentifier"
93
- type="String_1_20"/>
94
- <xs:element name="MaterialDescription"
95
- type="String_1_70"/> </xs:sequence>
88
+ <xs:element name="RequesterSampleIdentifier" type="String_1_15" minOccurs="0"/>
89
+ <xs:element name="LaboratoryInternalSampleIdentifier" type="String_1_20"/>
90
+ <xs:element name="MaterialDescription" type="String_1_70"/>
91
+ </xs:sequence>
96
92
  </xs:complexType>
97
93
  </xs:element>
98
94
  </xs:sequence>
@@ -101,6 +97,8 @@
101
97
  <xs:element name="TableFormat">
102
98
  <xs:complexType>
103
99
  <xs:sequence>
100
+ <xs:element name="AnalysisCode" type="String_1_8" minOccurs="0"/>
101
+ <xs:element ref="AnalysisCompleteName" minOccurs="0"/>
104
102
  <xs:element name="ResultHeadline" type="String_1_35"/>
105
103
  <xs:element name="TableResult" type="String_1_8"/>
106
104
  </xs:sequence>
@@ -113,8 +111,7 @@
113
111
  <xs:complexType>
114
112
  <xs:sequence>
115
113
  <xs:element name="Headline" type="String_1_35"/>
116
- <xs:element name="Text" type="FormattedTextType"
117
- minOccurs="0"/>
114
+ <xs:element name="Text" type="FormattedTextType" minOccurs="0"/>
118
115
  </xs:sequence>
119
116
  </xs:complexType>
120
117
  </xs:element>
@@ -122,8 +119,7 @@
122
119
  <xs:complexType>
123
120
  <xs:sequence>
124
121
  <xs:element name="Headline" type="String_1_35"/>
125
- <xs:element name="Text" type="FormattedTextType"
126
- minOccurs="0"/>
122
+ <xs:element name="Text" type="FormattedTextType" minOccurs="0"/>
127
123
  </xs:sequence>
128
124
  </xs:complexType>
129
125
  </xs:element>
@@ -131,10 +127,8 @@
131
127
  <xs:complexType>
132
128
  <xs:sequence>
133
129
  <xs:element name="Headline" type="String_1_35"/>
134
- <xs:element name="Text" type="FormattedTextType"
135
- minOccurs="0"/>
136
- <xs:element ref="Reference" minOccurs="0"
137
- maxOccurs="10"/>
130
+ <xs:element name="Text" type="FormattedTextType" minOccurs="0"/>
131
+ <xs:element ref="Reference" minOccurs="0" maxOccurs="10"/>
138
132
  </xs:sequence>
139
133
  </xs:complexType>
140
134
  </xs:element>
@@ -142,10 +136,8 @@
142
136
  <xs:complexType>
143
137
  <xs:sequence>
144
138
  <xs:element name="Headline" type="String_1_35"/>
145
- <xs:element name="Text" type="FormattedTextType"
146
- minOccurs="0"/>
147
- <xs:element ref="Reference" minOccurs="0"
148
- maxOccurs="10"/>
139
+ <xs:element name="Text" type="FormattedTextType" minOccurs="0"/>
140
+ <xs:element ref="Reference" minOccurs="0" maxOccurs="10"/>
149
141
  </xs:sequence>
150
142
  </xs:complexType>
151
143
  </xs:element>
@@ -153,10 +145,8 @@
153
145
  <xs:complexType>
154
146
  <xs:sequence>
155
147
  <xs:element name="Headline" type="String_1_35"/>
156
- <xs:element name="Text" type="FormattedTextType"
157
- minOccurs="0"/>
158
- <xs:element ref="Reference" minOccurs="0"
159
- maxOccurs="10"/>
148
+ <xs:element name="Text" type="FormattedTextType" minOccurs="0"/>
149
+ <xs:element ref="Reference" minOccurs="0" maxOccurs="10"/>
160
150
  </xs:sequence>
161
151
  </xs:complexType>
162
152
  </xs:element>
@@ -164,8 +154,7 @@
164
154
  <xs:complexType>
165
155
  <xs:sequence>
166
156
  <xs:element name="Headline" type="String_1_35"/>
167
- <xs:element name="Text" type="FormattedTextType"
168
- minOccurs="0"/>
157
+ <xs:element name="Text" type="FormattedTextType" minOccurs="0"/>
169
158
  </xs:sequence>
170
159
  </xs:complexType>
171
160
  </xs:element>
@@ -173,8 +162,7 @@
173
162
  <xs:complexType>
174
163
  <xs:sequence>
175
164
  <xs:element name="Headline" type="String_1_35"/>
176
- <xs:element name="Text" type="FormattedTextType"
177
- minOccurs="0"/>
165
+ <xs:element name="Text" type="FormattedTextType" minOccurs="0"/>
178
166
  </xs:sequence>
179
167
  </xs:complexType>
180
168
  </xs:element>
@@ -188,8 +176,7 @@
188
176
  </xs:complexType>
189
177
  <xs:complexType name="GeneticsReportLetterType">
190
178
  <xs:annotation>
191
- <xs:documentation>Kan betragtes som en LetterType, som blot begrænses til
192
- VersionCode=XR0730G og TypeCode=XRPT07</xs:documentation>
179
+ <xs:documentation>Kan betragtes som en LetterType, som blot begrænses til VersionCode=XR0730G og TypeCode=XRPT07</xs:documentation>
193
180
  </xs:annotation>
194
181
  <xs:sequence>
195
182
  <xs:element name="Identifier" type="String_1_14"/>
@@ -277,10 +264,6 @@
277
264
  </xs:choice>
278
265
  <xs:element ref="PersonSurnameName"/>
279
266
  <xs:element ref="PersonGivenName" minOccurs="0"/>
280
- <xs:element ref="StreetName" minOccurs="0"/>
281
- <xs:element ref="SuburbName" minOccurs="0"/>
282
- <xs:element ref="DistrictName" minOccurs="0"/>
283
- <xs:element ref="PostCodeIdentifier" minOccurs="0"/>
284
267
  <xs:element name="Consent" minOccurs="0">
285
268
  <xs:complexType>
286
269
  <xs:sequence>
@@ -290,4 +273,12 @@
290
273
  </xs:element>
291
274
  </xs:sequence>
292
275
  </xs:complexType>
276
+ <xs:complexType name="GeneticsReportRelativeType">
277
+ <xs:sequence>
278
+ <xs:element ref="RelationCode"/>
279
+ <xs:element ref="PersonIdentifier" minOccurs="0"/>
280
+ <xs:element ref="PersonSurnameName"/>
281
+ <xs:element ref="PersonGivenName" minOccurs="0"/>
282
+ </xs:sequence>
283
+ </xs:complexType>
293
284
  </xs:schema>
@@ -56,6 +56,15 @@
56
56
  <xs:element name="GeneralResultInformation">
57
57
  <xs:complexType>
58
58
  <xs:sequence>
59
+ <xs:element name="ReportStatusCode">
60
+ <xs:simpleType>
61
+ <xs:restriction base="xs:string">
62
+ <xs:enumeration value="del_svar"/>
63
+ <xs:enumeration value="komplet_svar"/>
64
+ <xs:enumeration value="modtaget"/>
65
+ </xs:restriction>
66
+ </xs:simpleType>
67
+ </xs:element>
59
68
  <xs:element name="ResultStatusCode">
60
69
  <xs:simpleType>
61
70
  <xs:restriction base="xs:string">
@@ -67,15 +76,6 @@
67
76
  </xs:simpleType>
68
77
  </xs:element>
69
78
  <xs:element name="ToLabIdentifier" type="String_1_3" minOccurs="0"/>
70
- <xs:element name="ReportStatusCode">
71
- <xs:simpleType>
72
- <xs:restriction base="xs:string">
73
- <xs:enumeration value="del_svar"/>
74
- <xs:enumeration value="komplet_svar"/>
75
- <xs:enumeration value="modtaget"/>
76
- </xs:restriction>
77
- </xs:simpleType>
78
- </xs:element>
79
79
  <xs:element name="ResultsDateTime" type="DateTimeType"/>
80
80
  <xs:element name="LaboratoryInternalProductionIdentifier"
81
81
  type="String_1_35"/>
@@ -85,43 +85,37 @@
85
85
  <xs:element name="CodedFormat">
86
86
  <xs:complexType>
87
87
  <xs:sequence>
88
- <xs:element name="DiagnosisHeadline" type="String_1_35"/>
88
+ <xs:element name="DiagnosisHeadline" type="String_1_35" minOccurs="0"/>
89
89
  <xs:element name="Sample" maxOccurs="100">
90
90
  <xs:complexType>
91
91
  <xs:sequence>
92
- <xs:element name="RequesterSampleIdentifier"
93
- type="String_1_15" minOccurs="0"/>
94
- <xs:element
95
- name="LaboratoryInternalSampleIdentifier"
96
- type="String_1_20"/>
97
- <xs:element name="MaterialDescription"
98
- type="String_1_70"/>
99
- <xs:element name="CodedResults">
100
- <xs:complexType>
101
- <xs:sequence>
102
- <xs:element name="Headline" type="String_1_35"/>
103
- <xs:element name="Topography">
104
- <xs:complexType>
105
- <xs:sequence>
106
- <xs:element name="Code" type="String_1_17"/>
107
- <xs:element name="Text" type="String_1_70"/>
108
- <xs:element name="Comment" type="String_1_70"
109
- minOccurs="0"/>
110
- </xs:sequence>
111
- </xs:complexType>
112
- </xs:element>
113
- <xs:element name="Result" maxOccurs="39">
114
- <xs:complexType>
115
- <xs:sequence>
116
- <xs:element name="Code" type="String_1_17"/>
117
- <xs:element name="Text" type="String_1_70"/>
118
- <xs:element name="Comment" type="String_1_70"
119
- minOccurs="0"/>
120
- </xs:sequence>
121
- </xs:complexType>
122
- </xs:element>
123
- </xs:sequence>
124
- </xs:complexType>
92
+ <xs:element name="RequesterSampleIdentifier" type="String_1_15" minOccurs="0"/>
93
+ <xs:element name="LaboratoryInternalSampleIdentifier" type="String_1_20"/>
94
+ <xs:element name="MaterialDescription" type="String_1_70"/>
95
+ <xs:element name="CodedResults" minOccurs="0">
96
+ <xs:complexType>
97
+ <xs:sequence>
98
+ <xs:element name="Headline" type="String_1_35"/>
99
+ <xs:element name="Topography">
100
+ <xs:complexType>
101
+ <xs:sequence>
102
+ <xs:element name="Code" type="String_1_17"/>
103
+ <xs:element name="Text" type="String_1_70"/>
104
+ <xs:element name="Comment" type="String_1_70" minOccurs="0"/>
105
+ </xs:sequence>
106
+ </xs:complexType>
107
+ </xs:element>
108
+ <xs:element name="Result" maxOccurs="39">
109
+ <xs:complexType>
110
+ <xs:sequence>
111
+ <xs:element name="Code" type="String_1_17"/>
112
+ <xs:element name="Text" type="String_1_70"/>
113
+ <xs:element name="Comment" type="String_1_70" minOccurs="0"/>
114
+ </xs:sequence>
115
+ </xs:complexType>
116
+ </xs:element>
117
+ </xs:sequence>
118
+ </xs:complexType>
125
119
  </xs:element>
126
120
  </xs:sequence>
127
121
  </xs:complexType>
@@ -83,6 +83,17 @@
83
83
  </xs:restriction>
84
84
  </xs:simpleType>
85
85
  </xs:element>
86
+ <xs:element name="ResultStatusCode">
87
+ <xs:simpleType>
88
+ <xs:restriction base="xs:string">
89
+ <xs:enumeration value="proeve_modtaget"/>
90
+ <xs:enumeration value="svar_midlertidigt"/>
91
+ <xs:enumeration value="svar_endeligt"/>
92
+ <xs:enumeration value="svar_rettet"/>
93
+ </xs:restriction>
94
+ </xs:simpleType>
95
+ </xs:element>
96
+ <xs:element name="ToLabIdentifier" type="String_1_3" minOccurs="0"/>
86
97
  <xs:element name="LaboratoryInternalProductionIdentifier" type="String_1_20">
87
98
  <xs:annotation>
88
99
  <xs:documentation>LabprodProvnr</xs:documentation>
@@ -103,16 +114,6 @@
103
114
  <xs:element name="Examination">
104
115
  <xs:complexType>
105
116
  <xs:sequence>
106
- <xs:element name="ResultStatusCode">
107
- <xs:simpleType>
108
- <xs:restriction base="xs:string">
109
- <xs:enumeration value="proeve_modtaget"/>
110
- <xs:enumeration value="svar_midlertidigt"/>
111
- <xs:enumeration value="svar_endeligt"/>
112
- <xs:enumeration value="svar_rettet"/>
113
- </xs:restriction>
114
- </xs:simpleType>
115
- </xs:element>
116
117
  <xs:element name="ExaminationTypeCode">
117
118
  <xs:simpleType>
118
119
  <xs:restriction base="xs:string">
@@ -162,7 +163,6 @@
162
163
  </xs:complexType>
163
164
  </xs:element>
164
165
  <xs:element name="Summary" type="String_1_70" minOccurs="0"/>
165
- <xs:element name="ToLabIdentifier" type="String_1_3" minOccurs="0"/>
166
166
  </xs:sequence>
167
167
  </xs:complexType>
168
168
  </xs:element>
@@ -133,7 +133,6 @@
133
133
  <xs:element name="Service" maxOccurs="unbounded">
134
134
  <xs:complexType>
135
135
  <xs:sequence>
136
- <xs:choice>
137
136
  <xs:element name="Rate">
138
137
  <xs:simpleType>
139
138
  <xs:restriction base="xs:string">
@@ -141,14 +140,13 @@
141
140
  </xs:restriction>
142
141
  </xs:simpleType>
143
142
  </xs:element>
144
- <xs:element name="Correction">
145
- <xs:simpleType>
146
- <xs:restriction base="xs:string">
147
- <xs:pattern value="[0-9]{1,4}"/>
148
- </xs:restriction>
149
- </xs:simpleType>
150
- </xs:element>
151
- </xs:choice>
143
+ <xs:element name="Correction" minOccurs="0">
144
+ <xs:simpleType>
145
+ <xs:restriction base="xs:string">
146
+ <xs:pattern value="[C]"/>
147
+ </xs:restriction>
148
+ </xs:simpleType>
149
+ </xs:element>
152
150
  <xs:element name="DateOfTreatment" type="xs:date"/>
153
151
  <xs:element name="Amount">
154
152
  <xs:simpleType>