cqm-models 0.8.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/AdverseEvent.js +2 -2
  4. data/app/assets/javascripts/AllDataElements.js +4 -8
  5. data/app/assets/javascripts/AllergyIntolerance.js +2 -2
  6. data/app/assets/javascripts/{CommunicationFromProviderToPatient.js → AssessmentOrder.js} +9 -9
  7. data/app/assets/javascripts/AssessmentPerformed.js +2 -2
  8. data/app/assets/javascripts/AssessmentRecommended.js +2 -3
  9. data/app/assets/javascripts/CareGoal.js +2 -2
  10. data/app/assets/javascripts/{CommunicationFromPatientToProvider.js → CommunicationPerformed.js} +13 -8
  11. data/app/assets/javascripts/Component.js +1 -1
  12. data/app/assets/javascripts/DeviceApplied.js +2 -3
  13. data/app/assets/javascripts/DeviceOrder.js +2 -2
  14. data/app/assets/javascripts/DeviceRecommended.js +2 -2
  15. data/app/assets/javascripts/Diagnosis.js +2 -2
  16. data/app/assets/javascripts/DiagnosticStudyOrder.js +2 -3
  17. data/app/assets/javascripts/DiagnosticStudyPerformed.js +2 -2
  18. data/app/assets/javascripts/DiagnosticStudyRecommended.js +2 -3
  19. data/app/assets/javascripts/EncounterOrder.js +2 -2
  20. data/app/assets/javascripts/EncounterPerformed.js +2 -2
  21. data/app/assets/javascripts/EncounterRecommended.js +2 -2
  22. data/app/assets/javascripts/FacilityLocation.js +1 -1
  23. data/app/assets/javascripts/FamilyHistory.js +2 -2
  24. data/app/assets/javascripts/Id.js +1 -1
  25. data/app/assets/javascripts/ImmunizationAdministered.js +2 -3
  26. data/app/assets/javascripts/ImmunizationOrder.js +2 -2
  27. data/app/assets/javascripts/InterventionOrder.js +2 -2
  28. data/app/assets/javascripts/InterventionPerformed.js +2 -2
  29. data/app/assets/javascripts/InterventionRecommended.js +2 -2
  30. data/app/assets/javascripts/LaboratoryTestOrder.js +2 -3
  31. data/app/assets/javascripts/LaboratoryTestPerformed.js +2 -2
  32. data/app/assets/javascripts/LaboratoryTestRecommended.js +2 -3
  33. data/app/assets/javascripts/MedicationActive.js +2 -3
  34. data/app/assets/javascripts/MedicationAdministered.js +2 -3
  35. data/app/assets/javascripts/MedicationDischarge.js +3 -2
  36. data/app/assets/javascripts/MedicationDispensed.js +5 -2
  37. data/app/assets/javascripts/MedicationOrder.js +5 -4
  38. data/app/assets/javascripts/Participation.js +2 -2
  39. data/app/assets/javascripts/Patient.js +4 -4
  40. data/app/assets/javascripts/PatientCareExperience.js +2 -2
  41. data/app/assets/javascripts/PatientCharacteristic.js +2 -2
  42. data/app/assets/javascripts/PatientCharacteristicBirthdate.js +2 -2
  43. data/app/assets/javascripts/PatientCharacteristicClinicalTrialParticipant.js +2 -2
  44. data/app/assets/javascripts/PatientCharacteristicEthnicity.js +2 -2
  45. data/app/assets/javascripts/PatientCharacteristicExpired.js +2 -2
  46. data/app/assets/javascripts/PatientCharacteristicPayer.js +2 -2
  47. data/app/assets/javascripts/PatientCharacteristicRace.js +2 -2
  48. data/app/assets/javascripts/PatientCharacteristicSex.js +2 -2
  49. data/app/assets/javascripts/PhysicalExamOrder.js +2 -3
  50. data/app/assets/javascripts/PhysicalExamPerformed.js +2 -2
  51. data/app/assets/javascripts/PhysicalExamRecommended.js +2 -3
  52. data/app/assets/javascripts/ProcedureOrder.js +2 -4
  53. data/app/assets/javascripts/ProcedurePerformed.js +2 -3
  54. data/app/assets/javascripts/ProcedureRecommended.js +2 -4
  55. data/app/assets/javascripts/ProviderCareExperience.js +2 -2
  56. data/app/assets/javascripts/ProviderCharacteristic.js +2 -2
  57. data/app/assets/javascripts/ResultComponent.js +1 -1
  58. data/app/assets/javascripts/SubstanceAdministered.js +2 -3
  59. data/app/assets/javascripts/SubstanceOrder.js +2 -3
  60. data/app/assets/javascripts/SubstanceRecommended.js +2 -4
  61. data/app/assets/javascripts/Symptom.js +2 -2
  62. data/app/assets/javascripts/basetypes/Any.js +3 -3
  63. data/app/assets/javascripts/basetypes/DateTime.js +1 -1
  64. data/app/assets/javascripts/basetypes/Interval.js +2 -2
  65. data/app/assets/javascripts/basetypes/Ratio.js +20 -0
  66. data/app/models/models.rb +4 -5
  67. data/app/models/qdm/adverse_event.rb +2 -2
  68. data/app/models/qdm/allergy_intolerance.rb +2 -2
  69. data/app/models/qdm/assessment_order.rb +14 -0
  70. data/app/models/qdm/assessment_performed.rb +2 -2
  71. data/app/models/qdm/assessment_recommended.rb +2 -3
  72. data/app/models/qdm/basetypes/ratio.rb +52 -0
  73. data/app/models/qdm/care_goal.rb +2 -2
  74. data/app/models/qdm/communication_performed.rb +19 -0
  75. data/app/models/qdm/component.rb +1 -1
  76. data/app/models/qdm/device_applied.rb +2 -3
  77. data/app/models/qdm/device_order.rb +2 -2
  78. data/app/models/qdm/device_recommended.rb +2 -2
  79. data/app/models/qdm/diagnosis.rb +2 -2
  80. data/app/models/qdm/diagnostic_study_order.rb +2 -3
  81. data/app/models/qdm/diagnostic_study_performed.rb +2 -2
  82. data/app/models/qdm/diagnostic_study_recommended.rb +2 -3
  83. data/app/models/qdm/encounter_order.rb +2 -2
  84. data/app/models/qdm/encounter_performed.rb +2 -2
  85. data/app/models/qdm/encounter_recommended.rb +2 -2
  86. data/app/models/qdm/facility_location.rb +1 -1
  87. data/app/models/qdm/family_history.rb +2 -2
  88. data/app/models/qdm/id.rb +1 -1
  89. data/app/models/qdm/immunization_administered.rb +2 -3
  90. data/app/models/qdm/immunization_order.rb +2 -2
  91. data/app/models/qdm/intervention_order.rb +2 -2
  92. data/app/models/qdm/intervention_performed.rb +2 -2
  93. data/app/models/qdm/intervention_recommended.rb +2 -2
  94. data/app/models/qdm/laboratory_test_order.rb +2 -3
  95. data/app/models/qdm/laboratory_test_performed.rb +2 -2
  96. data/app/models/qdm/laboratory_test_recommended.rb +2 -3
  97. data/app/models/qdm/medication_active.rb +2 -3
  98. data/app/models/qdm/medication_administered.rb +2 -3
  99. data/app/models/qdm/medication_discharge.rb +3 -2
  100. data/app/models/qdm/medication_dispensed.rb +5 -2
  101. data/app/models/qdm/medication_order.rb +5 -4
  102. data/app/models/qdm/participation.rb +2 -2
  103. data/app/models/qdm/patient.rb +3 -3
  104. data/app/models/qdm/patient_care_experience.rb +2 -2
  105. data/app/models/qdm/patient_characteristic.rb +2 -2
  106. data/app/models/qdm/patient_characteristic_birthdate.rb +2 -2
  107. data/app/models/qdm/patient_characteristic_clinical_trial_participant.rb +2 -2
  108. data/app/models/qdm/patient_characteristic_ethnicity.rb +2 -2
  109. data/app/models/qdm/patient_characteristic_expired.rb +2 -2
  110. data/app/models/qdm/patient_characteristic_payer.rb +2 -2
  111. data/app/models/qdm/patient_characteristic_race.rb +2 -2
  112. data/app/models/qdm/patient_characteristic_sex.rb +2 -2
  113. data/app/models/qdm/physical_exam_order.rb +2 -3
  114. data/app/models/qdm/physical_exam_performed.rb +2 -2
  115. data/app/models/qdm/physical_exam_recommended.rb +2 -3
  116. data/app/models/qdm/procedure_order.rb +2 -4
  117. data/app/models/qdm/procedure_performed.rb +2 -3
  118. data/app/models/qdm/procedure_recommended.rb +2 -4
  119. data/app/models/qdm/provider_care_experience.rb +2 -2
  120. data/app/models/qdm/provider_characteristic.rb +2 -2
  121. data/app/models/qdm/result_component.rb +1 -1
  122. data/app/models/qdm/substance_administered.rb +2 -3
  123. data/app/models/qdm/substance_order.rb +2 -3
  124. data/app/models/qdm/substance_recommended.rb +2 -4
  125. data/app/models/qdm/symptom.rb +2 -2
  126. data/cqm-models.gemspec +1 -1
  127. data/data/oids.json +209 -197
  128. data/dist/index.js +2114 -1230
  129. data/lib/generate_models.rb +14 -12
  130. data/modelinfo/qdm-modelinfo-5.4.xml +503 -0
  131. data/package.json +2 -2
  132. data/templates/models_template.rb.erb +2 -1
  133. data/templates/patient_extension.rb.erb +2 -2
  134. data/templates/patient_template.js.erb +3 -3
  135. data/yarn.lock +3 -3
  136. metadata +10 -11
  137. data/app/assets/javascripts/CommunicationFromProviderToProvider.js +0 -30
  138. data/app/assets/javascripts/Ratio.js +0 -26
  139. data/app/models/qdm/communication_from_patient_to_provider.rb +0 -14
  140. data/app/models/qdm/communication_from_provider_to_patient.rb +0 -14
  141. data/app/models/qdm/communication_from_provider_to_provider.rb +0 -14
  142. data/app/models/qdm/ratio.rb +0 -10
