health-data-standards 3.5.3 → 3.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -3
  3. data/README.md +10 -2
  4. data/lib/health-data-standards.rb +5 -28
  5. data/lib/health-data-standards/export/cat_1.rb +3 -2
  6. data/lib/health-data-standards/export/cat_1_r2.rb +11 -0
  7. data/lib/health-data-standards/ext/node.rb +1 -2
  8. data/lib/health-data-standards/import/bulk_record_importer.rb +4 -4
  9. data/lib/health-data-standards/import/bundle/importer.rb +62 -0
  10. data/lib/health-data-standards/import/c32/insurance_provider_importer.rb +10 -8
  11. data/lib/health-data-standards/import/cat1/patient_importer.rb +3 -3
  12. data/lib/health-data-standards/import/cat1/procedure_importer.rb +42 -0
  13. data/lib/health-data-standards/import/cda/medication_importer.rb +11 -11
  14. data/lib/health-data-standards/import/cda/section_importer.rb +13 -7
  15. data/lib/health-data-standards/models/cqm/aggregate_objects.rb +5 -1
  16. data/lib/health-data-standards/models/cqm/bundle.rb +5 -3
  17. data/lib/health-data-standards/models/cqm/measure.rb +1 -1
  18. data/lib/health-data-standards/models/entry.rb +5 -1
  19. data/lib/health-data-standards/models/record.rb +10 -0
  20. data/lib/health-data-standards/models/reference.rb +23 -0
  21. data/lib/health-data-standards/models/svs/value_set.rb +4 -3
  22. data/lib/health-data-standards/railtie.rb +1 -1
  23. data/lib/health-data-standards/tasks.rb +1 -0
  24. data/lib/health-data-standards/tasks/bundle.rake +84 -2
  25. data/lib/health-data-standards/util/vs_api.rb +40 -7
  26. data/lib/health-data-standards/validate/base_validator.rb +23 -0
  27. data/lib/health-data-standards/validate/data_validator.rb +85 -0
  28. data/lib/health-data-standards/validate/measure_validator.rb +127 -0
  29. data/lib/health-data-standards/validate/performance_rate_validator.rb +94 -0
  30. data/lib/health-data-standards/validate/reported_result_extractor.rb +170 -0
  31. data/lib/health-data-standards/validate/schema_validator.rb +24 -0
  32. data/lib/health-data-standards/validate/schematron/c_processor.rb +28 -0
  33. data/lib/health-data-standards/validate/schematron/java_processor.rb +93 -0
  34. data/lib/health-data-standards/validate/schematron_validator.rb +34 -0
  35. data/lib/health-data-standards/validate/validation_error.rb +10 -0
  36. data/lib/health-data-standards/validate/validators.rb +80 -0
  37. data/lib/hqmf-generator/fulfills.xml.erb +7 -0
  38. data/lib/hqmf-generator/hqmf-generator.rb +8 -3
  39. data/lib/hqmf-model/data_criteria.rb +3 -0
  40. data/lib/hqmf-model/types.rb +29 -0
  41. data/lib/hqmf-parser/2.0/data_criteria.rb +7 -0
  42. data/lib/hqmf-parser/2.0/types.rb +24 -0
  43. data/resources/schema/infrastructure/cda/CDA_SDTC.xsd +44 -0
  44. data/resources/schema/infrastructure/cda/POCD_MT000040_SDTC.xsd +1500 -0
  45. data/resources/schema/infrastructure/cda/SDTC.xsd +210 -0
  46. data/resources/schema/processable/coreschemas/NarrativeBlock.xsd +557 -0
  47. data/resources/schema/processable/coreschemas/datatypes-base_SDTC.xsd +1850 -0
  48. data/resources/schema/processable/coreschemas/datatypes.xsd +1375 -0
  49. data/resources/schema/processable/coreschemas/infrastructureRoot.xsd +27 -0
  50. data/resources/schema/processable/coreschemas/voc.xsd +2124 -0
  51. data/resources/schematron/iso-schematron-xslt1/ExtractSchFromRNG.xsl +75 -0
  52. data/resources/schematron/iso-schematron-xslt1/ExtractSchFromXSD.xsl +77 -0
  53. data/resources/schematron/iso-schematron-xslt1/iso_abstract_expand.xsl +297 -0
  54. data/resources/schematron/iso-schematron-xslt1/iso_dsdl_include.xsl +1509 -0
  55. data/resources/schematron/iso-schematron-xslt1/iso_schematron_message.xsl +55 -0
  56. data/resources/schematron/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl +1844 -0
  57. data/resources/schematron/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl +605 -0
  58. data/resources/schematron/iso-schematron-xslt1/readme.txt +101 -0
  59. data/resources/schematron/iso-schematron-xslt1/schematron-skeleton-api.htm +723 -0
  60. data/resources/schematron/iso-schematron-xslt2/ExtractSchFromRNG-2.xsl +75 -0
  61. data/resources/schematron/iso-schematron-xslt2/ExtractSchFromXSD-2.xsl +77 -0
  62. data/resources/schematron/iso-schematron-xslt2/iso_abstract_expand.xsl +297 -0
  63. data/resources/schematron/iso-schematron-xslt2/iso_dsdl_include.xsl +1508 -0
  64. data/resources/schematron/iso-schematron-xslt2/iso_schematron_message_xslt2.xsl +55 -0
  65. data/resources/schematron/iso-schematron-xslt2/iso_schematron_skeleton_for_saxon.xsl +2299 -0
  66. data/resources/schematron/iso-schematron-xslt2/iso_svrl_for_xslt2.xsl +684 -0
  67. data/resources/schematron/iso-schematron-xslt2/readme.txt +100 -0
  68. data/resources/schematron/iso-schematron-xslt2/sch-messages-cs.xhtml +56 -0
  69. data/resources/schematron/iso-schematron-xslt2/sch-messages-de.xhtml +57 -0
  70. data/resources/schematron/iso-schematron-xslt2/sch-messages-en.xhtml +57 -0
  71. data/resources/schematron/iso-schematron-xslt2/sch-messages-fr.xhtml +54 -0
  72. data/resources/schematron/iso-schematron-xslt2/sch-messages-nl.xhtml +58 -0
  73. data/resources/schematron/iso-schematron-xslt2/schematron-skeleton-api.htm +723 -0
  74. data/resources/schematron/qrda/cat_1/CDAR2_QRDA_I_R1_D3_2015MAY_Schematron.sch +4676 -0
  75. data/resources/schematron/qrda/cat_1/voc.xml +1177 -0
  76. data/resources/schematron/qrda/cat_1_r2/QRDA Category I Release 2.sch +4069 -0
  77. data/resources/schematron/qrda/cat_1_r2/voc.xml +1065 -0
  78. data/resources/schematron/qrda/cat_3/QRDA Category III.sch +675 -0
  79. data/resources/schematron/qrda/cat_3/voc.xml +21 -0
  80. data/templates/cat1/_2.16.840.1.113883.10.20.24.3.26.cat1.erb +18 -0
  81. data/templates/cat1/_2.16.840.1.113883.10.20.24.3.32.cat1.erb +4 -0
  82. data/templates/cat1/_2.16.840.1.113883.10.20.24.3.38.cat1.erb +5 -1
  83. data/templates/cat1/_2.16.840.1.113883.10.20.24.3.4.cat1.erb +1 -0
  84. data/templates/cat1/_2.16.840.1.113883.10.20.24.3.64.cat1.erb +20 -0
  85. data/templates/cat1/_fulfills.cat1.erb +14 -0
  86. data/templates/cat1/_organization.cat1.erb +2 -1
  87. data/templates/cat1/_patient_data.cat1.erb +1 -1
  88. data/templates/cat1/show.cat1.erb +5 -4
  89. data/templates/cat3/_performance_rate.cat3.erb +5 -1
  90. data/templates/cat3/show.cat3.erb +1 -1
  91. metadata +128 -109
  92. data/lib/health-data-standards/export/ccr.rb +0 -417
  93. data/lib/health-data-standards/export/green_c32/entry.rb +0 -18
  94. data/lib/health-data-standards/export/green_c32/export_generator.rb +0 -23
  95. data/lib/health-data-standards/export/green_c32/record.rb +0 -18
  96. data/lib/health-data-standards/export/helper/gc32_view_helper.rb +0 -39
  97. data/lib/health-data-standards/import/ccr/patient_importer.rb +0 -238
  98. data/lib/health-data-standards/import/ccr/product_importer.rb +0 -60
  99. data/lib/health-data-standards/import/ccr/provider_importer.rb +0 -49
  100. data/lib/health-data-standards/import/ccr/result_importer.rb +0 -49
  101. data/lib/health-data-standards/import/ccr/section_importer.rb +0 -135
  102. data/lib/health-data-standards/import/ccr/simple_importer.rb +0 -30
  103. data/lib/health-data-standards/import/green_c32/advance_directive_importer.rb +0 -14
  104. data/lib/health-data-standards/import/green_c32/allergy_importer.rb +0 -20
  105. data/lib/health-data-standards/import/green_c32/care_goal_importer.rb +0 -26
  106. data/lib/health-data-standards/import/green_c32/condition_importer.rb +0 -38
  107. data/lib/health-data-standards/import/green_c32/encounter_importer.rb +0 -33
  108. data/lib/health-data-standards/import/green_c32/immunization_importer.rb +0 -23
  109. data/lib/health-data-standards/import/green_c32/medical_equipment_importer.rb +0 -24
  110. data/lib/health-data-standards/import/green_c32/medication_importer.rb +0 -68
  111. data/lib/health-data-standards/import/green_c32/patient_importer.rb +0 -14
  112. data/lib/health-data-standards/import/green_c32/procedure_importer.rb +0 -27
  113. data/lib/health-data-standards/import/green_c32/result_importer.rb +0 -43
  114. data/lib/health-data-standards/import/green_c32/section_importer.rb +0 -186
  115. data/lib/health-data-standards/import/green_c32/social_history_importer.rb +0 -13
  116. data/lib/health-data-standards/import/green_c32/support_importer.rb +0 -22
  117. data/lib/health-data-standards/import/green_c32/vital_sign_importer.rb +0 -21
  118. data/templates/gc32/_address.gc32.erb +0 -9
  119. data/templates/gc32/_advance_directive.gc32.erb +0 -5
  120. data/templates/gc32/_allergy.gc32.erb +0 -12
  121. data/templates/gc32/_care_goal.gc32.erb +0 -8
  122. data/templates/gc32/_condition.gc32.erb +0 -10
  123. data/templates/gc32/_encounter.gc32.erb +0 -28
  124. data/templates/gc32/_entry.gc32.erb +0 -3
  125. data/templates/gc32/_entry_attributes.gc32.erb +0 -10
  126. data/templates/gc32/_immunization.gc32.erb +0 -9
  127. data/templates/gc32/_insurance_provider.gc32.erb +0 -28
  128. data/templates/gc32/_medical_equipment.gc32.erb +0 -6
  129. data/templates/gc32/_medication.gc32.erb +0 -91
  130. data/templates/gc32/_name.gc32.erb +0 -11
  131. data/templates/gc32/_organization.gc32.erb +0 -10
  132. data/templates/gc32/_person_attributes.gc32.erb +0 -7
  133. data/templates/gc32/_procedure.gc32.erb +0 -9
  134. data/templates/gc32/_provider.gc32.erb +0 -9
  135. data/templates/gc32/_result.gc32.erb +0 -12
  136. data/templates/gc32/_social_history.gc32.erb +0 -6
  137. data/templates/gc32/_support.gc32.erb +0 -15
  138. data/templates/gc32/_telecom.gc32.erb +0 -1
  139. data/templates/gc32/_vital_sign.gc32.erb +0 -4
  140. data/templates/gc32/record.gc32.erb +0 -97