@@ -16,6 +16,7 @@ TYPE_LOOKUP_RB = {
16
16
  'System.Integer': 'Integer',
17
17
  'System.Quantity': 'Quantity',
18
18
  'System.Code': 'Code',
19
+ 'QDM.Id': 'Id',
19
20
  'System.Any': 'Any',
20
21
  'interval<System.DateTime>': 'Interval',
21
22
  'interval<System.Quantity>': 'Interval',
@@ -37,6 +38,7 @@ TYPE_LOOKUP_JS = {
37
38
  'System.Quantity': 'Quantity',
38
39
  'System.Code': 'Code',
39
40
  'System.Any': 'Any',
41
+ 'QDM.Id': 'IdSchema',
40
42
  'interval<System.DateTime>': 'Interval',
41
43
  'interval<System.Quantity>': 'Interval',
42
44
  'list<QDM.Component>': '[]',
@@ -127,7 +129,7 @@ end
127
129
  extra_fields_rb = [
128
130
  'hqmfOid:String',
129
131
  'qrdaOid:String',
130
- 'category:String',
132
+ 'qdmCategory:String',
131
133
  'qdmStatus:String',
132
134
  'qdmVersion:String'
133
135
  ]
@@ -155,7 +157,7 @@ file_path = 'tmp/' if IS_TEST
155
157
  extra_fields_js = [
156
158
  { name: 'hqmfOid', type: 'System.String' },
157
159
  { name: 'qrdaOid', type: 'System.String' },
158
- { name: 'category', type: 'System.String' },
160
+ { name: 'qdmCategory', type: 'System.String' },
159
161
  { name: 'qdmStatus', type: 'System.String' },
160
162
  { name: 'qdmVersion', type: 'System.String' },
161
163
  { name: '_type', type: 'System.String' }
@@ -225,15 +227,15 @@ Dir.glob(ruby_models_path + '*.rb').each do |file_name|
225
227
  end
226
228
 
227
229
  # Add category
228
- if oids[dc_name].present? && oids[dc_name]['category'].present?
229
- contents.gsub!(/ field :category, type: String\n/, " field :category, type: String, default: '#{oids[dc_name]['category']}'\n")
230
+ if oids[dc_name].present? && oids[dc_name]['qdm_category'].present?
231
+ contents.gsub!(/ field :qdmCategory, type: String\n/, " field :qdmCategory, type: String, default: '#{oids[dc_name]['qdm_category']}'\n")
230
232
  else
231
- contents.gsub!(/ field :category, type: String\n/, '') # Don't include this field
233
+ contents.gsub!(/ field :qdmCategory, type: String\n/, '') # Don't include this field
232
234
  end
233
235
 
234
236
  # Add status
235
- if oids[dc_name].present? && oids[dc_name]['status'].present?
236
- contents.gsub!(/ field :qdmStatus, type: String\n/, " field :qdmStatus, type: String, default: '#{oids[dc_name]['status']}'\n")
237
+ if oids[dc_name].present? && oids[dc_name]['qdm_status'].present?
238
+ contents.gsub!(/ field :qdmStatus, type: String\n/, " field :qdmStatus, type: String, default: '#{oids[dc_name]['qdm_status']}'\n")
237
239
  else
238
240
  contents.gsub!(/ field :qdmStatus, type: String\n/, '') # Don't include this field
239
241
  end
@@ -272,15 +274,15 @@ files = Dir.glob(js_models_path + '*.js').each do |file_name|
272
274
  end
273
275
 
274
276
  # Add category
275
- if oids[dc_name].present? && oids[dc_name]['category'].present?
276
- contents.gsub!(/ category: String,\n/, " category: { type: String, default: '#{oids[dc_name]['category']}' },\n")
277
+ if oids[dc_name].present? && oids[dc_name]['qdm_category'].present?
278
+ contents.gsub!(/ qdmCategory: String,\n/, " qdmCategory: { type: String, default: '#{oids[dc_name]['qdm_category']}' },\n")
277
279
  else
278
- contents.gsub!(/ category: String,\n/, '') # Don't include this field
280
+ contents.gsub!(/ qdmCategory: String,\n/, '') # Don't include this field
279
281
  end
280
282
 
281
283
  # Add status
282
- if oids[dc_name].present? && oids[dc_name]['status'].present?
283
- contents.gsub!(/ qdmStatus: String,\n/, " qdmStatus: { type: String, default: '#{oids[dc_name]['status']}' },\n")
284
+ if oids[dc_name].present? && oids[dc_name]['qdm_status'].present?
285
+ contents.gsub!(/ qdmStatus: String,\n/, " qdmStatus: { type: String, default: '#{oids[dc_name]['qdm_status']}' },\n")
284
286
  else
285
287
  contents.gsub!(/ qdmStatus: String,\n/, '') # Don't include this field
286
288
  end
@@ -0,0 +1,503 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
+ <ns4:modelInfo name="QDM" url="urn:healthit-gov:qdm:v5_4" targetQualifier="qdm" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns4="urn:hl7-org:elm-modelinfo:r1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
+ patientClassName="QDM.Patient" patientClassIdentifier="Patient" patientBirthDatePropertyName="birthDatetime" version="5.4" strictRetrieveTyping="true">
4
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Patient" baseType="System.Any" identifier="Patient">
5
+ <ns4:element name="birthDatetime" type="System.DateTime"/>
6
+ </ns4:typeInfo>
7
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Id" baseType="System.Any">
8
+ <ns4:element name="namingSystem" type="System.String"/>
9
+ <ns4:element name="value" type="System.String"/>
10
+ </ns4:typeInfo>
11
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PhysicalExamOrder" retrievable="false" baseType="QDM.QDMBaseType">
12
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
13
+ <ns4:element name="reason" type="System.Code"/>
14
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
15
+ <ns4:element name="negationRationale" type="System.Code"/>
16
+ </ns4:typeInfo>
17
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Participation" retrievable="true" baseType="QDM.QDMBaseType" label="Participation" primaryCodePath="code">
18
+ <ns4:element name="participationPeriod" type="interval&lt;System.DateTime&gt;"/>
19
+ </ns4:typeInfo>
20
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicSex" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Sex" primaryCodePath="code"/>
21
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.CareGoal" retrievable="true" baseType="QDM.QDMBaseType" label="Care Goal" primaryCodePath="code">
22
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
23
+ <ns4:element name="relatedTo" type="list&lt;QDM.Id&gt;"/>
24
+ <ns4:element name="targetOutcome"> <!--type="System.Any">-->
25
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
26
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
27
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
28
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
29
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
30
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
31
+ </ns4:typeSpecifier>
32
+ </ns4:element>
33
+ </ns4:typeInfo>
34
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristic" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic" primaryCodePath="code">
35
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
36
+ </ns4:typeInfo>
37
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicEthnicity" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Ethnicity" primaryCodePath="code"/>
38
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicRace" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Race" primaryCodePath="code"/>
39
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.LaboratoryTestPerformed" retrievable="false" baseType="QDM.QDMBaseType">
40
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
41
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
42
+ <ns4:element name="status" type="System.Code"/>
43
+ <ns4:element name="method" type="System.Code"/>
44
+ <ns4:element name="result"> <!-- type="System.Any">-->
45
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
46
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
47
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
48
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
49
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
50
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
51
+ </ns4:typeSpecifier>
52
+ </ns4:element>
53
+ <ns4:element name="resultDatetime" type="System.DateTime"/>
54
+ <ns4:element name="reason" type="System.Code"/>
55
+ <ns4:element name="referenceRange" type="interval&lt;System.Quantity&gt;"/>
56
+ <ns4:element name="negationRationale" type="System.Code"/>
57
+ <ns4:element name="components" type="list&lt;QDM.ResultComponent&gt;"/>
58
+ </ns4:typeInfo>
59
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Symptom" retrievable="true" baseType="QDM.QDMBaseType" label="Symptom" primaryCodePath="code">
60
+ <ns4:element name="prevalencePeriod" type="interval&lt;System.DateTime&gt;"/>
61
+ <ns4:element name="severity" type="System.Code"/>
62
+ </ns4:typeInfo>
63
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationAdministered" retrievable="false" baseType="QDM.QDMBaseType">
64
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
65
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
66
+ <ns4:element name="dosage" type="System.Quantity"/>
67
+ <ns4:element name="frequency" type="System.Code"/>
68
+ <ns4:element name="route" type="System.Code"/>
69
+ <ns4:element name="reason" type="System.Code"/>
70
+ <ns4:element name="negationRationale" type="System.Code"/>
71
+ </ns4:typeInfo>
72
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ProcedureRecommended" retrievable="false" baseType="QDM.QDMBaseType">
73
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
74
+ <ns4:element name="reason" type="System.Code"/>
75
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
76
+ <ns4:element name="ordinality" type="System.Code"/>
77
+ <ns4:element name="negationRationale" type="System.Code"/>
78
+ </ns4:typeInfo>
79
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.EncounterPerformed" retrievable="false" baseType="QDM.QDMBaseType">
80
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
81
+ <ns4:element name="admissionSource" type="System.Code"/>
82
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
83
+ <ns4:element name="dischargeDisposition" type="System.Code"/>
84
+ <ns4:element name="facilityLocations" type="list&lt;QDM.FacilityLocation&gt;"/>
85
+ <ns4:element name="diagnoses" type="list&lt;System.Code&gt;"/>
86
+ <ns4:element name="principalDiagnosis" type="System.Code"/>
87
+ <ns4:element name="negationRationale" type="System.Code"/>
88
+ <ns4:element name="lengthOfStay" type="System.Quantity"/>
89
+ </ns4:typeInfo>
90
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Diagnosis" retrievable="true" baseType="QDM.QDMBaseType" label="Diagnosis" primaryCodePath="code">
91
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
92
+ <ns4:element name="prevalencePeriod" type="interval&lt;System.DateTime&gt;"/>
93
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
94
+ <ns4:element name="severity" type="System.Code"/>
95
+ </ns4:typeInfo>
96
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.CommunicationPerformed" retrievable="false" baseType="QDM.QDMBaseType">
97
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
98
+ <ns4:element name="category" type="System.Code"/>
99
+ <ns4:element name="medium" type="System.Code"/>
100
+ <ns4:element name="sender" type="System.Code"/>
101
+ <ns4:element name="recipient" type="System.Code"/>
102
+ <ns4:element name="relatedTo" type="list&lt;QDM.Id&gt;"/>
103
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
104
+ <ns4:element name="negationRationale" type="System.Code"/>
105
+ </ns4:typeInfo>
106
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AssessmentPerformed" retrievable="false" baseType="QDM.QDMBaseType">
107
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
108
+ <ns4:element name="negationRationale" type="System.Code"/>
109
+ <ns4:element name="reason" type="System.Code"/>
110
+ <ns4:element name="method" type="System.Code"/>
111
+ <ns4:element name="result"> <!-- type="System.Any">-->
112
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
113
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
114
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
115
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
116
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
117
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
118
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="DateTime"/>
119
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Time"/>
120
+ </ns4:typeSpecifier>
121
+ </ns4:element>
122
+ <ns4:element name="components" type="list&lt;QDM.Component&gt;"/>
123
+ <ns4:element name="relatedTo" type="list&lt;QDM.Id&gt;"/>
124
+ </ns4:typeInfo>
125
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicClinicalTrialParticipant" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Clinical Trial Participant" primaryCodePath="code">
126
+ <ns4:element name="reason" type="System.Code"/>
127
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
128
+ </ns4:typeInfo>
129
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DeviceOrder" retrievable="false" baseType="QDM.QDMBaseType">
130
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
131
+ <ns4:element name="negationRationale" type="System.Code"/>
132
+ <ns4:element name="reason" type="System.Code"/>
133
+ </ns4:typeInfo>
134
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DiagnosticStudyPerformed" retrievable="false" baseType="QDM.QDMBaseType">
135
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
136
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
137
+ <ns4:element name="reason" type="System.Code"/>
138
+ <ns4:element name="result"> <!--type="System.Any">-->
139
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
140
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
141
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
142
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
143
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
144
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
145
+ </ns4:typeSpecifier>
146
+ </ns4:element>
147
+ <ns4:element name="resultDatetime" type="System.DateTime"/>
148
+ <ns4:element name="status" type="System.Code"/>
149
+ <ns4:element name="method" type="System.Code"/>
150
+ <ns4:element name="facilityLocation" type="System.Code"/>
151
+ <ns4:element name="negationRationale" type="System.Code"/>
152
+ <ns4:element name="components" type="list&lt;QDM.Component&gt;"/>
153
+ </ns4:typeInfo>
154
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.InterventionOrder" retrievable="false" baseType="QDM.QDMBaseType">
155
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
156
+ <ns4:element name="reason" type="System.Code"/>
157
+ <ns4:element name="negationRationale" type="System.Code"/>
158
+ </ns4:typeInfo>
159
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.FamilyHistory" retrievable="true" baseType="QDM.QDMBaseType" label="Family History" primaryCodePath="code">
160
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
161
+ <ns4:element name="relationship" type="System.Code"/>
162
+ </ns4:typeInfo>
163
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Component" retrievable="false" baseType="System.Any">
164
+ <ns4:element name="code" type="System.Code"/>
165
+ <ns4:element name="result"> <!-- type="System.Any">-->
166
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
167
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
168
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
169
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
170
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
171
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
172
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="DateTime"/>
173
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Time"/>
174
+ </ns4:typeSpecifier>
175
+ </ns4:element>
176
+ </ns4:typeInfo>
177
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ResultComponent" retrievable="false" baseType="QDM.Component">
178
+ <ns4:element name="referenceRange" type="interval&lt;System.Quantity&gt;"/>
179
+ </ns4:typeInfo>
180
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.FacilityLocation" retrievable="false" baseType="System.Any">
181
+ <ns4:element name="code" type="System.Code"/>
182
+ <ns4:element name="locationPeriod" type="interval&lt;System.DateTime&gt;"/>
183
+ </ns4:typeInfo>
184
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationActive" retrievable="true" baseType="QDM.QDMBaseType" label="Medication, Active" primaryCodePath="code">
185
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
186
+ <ns4:element name="dosage" type="System.Quantity"/>
187
+ <ns4:element name="frequency" type="System.Code"/>
188
+ <ns4:element name="route" type="System.Code"/>
189
+ </ns4:typeInfo>
190
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.LaboratoryTestOrder" retrievable="false" baseType="QDM.QDMBaseType">
191
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
192
+ <ns4:element name="reason" type="System.Code"/>
193
+ <ns4:element name="negationRationale" type="System.Code"/>
194
+ </ns4:typeInfo>
195
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DiagnosticStudyOrder" retrievable="false" baseType="QDM.QDMBaseType">
196
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
197
+ <ns4:element name="reason" type="System.Code"/>
198
+ <ns4:element name="negationRationale" type="System.Code"/>
199
+ </ns4:typeInfo>
200
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.SubstanceOrder" retrievable="false" baseType="QDM.QDMBaseType">
201
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
202
+ <ns4:element name="reason" type="System.Code"/>
203
+ <ns4:element name="dosage" type="System.Quantity"/>
204
+ <ns4:element name="supply" type="System.Quantity"/>
205
+ <ns4:element name="frequency" type="System.Code"/>
206
+ <ns4:element name="refills" type="System.Integer"/>
207
+ <ns4:element name="route" type="System.Code"/>
208
+ <ns4:element name="negationRationale" type="System.Code"/>
209
+ </ns4:typeInfo>
210
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicPayer" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Payer" primaryCodePath="code">
211
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
212
+ </ns4:typeInfo>
213
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicExpired" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Expired" primaryCodePath="code">
214
+ <ns4:element name="expiredDatetime" type="System.DateTime"/>
215
+ <ns4:element name="cause" type="System.Code"/>
216
+ </ns4:typeInfo>
217
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AssessmentOrder" retrievable="false" baseType="QDM.QDMBaseType">
218
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
219
+ <ns4:element name="negationRationale" type="System.Code"/>
220
+ <ns4:element name="reason" type="System.Code"/>
221
+ </ns4:typeInfo>
222
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AssessmentRecommended" retrievable="false" baseType="QDM.QDMBaseType">
223
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
224
+ <ns4:element name="negationRationale" type="System.Code"/>
225
+ <ns4:element name="reason" type="System.Code"/>
226
+ </ns4:typeInfo>
227
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ImmunizationAdministered" retrievable="false" baseType="QDM.QDMBaseType">
228
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
229
+ <ns4:element name="reason" type="System.Code"/>
230
+ <ns4:element name="dosage" type="System.Quantity"/>
231
+ <ns4:element name="route" type="System.Code"/>
232
+ <ns4:element name="negationRationale" type="System.Code"/>
233
+ </ns4:typeInfo>
234
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.SubstanceAdministered" retrievable="false" baseType="QDM.QDMBaseType">
235
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
236
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
237
+ <ns4:element name="dosage" type="System.Quantity"/>
238
+ <ns4:element name="frequency" type="System.Code"/>
239
+ <ns4:element name="route" type="System.Code"/>
240
+ <ns4:element name="negationRationale" type="System.Code"/>
241
+ </ns4:typeInfo>
242
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.EncounterOrder" retrievable="false" baseType="QDM.QDMBaseType">
243
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
244
+ <ns4:element name="reason" type="System.Code"/>
245
+ <ns4:element name="facilityLocation" type="System.Code"/>
246
+ <ns4:element name="negationRationale" type="System.Code"/>
247
+ </ns4:typeInfo>
248
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.EncounterRecommended" retrievable="false" baseType="QDM.QDMBaseType">
249
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
250
+ <ns4:element name="reason" type="System.Code"/>
251
+ <ns4:element name="facilityLocation" type="System.Code"/>
252
+ <ns4:element name="negationRationale" type="System.Code"/>
253
+ </ns4:typeInfo>
254
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ProcedurePerformed" retrievable="false" baseType="QDM.QDMBaseType">
255
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
256
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
257
+ <ns4:element name="reason" type="System.Code"/>
258
+ <ns4:element name="method" type="System.Code"/>
259
+ <ns4:element name="result"> <!--type="System.Any">-->
260
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
261
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
262
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
263
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
264
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
265
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
266
+ </ns4:typeSpecifier>
267
+ </ns4:element>
268
+ <ns4:element name="status" type="System.Code"/>
269
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
270
+ <ns4:element name="ordinality" type="System.Code"/>
271
+ <ns4:element name="incisionDatetime" type="System.DateTime"/>
272
+ <ns4:element name="negationRationale" type="System.Code"/>
273
+ <ns4:element name="components" type="list&lt;QDM.Component&gt;"/>
274
+ </ns4:typeInfo>
275
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AllergyIntolerance" retrievable="true" baseType="QDM.QDMBaseType" label="Allergy/Intolerance" primaryCodePath="code">
276
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
277
+ <ns4:element name="prevalencePeriod" type="interval&lt;System.DateTime&gt;"/>
278
+ <ns4:element name="type" type="System.Code"/>
279
+ <ns4:element name="severity" type="System.Code"/>
280
+ </ns4:typeInfo>
281
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ProviderCharacteristic" retrievable="true" baseType="QDM.QDMBaseType" label="Provider Characteristic" primaryCodePath="code">
282
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
283
+ </ns4:typeInfo>
284
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PhysicalExamRecommended" retrievable="false" baseType="QDM.QDMBaseType">
285
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
286
+ <ns4:element name="reason" type="System.Code"/>
287
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
288
+ <ns4:element name="negationRationale" type="System.Code"/>
289
+ </ns4:typeInfo>
290
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicBirthdate" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Birthdate" primaryCodePath="code">
291
+ <ns4:element name="birthDatetime" type="System.DateTime"/>
292
+ </ns4:typeInfo>
293
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AdverseEvent" retrievable="true" baseType="QDM.QDMBaseType" label="Adverse Event" primaryCodePath="code">
294
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
295
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
296
+ <ns4:element name="severity" type="System.Code"/>
297
+ <ns4:element name="facilityLocation" type="System.Code"/>
298
+ <ns4:element name="type" type="System.Code"/>
299
+ </ns4:typeInfo>
300
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.QDMBaseType" retrievable="false" baseType="System.Any">
301
+ <ns4:element name="id" type="QDM.Id"/>
302
+ <ns4:element name="code" type="System.Code"/>
303
+ <ns4:element name="patientId" type="QDM.Id"/>
304
+ <ns4:element name="reporter" type="QDM.Id"/>
305
+ <ns4:element name="recorder" type="QDM.Id"/>
306
+ </ns4:typeInfo>
307
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DeviceRecommended" retrievable="false" baseType="QDM.QDMBaseType">
308
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
309
+ <ns4:element name="negationRationale" type="System.Code"/>
310
+ <ns4:element name="reason" type="System.Code"/>
311
+ </ns4:typeInfo>
312
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DeviceApplied" retrievable="false" baseType="QDM.QDMBaseType">
313
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
314
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
315
+ <ns4:element name="negationRationale" type="System.Code"/>
316
+ <ns4:element name="reason" type="System.Code"/>
317
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
318
+ </ns4:typeInfo>
319
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationDischarge" retrievable="false" baseType="QDM.QDMBaseType">
320
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
321
+ <ns4:element name="refills" type="System.Integer"/>
322
+ <ns4:element name="dosage" type="System.Quantity"/>
323
+ <ns4:element name="supply" type="System.Quantity"/>
324
+ <ns4:element name="frequency" type="System.Code"/>
325
+ <ns4:element name="daysSupplied" type="System.Integer"/>
326
+ <ns4:element name="route" type="System.Code"/>
327
+ <ns4:element name="negationRationale" type="System.Code"/>
328
+ </ns4:typeInfo>
329
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.InterventionPerformed" retrievable="false" baseType="QDM.QDMBaseType">
330
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
331
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
332
+ <ns4:element name="reason" type="System.Code"/>
333
+ <ns4:element name="result"> <!-- type="System.Any">-->
334
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
335
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
336
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
337
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
338
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
339
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
340
+ </ns4:typeSpecifier>
341
+ </ns4:element>
342
+ <ns4:element name="status" type="System.Code"/>
343
+ <ns4:element name="negationRationale" type="System.Code"/>
344
+ </ns4:typeInfo>
345
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.LaboratoryTestRecommended" retrievable="false" baseType="QDM.QDMBaseType">
346
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
347
+ <ns4:element name="reason" type="System.Code"/>
348
+ <ns4:element name="negationRationale" type="System.Code"/>
349
+ </ns4:typeInfo>
350
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationDispensed" retrievable="false" baseType="QDM.QDMBaseType">
351
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
352
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
353
+ <ns4:element name="refills" type="System.Integer"/>
354
+ <ns4:element name="dosage" type="System.Quantity"/>
355
+ <ns4:element name="supply" type="System.Quantity"/>
356
+ <ns4:element name="frequency" type="System.Code"/>
357
+ <ns4:element name="daysSupplied" type="System.Integer"/>
358
+ <ns4:element name="route" type="System.Code"/>
359
+ <ns4:element name="prescriberId" type="QDM.Id"/>
360
+ <ns4:element name="dispenserId" type="QDM.Id"/>
361
+ <ns4:element name="negationRationale" type="System.Code"/>
362
+ </ns4:typeInfo>
363
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DiagnosticStudyRecommended" retrievable="false" baseType="QDM.QDMBaseType">
364
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
365
+ <ns4:element name="negationRationale" type="System.Code"/>
366
+ </ns4:typeInfo>
367
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ImmunizationOrder" retrievable="false" baseType="QDM.QDMBaseType">
368
+ <ns4:element name="activeDatetime" type="System.DateTime"/>
369
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
370
+ <ns4:element name="dosage" type="System.Quantity"/>
371
+ <ns4:element name="supply" type="System.Quantity"/>
372
+ <ns4:element name="reason" type="System.Code"/>
373
+ <ns4:element name="route" type="System.Code"/>
374
+ <ns4:element name="negationRationale" type="System.Code"/>
375
+ </ns4:typeInfo>
376
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCareExperience" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Care Experience" primaryCodePath="code">
377
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
378
+ </ns4:typeInfo>
379
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ProviderCareExperience" retrievable="true" baseType="QDM.QDMBaseType" label="Provider Care Experience" primaryCodePath="code">
380
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
381
+ </ns4:typeInfo>
382
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ProcedureOrder" retrievable="false" baseType="QDM.QDMBaseType">
383
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
384
+ <ns4:element name="reason" type="System.Code"/>
385
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
386
+ <ns4:element name="ordinality" type="System.Code"/>
387
+ <ns4:element name="negationRationale" type="System.Code"/>
388
+ </ns4:typeInfo>
389
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationOrder" retrievable="false" baseType="QDM.QDMBaseType">
390
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
391
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
392
+ <ns4:element name="refills" type="System.Integer"/>
393
+ <ns4:element name="dosage" type="System.Quantity"/>
394
+ <ns4:element name="supply" type="System.Quantity"/>
395
+ <ns4:element name="frequency" type="System.Code"/>
396
+ <ns4:element name="daysSupplied" type="System.Integer"/>
397
+ <ns4:element name="route" type="System.Code"/>
398
+ <ns4:element name="setting" type="System.Code"/>
399
+ <ns4:element name="reason" type="System.Code"/>
400
+ <ns4:element name="prescriberId" type="QDM.Id"/>
401
+ <ns4:element name="negationRationale" type="System.Code"/>
402
+ </ns4:typeInfo>
403
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.SubstanceRecommended" retrievable="false" baseType="QDM.QDMBaseType">
404
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
405
+ <ns4:element name="reason" type="System.Code"/>
406
+ <ns4:element name="dosage" type="System.Quantity"/>
407
+ <ns4:element name="frequency" type="System.Code"/>
408
+ <ns4:element name="refills" type="System.Integer"/>
409
+ <ns4:element name="route" type="System.Code"/>
410
+ <ns4:element name="negationRationale" type="System.Code"/>
411
+ </ns4:typeInfo>
412
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.InterventionRecommended" retrievable="false" baseType="QDM.QDMBaseType">
413
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
414
+ <ns4:element name="reason" type="System.Code"/>
415
+ <ns4:element name="negationRationale" type="System.Code"/>
416
+ </ns4:typeInfo>
417
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PhysicalExamPerformed" retrievable="false" baseType="QDM.QDMBaseType">
418
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
419
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
420
+ <ns4:element name="reason" type="System.Code"/>
421
+ <ns4:element name="method" type="System.Code"/>
422
+ <ns4:element name="result"> <!--type="System.Any">-->
423
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
424
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
425
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
426
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
427
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
428
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
429
+ </ns4:typeSpecifier>
430
+ </ns4:element>
431
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
432
+ <ns4:element name="negationRationale" type="System.Code"/>
433
+ <ns4:element name="components" type="list&lt;QDM.Component&gt;"/>
434
+ </ns4:typeInfo>
435
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveAssessmentOrder" retrievable="true" baseType="QDM.AssessmentOrder" identifier="PositiveAssessmentOrder" label="Assessment, Order" primaryCodePath="code"/>
436
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeAssessmentOrder" retrievable="true" baseType="QDM.AssessmentOrder" identifier="NegativeAssessmentOrder" label="Assessment, Not Ordered" primaryCodePath="code"/>
437
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveAssessmentRecommended" retrievable="true" baseType="QDM.AssessmentRecommended" identifier="PositiveAssessmentRecommended" label="Assessment, Recommended" primaryCodePath="code"/>
438
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeAssessmentRecommended" retrievable="true" baseType="QDM.AssessmentRecommended" identifier="NegativeAssessmentRecommended" label="Assessment, Not Recommended" primaryCodePath="code"/>
439
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveAssessmentPerformed" retrievable="true" baseType="QDM.AssessmentPerformed" identifier="PositiveAssessmentPerformed" label="Assessment, Performed" primaryCodePath="code"/>
440
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeAssessmentPerformed" retrievable="true" baseType="QDM.AssessmentPerformed" identifier="NegativeAssessmentPerformed" label="Assessment, Not Performed" primaryCodePath="code"/>
441
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveCommunicationPerformed" retrievable="true" baseType="QDM.CommunicationPerformed" identifier="PositiveCommunicationPerformed" label="Communication, Performed" primaryCodePath="code"/>
442
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeCommunicationPerformed" retrievable="true" baseType="QDM.CommunicationPerformed" identifier="NegativeCommunicationPerformed" label="Communication, Not Performed" primaryCodePath="code"/>
443
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDeviceOrder" retrievable="true" baseType="QDM.DeviceOrder" identifier="PositiveDeviceOrder" label="Device, Order" primaryCodePath="code"/>
444
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDeviceOrder" retrievable="true" baseType="QDM.DeviceOrder" identifier="NegativeDeviceOrder" label="Device, Not Ordered" primaryCodePath="code"/>
445
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDeviceRecommended" retrievable="true" baseType="QDM.DeviceRecommended" identifier="PositiveDeviceRecommended" label="Device, Recommended" primaryCodePath="code"/>
446
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDeviceRecommended" retrievable="true" baseType="QDM.DeviceRecommended" identifier="NegativeDeviceRecommended" label="Device, Not Recommended" primaryCodePath="code"/>
447
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDeviceApplied" retrievable="true" baseType="QDM.DeviceApplied" identifier="PositiveDeviceApplied" label="Device, Applied" primaryCodePath="code"/>
448
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDeviceApplied" retrievable="true" baseType="QDM.DeviceApplied" identifier="NegativeDeviceApplied" label="Device, Not Applied" primaryCodePath="code"/>
449
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDiagnosticStudyOrder" retrievable="true" baseType="QDM.DiagnosticStudyOrder" identifier="PositiveDiagnosticStudyOrder" label="Diagnostic Study, Order" primaryCodePath="code"/>
450
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDiagnosticStudyOrder" retrievable="true" baseType="QDM.DiagnosticStudyOrder" identifier="NegativeDiagnosticStudyOrder" label="Diagnostic Study, Not Ordered" primaryCodePath="code"/>
451
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDiagnosticStudyRecommended" retrievable="true" baseType="QDM.DiagnosticStudyRecommended" identifier="PositiveDiagnosticStudyRecommended" label="Diagnostic Study, Recommended" primaryCodePath="code"/>
452
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDiagnosticStudyRecommended" retrievable="true" baseType="QDM.DiagnosticStudyRecommended" identifier="NegativeDiagnosticStudyRecommended" label="Diagnostic Study, Not Recommended" primaryCodePath="code"/>
453
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDiagnosticStudyPerformed" retrievable="true" baseType="QDM.DiagnosticStudyPerformed" identifier="PositiveDiagnosticStudyPerformed" label="Diagnostic Study, Performed" primaryCodePath="code"/>
454
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDiagnosticStudyPerformed" retrievable="true" baseType="QDM.DiagnosticStudyPerformed" identifier="NegativeDiagnosticStudyPerformed" label="Diagnostic Study, Not Performed" primaryCodePath="code"/>
455
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveEncounterOrder" retrievable="true" baseType="QDM.EncounterOrder" identifier="PositiveEncounterOrder" label="Encounter, Order" primaryCodePath="code"/>
456
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeEncounterOrder" retrievable="true" baseType="QDM.EncounterOrder" identifier="NegativeEncounterOrder" label="Encounter, Not Ordered" primaryCodePath="code"/>
457
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveEncounterRecommended" retrievable="true" baseType="QDM.EncounterRecommended" identifier="PositiveEncounterRecommended" label="Encounter, Recommended" primaryCodePath="code"/>
458
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeEncounterRecommended" retrievable="true" baseType="QDM.EncounterRecommended" identifier="NegativeEncounterRecommended" label="Encounter, Not Recommended" primaryCodePath="code"/>
459
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveEncounterPerformed" retrievable="true" baseType="QDM.EncounterPerformed" identifier="PositiveEncounterPerformed" label="Encounter, Performed" primaryCodePath="code"/>
460
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeEncounterPerformed" retrievable="true" baseType="QDM.EncounterPerformed" identifier="NegativeEncounterPerformed" label="Encounter, Not Performed" primaryCodePath="code"/>
461
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveInterventionOrder" retrievable="true" baseType="QDM.InterventionOrder" identifier="PositiveInterventionOrder" label="Intervention, Order" primaryCodePath="code"/>
462
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeInterventionOrder" retrievable="true" baseType="QDM.InterventionOrder" identifier="NegativeInterventionOrder" label="Intervention, Not Ordered" primaryCodePath="code"/>
463
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveInterventionRecommended" retrievable="true" baseType="QDM.InterventionRecommended" identifier="PositiveInterventionRecommended" label="Intervention, Recommended" primaryCodePath="code"/>
464
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeInterventionRecommended" retrievable="true" baseType="QDM.InterventionRecommended" identifier="NegativeInterventionRecommended" label="Intervention, Not Recommended" primaryCodePath="code"/>
465
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveInterventionPerformed" retrievable="true" baseType="QDM.InterventionPerformed" identifier="PositiveInterventionPerformed" label="Intervention, Performed" primaryCodePath="code"/>
466
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeInterventionPerformed" retrievable="true" baseType="QDM.InterventionPerformed" identifier="NegativeInterventionPerformed" label="Intervention, Not Performed" primaryCodePath="code"/>
467
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveImmunizationOrder" retrievable="true" baseType="QDM.ImmunizationOrder" identifier="PositiveImmunizationOrder" label="Immunization, Order" primaryCodePath="code"/>
468
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeImmunizationOrder" retrievable="true" baseType="QDM.ImmunizationOrder" identifier="NegativeImmunizationOrder" label="Immunization, Not Ordered" primaryCodePath="code"/>
469
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveImmunizationAdministered" retrievable="true" baseType="QDM.ImmunizationAdministered" identifier="PositiveImmunizationAdministered" label="Immunization, Administered" primaryCodePath="code"/>
470
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeImmunizationAdministered" retrievable="true" baseType="QDM.ImmunizationAdministered" identifier="NegativeImmunizationAdministered" label="Immunization, Not Administered" primaryCodePath="code"/>
471
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveMedicationAdministered" retrievable="true" baseType="QDM.MedicationAdministered" identifier="PositiveMedicationAdministered" label="Medication, Administered" primaryCodePath="code"/>
472
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeMedicationAdministered" retrievable="true" baseType="QDM.MedicationAdministered" identifier="NegativeMedicationAdministered" label="Medication, Not Administered" primaryCodePath="code"/>
473
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveMedicationDispensed" retrievable="true" baseType="QDM.MedicationDispensed" identifier="PositiveMedicationDispensed" label="Medication, Dispensed" primaryCodePath="code"/>
474
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeMedicationDispensed" retrievable="true" baseType="QDM.MedicationDispensed" identifier="NegativeMedicationDispensed" label="Medication, Not Dispensed" primaryCodePath="code"/>
475
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveMedicationDischarge" retrievable="true" baseType="QDM.MedicationDischarge" identifier="PositiveMedicationDischarge" label="Medication, Discharge" primaryCodePath="code"/>
476
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeMedicationDischarge" retrievable="true" baseType="QDM.MedicationDischarge" identifier="NegativeMedicationDischarge" label="Medication, Not Discharged" primaryCodePath="code"/>
477
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveMedicationOrder" retrievable="true" baseType="QDM.MedicationOrder" identifier="PositiveMedicationOrder" label="Medication, Order" primaryCodePath="code"/>
478
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeMedicationOrder" retrievable="true" baseType="QDM.MedicationOrder" identifier="NegativeMedicationOrder" label="Medication, Not Ordered" primaryCodePath="code"/>
479
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositivePhysicalExamOrder" retrievable="true" baseType="QDM.PhysicalExamOrder" identifier="PositivePhysicalExamOrder" label="Physical Exam, Order" primaryCodePath="code"/>
480
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativePhysicalExamOrder" retrievable="true" baseType="QDM.PhysicalExamOrder" identifier="NegativePhysicalExamOrder" label="Physical Exam, Not Ordered" primaryCodePath="code"/>
481
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositivePhysicalExamRecommended" retrievable="true" baseType="QDM.PhysicalExamRecommended" identifier="PositivePhysicalExamRecommended" label="Physical Exam, Recommended" primaryCodePath="code"/>
482
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativePhysicalExamRecommended" retrievable="true" baseType="QDM.PhysicalExamRecommended" identifier="NegativePhysicalExamRecommended" label="Physical Exam, Not Recommended" primaryCodePath="code"/>
483
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositivePhysicalExamPerformed" retrievable="true" baseType="QDM.PhysicalExamPerformed" identifier="PositivePhysicalExamPerformed" label="Physical Exam, Performed" primaryCodePath="code"/>
484
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativePhysicalExamPerformed" retrievable="true" baseType="QDM.PhysicalExamPerformed" identifier="NegativePhysicalExamPerformed" label="Physical Exam, Not Performed" primaryCodePath="code"/>
485
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveProcedureOrder" retrievable="true" baseType="QDM.ProcedureOrder" identifier="PositiveProcedureOrder" label="Procedure, Order" primaryCodePath="code"/>
486
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeProcedureOrder" retrievable="true" baseType="QDM.ProcedureOrder" identifier="NegativeProcedureOrder" label="Procedure, Not Ordered" primaryCodePath="code"/>
487
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveProcedureRecommended" retrievable="true" baseType="QDM.ProcedureRecommended" identifier="PositiveProcedureRecommended" label="Procedure, Recommended" primaryCodePath="code"/>
488
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeProcedureRecommended" retrievable="true" baseType="QDM.ProcedureRecommended" identifier="NegativeProcedureRecommended" label="Procedure, Not Recommended" primaryCodePath="code"/>
489
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveProcedurePerformed" retrievable="true" baseType="QDM.ProcedurePerformed" identifier="PositiveProcedurePerformed" label="Procedure, Performed" primaryCodePath="code"/>
490
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeProcedurePerformed" retrievable="true" baseType="QDM.ProcedurePerformed" identifier="NegativeProcedurePerformed" label="Procedure, Not Performed" primaryCodePath="code"/>
491
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveSubstanceOrder" retrievable="true" baseType="QDM.SubstanceOrder" identifier="PositiveSubstanceOrder" label="Substance, Order" primaryCodePath="code"/>
492
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeSubstanceOrder" retrievable="true" baseType="QDM.SubstanceOrder" identifier="NegativeSubstanceOrder" label="Substance, Not Ordered" primaryCodePath="code"/>
493
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveSubstanceRecommended" retrievable="true" baseType="QDM.SubstanceRecommended" identifier="PositiveSubstanceRecommended" label="Substance, Recommended" primaryCodePath="code"/>
494
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeSubstanceRecommended" retrievable="true" baseType="QDM.SubstanceRecommended" identifier="NegativeSubstanceRecommended" label="Substance, Not Recommended" primaryCodePath="code"/>
495
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveSubstanceAdministered" retrievable="true" baseType="QDM.SubstanceAdministered" identifier="PositiveSubstanceAdministered" label="Substance, Administered" primaryCodePath="code"/>
496
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeSubstanceAdministered" retrievable="true" baseType="QDM.SubstanceAdministered" identifier="NegativeSubstanceAdministered" label="Substance, Not Administered" primaryCodePath="code"/>
497
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveLaboratoryTestOrder" retrievable="true" baseType="QDM.LaboratoryTestOrder" identifier="PositiveLaboratoryTestOrder" label="Laboratory Test, Order" primaryCodePath="code"/>
498
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeLaboratoryTestOrder" retrievable="true" baseType="QDM.LaboratoryTestOrder" identifier="NegativeLaboratoryTestOrder" label="Laboratory Test, Not Ordered" primaryCodePath="code"/>
499
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveLaboratoryTestRecommended" retrievable="true" baseType="QDM.LaboratoryTestRecommended" identifier="PositiveLaboratoryTestRecommended" label="Laboratory Test, Recommended" primaryCodePath="code"/>
500
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeLaboratoryTestRecommended" retrievable="true" baseType="QDM.LaboratoryTestRecommended" identifier="NegativeLaboratoryTestRecommended" label="Laboratory Test, Not Recommended" primaryCodePath="code"/>
501
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveLaboratoryTestPerformed" retrievable="true" baseType="QDM.LaboratoryTestPerformed" identifier="PositiveLaboratoryTestPerformed" label="Laboratory Test, Performed" primaryCodePath="code"/>
502
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeLaboratoryTestPerformed" retrievable="true" baseType="QDM.LaboratoryTestPerformed" identifier="NegativeLaboratoryTestPerformed" label="Laboratory Test, Not Performed" primaryCodePath="code"/>
503
+ </ns4:modelInfo>