@@ -0,0 +1,34 @@
1
+ module HealthDataStandards
2
+ module Validate
3
+ module Schematron
4
+ NAMESPACE = {"svrl" => "http://purl.oclc.org/dsdl/svrl"}
5
+ DIR = File.expand_path("../../../../", __FILE__)
6
+ ISO_SCHEMATRON = File.join(DIR, 'resources/schematron/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl')
7
+
8
+ class Validator
9
+ include BaseValidator
10
+
11
+ if RUBY_PLATFORM != "java"
12
+ require_relative "schematron/c_processor"
13
+ include Schematron::CProcessor
14
+ else
15
+ require_relative 'schematron/java_processor'
16
+ include Schematron::JavaProcessor
17
+ end
18
+
19
+ def initialize(name,schematron_file)
20
+ @name = name
21
+ @schematron_file = schematron_file
22
+ end
23
+
24
+ def validate(document,data = {})
25
+ errors = get_errors(document).root.xpath("//svrl:failed-assert",NAMESPACE).map do |el|
26
+ build_error(el.xpath('svrl:text',NAMESPACE).text, el['location'], data[:file_name])
27
+ end
28
+ errors.uniq{|e| "#{e.location}#{e.message}"}
29
+ end
30
+
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,10 @@
1
+ class ValidationError
2
+ attr_accessor :message, :location, :file_name, :validator
3
+
4
+ def initialize(params={})
5
+ @location = params[:location]
6
+ @message = params[:message]
7
+ @validator = params[:validator]
8
+ @file_name = params[:file_name]
9
+ end
10
+ end
@@ -0,0 +1,80 @@
1
+ require_relative 'validation_error'
2
+ require_relative 'base_validator'
3
+ require_relative 'schema_validator'
4
+ require_relative 'schematron_validator'
5
+ require_relative 'measure_validator'
6
+ require_relative 'data_validator'
7
+ require_relative 'performance_rate_validator'
8
+
9
+ module HealthDataStandards
10
+ module Validate
11
+
12
+ CDA_SDTC_SCHEMA = 'resources/schema/infrastructure/cda/CDA_SDTC.xsd'
13
+ QRDA_CAT1_SCHEMATRON = 'resources/schematron/qrda/cat_1_r2/QRDA Category I Release 2.sch'
14
+ QRDA_CAT1_R3_SCHEMATRON = 'resources/schematron/qrda/cat_1/CDAR2_QRDA_I_R1_D3_2015MAY_Schematron.sch'
15
+ QRDA_CAT3_SCHEMATRON = 'resources/schematron/qrda/cat_3/QRDA Category III.sch'
16
+ BASE_DIR = File.expand_path("../../../../", __FILE__)
17
+
18
+ class Cat1Measure < MeasureValidator
19
+ include Singleton
20
+
21
+ def initialize()
22
+ super("2.16.840.1.113883.10.20.24.3.97")
23
+ end
24
+
25
+ end
26
+
27
+ class Cat3Measure < MeasureValidator
28
+ include Singleton
29
+
30
+ def initialize()
31
+ super("2.16.840.1.113883.10.20.27.3.1")
32
+ end
33
+
34
+ end
35
+
36
+ class CDA < Schema::Validator
37
+ include Singleton
38
+
39
+ def initialize
40
+ super("CDA SDTC Validator", File.join(BASE_DIR, CDA_SDTC_SCHEMA))
41
+ end
42
+
43
+ end
44
+
45
+ class Cat1 < Schematron::Validator
46
+ include Singleton
47
+
48
+ def initialize
49
+ super("QRDA Cat 1 R3 Validator", File.join(BASE_DIR, QRDA_CAT1_R3_SCHEMATRON))
50
+ end
51
+
52
+ end
53
+
54
+ class Cat1R2 < Schematron::Validator
55
+ include Singleton
56
+
57
+ def initialize
58
+ super("QRDA Cat 1 Validator", File.join(BASE_DIR, QRDA_CAT1_SCHEMATRON))
59
+ end
60
+
61
+ end
62
+
63
+ class Cat3 < Schematron::Validator
64
+ include Singleton
65
+
66
+ def initialize
67
+ super("QRDA Cat 3 Validator", File.join(BASE_DIR, QRDA_CAT3_SCHEMATRON))
68
+ end
69
+ end
70
+
71
+ class Cat3PerformanceRate < PerformanceRateValidator
72
+ include Singleton
73
+
74
+ #def initialize
75
+ # super("Performance Rate Validator", File.join(BASE_DIR, CDA_SDTC_SCHEMA))
76
+ #end
77
+
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,7 @@
1
+
2
+ <outboundRelationship typeCode="FLFS">
3
+ <criteriaReference classCode="<%= value.type %>" moodCode="<%= value.mood %>">
4
+ <id extension="<%= value.reference %>"
5
+ root="2.16.840.1.113883.3.100.1"/>
6
+ </criteriaReference>
7
+ </outboundRelationship>
@@ -66,9 +66,14 @@ module HQMF2
66
66
  fields = []
67
67
  if criteria.field_values
68
68
  criteria.field_values.each_pair do |key, value|
69
- details = HQMF::DataCriteria::FIELDS[key]
70
- details[:code_system_name] = HealthDataStandards::Util::CodeSystemHelper.code_system_for(details[:code_system])
71
- fields << HQMF2::Generator.render_template('field', {'details' => details, 'value' => value})
69
+ if key == "FLFS"
70
+ fields << HQMF2::Generator.render_template('fulfills', {'value' => value})
71
+ else
72
+ details = HQMF::DataCriteria::FIELDS[key]
73
+ details[:code_system_name] = HealthDataStandards::Util::CodeSystemHelper.code_system_for(details[:code_system])
74
+ details[:id] = "#{criteria.id}_#{key}"
75
+ fields << HQMF2::Generator.render_template('field', {'details' => details, 'value' => value})
76
+ end
72
77
  end
73
78
  end
74
79
  if criteria.specific_occurrence
@@ -20,6 +20,7 @@ module HQMF
20
20
  'REASON' => {title:'Reason', coded_entry_method: :reason, code: '410666004', code_system:'2.16.840.1.113883.6.96', template_id: '2.16.840.1.113883.3.560.1.1017.2', field_type: :value},
21
21
  'SOURCE' => {title:'Source', coded_entry_method: :source, code: '260753009', code_system:'2.16.840.1.113883.6.96', template_id: '2.16.840.1.113883.3.560.1.2001.2', field_type: :value},
22
22
  'CUMULATIVE_MEDICATION_DURATION' => {title:'Cumulative Medication Duration', coded_entry_method: :cumulative_medication_duration, code: '363819003', code_system:'2.16.840.1.113883.6.96', template_id: '2.16.840.1.113883.3.560.1.1001.3', field_type: :value},
23
+ 'FLFS' => {title:'Fulfills', coded_entry_method: :fulfills, code: 'FLFS', field_type: :reference},
23
24
  'FACILITY_LOCATION' => {title:'Facility Location', coded_entry_method: :facility, code: 'SDLOC', field_type: :value},
24
25
  'FACILITY_LOCATION_ARRIVAL_DATETIME' => {title:'Facility Location Arrival Date/Time', coded_entry_method: :facility_arrival, code: 'SDLOC_ARRIVAL', field_type: :nested_timestamp},
25
26
  'FACILITY_LOCATION_DEPARTURE_DATETIME' => {title:'Facility Location Departure Date/Time', coded_entry_method: :facility_departure, code: 'SDLOC_DEPARTURE', field_type: :nested_timestamp},
@@ -356,6 +357,8 @@ module HQMF
356
357
  value = HQMF::Coded.from_json(json)
357
358
  when 'ANYNonNull'
358
359
  value = HQMF::AnyValue.from_json(json)
360
+ when 'FLFS'
361
+ value = HQMF::TypedReference.from_json(json)
359
362
  else
360
363
  raise "Unknown value type [#{type}]"
361
364
  end
@@ -304,6 +304,35 @@ module HQMF
304
304
 
305
305
  end
306
306
 
307
+ # Represents a HQMF reference from a precondition to a data criteria
308
+ class TypedReference
309
+ include HQMF::Conversion::Utilities
310
+ attr_accessor :reference, :type, :mood
311
+
312
+ # Create a new HQMF::Reference
313
+ # @param [String] id
314
+ def initialize(reference,type,mood=nil)
315
+ @reference = reference
316
+ @type = type
317
+ @mood = mood
318
+ end
319
+
320
+ def self.from_json(json)
321
+ type = json["type"]
322
+ reference = json["reference"]
323
+ mood = json["mood"]
324
+ new(reference,type,mood)
325
+ end
326
+
327
+ def to_json
328
+ build_hash(self, [:type, :reference,:mood])
329
+ end
330
+
331
+ def ==(other)
332
+ check_equality(self,other)
333
+ end
334
+
335
+ end
307
336
 
308
337
  # Represents a HQMF reference from a precondition to a data criteria
309
338
  class Reference
@@ -323,6 +323,13 @@ module HQMF2
323
323
  value = Coded.new(field.at_xpath('./*/cda:participation/cda:role/cda:code', HQMF2::Document::NAMESPACES))
324
324
  fields[code_id] = value if value && code_id
325
325
  end
326
+
327
+ # special case for fulfills operator. assuming there is only a possibility of having one of these
328
+ fulfils = @entry.at_xpath('./*/cda:outboundRelationship[@typeCode="FLFS"]/cda:criteriaReference', HQMF2::Document::NAMESPACES)
329
+ if fulfils
330
+ # grab the child element if we don't have a reference
331
+ fields["FLFS"] = TypedReference.new(fulfils)
332
+ end
326
333
  fields
327
334
  end
328
335
 
@@ -224,6 +224,30 @@ module HQMF2
224
224
  end
225
225
  end
226
226
 
227
+ # Represents a HQMF reference to a data criteria that has a given type
228
+ class TypedReference
229
+ include HQMF2::Utilities
230
+ attr_accessor :id, :type, :mood
231
+
232
+ # Create a new HQMF::Reference
233
+ # @param [String] id
234
+ def initialize(entry)
235
+ @entry = entry
236
+ @type = type || attr_val('./@classCode')
237
+ @mood = attr_val('./@moodCode')
238
+ @entry = entry.elements.first unless entry.at_xpath('./@extension')
239
+ end
240
+
241
+ def reference
242
+ attr_val('./@extension')
243
+ end
244
+
245
+ def to_model
246
+ HQMF::TypedReference.new(reference,@type,@mood)
247
+ end
248
+
249
+ end
250
+
227
251
  # Represents a HQMF reference from a precondition to a data criteria
228
252
  class Reference
229
253
  include HQMF2::Utilities
@@ -0,0 +1,44 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <xs:schema targetNamespace="urn:hl7-org:v3" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sdtc="urn:hl7-org:sdtc" xmlns="urn:hl7-org:v3" xmlns:mif="urn:hl7-org:v3/mif"
3
+ elementFormDefault="qualified">
4
+ <xs:annotation>
5
+ <xs:documentation>XML schema for message type POCD_MT000040.</xs:documentation>
6
+ <xs:documentation>
7
+ Copyright (c) 2015 Health Level Seven.
8
+ All rights reserved.
9
+
10
+ Redistribution and use in source and binary forms, with or
11
+ without modification, are permitted provided that the following
12
+ conditions are met:
13
+ 1. Redistributions of source code must retain the above
14
+ copyright notice, this list of conditions and the following
15
+ disclaimer.
16
+ 2. Redistributions in binary form must reproduce the above
17
+ copyright notice, this list of conditions and the following
18
+ disclaimer in the documentation and/or other materials
19
+ provided with the distribution.
20
+ 3. All advertising materials mentioning features or use of this
21
+ software must display the following acknowledgement:
22
+
23
+ This product includes software developed by Health Level Seven.
24
+
25
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS
26
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
27
+ NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
28
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
29
+ SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
30
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
32
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
34
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
35
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
37
+ DAMAGE.
38
+ </xs:documentation>
39
+ <xs:documentation>2012-07-06 Created CDA_SDTC.xsd (this file) which is an edited version of CDA.xsd pointing to extension namespace SDTC.</xs:documentation>
40
+ </xs:annotation>
41
+ <!-- Edited to point to new file with extensions -->
42
+ <xs:include schemaLocation="POCD_MT000040_SDTC.xsd"/>
43
+ <xs:element name="ClinicalDocument" type="POCD_MT000040.ClinicalDocument"/>
44
+ </xs:schema>
@@ -0,0 +1,1500 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <xs:schema targetNamespace="urn:hl7-org:v3" xmlns:mif="urn:hl7-org:v3/mif" xmlns="urn:hl7-org:v3"
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:sdtc="urn:hl7-org:sdtc">
4
+ <xs:annotation>
5
+ <xs:documentation>XML schema for message type POCD_MT000040.</xs:documentation>
6
+ <xs:documentation>
7
+ Copyright (c) 2015 Health Level Seven.
8
+ All rights reserved.
9
+
10
+ Redistribution and use in source and binary forms, with or
11
+ without modification, are permitted provided that the following
12
+ conditions are met:
13
+ 1. Redistributions of source code must retain the above
14
+ copyright notice, this list of conditions and the following
15
+ disclaimer.
16
+ 2. Redistributions in binary form must reproduce the above
17
+ copyright notice, this list of conditions and the following
18
+ disclaimer in the documentation and/or other materials
19
+ provided with the distribution.
20
+ 3. All advertising materials mentioning features or use of this
21
+ software must display the following acknowledgement:
22
+
23
+ This product includes software developed by Health Level Seven.
24
+
25
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS
26
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
27
+ NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
28
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
29
+ SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
30
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
32
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
34
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
35
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
37
+ DAMAGE.
38
+ </xs:documentation>
39
+ <xs:documentation>
40
+ 2012-07-06 Created POCD_MT000040_SDTC.xsd (this file) this file is an edited version of POCD_MT000040.xsd that contains the SDTC extensions.
41
+ </xs:documentation>
42
+ <xs:documentation>
43
+ 2012-07-06 Added extensions approved by SDWG prior to 2012-07-06:
44
+ RelatedSubject/sdtc:id,
45
+ SubjectPerson/sdtc:id,
46
+ Patient/sdtc:deceasedInd,
47
+ SubjectPerson/sdtc:deceasedInd,
48
+ Patient/sdtc:deceasedTime,
49
+ SubjectPerson/sdtc:deceasedTime,
50
+ Encounter/sdtc:dischargeDispositionCode,
51
+ Patient/sdtc:raceCode,
52
+ SubjectPerson/sdtc:raceCode,
53
+ PlayingEntity/sdtc:birthTime
54
+ </xs:documentation>
55
+ <xs:documentation>
56
+ 2014-07-14 Added extensions approved by SDWG on xxxx date:
57
+ Authenticator/sdtc:signatureText,
58
+ LegalAuthenticator/sdtc:signatureText
59
+ </xs:documentation>
60
+ <xs:documentation>
61
+ 2015-04-01 Added extensions approved by SDWG on 2014-11-xx:
62
+ Patient/sdtc:multipleBirthInd,
63
+ SubjectPerson/sdtc:multipleBirthInd,
64
+ Patient/sdtc:multipleBirthOrderNumber,
65
+ SubjectPerson/sdtc:multipleBirthOrderNumber
66
+ Added extensions approved by SDWG on 2014-12-18:
67
+ Patient/sdtc:ethnicGroupCode,
68
+ SubjectPerson/sdtc:ethnicGroupCode
69
+ </xs:documentation>
70
+ <xs:documentation>
71
+ 2015-04-01 Added extension approved by SDWG on 2014-01-xx:
72
+ ClinicalDocument/sdtc:statusCode
73
+ </xs:documentation>
74
+ <xs:documentation>
75
+ 2015-04-01 Added extension approved by SDWG on 2015-03-05:
76
+ Patient/sdtc:desc
77
+ SubjectPerson/sdtc:desc
78
+ Person/sdtc:desc
79
+ </xs:documentation>
80
+ <xs:documentation>
81
+ 2015-04-01 Added extension approved by SDWG on 2015-03-05:
82
+ AssignedEntity/sdtc:patient
83
+ </xs:documentation>
84
+ <xs:documentation>
85
+ 2015-04-01 Added extension approved by SDWG on 2015-03-19:
86
+ Observation/sdtc:inFulfillmentOf1
87
+ SubstanceAdministration/sdtc:inFulfillmentOf1
88
+ Supply/sdtc:inFulfillmentOf1
89
+ Procedure/sdtc:inFulfillmentOf1
90
+ Encounter/sdtc:inFulfillmentOf1
91
+ Act/sdtc:inFulfillmentOf1
92
+ </xs:documentation>
93
+ <xs:documentation>
94
+ 2015-04-01 Added extension approved by SDWG on 2015-03-05:
95
+ Person/sdtc:asPatientRelationship
96
+ </xs:documentation>
97
+
98
+ </xs:annotation>
99
+ <xs:include schemaLocation="../../processable/coreschemas/datatypes.xsd" />
100
+ <xs:include schemaLocation="../../processable/coreschemas/voc.xsd" />
101
+ <xs:include schemaLocation="../../processable/coreschemas/NarrativeBlock.xsd" />
102
+ <!-- Added SDTC namespace which holds the SDTC extensions -->
103
+ <xs:import namespace="urn:hl7-org:sdtc" schemaLocation="SDTC.xsd" />
104
+ <xs:complexType name="POCD_MT000040.InfrastructureRoot.typeId">
105
+ <xs:complexContent>
106
+ <xs:restriction base="II">
107
+ <xs:attribute name="root" type="uid" use="required" fixed="2.16.840.1.113883.1.3" />
108
+ <xs:attribute name="extension" type="st" use="required" />
109
+ </xs:restriction>
110
+ </xs:complexContent>
111
+ </xs:complexType>
112
+ <xs:complexType name="POCD_MT000040.Act">
113
+ <xs:sequence>
114
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
115
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
116
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
117
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
118
+ <xs:element name="code" type="CD" />
119
+ <xs:element name="text" type="ED" minOccurs="0" />
120
+ <xs:element name="statusCode" type="CS" minOccurs="0" />
121
+ <xs:element name="effectiveTime" type="IVL_TS" minOccurs="0" />
122
+ <xs:element name="priorityCode" type="CE" minOccurs="0" />
123
+ <xs:element name="languageCode" type="CS" minOccurs="0" />
124
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
125
+ <xs:element name="specimen" type="POCD_MT000040.Specimen" minOccurs="0" maxOccurs="unbounded" />
126
+ <xs:element name="performer" type="POCD_MT000040.Performer2" minOccurs="0" maxOccurs="unbounded" />
127
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
128
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
129
+ <xs:element name="participant" type="POCD_MT000040.Participant2" minOccurs="0" maxOccurs="unbounded" />
130
+ <xs:element name="entryRelationship" type="POCD_MT000040.EntryRelationship" minOccurs="0"
131
+ maxOccurs="unbounded" />
132
+ <xs:element name="reference" type="POCD_MT000040.Reference" minOccurs="0" maxOccurs="unbounded" />
133
+ <xs:element name="precondition" type="POCD_MT000040.Precondition" minOccurs="0" maxOccurs="unbounded" />
134
+ <!-- Begin Extension: (SDTC) -->
135
+ <xs:element ref="sdtc:inFulfillmentOf1" minOccurs="0" maxOccurs="unbounded" />
136
+ <!-- End Extension: (SDTC) -->
137
+ </xs:sequence>
138
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
139
+ <xs:attribute name="classCode" type="x_ActClassDocumentEntryAct" use="required" />
140
+ <xs:attribute name="moodCode" type="x_DocumentActMood" use="required" />
141
+ <xs:attribute name="negationInd" type="bl" use="optional" />
142
+ </xs:complexType>
143
+ <xs:complexType name="POCD_MT000040.AssignedAuthor">
144
+ <xs:sequence>
145
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
146
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
147
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
148
+ <xs:element name="id" type="II" maxOccurs="unbounded" />
149
+ <xs:element name="code" type="CE" minOccurs="0" />
150
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
151
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
152
+ <xs:choice>
153
+ <xs:element name="assignedPerson" type="POCD_MT000040.Person" minOccurs="0" />
154
+ <xs:element name="assignedAuthoringDevice" type="POCD_MT000040.AuthoringDevice" minOccurs="0" />
155
+ </xs:choice>
156
+ <xs:element name="representedOrganization" type="POCD_MT000040.Organization" minOccurs="0" />
157
+ </xs:sequence>
158
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
159
+ <xs:attribute name="classCode" type="RoleClassAssignedEntity" use="optional" fixed="ASSIGNED" />
160
+ </xs:complexType>
161
+ <xs:complexType name="POCD_MT000040.AssignedCustodian">
162
+ <xs:sequence>
163
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
164
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
165
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
166
+ <xs:element name="representedCustodianOrganization" type="POCD_MT000040.CustodianOrganization" />
167
+ </xs:sequence>
168
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
169
+ <xs:attribute name="classCode" type="RoleClassAssignedEntity" use="optional" fixed="ASSIGNED" />
170
+ </xs:complexType>
171
+ <xs:complexType name="POCD_MT000040.AssignedEntity">
172
+ <xs:sequence>
173
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
174
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
175
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
176
+ <xs:element name="id" type="II" maxOccurs="unbounded" />
177
+ <xs:element name="code" type="CE" minOccurs="0" />
178
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
179
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
180
+ <xs:element name="assignedPerson" type="POCD_MT000040.Person" minOccurs="0" />
181
+ <xs:element name="representedOrganization" type="POCD_MT000040.Organization" minOccurs="0" />
182
+ <!-- Begin Extension: (SDTC) -->
183
+ <xs:element ref="sdtc:patient" minOccurs="0" />
184
+ <!-- End Extension: (SDTC) -->
185
+ </xs:sequence>
186
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
187
+ <xs:attribute name="classCode" type="RoleClassAssignedEntity" use="optional" fixed="ASSIGNED" />
188
+ </xs:complexType>
189
+ <xs:complexType name="POCD_MT000040.AssociatedEntity">
190
+ <xs:sequence>
191
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
192
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
193
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
194
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
195
+ <xs:element name="code" type="CE" minOccurs="0" />
196
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
197
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
198
+ <xs:element name="associatedPerson" type="POCD_MT000040.Person" minOccurs="0" />
199
+ <xs:element name="scopingOrganization" type="POCD_MT000040.Organization" minOccurs="0" />
200
+ </xs:sequence>
201
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
202
+ <xs:attribute name="classCode" type="RoleClassAssociative" use="required" />
203
+ </xs:complexType>
204
+ <xs:complexType name="POCD_MT000040.Authenticator">
205
+ <xs:sequence>
206
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
207
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
208
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
209
+ <xs:element name="time" type="TS" />
210
+ <xs:element name="signatureCode" type="CS" />
211
+ <!-- Begin Extension: (SDTC) -->
212
+ <xs:element ref="sdtc:signatureText" minOccurs="0" />
213
+ <!-- End Extension: (SDTC) -->
214
+ <xs:element name="assignedEntity" type="POCD_MT000040.AssignedEntity" />
215
+ </xs:sequence>
216
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
217
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="AUTHEN" />
218
+ </xs:complexType>
219
+ <xs:complexType name="POCD_MT000040.Author">
220
+ <xs:sequence>
221
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
222
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
223
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
224
+ <xs:element name="functionCode" type="CE" minOccurs="0" />
225
+ <xs:element name="time" type="TS" />
226
+ <xs:element name="assignedAuthor" type="POCD_MT000040.AssignedAuthor" />
227
+ </xs:sequence>
228
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
229
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="AUT" />
230
+ <xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP" />
231
+ </xs:complexType>
232
+ <xs:complexType name="POCD_MT000040.AuthoringDevice">
233
+ <xs:sequence>
234
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
235
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
236
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
237
+ <xs:element name="code" type="CE" minOccurs="0" />
238
+ <xs:element name="manufacturerModelName" type="SC" minOccurs="0" />
239
+ <xs:element name="softwareName" type="SC" minOccurs="0" />
240
+ <xs:element name="asMaintainedEntity" type="POCD_MT000040.MaintainedEntity" minOccurs="0"
241
+ maxOccurs="unbounded" />
242
+ </xs:sequence>
243
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
244
+ <xs:attribute name="classCode" type="EntityClassDevice" use="optional" fixed="DEV" />
245
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
246
+ </xs:complexType>
247
+ <xs:complexType name="POCD_MT000040.Authorization">
248
+ <xs:sequence>
249
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
250
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
251
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
252
+ <xs:element name="consent" type="POCD_MT000040.Consent" />
253
+ </xs:sequence>
254
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
255
+ <xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="AUTH" />
256
+ </xs:complexType>
257
+ <xs:complexType name="POCD_MT000040.Birthplace">
258
+ <xs:sequence>
259
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
260
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
261
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
262
+ <xs:element name="place" type="POCD_MT000040.Place" />
263
+ </xs:sequence>
264
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
265
+ <xs:attribute name="classCode" type="RoleClass" use="optional" fixed="BIRTHPL" />
266
+ </xs:complexType>
267
+ <xs:complexType name="POCD_MT000040.ClinicalDocument">
268
+ <xs:sequence>
269
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
270
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" />
271
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
272
+ <xs:element name="id" type="II" />
273
+ <xs:element name="code" type="CE" />
274
+ <xs:element name="title" type="ST" minOccurs="0" />
275
+ <!-- Begin Extension: (SDTC) -->
276
+ <xs:element ref="sdtc:statusCode" minOccurs="0" />
277
+ <!-- End Extension: (SDTC) -->
278
+ <xs:element name="effectiveTime" type="TS" />
279
+ <xs:element name="confidentialityCode" type="CE" />
280
+ <xs:element name="languageCode" type="CS" minOccurs="0" />
281
+ <xs:element name="setId" type="II" minOccurs="0" />
282
+ <xs:element name="versionNumber" type="INT" minOccurs="0" />
283
+ <xs:element name="copyTime" type="TS" minOccurs="0" />
284
+ <xs:element name="recordTarget" type="POCD_MT000040.RecordTarget" maxOccurs="unbounded" />
285
+ <xs:element name="author" type="POCD_MT000040.Author" maxOccurs="unbounded" />
286
+ <xs:element name="dataEnterer" type="POCD_MT000040.DataEnterer" minOccurs="0" />
287
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
288
+ <xs:element name="custodian" type="POCD_MT000040.Custodian" />
289
+ <xs:element name="informationRecipient" type="POCD_MT000040.InformationRecipient" minOccurs="0"
290
+ maxOccurs="unbounded" />
291
+ <xs:element name="legalAuthenticator" type="POCD_MT000040.LegalAuthenticator" minOccurs="0" />
292
+ <xs:element name="authenticator" type="POCD_MT000040.Authenticator" minOccurs="0" maxOccurs="unbounded" />
293
+ <xs:element name="participant" type="POCD_MT000040.Participant1" minOccurs="0" maxOccurs="unbounded" />
294
+ <xs:element name="inFulfillmentOf" type="POCD_MT000040.InFulfillmentOf" minOccurs="0" maxOccurs="unbounded" />
295
+ <xs:element name="documentationOf" type="POCD_MT000040.DocumentationOf" minOccurs="0" maxOccurs="unbounded" />
296
+ <xs:element name="relatedDocument" type="POCD_MT000040.RelatedDocument" minOccurs="0" maxOccurs="unbounded" />
297
+ <xs:element name="authorization" type="POCD_MT000040.Authorization" minOccurs="0" maxOccurs="unbounded" />
298
+ <xs:element name="componentOf" type="POCD_MT000040.Component1" minOccurs="0" />
299
+ <xs:element name="component" type="POCD_MT000040.Component2" />
300
+ </xs:sequence>
301
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
302
+ <xs:attribute name="classCode" type="ActClinicalDocument" use="optional" fixed="DOCCLIN" />
303
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
304
+ </xs:complexType>
305
+ <xs:complexType name="POCD_MT000040.Component1">
306
+ <xs:sequence>
307
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
308
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
309
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
310
+ <xs:element name="encompassingEncounter" type="POCD_MT000040.EncompassingEncounter" />
311
+ </xs:sequence>
312
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
313
+ <xs:attribute name="typeCode" type="ActRelationshipHasComponent" use="optional" fixed="COMP" />
314
+ </xs:complexType>
315
+ <xs:complexType name="POCD_MT000040.Component2">
316
+ <xs:sequence>
317
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
318
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
319
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
320
+ <xs:choice>
321
+ <xs:element name="nonXMLBody" type="POCD_MT000040.NonXMLBody" />
322
+ <xs:element name="structuredBody" type="POCD_MT000040.StructuredBody" />
323
+ </xs:choice>
324
+ </xs:sequence>
325
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
326
+ <xs:attribute name="typeCode" type="ActRelationshipHasComponent" use="optional" fixed="COMP" />
327
+ <xs:attribute name="contextConductionInd" type="bl" use="optional" fixed="true" />
328
+ </xs:complexType>
329
+ <xs:complexType name="POCD_MT000040.Component3">
330
+ <xs:sequence>
331
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
332
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
333
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
334
+ <xs:element name="section" type="POCD_MT000040.Section" />
335
+ </xs:sequence>
336
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
337
+ <xs:attribute name="typeCode" type="ActRelationshipHasComponent" use="optional" fixed="COMP" />
338
+ <xs:attribute name="contextConductionInd" type="bl" use="optional" fixed="true" />
339
+ </xs:complexType>
340
+ <xs:complexType name="POCD_MT000040.Component4">
341
+ <xs:sequence>
342
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
343
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
344
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
345
+ <xs:element name="sequenceNumber" type="INT" minOccurs="0" />
346
+ <xs:element name="seperatableInd" type="BL" minOccurs="0" />
347
+ <xs:choice>
348
+ <xs:element name="act" type="POCD_MT000040.Act" />
349
+ <xs:element name="encounter" type="POCD_MT000040.Encounter" />
350
+ <xs:element name="observation" type="POCD_MT000040.Observation" />
351
+ <xs:element name="observationMedia" type="POCD_MT000040.ObservationMedia" />
352
+ <xs:element name="organizer" type="POCD_MT000040.Organizer" />
353
+ <xs:element name="procedure" type="POCD_MT000040.Procedure" />
354
+ <xs:element name="regionOfInterest" type="POCD_MT000040.RegionOfInterest" />
355
+ <xs:element name="substanceAdministration" type="POCD_MT000040.SubstanceAdministration" />
356
+ <xs:element name="supply" type="POCD_MT000040.Supply" />
357
+ </xs:choice>
358
+ </xs:sequence>
359
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
360
+ <xs:attribute name="typeCode" type="ActRelationshipHasComponent" use="optional" fixed="COMP" />
361
+ <xs:attribute name="contextConductionInd" type="bl" use="optional" fixed="true" />
362
+ </xs:complexType>
363
+ <xs:complexType name="POCD_MT000040.Component5">
364
+ <xs:sequence>
365
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
366
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
367
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
368
+ <xs:element name="section" type="POCD_MT000040.Section" />
369
+ </xs:sequence>
370
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
371
+ <xs:attribute name="typeCode" type="ActRelationshipHasComponent" use="optional" fixed="COMP" />
372
+ <xs:attribute name="contextConductionInd" type="bl" use="optional" fixed="true" />
373
+ </xs:complexType>
374
+ <xs:complexType name="POCD_MT000040.Consent">
375
+ <xs:sequence>
376
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
377
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
378
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
379
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
380
+ <xs:element name="code" type="CE" minOccurs="0" />
381
+ <xs:element name="statusCode" type="CS" />
382
+ </xs:sequence>
383
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
384
+ <xs:attribute name="classCode" type="ActClass" use="optional" fixed="CONS" />
385
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
386
+ </xs:complexType>
387
+ <xs:complexType name="POCD_MT000040.Consumable">
388
+ <xs:sequence>
389
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
390
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
391
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
392
+ <xs:element name="manufacturedProduct" type="POCD_MT000040.ManufacturedProduct" />
393
+ </xs:sequence>
394
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
395
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="CSM" />
396
+ </xs:complexType>
397
+ <xs:complexType name="POCD_MT000040.Criterion">
398
+ <xs:sequence>
399
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
400
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
401
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
402
+ <xs:element name="code" type="CD" minOccurs="0" />
403
+ <xs:element name="text" type="ED" minOccurs="0" />
404
+ <xs:element name="value" type="ANY" minOccurs="0" />
405
+ </xs:sequence>
406
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
407
+ <xs:attribute name="classCode" type="ActClassObservation" use="optional" default="OBS" />
408
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN.CRT" />
409
+ </xs:complexType>
410
+ <xs:complexType name="POCD_MT000040.Custodian">
411
+ <xs:sequence>
412
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
413
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
414
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
415
+ <xs:element name="assignedCustodian" type="POCD_MT000040.AssignedCustodian" />
416
+ </xs:sequence>
417
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
418
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="CST" />
419
+ </xs:complexType>
420
+ <xs:complexType name="POCD_MT000040.CustodianOrganization">
421
+ <xs:sequence>
422
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
423
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
424
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
425
+ <xs:element name="id" type="II" maxOccurs="unbounded" />
426
+ <xs:element name="name" type="ON" minOccurs="0" />
427
+ <xs:element name="telecom" type="TEL" minOccurs="0" />
428
+ <xs:element name="addr" type="AD" minOccurs="0" />
429
+ </xs:sequence>
430
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
431
+ <xs:attribute name="classCode" type="EntityClassOrganization" use="optional" fixed="ORG" />
432
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
433
+ </xs:complexType>
434
+ <xs:complexType name="POCD_MT000040.DataEnterer">
435
+ <xs:sequence>
436
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
437
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
438
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
439
+ <xs:element name="time" type="TS" minOccurs="0" />
440
+ <xs:element name="assignedEntity" type="POCD_MT000040.AssignedEntity" />
441
+ </xs:sequence>
442
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
443
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="ENT" />
444
+ <xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP" />
445
+ </xs:complexType>
446
+ <xs:complexType name="POCD_MT000040.Device">
447
+ <xs:sequence>
448
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
449
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
450
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
451
+ <xs:element name="code" type="CE" minOccurs="0" />
452
+ <xs:element name="manufacturerModelName" type="SC" minOccurs="0" />
453
+ <xs:element name="softwareName" type="SC" minOccurs="0" />
454
+ </xs:sequence>
455
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
456
+ <xs:attribute name="classCode" type="EntityClassDevice" use="optional" default="DEV" />
457
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
458
+ </xs:complexType>
459
+ <xs:complexType name="POCD_MT000040.DocumentationOf">
460
+ <xs:sequence>
461
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
462
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
463
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
464
+ <xs:element name="serviceEvent" type="POCD_MT000040.ServiceEvent" />
465
+ </xs:sequence>
466
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
467
+ <xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="DOC" />
468
+ </xs:complexType>
469
+ <xs:complexType name="POCD_MT000040.EncompassingEncounter">
470
+ <xs:sequence>
471
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
472
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
473
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
474
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
475
+ <xs:element name="code" type="CE" minOccurs="0" />
476
+ <xs:element name="effectiveTime" type="IVL_TS" />
477
+ <xs:element name="dischargeDispositionCode" type="CE" minOccurs="0" />
478
+ <xs:element name="responsibleParty" type="POCD_MT000040.ResponsibleParty" minOccurs="0" />
479
+ <xs:element name="encounterParticipant" type="POCD_MT000040.EncounterParticipant" minOccurs="0"
480
+ maxOccurs="unbounded" />
481
+ <xs:element name="location" type="POCD_MT000040.Location" minOccurs="0" />
482
+ </xs:sequence>
483
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
484
+ <xs:attribute name="classCode" type="ActClass" use="optional" fixed="ENC" />
485
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
486
+ </xs:complexType>
487
+ <xs:complexType name="POCD_MT000040.Encounter">
488
+ <xs:sequence>
489
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
490
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
491
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
492
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
493
+ <xs:element name="code" type="CD" minOccurs="0" />
494
+ <xs:element name="text" type="ED" minOccurs="0" />
495
+ <xs:element name="statusCode" type="CS" minOccurs="0" />
496
+ <xs:element name="effectiveTime" type="IVL_TS" minOccurs="0" />
497
+ <!-- Begin Extension: (SDTC) -->
498
+ <xs:element ref="sdtc:dischargeDispositionCode" minOccurs="0" />
499
+ <!-- End Extension: (SDTC) -->
500
+ <xs:element name="priorityCode" type="CE" minOccurs="0" />
501
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
502
+ <xs:element name="specimen" type="POCD_MT000040.Specimen" minOccurs="0" maxOccurs="unbounded" />
503
+ <xs:element name="performer" type="POCD_MT000040.Performer2" minOccurs="0" maxOccurs="unbounded" />
504
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
505
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
506
+ <xs:element name="participant" type="POCD_MT000040.Participant2" minOccurs="0" maxOccurs="unbounded" />
507
+ <xs:element name="entryRelationship" type="POCD_MT000040.EntryRelationship" minOccurs="0"
508
+ maxOccurs="unbounded" />
509
+ <xs:element name="reference" type="POCD_MT000040.Reference" minOccurs="0" maxOccurs="unbounded" />
510
+ <xs:element name="precondition" type="POCD_MT000040.Precondition" minOccurs="0" maxOccurs="unbounded" />
511
+ <!-- Begin Extension: (SDTC) -->
512
+ <xs:element ref="sdtc:inFulfillmentOf1" minOccurs="0" maxOccurs="unbounded" />
513
+ <!-- End Extension: (SDTC) -->
514
+ </xs:sequence>
515
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
516
+ <xs:attribute name="classCode" type="ActClass" use="required" />
517
+ <xs:attribute name="moodCode" type="x_DocumentEncounterMood" use="required" />
518
+ </xs:complexType>
519
+ <xs:complexType name="POCD_MT000040.EncounterParticipant">
520
+ <xs:sequence>
521
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
522
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
523
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
524
+ <xs:element name="time" type="IVL_TS" minOccurs="0" />
525
+ <xs:element name="assignedEntity" type="POCD_MT000040.AssignedEntity" />
526
+ </xs:sequence>
527
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
528
+ <xs:attribute name="typeCode" type="x_EncounterParticipant" use="required" />
529
+ </xs:complexType>
530
+ <xs:complexType name="POCD_MT000040.Entity">
531
+ <xs:sequence>
532
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
533
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
534
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
535
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
536
+ <xs:element name="code" type="CE" minOccurs="0" />
537
+ <xs:element name="desc" type="ED" minOccurs="0" />
538
+ </xs:sequence>
539
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
540
+ <xs:attribute name="classCode" type="EntityClassRoot" use="optional" default="ENT" />
541
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
542
+ </xs:complexType>
543
+ <xs:complexType name="POCD_MT000040.Entry">
544
+ <xs:sequence>
545
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
546
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
547
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
548
+ <xs:choice>
549
+ <xs:element name="act" type="POCD_MT000040.Act" />
550
+ <xs:element name="encounter" type="POCD_MT000040.Encounter" />
551
+ <xs:element name="observation" type="POCD_MT000040.Observation" />
552
+ <xs:element name="observationMedia" type="POCD_MT000040.ObservationMedia" />
553
+ <xs:element name="organizer" type="POCD_MT000040.Organizer" />
554
+ <xs:element name="procedure" type="POCD_MT000040.Procedure" />
555
+ <xs:element name="regionOfInterest" type="POCD_MT000040.RegionOfInterest" />
556
+ <xs:element name="substanceAdministration" type="POCD_MT000040.SubstanceAdministration" />
557
+ <xs:element name="supply" type="POCD_MT000040.Supply" />
558
+ </xs:choice>
559
+ </xs:sequence>
560
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
561
+ <xs:attribute name="typeCode" type="x_ActRelationshipEntry" use="optional" default="COMP" />
562
+ <xs:attribute name="contextConductionInd" type="bl" use="optional" fixed="true" />
563
+ </xs:complexType>
564
+ <xs:complexType name="POCD_MT000040.EntryRelationship">
565
+ <xs:sequence>
566
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
567
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
568
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
569
+ <xs:element name="sequenceNumber" type="INT" minOccurs="0" />
570
+ <xs:element name="seperatableInd" type="BL" minOccurs="0" />
571
+ <xs:choice>
572
+ <xs:element name="act" type="POCD_MT000040.Act" />
573
+ <xs:element name="encounter" type="POCD_MT000040.Encounter" />
574
+ <xs:element name="observation" type="POCD_MT000040.Observation" />
575
+ <xs:element name="observationMedia" type="POCD_MT000040.ObservationMedia" />
576
+ <xs:element name="organizer" type="POCD_MT000040.Organizer" />
577
+ <xs:element name="procedure" type="POCD_MT000040.Procedure" />
578
+ <xs:element name="regionOfInterest" type="POCD_MT000040.RegionOfInterest" />
579
+ <xs:element name="substanceAdministration" type="POCD_MT000040.SubstanceAdministration" />
580
+ <xs:element name="supply" type="POCD_MT000040.Supply" />
581
+ </xs:choice>
582
+ </xs:sequence>
583
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
584
+ <xs:attribute name="typeCode" type="x_ActRelationshipEntryRelationship" use="required" />
585
+ <xs:attribute name="inversionInd" type="bl" use="optional" />
586
+ <xs:attribute name="contextConductionInd" type="bl" use="optional" default="true" />
587
+ <xs:attribute name="negationInd" type="bl" use="optional" />
588
+ </xs:complexType>
589
+ <xs:complexType name="POCD_MT000040.ExternalAct">
590
+ <xs:sequence>
591
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
592
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
593
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
594
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
595
+ <xs:element name="code" type="CD" minOccurs="0" />
596
+ <xs:element name="text" type="ED" minOccurs="0" />
597
+ </xs:sequence>
598
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
599
+ <xs:attribute name="classCode" type="ActClassRoot" use="optional" default="ACT" />
600
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
601
+ </xs:complexType>
602
+ <xs:complexType name="POCD_MT000040.ExternalDocument">
603
+ <xs:sequence>
604
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
605
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
606
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
607
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
608
+ <xs:element name="code" type="CD" minOccurs="0" />
609
+ <xs:element name="text" type="ED" minOccurs="0" />
610
+ <xs:element name="setId" type="II" minOccurs="0" />
611
+ <xs:element name="versionNumber" type="INT" minOccurs="0" />
612
+ </xs:sequence>
613
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
614
+ <xs:attribute name="classCode" type="ActClassDocument" use="optional" default="DOC" />
615
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
616
+ </xs:complexType>
617
+ <xs:complexType name="POCD_MT000040.ExternalObservation">
618
+ <xs:sequence>
619
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
620
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
621
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
622
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
623
+ <xs:element name="code" type="CD" minOccurs="0" />
624
+ <xs:element name="text" type="ED" minOccurs="0" />
625
+ </xs:sequence>
626
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
627
+ <xs:attribute name="classCode" type="ActClassObservation" use="optional" default="OBS" />
628
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
629
+ </xs:complexType>
630
+ <xs:complexType name="POCD_MT000040.ExternalProcedure">
631
+ <xs:sequence>
632
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
633
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
634
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
635
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
636
+ <xs:element name="code" type="CD" minOccurs="0" />
637
+ <xs:element name="text" type="ED" minOccurs="0" />
638
+ </xs:sequence>
639
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
640
+ <xs:attribute name="classCode" type="ActClass" use="optional" fixed="PROC" />
641
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
642
+ </xs:complexType>
643
+ <xs:complexType name="POCD_MT000040.Guardian">
644
+ <xs:sequence>
645
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
646
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
647
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
648
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
649
+ <xs:element name="code" type="CE" minOccurs="0" />
650
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
651
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
652
+ <xs:choice>
653
+ <xs:element name="guardianPerson" type="POCD_MT000040.Person" />
654
+ <xs:element name="guardianOrganization" type="POCD_MT000040.Organization" />
655
+ </xs:choice>
656
+ </xs:sequence>
657
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
658
+ <xs:attribute name="classCode" type="RoleClass" use="optional" fixed="GUARD" />
659
+ </xs:complexType>
660
+ <xs:complexType name="POCD_MT000040.HealthCareFacility">
661
+ <xs:sequence>
662
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
663
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
664
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
665
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
666
+ <xs:element name="code" type="CE" minOccurs="0" />
667
+ <xs:element name="location" type="POCD_MT000040.Place" minOccurs="0" />
668
+ <xs:element name="serviceProviderOrganization" type="POCD_MT000040.Organization" minOccurs="0" />
669
+ </xs:sequence>
670
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
671
+ <xs:attribute name="classCode" type="RoleClassServiceDeliveryLocation" use="optional" default="SDLOC" />
672
+ </xs:complexType>
673
+ <xs:complexType name="POCD_MT000040.Informant12">
674
+ <xs:sequence>
675
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
676
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
677
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
678
+ <xs:choice>
679
+ <xs:element name="assignedEntity" type="POCD_MT000040.AssignedEntity" />
680
+ <xs:element name="relatedEntity" type="POCD_MT000040.RelatedEntity" />
681
+ </xs:choice>
682
+ </xs:sequence>
683
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
684
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="INF" />
685
+ <xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP" />
686
+ </xs:complexType>
687
+ <xs:complexType name="POCD_MT000040.InformationRecipient">
688
+ <xs:sequence>
689
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
690
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
691
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
692
+ <xs:element name="intendedRecipient" type="POCD_MT000040.IntendedRecipient" />
693
+ </xs:sequence>
694
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
695
+ <xs:attribute name="typeCode" type="x_InformationRecipient" use="optional" default="PRCP" />
696
+ </xs:complexType>
697
+ <xs:complexType name="POCD_MT000040.InFulfillmentOf">
698
+ <xs:sequence>
699
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
700
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
701
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
702
+ <xs:element name="order" type="POCD_MT000040.Order" />
703
+ </xs:sequence>
704
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
705
+ <xs:attribute name="typeCode" type="ActRelationshipFulfills" use="optional" fixed="FLFS" />
706
+ </xs:complexType>
707
+ <xs:complexType name="POCD_MT000040.IntendedRecipient">
708
+ <xs:sequence>
709
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
710
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
711
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
712
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
713
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
714
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
715
+ <xs:element name="informationRecipient" type="POCD_MT000040.Person" minOccurs="0" />
716
+ <xs:element name="receivedOrganization" type="POCD_MT000040.Organization" minOccurs="0" />
717
+ </xs:sequence>
718
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
719
+ <xs:attribute name="classCode" type="x_InformationRecipientRole" use="optional" default="ASSIGNED" />
720
+ </xs:complexType>
721
+ <xs:complexType name="POCD_MT000040.LabeledDrug">
722
+ <xs:sequence>
723
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
724
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
725
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
726
+ <xs:element name="code" type="CE" minOccurs="0" />
727
+ <xs:element name="name" type="EN" minOccurs="0" />
728
+ </xs:sequence>
729
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
730
+ <xs:attribute name="classCode" type="EntityClassManufacturedMaterial" use="optional" fixed="MMAT" />
731
+ <xs:attribute name="determinerCode" type="EntityDeterminerDetermined" use="optional" fixed="KIND" />
732
+ </xs:complexType>
733
+ <xs:complexType name="POCD_MT000040.LanguageCommunication">
734
+ <xs:sequence>
735
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
736
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
737
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
738
+ <xs:element name="languageCode" type="CS" minOccurs="0" />
739
+ <xs:element name="modeCode" type="CE" minOccurs="0" />
740
+ <xs:element name="proficiencyLevelCode" type="CE" minOccurs="0" />
741
+ <xs:element name="preferenceInd" type="BL" minOccurs="0" />
742
+ </xs:sequence>
743
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
744
+ </xs:complexType>
745
+ <xs:complexType name="POCD_MT000040.LegalAuthenticator">
746
+ <xs:sequence>
747
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
748
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
749
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
750
+ <xs:element name="time" type="TS" />
751
+ <xs:element name="signatureCode" type="CS" />
752
+ <!-- Begin Extension: (SDTC) -->
753
+ <xs:element ref="sdtc:signatureText" minOccurs="0" />
754
+ <!-- End Extension: (SDTC) -->
755
+ <xs:element name="assignedEntity" type="POCD_MT000040.AssignedEntity" />
756
+ </xs:sequence>
757
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
758
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="LA" />
759
+ <xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP" />
760
+ </xs:complexType>
761
+ <xs:complexType name="POCD_MT000040.Location">
762
+ <xs:sequence>
763
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
764
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
765
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
766
+ <xs:element name="healthCareFacility" type="POCD_MT000040.HealthCareFacility" />
767
+ </xs:sequence>
768
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
769
+ <xs:attribute name="typeCode" type="ParticipationTargetLocation" use="optional" fixed="LOC" />
770
+ </xs:complexType>
771
+ <xs:complexType name="POCD_MT000040.MaintainedEntity">
772
+ <xs:sequence>
773
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
774
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
775
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
776
+ <xs:element name="effectiveTime" type="IVL_TS" minOccurs="0" />
777
+ <xs:element name="maintainingPerson" type="POCD_MT000040.Person" />
778
+ </xs:sequence>
779
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
780
+ <xs:attribute name="classCode" type="RoleClass" use="optional" fixed="MNT" />
781
+ </xs:complexType>
782
+ <xs:complexType name="POCD_MT000040.ManufacturedProduct">
783
+ <xs:sequence>
784
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
785
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
786
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
787
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
788
+ <xs:choice>
789
+ <xs:element name="manufacturedLabeledDrug" type="POCD_MT000040.LabeledDrug" />
790
+ <xs:element name="manufacturedMaterial" type="POCD_MT000040.Material" />
791
+ </xs:choice>
792
+ <xs:element name="manufacturerOrganization" type="POCD_MT000040.Organization" minOccurs="0" />
793
+ </xs:sequence>
794
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
795
+ <xs:attribute name="classCode" type="RoleClassManufacturedProduct" use="optional" fixed="MANU" />
796
+ </xs:complexType>
797
+ <xs:complexType name="POCD_MT000040.Material">
798
+ <xs:sequence>
799
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
800
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
801
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
802
+ <xs:element name="code" type="CE" minOccurs="0" />
803
+ <xs:element name="name" type="EN" minOccurs="0" />
804
+ <xs:element name="lotNumberText" type="ST" minOccurs="0" />
805
+ </xs:sequence>
806
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
807
+ <xs:attribute name="classCode" type="EntityClassManufacturedMaterial" use="optional" fixed="MMAT" />
808
+ <xs:attribute name="determinerCode" type="EntityDeterminerDetermined" use="optional" fixed="KIND" />
809
+ </xs:complexType>
810
+ <xs:complexType name="POCD_MT000040.NonXMLBody">
811
+ <xs:sequence>
812
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
813
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
814
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
815
+ <xs:element name="text" type="ED" />
816
+ <xs:element name="confidentialityCode" type="CE" minOccurs="0" />
817
+ <xs:element name="languageCode" type="CS" minOccurs="0" />
818
+ </xs:sequence>
819
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
820
+ <xs:attribute name="classCode" type="ActClass" use="optional" fixed="DOCBODY" />
821
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
822
+ </xs:complexType>
823
+ <xs:complexType name="POCD_MT000040.Observation">
824
+ <xs:sequence>
825
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
826
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
827
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
828
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
829
+ <xs:element name="code" type="CD" />
830
+ <xs:element name="derivationExpr" type="ST" minOccurs="0" />
831
+ <xs:element name="text" type="ED" minOccurs="0" />
832
+ <xs:element name="statusCode" type="CS" minOccurs="0" />
833
+ <xs:element name="effectiveTime" type="IVL_TS" minOccurs="0" />
834
+ <xs:element name="priorityCode" type="CE" minOccurs="0" />
835
+ <xs:element name="repeatNumber" type="IVL_INT" minOccurs="0" />
836
+ <xs:element name="languageCode" type="CS" minOccurs="0" />
837
+ <xs:element name="value" type="ANY" minOccurs="0" maxOccurs="unbounded" />
838
+ <xs:element name="interpretationCode" type="CE" minOccurs="0" maxOccurs="unbounded" />
839
+ <xs:element name="methodCode" type="CE" minOccurs="0" maxOccurs="unbounded" />
840
+ <xs:element name="targetSiteCode" type="CD" minOccurs="0" maxOccurs="unbounded" />
841
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
842
+ <xs:element name="specimen" type="POCD_MT000040.Specimen" minOccurs="0" maxOccurs="unbounded" />
843
+ <xs:element name="performer" type="POCD_MT000040.Performer2" minOccurs="0" maxOccurs="unbounded" />
844
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
845
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
846
+ <xs:element name="participant" type="POCD_MT000040.Participant2" minOccurs="0" maxOccurs="unbounded" />
847
+ <xs:element name="entryRelationship" type="POCD_MT000040.EntryRelationship" minOccurs="0"
848
+ maxOccurs="unbounded" />
849
+ <xs:element name="reference" type="POCD_MT000040.Reference" minOccurs="0" maxOccurs="unbounded" />
850
+ <xs:element name="precondition" type="POCD_MT000040.Precondition" minOccurs="0" maxOccurs="unbounded" />
851
+ <xs:element name="referenceRange" type="POCD_MT000040.ReferenceRange" minOccurs="0" maxOccurs="unbounded" />
852
+ <!-- Begin Extension: (SDTC) -->
853
+ <xs:element ref="sdtc:inFulfillmentOf1" minOccurs="0" maxOccurs="unbounded" />
854
+ <!-- End Extension: (SDTC) -->
855
+ </xs:sequence>
856
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
857
+ <xs:attribute name="classCode" type="ActClassObservation" use="required" />
858
+ <xs:attribute name="moodCode" type="x_ActMoodDocumentObservation" use="required" />
859
+ <xs:attribute name="negationInd" type="bl" use="optional" />
860
+ </xs:complexType>
861
+ <xs:complexType name="POCD_MT000040.ObservationMedia">
862
+ <xs:sequence>
863
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
864
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
865
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
866
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
867
+ <xs:element name="languageCode" type="CS" minOccurs="0" />
868
+ <xs:element name="value" type="ED" />
869
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
870
+ <xs:element name="specimen" type="POCD_MT000040.Specimen" minOccurs="0" maxOccurs="unbounded" />
871
+ <xs:element name="performer" type="POCD_MT000040.Performer2" minOccurs="0" maxOccurs="unbounded" />
872
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
873
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
874
+ <xs:element name="participant" type="POCD_MT000040.Participant2" minOccurs="0" maxOccurs="unbounded" />
875
+ <xs:element name="entryRelationship" type="POCD_MT000040.EntryRelationship" minOccurs="0"
876
+ maxOccurs="unbounded" />
877
+ <xs:element name="reference" type="POCD_MT000040.Reference" minOccurs="0" maxOccurs="unbounded" />
878
+ <xs:element name="precondition" type="POCD_MT000040.Precondition" minOccurs="0" maxOccurs="unbounded" />
879
+ </xs:sequence>
880
+ <xs:attribute name="ID" type="xs:ID" />
881
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
882
+ <xs:attribute name="classCode" type="ActClassObservation" use="required" />
883
+ <xs:attribute name="moodCode" type="ActMood" use="required" />
884
+ </xs:complexType>
885
+ <xs:complexType name="POCD_MT000040.ObservationRange">
886
+ <xs:sequence>
887
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
888
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
889
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
890
+ <xs:element name="code" type="CD" minOccurs="0" />
891
+ <xs:element name="text" type="ED" minOccurs="0" />
892
+ <xs:element name="value" type="ANY" minOccurs="0" />
893
+ <xs:element name="interpretationCode" type="CE" minOccurs="0" />
894
+ </xs:sequence>
895
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
896
+ <xs:attribute name="classCode" type="ActClassObservation" use="optional" default="OBS" />
897
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN.CRT" />
898
+ </xs:complexType>
899
+ <xs:complexType name="POCD_MT000040.Order">
900
+ <xs:sequence>
901
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
902
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
903
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
904
+ <xs:element name="id" type="II" maxOccurs="unbounded" />
905
+ <xs:element name="code" type="CE" minOccurs="0" />
906
+ <xs:element name="priorityCode" type="CE" minOccurs="0" />
907
+ </xs:sequence>
908
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
909
+ <xs:attribute name="classCode" type="ActClassRoot" use="optional" default="ACT" />
910
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="RQO" />
911
+ </xs:complexType>
912
+ <xs:complexType name="POCD_MT000040.Organization">
913
+ <xs:sequence>
914
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
915
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
916
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
917
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
918
+ <xs:element name="name" type="ON" minOccurs="0" maxOccurs="unbounded" />
919
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
920
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
921
+ <xs:element name="standardIndustryClassCode" type="CE" minOccurs="0" />
922
+ <xs:element name="asOrganizationPartOf" type="POCD_MT000040.OrganizationPartOf" minOccurs="0" />
923
+ </xs:sequence>
924
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
925
+ <xs:attribute name="classCode" type="EntityClassOrganization" use="optional" fixed="ORG" />
926
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
927
+ </xs:complexType>
928
+ <xs:complexType name="POCD_MT000040.OrganizationPartOf">
929
+ <xs:sequence>
930
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
931
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
932
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
933
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
934
+ <xs:element name="code" type="CE" minOccurs="0" />
935
+ <xs:element name="statusCode" type="CS" minOccurs="0" />
936
+ <xs:element name="effectiveTime" type="IVL_TS" minOccurs="0" />
937
+ <xs:element name="wholeOrganization" type="POCD_MT000040.Organization" minOccurs="0" />
938
+ </xs:sequence>
939
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
940
+ <xs:attribute name="classCode" type="RoleClass" use="optional" fixed="PART" />
941
+ </xs:complexType>
942
+ <xs:complexType name="POCD_MT000040.Organizer">
943
+ <xs:sequence>
944
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
945
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
946
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
947
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
948
+ <xs:element name="code" type="CD" minOccurs="0" />
949
+ <xs:element name="statusCode" type="CS" />
950
+ <xs:element name="effectiveTime" type="IVL_TS" minOccurs="0" />
951
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
952
+ <xs:element name="specimen" type="POCD_MT000040.Specimen" minOccurs="0" maxOccurs="unbounded" />
953
+ <xs:element name="performer" type="POCD_MT000040.Performer2" minOccurs="0" maxOccurs="unbounded" />
954
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
955
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
956
+ <xs:element name="participant" type="POCD_MT000040.Participant2" minOccurs="0" maxOccurs="unbounded" />
957
+ <xs:element name="reference" type="POCD_MT000040.Reference" minOccurs="0" maxOccurs="unbounded" />
958
+ <xs:element name="precondition" type="POCD_MT000040.Precondition" minOccurs="0" maxOccurs="unbounded" />
959
+ <xs:element name="component" type="POCD_MT000040.Component4" minOccurs="0" maxOccurs="unbounded" />
960
+ </xs:sequence>
961
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
962
+ <xs:attribute name="classCode" type="x_ActClassDocumentEntryOrganizer" use="required" />
963
+ <xs:attribute name="moodCode" type="ActMood" use="required" />
964
+ </xs:complexType>
965
+ <xs:complexType name="POCD_MT000040.ParentDocument">
966
+ <xs:sequence>
967
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
968
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
969
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
970
+ <xs:element name="id" type="II" maxOccurs="unbounded" />
971
+ <xs:element name="code" type="CD" minOccurs="0" />
972
+ <xs:element name="text" type="ED" minOccurs="0" />
973
+ <xs:element name="setId" type="II" minOccurs="0" />
974
+ <xs:element name="versionNumber" type="INT" minOccurs="0" />
975
+ </xs:sequence>
976
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
977
+ <xs:attribute name="classCode" type="ActClinicalDocument" use="optional" fixed="DOCCLIN" />
978
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
979
+ </xs:complexType>
980
+ <xs:complexType name="POCD_MT000040.Participant1">
981
+ <xs:sequence>
982
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
983
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
984
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
985
+ <xs:element name="functionCode" type="CE" minOccurs="0" />
986
+ <xs:element name="time" type="IVL_TS" minOccurs="0" />
987
+ <xs:element name="associatedEntity" type="POCD_MT000040.AssociatedEntity" />
988
+ </xs:sequence>
989
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
990
+ <xs:attribute name="typeCode" type="ParticipationType" use="required" />
991
+ <xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP" />
992
+ </xs:complexType>
993
+ <xs:complexType name="POCD_MT000040.Participant2">
994
+ <xs:sequence>
995
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
996
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
997
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
998
+ <xs:element name="time" type="IVL_TS" minOccurs="0" />
999
+ <xs:element name="awarenessCode" type="CE" minOccurs="0" />
1000
+ <xs:element name="participantRole" type="POCD_MT000040.ParticipantRole" />
1001
+ </xs:sequence>
1002
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1003
+ <xs:attribute name="typeCode" type="ParticipationType" use="required" />
1004
+ <xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP" />
1005
+ </xs:complexType>
1006
+ <xs:complexType name="POCD_MT000040.ParticipantRole">
1007
+ <xs:sequence>
1008
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1009
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1010
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1011
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
1012
+ <xs:element name="code" type="CE" minOccurs="0" />
1013
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
1014
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
1015
+ <xs:choice>
1016
+ <xs:element name="playingDevice" type="POCD_MT000040.Device" minOccurs="0" />
1017
+ <xs:element name="playingEntity" type="POCD_MT000040.PlayingEntity" minOccurs="0" />
1018
+ </xs:choice>
1019
+ <xs:element name="scopingEntity" type="POCD_MT000040.Entity" minOccurs="0" />
1020
+ </xs:sequence>
1021
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1022
+ <xs:attribute name="classCode" type="RoleClassRoot" use="optional" default="ROL" />
1023
+ </xs:complexType>
1024
+ <xs:complexType name="POCD_MT000040.Patient">
1025
+ <xs:sequence>
1026
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1027
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1028
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1029
+ <xs:element name="id" type="II" minOccurs="0" />
1030
+ <xs:element name="name" type="PN" minOccurs="0" maxOccurs="unbounded" />
1031
+ <!-- Begin Extension: (SDTC) -->
1032
+ <xs:element ref="sdtc:desc" minOccurs="0" maxOccurs="1" />
1033
+ <!-- End Extension: (SDTC) -->
1034
+ <xs:element name="administrativeGenderCode" type="CE" minOccurs="0" />
1035
+ <xs:element name="birthTime" type="TS" minOccurs="0" />
1036
+ <!-- Begin Extension: (SDTC) -->
1037
+ <xs:element ref="sdtc:deceasedInd" minOccurs="0" />
1038
+ <xs:element ref="sdtc:deceasedTime" minOccurs="0" />
1039
+ <xs:element ref="sdtc:multipleBirthInd" minOccurs="0" />
1040
+ <xs:element ref="sdtc:multipleBirthOrderNumber" minOccurs="0" />
1041
+ <!-- End Extension: (SDTC) -->
1042
+ <xs:element name="maritalStatusCode" type="CE" minOccurs="0" />
1043
+ <xs:element name="religiousAffiliationCode" type="CE" minOccurs="0" />
1044
+ <xs:element name="raceCode" type="CE" minOccurs="0" />
1045
+ <!-- Begin Extension: (SDTC) -->
1046
+ <xs:element ref="sdtc:raceCode" minOccurs="0" maxOccurs="unbounded" />
1047
+ <!-- End Extension: (SDTC) -->
1048
+ <xs:element name="ethnicGroupCode" type="CE" minOccurs="0" />
1049
+ <!-- Begin Extension: (SDTC) -->
1050
+ <xs:element ref="sdtc:ethnicGroupCode" minOccurs="0" maxOccurs="unbounded" />
1051
+ <!-- End Extension: (SDTC) -->
1052
+ <xs:element name="guardian" type="POCD_MT000040.Guardian" minOccurs="0" maxOccurs="unbounded" />
1053
+ <xs:element name="birthplace" type="POCD_MT000040.Birthplace" minOccurs="0" />
1054
+ <xs:element name="languageCommunication" type="POCD_MT000040.LanguageCommunication" minOccurs="0"
1055
+ maxOccurs="unbounded" />
1056
+ </xs:sequence>
1057
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1058
+ <xs:attribute name="classCode" type="EntityClass" use="optional" fixed="PSN" />
1059
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
1060
+ </xs:complexType>
1061
+ <xs:complexType name="POCD_MT000040.PatientRole">
1062
+ <xs:sequence>
1063
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1064
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1065
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1066
+ <xs:element name="id" type="II" maxOccurs="unbounded" />
1067
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
1068
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
1069
+ <xs:element name="patient" type="POCD_MT000040.Patient" minOccurs="0" />
1070
+ <xs:element name="providerOrganization" type="POCD_MT000040.Organization" minOccurs="0" />
1071
+ </xs:sequence>
1072
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1073
+ <xs:attribute name="classCode" type="RoleClass" use="optional" fixed="PAT" />
1074
+ </xs:complexType>
1075
+ <xs:complexType name="POCD_MT000040.Performer1">
1076
+ <xs:sequence>
1077
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1078
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1079
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1080
+ <xs:element name="functionCode" type="CE" minOccurs="0" />
1081
+ <xs:element name="time" type="IVL_TS" minOccurs="0" />
1082
+ <xs:element name="assignedEntity" type="POCD_MT000040.AssignedEntity" />
1083
+ </xs:sequence>
1084
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1085
+ <xs:attribute name="typeCode" type="x_ServiceEventPerformer" use="required" />
1086
+ </xs:complexType>
1087
+ <xs:complexType name="POCD_MT000040.Performer2">
1088
+ <xs:sequence>
1089
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1090
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1091
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1092
+ <xs:element name="time" type="IVL_TS" minOccurs="0" />
1093
+ <xs:element name="modeCode" type="CE" minOccurs="0" />
1094
+ <xs:element name="assignedEntity" type="POCD_MT000040.AssignedEntity" />
1095
+ </xs:sequence>
1096
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1097
+ <xs:attribute name="typeCode" type="ParticipationPhysicalPerformer" use="optional" fixed="PRF" />
1098
+ </xs:complexType>
1099
+ <xs:complexType name="POCD_MT000040.Person">
1100
+ <xs:sequence>
1101
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1102
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1103
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1104
+ <xs:element name="name" type="PN" minOccurs="0" maxOccurs="unbounded" />
1105
+ <!-- Begin Extension: (SDTC) -->
1106
+ <xs:element ref="sdtc:desc" minOccurs="0" />
1107
+ <xs:element ref="sdtc:asPatientRelationship" minOccurs="0" />
1108
+ <!-- End Extension: (SDTC) -->
1109
+ </xs:sequence>
1110
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1111
+ <xs:attribute name="classCode" type="EntityClass" use="optional" fixed="PSN" />
1112
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
1113
+ </xs:complexType>
1114
+ <xs:complexType name="POCD_MT000040.Place">
1115
+ <xs:sequence>
1116
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1117
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1118
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1119
+ <xs:element name="name" type="EN" minOccurs="0" />
1120
+ <xs:element name="addr" type="AD" minOccurs="0" />
1121
+ </xs:sequence>
1122
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1123
+ <xs:attribute name="classCode" type="EntityClassPlace" use="optional" fixed="PLC" />
1124
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
1125
+ </xs:complexType>
1126
+ <xs:complexType name="POCD_MT000040.PlayingEntity">
1127
+ <xs:sequence>
1128
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1129
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1130
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1131
+ <xs:element name="code" type="CE" minOccurs="0" />
1132
+ <xs:element name="quantity" type="PQ" minOccurs="0" maxOccurs="unbounded" />
1133
+ <xs:element name="name" type="PN" minOccurs="0" maxOccurs="unbounded" />
1134
+ <!-- Begin Extension: (SDTC) -->
1135
+ <xs:element ref="sdtc:birthTime" minOccurs="0" />
1136
+ <!-- End Extension: (SDTC) -->
1137
+ <xs:element name="desc" type="ED" minOccurs="0" />
1138
+ </xs:sequence>
1139
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1140
+ <xs:attribute name="classCode" type="EntityClassRoot" use="optional" default="ENT" />
1141
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
1142
+ </xs:complexType>
1143
+ <xs:complexType name="POCD_MT000040.Precondition">
1144
+ <xs:sequence>
1145
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1146
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1147
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1148
+ <xs:element name="criterion" type="POCD_MT000040.Criterion" />
1149
+ </xs:sequence>
1150
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1151
+ <xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="PRCN" />
1152
+ </xs:complexType>
1153
+ <xs:complexType name="POCD_MT000040.Procedure">
1154
+ <xs:sequence>
1155
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1156
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1157
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1158
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
1159
+ <xs:element name="code" type="CD" minOccurs="0" />
1160
+ <xs:element name="text" type="ED" minOccurs="0" />
1161
+ <xs:element name="statusCode" type="CS" minOccurs="0" />
1162
+ <xs:element name="effectiveTime" type="IVL_TS" minOccurs="0" />
1163
+ <xs:element name="priorityCode" type="CE" minOccurs="0" />
1164
+ <xs:element name="languageCode" type="CS" minOccurs="0" />
1165
+ <xs:element name="methodCode" type="CE" minOccurs="0" maxOccurs="unbounded" />
1166
+ <xs:element name="approachSiteCode" type="CD" minOccurs="0" maxOccurs="unbounded" />
1167
+ <xs:element name="targetSiteCode" type="CD" minOccurs="0" maxOccurs="unbounded" />
1168
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
1169
+ <xs:element name="specimen" type="POCD_MT000040.Specimen" minOccurs="0" maxOccurs="unbounded" />
1170
+ <xs:element name="performer" type="POCD_MT000040.Performer2" minOccurs="0" maxOccurs="unbounded" />
1171
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
1172
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
1173
+ <xs:element name="participant" type="POCD_MT000040.Participant2" minOccurs="0" maxOccurs="unbounded" />
1174
+ <xs:element name="entryRelationship" type="POCD_MT000040.EntryRelationship" minOccurs="0"
1175
+ maxOccurs="unbounded" />
1176
+ <xs:element name="reference" type="POCD_MT000040.Reference" minOccurs="0" maxOccurs="unbounded" />
1177
+ <xs:element name="precondition" type="POCD_MT000040.Precondition" minOccurs="0" maxOccurs="unbounded" />
1178
+ <!-- Begin Extension: (SDTC) -->
1179
+ <xs:element ref="sdtc:inFulfillmentOf1" minOccurs="0" maxOccurs="unbounded" />
1180
+ <!-- End Extension: (SDTC) -->
1181
+ </xs:sequence>
1182
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1183
+ <xs:attribute name="classCode" type="ActClass" use="required" />
1184
+ <xs:attribute name="moodCode" type="x_DocumentProcedureMood" use="required" />
1185
+ <xs:attribute name="negationInd" type="bl" use="optional" />
1186
+ </xs:complexType>
1187
+ <xs:complexType name="POCD_MT000040.Product">
1188
+ <xs:sequence>
1189
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1190
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1191
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1192
+ <xs:element name="manufacturedProduct" type="POCD_MT000040.ManufacturedProduct" />
1193
+ </xs:sequence>
1194
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1195
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="PRD" />
1196
+ </xs:complexType>
1197
+ <xs:complexType name="POCD_MT000040.RecordTarget">
1198
+ <xs:sequence>
1199
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1200
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1201
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1202
+ <xs:element name="patientRole" type="POCD_MT000040.PatientRole" />
1203
+ </xs:sequence>
1204
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1205
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="RCT" />
1206
+ <xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP" />
1207
+ </xs:complexType>
1208
+ <xs:complexType name="POCD_MT000040.Reference">
1209
+ <xs:sequence>
1210
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1211
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1212
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1213
+ <xs:element name="seperatableInd" type="BL" minOccurs="0" />
1214
+ <xs:choice>
1215
+ <xs:element name="externalAct" type="POCD_MT000040.ExternalAct" />
1216
+ <xs:element name="externalObservation" type="POCD_MT000040.ExternalObservation" />
1217
+ <xs:element name="externalProcedure" type="POCD_MT000040.ExternalProcedure" />
1218
+ <xs:element name="externalDocument" type="POCD_MT000040.ExternalDocument" />
1219
+ </xs:choice>
1220
+ </xs:sequence>
1221
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1222
+ <xs:attribute name="typeCode" type="x_ActRelationshipExternalReference" use="required" />
1223
+ </xs:complexType>
1224
+ <xs:complexType name="POCD_MT000040.ReferenceRange">
1225
+ <xs:sequence>
1226
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1227
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1228
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1229
+ <xs:element name="observationRange" type="POCD_MT000040.ObservationRange" />
1230
+ </xs:sequence>
1231
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1232
+ <xs:attribute name="typeCode" type="ActRelationshipType" use="optional" fixed="REFV" />
1233
+ </xs:complexType>
1234
+ <xs:complexType name="POCD_MT000040.RegionOfInterest.value">
1235
+ <xs:complexContent>
1236
+ <xs:extension base="INT">
1237
+ <xs:attribute name="unsorted" type="xs:boolean" default="false" />
1238
+ </xs:extension>
1239
+ </xs:complexContent>
1240
+ </xs:complexType>
1241
+ <xs:complexType name="POCD_MT000040.RegionOfInterest">
1242
+ <xs:sequence>
1243
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1244
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1245
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1246
+ <xs:element name="id" type="II" maxOccurs="unbounded" />
1247
+ <xs:element name="code" type="CS" />
1248
+ <xs:element name="value" type="POCD_MT000040.RegionOfInterest.value" maxOccurs="unbounded" />
1249
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
1250
+ <xs:element name="specimen" type="POCD_MT000040.Specimen" minOccurs="0" maxOccurs="unbounded" />
1251
+ <xs:element name="performer" type="POCD_MT000040.Performer2" minOccurs="0" maxOccurs="unbounded" />
1252
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
1253
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
1254
+ <xs:element name="participant" type="POCD_MT000040.Participant2" minOccurs="0" maxOccurs="unbounded" />
1255
+ <xs:element name="entryRelationship" type="POCD_MT000040.EntryRelationship" minOccurs="0"
1256
+ maxOccurs="unbounded" />
1257
+ <xs:element name="reference" type="POCD_MT000040.Reference" minOccurs="0" maxOccurs="unbounded" />
1258
+ <xs:element name="precondition" type="POCD_MT000040.Precondition" minOccurs="0" maxOccurs="unbounded" />
1259
+ </xs:sequence>
1260
+ <xs:attribute name="ID" type="xs:ID" />
1261
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1262
+ <xs:attribute name="classCode" type="ActClass" use="required" fixed="ROIOVL" />
1263
+ <xs:attribute name="moodCode" type="ActMood" use="required" fixed="EVN" />
1264
+ </xs:complexType>
1265
+ <xs:complexType name="POCD_MT000040.RelatedDocument">
1266
+ <xs:sequence>
1267
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1268
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1269
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1270
+ <xs:element name="parentDocument" type="POCD_MT000040.ParentDocument" />
1271
+ </xs:sequence>
1272
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1273
+ <xs:attribute name="typeCode" type="x_ActRelationshipDocument" use="required" />
1274
+ </xs:complexType>
1275
+ <xs:complexType name="POCD_MT000040.RelatedEntity">
1276
+ <xs:sequence>
1277
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1278
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1279
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1280
+ <xs:element name="code" type="CE" minOccurs="0" />
1281
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
1282
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
1283
+ <xs:element name="effectiveTime" type="IVL_TS" minOccurs="0" />
1284
+ <xs:element name="relatedPerson" type="POCD_MT000040.Person" minOccurs="0" />
1285
+ </xs:sequence>
1286
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1287
+ <xs:attribute name="classCode" type="RoleClassMutualRelationship" use="required" />
1288
+ </xs:complexType>
1289
+ <xs:complexType name="POCD_MT000040.RelatedSubject">
1290
+ <xs:sequence>
1291
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1292
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1293
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1294
+ <!-- Begin Extension: (SDTC) -->
1295
+ <xs:element ref="sdtc:id" minOccurs="0" maxOccurs="unbounded" />
1296
+ <!-- End Extension: (SDTC) -->
1297
+ <xs:element name="code" type="CE" minOccurs="0" />
1298
+ <xs:element name="addr" type="AD" minOccurs="0" maxOccurs="unbounded" />
1299
+ <xs:element name="telecom" type="TEL" minOccurs="0" maxOccurs="unbounded" />
1300
+ <xs:element name="subject" type="POCD_MT000040.SubjectPerson" minOccurs="0" />
1301
+ </xs:sequence>
1302
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1303
+ <xs:attribute name="classCode" type="x_DocumentSubject" use="optional" default="PRS" />
1304
+ </xs:complexType>
1305
+ <xs:complexType name="POCD_MT000040.ResponsibleParty">
1306
+ <xs:sequence>
1307
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1308
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1309
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1310
+ <xs:element name="assignedEntity" type="POCD_MT000040.AssignedEntity" />
1311
+ </xs:sequence>
1312
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1313
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="RESP" />
1314
+ </xs:complexType>
1315
+ <xs:complexType name="POCD_MT000040.Section">
1316
+ <xs:sequence>
1317
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1318
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1319
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1320
+ <xs:element name="id" type="II" minOccurs="0" />
1321
+ <xs:element name="code" type="CE" minOccurs="0" />
1322
+ <xs:element name="title" type="ST" minOccurs="0" />
1323
+ <xs:element name="text" type="StrucDoc.Text" minOccurs="0" />
1324
+ <xs:element name="confidentialityCode" type="CE" minOccurs="0" />
1325
+ <xs:element name="languageCode" type="CS" minOccurs="0" />
1326
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
1327
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
1328
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
1329
+ <xs:element name="entry" type="POCD_MT000040.Entry" minOccurs="0" maxOccurs="unbounded" />
1330
+ <xs:element name="component" type="POCD_MT000040.Component5" minOccurs="0" maxOccurs="unbounded" />
1331
+ </xs:sequence>
1332
+ <xs:attribute name="ID" type="xs:ID" />
1333
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1334
+ <xs:attribute name="classCode" type="ActClass" use="optional" fixed="DOCSECT" />
1335
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
1336
+ </xs:complexType>
1337
+ <xs:complexType name="POCD_MT000040.ServiceEvent">
1338
+ <xs:sequence>
1339
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1340
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1341
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1342
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
1343
+ <xs:element name="code" type="CE" minOccurs="0" />
1344
+ <xs:element name="effectiveTime" type="IVL_TS" minOccurs="0" />
1345
+ <xs:element name="performer" type="POCD_MT000040.Performer1" minOccurs="0" maxOccurs="unbounded" />
1346
+ </xs:sequence>
1347
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1348
+ <xs:attribute name="classCode" type="ActClassRoot" use="optional" default="ACT" />
1349
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
1350
+ </xs:complexType>
1351
+ <xs:complexType name="POCD_MT000040.Specimen">
1352
+ <xs:sequence>
1353
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1354
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1355
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1356
+ <xs:element name="specimenRole" type="POCD_MT000040.SpecimenRole" />
1357
+ </xs:sequence>
1358
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1359
+ <xs:attribute name="typeCode" type="ParticipationType" use="optional" fixed="SPC" />
1360
+ </xs:complexType>
1361
+ <xs:complexType name="POCD_MT000040.SpecimenRole">
1362
+ <xs:sequence>
1363
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1364
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1365
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1366
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
1367
+ <xs:element name="specimenPlayingEntity" type="POCD_MT000040.PlayingEntity" minOccurs="0" />
1368
+ </xs:sequence>
1369
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1370
+ <xs:attribute name="classCode" type="RoleClassSpecimen" use="optional" fixed="SPEC" />
1371
+ </xs:complexType>
1372
+ <xs:complexType name="POCD_MT000040.StructuredBody">
1373
+ <xs:sequence>
1374
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1375
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1376
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1377
+ <xs:element name="confidentialityCode" type="CE" minOccurs="0" />
1378
+ <xs:element name="languageCode" type="CS" minOccurs="0" />
1379
+ <xs:element name="component" type="POCD_MT000040.Component3" maxOccurs="unbounded" />
1380
+ </xs:sequence>
1381
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1382
+ <xs:attribute name="classCode" type="ActClass" use="optional" fixed="DOCBODY" />
1383
+ <xs:attribute name="moodCode" type="ActMood" use="optional" fixed="EVN" />
1384
+ </xs:complexType>
1385
+ <xs:complexType name="POCD_MT000040.Subject">
1386
+ <xs:sequence>
1387
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1388
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1389
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1390
+ <xs:element name="awarenessCode" type="CE" minOccurs="0" />
1391
+ <xs:element name="relatedSubject" type="POCD_MT000040.RelatedSubject" />
1392
+ </xs:sequence>
1393
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1394
+ <xs:attribute name="typeCode" type="ParticipationTargetSubject" use="optional" fixed="SBJ" />
1395
+ <xs:attribute name="contextControlCode" type="ContextControl" use="optional" fixed="OP" />
1396
+ </xs:complexType>
1397
+ <xs:complexType name="POCD_MT000040.SubjectPerson">
1398
+ <xs:sequence>
1399
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1400
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1401
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1402
+ <!-- Begin Extension: (SDTC) -->
1403
+ <xs:element ref="sdtc:id" minOccurs="0" maxOccurs="unbounded" />
1404
+ <!-- End Extension: (SDTC) -->
1405
+ <xs:element name="name" type="PN" minOccurs="0" maxOccurs="unbounded" />
1406
+ <!-- Begin Extension: (SDTC) -->
1407
+ <xs:element ref="sdtc:desc" minOccurs="0" maxOccurs="1" />
1408
+ <!-- End Extension: (SDTC) -->
1409
+ <xs:element name="administrativeGenderCode" type="CE" minOccurs="0" />
1410
+ <xs:element name="birthTime" type="TS" minOccurs="0" />
1411
+ <!-- Begin Extension: (SDTC) -->
1412
+ <xs:element ref="sdtc:deceasedInd" minOccurs="0" />
1413
+ <xs:element ref="sdtc:deceasedTime" minOccurs="0" />
1414
+ <xs:element ref="sdtc:multipleBirthInd" minOccurs="0" />
1415
+ <xs:element ref="sdtc:multipleBirthOrderNumber" minOccurs="0" />
1416
+ <!-- End Extension: (SDTC) -->
1417
+ <!-- Begin Extension: (SDTC) -->
1418
+ <xs:element ref="sdtc:raceCode" minOccurs="0" maxOccurs="unbounded" />
1419
+ <!-- End Extension: (SDTC) -->
1420
+ <!-- Begin Extension: (SDTC) -->
1421
+ <xs:element ref="sdtc:ethnicGroupCode" minOccurs="0" maxOccurs="unbounded" />
1422
+ <!-- End Extension: (SDTC) -->
1423
+ </xs:sequence>
1424
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1425
+ <xs:attribute name="classCode" type="EntityClass" use="optional" fixed="PSN" />
1426
+ <xs:attribute name="determinerCode" type="EntityDeterminer" use="optional" fixed="INSTANCE" />
1427
+ </xs:complexType>
1428
+ <xs:complexType name="POCD_MT000040.SubstanceAdministration">
1429
+ <xs:sequence>
1430
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1431
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1432
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1433
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
1434
+ <xs:element name="code" type="CD" minOccurs="0" />
1435
+ <xs:element name="text" type="ED" minOccurs="0" />
1436
+ <xs:element name="statusCode" type="CS" minOccurs="0" />
1437
+ <xs:element name="effectiveTime" type="SXCM_TS" minOccurs="0" maxOccurs="unbounded" />
1438
+ <xs:element name="priorityCode" type="CE" minOccurs="0" />
1439
+ <xs:element name="repeatNumber" type="IVL_INT" minOccurs="0" />
1440
+ <xs:element name="routeCode" type="CE" minOccurs="0" />
1441
+ <xs:element name="approachSiteCode" type="CD" minOccurs="0" maxOccurs="unbounded" />
1442
+ <xs:element name="doseQuantity" type="IVL_PQ" minOccurs="0" />
1443
+ <xs:element name="rateQuantity" type="IVL_PQ" minOccurs="0" />
1444
+ <xs:element name="maxDoseQuantity" type="RTO_PQ_PQ" minOccurs="0" />
1445
+ <xs:element name="administrationUnitCode" type="CE" minOccurs="0" />
1446
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
1447
+ <xs:element name="specimen" type="POCD_MT000040.Specimen" minOccurs="0" maxOccurs="unbounded" />
1448
+ <xs:element name="consumable" type="POCD_MT000040.Consumable" />
1449
+ <xs:element name="performer" type="POCD_MT000040.Performer2" minOccurs="0" maxOccurs="unbounded" />
1450
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
1451
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
1452
+ <xs:element name="participant" type="POCD_MT000040.Participant2" minOccurs="0" maxOccurs="unbounded" />
1453
+ <xs:element name="entryRelationship" type="POCD_MT000040.EntryRelationship" minOccurs="0"
1454
+ maxOccurs="unbounded" />
1455
+ <xs:element name="reference" type="POCD_MT000040.Reference" minOccurs="0" maxOccurs="unbounded" />
1456
+ <xs:element name="precondition" type="POCD_MT000040.Precondition" minOccurs="0" maxOccurs="unbounded" />
1457
+ <!-- Begin Extension: (SDTC) -->
1458
+ <xs:element ref="sdtc:inFulfillmentOf1" minOccurs="0" maxOccurs="unbounded" />
1459
+ <!-- End Extension: (SDTC) -->
1460
+ </xs:sequence>
1461
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1462
+ <xs:attribute name="classCode" type="ActClass" use="required" fixed="SBADM" />
1463
+ <xs:attribute name="moodCode" type="x_DocumentSubstanceMood" use="required" />
1464
+ <xs:attribute name="negationInd" type="bl" use="optional" />
1465
+ </xs:complexType>
1466
+ <xs:complexType name="POCD_MT000040.Supply">
1467
+ <xs:sequence>
1468
+ <xs:element name="realmCode" type="CS" minOccurs="0" maxOccurs="unbounded" />
1469
+ <xs:element name="typeId" type="POCD_MT000040.InfrastructureRoot.typeId" minOccurs="0" />
1470
+ <xs:element name="templateId" type="II" minOccurs="0" maxOccurs="unbounded" />
1471
+ <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded" />
1472
+ <xs:element name="code" type="CD" minOccurs="0" />
1473
+ <xs:element name="text" type="ED" minOccurs="0" />
1474
+ <xs:element name="statusCode" type="CS" minOccurs="0" />
1475
+ <xs:element name="effectiveTime" type="SXCM_TS" minOccurs="0" maxOccurs="unbounded" />
1476
+ <xs:element name="priorityCode" type="CE" minOccurs="0" maxOccurs="unbounded" />
1477
+ <xs:element name="repeatNumber" type="IVL_INT" minOccurs="0" />
1478
+ <xs:element name="independentInd" type="BL" minOccurs="0" />
1479
+ <xs:element name="quantity" type="PQ" minOccurs="0" />
1480
+ <xs:element name="expectedUseTime" type="IVL_TS" minOccurs="0" />
1481
+ <xs:element name="subject" type="POCD_MT000040.Subject" minOccurs="0" />
1482
+ <xs:element name="specimen" type="POCD_MT000040.Specimen" minOccurs="0" maxOccurs="unbounded" />
1483
+ <xs:element name="product" type="POCD_MT000040.Product" minOccurs="0" />
1484
+ <xs:element name="performer" type="POCD_MT000040.Performer2" minOccurs="0" maxOccurs="unbounded" />
1485
+ <xs:element name="author" type="POCD_MT000040.Author" minOccurs="0" maxOccurs="unbounded" />
1486
+ <xs:element name="informant" type="POCD_MT000040.Informant12" minOccurs="0" maxOccurs="unbounded" />
1487
+ <xs:element name="participant" type="POCD_MT000040.Participant2" minOccurs="0" maxOccurs="unbounded" />
1488
+ <xs:element name="entryRelationship" type="POCD_MT000040.EntryRelationship" minOccurs="0"
1489
+ maxOccurs="unbounded" />
1490
+ <xs:element name="reference" type="POCD_MT000040.Reference" minOccurs="0" maxOccurs="unbounded" />
1491
+ <xs:element name="precondition" type="POCD_MT000040.Precondition" minOccurs="0" maxOccurs="unbounded" />
1492
+ <!-- Begin Extension: (SDTC) -->
1493
+ <xs:element ref="sdtc:inFulfillmentOf1" minOccurs="0" maxOccurs="unbounded" />
1494
+ <!-- End Extension: (SDTC) -->
1495
+ </xs:sequence>
1496
+ <xs:attribute name="nullFlavor" type="NullFlavor" use="optional" />
1497
+ <xs:attribute name="classCode" type="ActClassSupply" use="required" fixed="SPLY" />
1498
+ <xs:attribute name="moodCode" type="x_DocumentSubstanceMood" use="required" />
1499
+ </xs:complexType>
1500
+ </xs:schema>