cqm-models 3.1.0 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/.eslintrc.json +6 -0
  3. data/.github/workflows/ci.yml +2 -1
  4. data/README.md +3 -2
  5. data/app/assets/javascripts/AdverseEvent.js +2 -2
  6. data/app/assets/javascripts/AllDataElements.js +2 -2
  7. data/app/assets/javascripts/AllergyIntolerance.js +2 -2
  8. data/app/assets/javascripts/AssessmentOrder.js +2 -2
  9. data/app/assets/javascripts/AssessmentPerformed.js +3 -2
  10. data/app/assets/javascripts/AssessmentRecommended.js +2 -2
  11. data/app/assets/javascripts/CareGoal.js +2 -2
  12. data/app/assets/javascripts/CommunicationPerformed.js +3 -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 -2
  17. data/app/assets/javascripts/DiagnosticStudyPerformed.js +4 -2
  18. data/app/assets/javascripts/DiagnosticStudyRecommended.js +2 -2
  19. data/app/assets/javascripts/EncounterOrder.js +2 -2
  20. data/app/assets/javascripts/EncounterPerformed.js +7 -3
  21. data/app/assets/javascripts/EncounterRecommended.js +2 -2
  22. data/app/assets/javascripts/FamilyHistory.js +2 -2
  23. data/app/assets/javascripts/ImmunizationAdministered.js +2 -2
  24. data/app/assets/javascripts/ImmunizationOrder.js +2 -2
  25. data/app/assets/javascripts/InterventionOrder.js +2 -2
  26. data/app/assets/javascripts/InterventionPerformed.js +3 -2
  27. data/app/assets/javascripts/InterventionRecommended.js +2 -2
  28. data/app/assets/javascripts/LaboratoryTestOrder.js +2 -2
  29. data/app/assets/javascripts/LaboratoryTestPerformed.js +4 -2
  30. data/app/assets/javascripts/LaboratoryTestRecommended.js +2 -2
  31. data/app/assets/javascripts/MedicationActive.js +2 -2
  32. data/app/assets/javascripts/MedicationAdministered.js +2 -2
  33. data/app/assets/javascripts/MedicationDischarge.js +3 -3
  34. data/app/assets/javascripts/MedicationDispensed.js +4 -3
  35. data/app/assets/javascripts/MedicationOrder.js +3 -2
  36. data/app/assets/javascripts/Participation.js +1 -2
  37. data/app/assets/javascripts/PatientCareExperience.js +2 -2
  38. data/app/assets/javascripts/PatientCharacteristic.js +1 -1
  39. data/app/assets/javascripts/PatientCharacteristicBirthdate.js +1 -1
  40. data/app/assets/javascripts/PatientCharacteristicClinicalTrialParticipant.js +1 -1
  41. data/app/assets/javascripts/PatientCharacteristicEthnicity.js +1 -1
  42. data/app/assets/javascripts/PatientCharacteristicExpired.js +1 -1
  43. data/app/assets/javascripts/PatientCharacteristicPayer.js +1 -1
  44. data/app/assets/javascripts/PatientCharacteristicRace.js +1 -1
  45. data/app/assets/javascripts/PatientCharacteristicSex.js +1 -1
  46. data/app/assets/javascripts/PhysicalExamOrder.js +2 -2
  47. data/app/assets/javascripts/PhysicalExamPerformed.js +3 -2
  48. data/app/assets/javascripts/PhysicalExamRecommended.js +2 -2
  49. data/app/assets/javascripts/ProcedureOrder.js +2 -2
  50. data/app/assets/javascripts/ProcedurePerformed.js +3 -3
  51. data/app/assets/javascripts/ProcedureRecommended.js +2 -2
  52. data/app/assets/javascripts/ProviderCareExperience.js +2 -2
  53. data/app/assets/javascripts/QDMPatient.js +26 -1
  54. data/app/assets/javascripts/RelatedPerson.js +1 -1
  55. data/app/assets/javascripts/SubstanceAdministered.js +2 -2
  56. data/app/assets/javascripts/SubstanceOrder.js +2 -2
  57. data/app/assets/javascripts/SubstanceRecommended.js +2 -2
  58. data/app/assets/javascripts/Symptom.js +2 -2
  59. data/app/assets/javascripts/attributes/Component.js +2 -2
  60. data/app/assets/javascripts/attributes/DiagnosisComponent.js +1 -1
  61. data/app/assets/javascripts/attributes/Entity.js +2 -2
  62. data/app/assets/javascripts/attributes/FacilityLocation.js +1 -1
  63. data/app/assets/javascripts/attributes/Identifier.js +1 -1
  64. data/app/assets/javascripts/attributes/Location.js +32 -0
  65. data/app/assets/javascripts/attributes/Organization.js +1 -1
  66. data/app/assets/javascripts/basetypes/AnyEntity.js +3 -0
  67. data/app/assets/javascripts/basetypes/DataElement.js +26 -1
  68. data/app/models/hqmfOid_to_datatype_map.json +1 -1
  69. data/app/models/models.rb +2 -2
  70. data/app/models/qdm/adverse_event.rb +2 -2
  71. data/app/models/qdm/allergy_intolerance.rb +2 -2
  72. data/app/models/qdm/assessment_order.rb +2 -2
  73. data/app/models/qdm/assessment_performed.rb +3 -2
  74. data/app/models/qdm/assessment_recommended.rb +2 -2
  75. data/app/models/qdm/attributes/component.rb +1 -1
  76. data/app/models/qdm/attributes/diagnosis_component.rb +1 -1
  77. data/app/models/qdm/attributes/entity.rb +1 -1
  78. data/app/models/qdm/attributes/facility_location.rb +1 -1
  79. data/app/models/qdm/attributes/identifier.rb +1 -1
  80. data/app/models/qdm/attributes/location.rb +9 -0
  81. data/app/models/qdm/attributes/organization.rb +1 -1
  82. data/app/models/qdm/basetypes/data_element.rb +5 -0
  83. data/app/models/qdm/care_goal.rb +2 -2
  84. data/app/models/qdm/communication_performed.rb +3 -3
  85. data/app/models/qdm/device_order.rb +2 -2
  86. data/app/models/qdm/device_recommended.rb +2 -2
  87. data/app/models/qdm/diagnosis.rb +2 -2
  88. data/app/models/qdm/diagnostic_study_order.rb +2 -2
  89. data/app/models/qdm/diagnostic_study_performed.rb +4 -2
  90. data/app/models/qdm/diagnostic_study_recommended.rb +2 -2
  91. data/app/models/qdm/encounter_order.rb +2 -2
  92. data/app/models/qdm/encounter_performed.rb +4 -3
  93. data/app/models/qdm/encounter_recommended.rb +2 -2
  94. data/app/models/qdm/family_history.rb +2 -2
  95. data/app/models/qdm/immunization_administered.rb +2 -2
  96. data/app/models/qdm/immunization_order.rb +2 -2
  97. data/app/models/qdm/intervention_order.rb +2 -2
  98. data/app/models/qdm/intervention_performed.rb +3 -2
  99. data/app/models/qdm/intervention_recommended.rb +2 -2
  100. data/app/models/qdm/laboratory_test_order.rb +2 -2
  101. data/app/models/qdm/laboratory_test_performed.rb +4 -2
  102. data/app/models/qdm/laboratory_test_recommended.rb +2 -2
  103. data/app/models/qdm/medication_active.rb +2 -2
  104. data/app/models/qdm/medication_administered.rb +2 -2
  105. data/app/models/qdm/medication_discharge.rb +3 -3
  106. data/app/models/qdm/medication_dispensed.rb +4 -3
  107. data/app/models/qdm/medication_order.rb +3 -2
  108. data/app/models/qdm/participation.rb +1 -2
  109. data/app/models/qdm/patient.rb +1 -1
  110. data/app/models/qdm/patient_care_experience.rb +2 -2
  111. data/app/models/qdm/patient_characteristic.rb +1 -1
  112. data/app/models/qdm/patient_characteristic_birthdate.rb +1 -1
  113. data/app/models/qdm/patient_characteristic_clinical_trial_participant.rb +1 -1
  114. data/app/models/qdm/patient_characteristic_ethnicity.rb +1 -1
  115. data/app/models/qdm/patient_characteristic_expired.rb +1 -1
  116. data/app/models/qdm/patient_characteristic_payer.rb +1 -1
  117. data/app/models/qdm/patient_characteristic_race.rb +1 -1
  118. data/app/models/qdm/patient_characteristic_sex.rb +1 -1
  119. data/app/models/qdm/physical_exam_order.rb +2 -2
  120. data/app/models/qdm/physical_exam_performed.rb +3 -2
  121. data/app/models/qdm/physical_exam_recommended.rb +2 -2
  122. data/app/models/qdm/procedure_order.rb +2 -2
  123. data/app/models/qdm/procedure_performed.rb +3 -3
  124. data/app/models/qdm/procedure_recommended.rb +2 -2
  125. data/app/models/qdm/provider_care_experience.rb +2 -2
  126. data/app/models/qdm/related_person.rb +1 -1
  127. data/app/models/qdm/substance_administered.rb +2 -2
  128. data/app/models/qdm/substance_order.rb +2 -2
  129. data/app/models/qdm/substance_recommended.rb +2 -2
  130. data/app/models/qdm/symptom.rb +2 -2
  131. data/bin/validate_generator.sh +1 -1
  132. data/cqm-models.gemspec +1 -1
  133. data/data/oids_qdm_5.6.json +335 -0
  134. data/dist/browser.js +2200 -1451
  135. data/dist/index.js +2200 -1451
  136. data/lib/generate_entities.rb +18 -10
  137. data/lib/generate_models.rb +27 -19
  138. data/lib/generate_patients.rb +1 -1
  139. data/modelinfo/qdm-modelinfo-5.6.xml +1102 -0
  140. data/package.json +5 -5
  141. data/templates/models_template.rb.erb +3 -1
  142. data/templates/mongoose_template.js.erb +9 -2
  143. data/templates/patient_template.js.erb +25 -0
  144. data/yarn.lock +699 -682
  145. metadata +6 -4
  146. data/app/assets/javascripts/DeviceApplied.js +0 -48
  147. data/app/models/qdm/device_applied.rb +0 -19
@@ -0,0 +1,1102 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
+ <ns4:modelInfo name="QDM" url="urn:healthit-gov:qdm:v5_6" 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.6" 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.Identifier" 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.Entity" baseType="System.Any" retrievable="false">
12
+ <ns4:element name="id" type="System.String"/>
13
+ <ns4:element name="identifier" type="QDM.Identifier"/>
14
+ </ns4:typeInfo>
15
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientEntity" baseType="QDM.Entity" retrievable="false">
16
+ </ns4:typeInfo>
17
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.CarePartner" baseType="QDM.Entity" retrievable="false">
18
+ <ns4:element name="relationship" type="System.Code"/>
19
+ </ns4:typeInfo>
20
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.RelatedPerson" baseType="QDM.QDMBaseType" label="Related Person" retrievable="true" primaryCodePath="code">
21
+ <ns4:element name="identifier" type="QDM.Identifier"/>
22
+ <ns4:element name="linkedPatientId" type="System.String"/>
23
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
24
+ <ns4:targetContextRelationship context="Patient" relatedKeyElement="linkedPatientId"/>
25
+ </ns4:typeInfo>
26
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Practitioner" baseType="QDM.Entity" retrievable="false">
27
+ <ns4:element name="role" type="System.Code"/>
28
+ <ns4:element name="specialty" type="System.Code"/>
29
+ <ns4:element name="qualification" type="System.Code"/>
30
+ </ns4:typeInfo>
31
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Organization" baseType="QDM.Entity" retrievable="false">
32
+ <ns4:element name="organizationType" type="System.Code"/>
33
+ </ns4:typeInfo>
34
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Location" baseType="QDM.Entity" retrievable="false">
35
+ <ns4:element name="locationType" type="System.Code"/>
36
+ </ns4:typeInfo>
37
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PhysicalExamOrder" retrievable="false" baseType="QDM.QDMBaseType">
38
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
39
+ <ns4:element name="reason" type="System.Code"/>
40
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
41
+ <ns4:element name="negationRationale" type="System.Code"/>
42
+ <ns4:element name="requester">
43
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
44
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
45
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
46
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
47
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
48
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
49
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
50
+ </ns4:elementTypeSpecifier>
51
+ </ns4:typeSpecifier>
52
+ </ns4:element>
53
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
54
+ </ns4:typeInfo>
55
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Participation" retrievable="true" baseType="QDM.QDMBaseType" label="Participation" primaryCodePath="code">
56
+ <ns4:element name="participationPeriod" type="interval&lt;System.DateTime&gt;"/>
57
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
58
+ </ns4:typeInfo>
59
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicSex" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Sex" primaryCodePath="code">
60
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
61
+ </ns4:typeInfo>
62
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.CareGoal" retrievable="true" baseType="QDM.QDMBaseType" label="Care Goal" primaryCodePath="code">
63
+ <ns4:element name="statusDate" type="System.Date"/>
64
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
65
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
66
+ <ns4:element name="targetOutcome"> <!--type="System.Any">-->
67
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
68
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
69
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
70
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
71
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
72
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
73
+ </ns4:typeSpecifier>
74
+ </ns4:element>
75
+ <ns4:element name="performer">
76
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
77
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
78
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
79
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
80
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
81
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
82
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
83
+ </ns4:elementTypeSpecifier>
84
+ </ns4:typeSpecifier>
85
+ </ns4:element>
86
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
87
+ </ns4:typeInfo>
88
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristic" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic" primaryCodePath="code">
89
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
90
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
91
+ </ns4:typeInfo>
92
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicEthnicity" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Ethnicity" primaryCodePath="code">
93
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
94
+ </ns4:typeInfo>
95
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicRace" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Race" primaryCodePath="code">
96
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
97
+ </ns4:typeInfo>
98
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.LaboratoryTestPerformed" retrievable="false" baseType="QDM.QDMBaseType">
99
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
100
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
101
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
102
+ <ns4:element name="status" type="System.Code"/>
103
+ <ns4:element name="method" type="System.Code"/>
104
+ <ns4:element name="result"> <!-- type="System.Any">-->
105
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
106
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
107
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
108
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
109
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
110
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
111
+ </ns4:typeSpecifier>
112
+ </ns4:element>
113
+ <ns4:element name="resultDatetime" type="System.DateTime"/>
114
+ <ns4:element name="reason" type="System.Code"/>
115
+ <ns4:element name="referenceRange" type="interval&lt;System.Quantity&gt;"/>
116
+ <ns4:element name="interpretation" type="System.Code"/>
117
+ <ns4:element name="negationRationale" type="System.Code"/>
118
+ <ns4:element name="components" type="list&lt;QDM.ResultComponent&gt;"/>
119
+ <ns4:element name="performer">
120
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
121
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
122
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
123
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
124
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
125
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
126
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
127
+ </ns4:elementTypeSpecifier>
128
+ </ns4:typeSpecifier>
129
+ </ns4:element>
130
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
131
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
132
+ </ns4:typeInfo>
133
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Symptom" retrievable="true" baseType="QDM.QDMBaseType" label="Symptom" primaryCodePath="code">
134
+ <ns4:element name="prevalencePeriod" type="interval&lt;System.DateTime&gt;"/>
135
+ <ns4:element name="severity" type="System.Code"/>
136
+ <ns4:element name="recorder">
137
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
138
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
139
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
140
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
141
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
142
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
143
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
144
+ </ns4:elementTypeSpecifier>
145
+ </ns4:typeSpecifier>
146
+ </ns4:element>
147
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
148
+ </ns4:typeInfo>
149
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationAdministered" retrievable="false" baseType="QDM.QDMBaseType">
150
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
151
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
152
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
153
+ <ns4:element name="dosage" type="System.Quantity"/>
154
+ <ns4:element name="frequency" type="System.Code"/>
155
+ <ns4:element name="route" type="System.Code"/>
156
+ <ns4:element name="reason" type="System.Code"/>
157
+ <ns4:element name="negationRationale" type="System.Code"/>
158
+ <ns4:element name="performer">
159
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
160
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
161
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
162
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
163
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
164
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
165
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
166
+ </ns4:elementTypeSpecifier>
167
+ </ns4:typeSpecifier>
168
+ </ns4:element>
169
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
170
+ </ns4:typeInfo>
171
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ProcedureRecommended" retrievable="false" baseType="QDM.QDMBaseType">
172
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
173
+ <ns4:element name="reason" type="System.Code"/>
174
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
175
+ <ns4:element name="rank" type="System.Integer"/>
176
+ <ns4:element name="requester">
177
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
178
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
179
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
180
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
181
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
182
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
183
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
184
+ </ns4:elementTypeSpecifier>
185
+ </ns4:typeSpecifier>
186
+ </ns4:element>
187
+ <ns4:element name="negationRationale" type="System.Code"/>
188
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
189
+ </ns4:typeInfo>
190
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.EncounterPerformed" retrievable="false" baseType="QDM.QDMBaseType">
191
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
192
+ <ns4:element name="admissionSource" type="System.Code"/>
193
+ <ns4:element name="class" type="System.Code"/>
194
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
195
+ <ns4:element name="dischargeDisposition" type="System.Code"/>
196
+ <ns4:element name="facilityLocations" type="list&lt;QDM.FacilityLocation&gt;"/>
197
+ <ns4:element name="diagnoses" type="list&lt;QDM.DiagnosisComponent&gt;"/>
198
+ <ns4:element name="lengthOfStay" type="System.Quantity"/>
199
+ <ns4:element name="priority" type="System.Code"/>
200
+ <ns4:element name="participant">
201
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
202
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
203
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
204
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
205
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
206
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
207
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
208
+ </ns4:elementTypeSpecifier>
209
+ </ns4:typeSpecifier>
210
+ </ns4:element>
211
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
212
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
213
+ </ns4:typeInfo>
214
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Diagnosis" retrievable="true" baseType="QDM.QDMBaseType" label="Diagnosis" primaryCodePath="code">
215
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
216
+ <ns4:element name="prevalencePeriod" type="interval&lt;System.DateTime&gt;"/>
217
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
218
+ <ns4:element name="severity" type="System.Code"/>
219
+ <ns4:element name="recorder">
220
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
221
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
222
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
223
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
224
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
225
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
226
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
227
+ </ns4:elementTypeSpecifier>
228
+ </ns4:typeSpecifier>
229
+ </ns4:element>
230
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
231
+ </ns4:typeInfo>
232
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.CommunicationPerformed" retrievable="false" baseType="QDM.QDMBaseType">
233
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
234
+ <ns4:element name="category" type="System.Code"/>
235
+ <ns4:element name="medium" type="System.Code"/>
236
+ <ns4:element name="sender">
237
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
238
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
239
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
240
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
241
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
242
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
243
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
244
+ </ns4:elementTypeSpecifier>
245
+ </ns4:typeSpecifier>
246
+ </ns4:element>
247
+ <ns4:element name="recipient">
248
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
249
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
250
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
251
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
252
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
253
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
254
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
255
+ </ns4:elementTypeSpecifier>
256
+ </ns4:typeSpecifier>
257
+ </ns4:element>
258
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
259
+ <ns4:element name="sentDatetime" type="System.DateTime"/>
260
+ <ns4:element name="receivedDatetime" type="System.DateTime"/>
261
+ <ns4:element name="negationRationale" type="System.Code"/>
262
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
263
+ </ns4:typeInfo>
264
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AssessmentPerformed" retrievable="false" baseType="QDM.QDMBaseType">
265
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
266
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
267
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
268
+ <ns4:element name="negationRationale" type="System.Code"/>
269
+ <ns4:element name="reason" type="System.Code"/>
270
+ <ns4:element name="method" type="System.Code"/>
271
+ <ns4:element name="result"> <!-- type="System.Any">-->
272
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
273
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
274
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
275
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
276
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
277
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
278
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="DateTime"/>
279
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Time"/>
280
+ </ns4:typeSpecifier>
281
+ </ns4:element>
282
+ <ns4:element name="interpretation" type="System.Code"/>
283
+ <ns4:element name="components" type="list&lt;QDM.Component&gt;"/>
284
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
285
+ <ns4:element name="performer">
286
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
287
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
288
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
289
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
290
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
291
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
292
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
293
+ </ns4:elementTypeSpecifier>
294
+ </ns4:typeSpecifier>
295
+ </ns4:element>
296
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
297
+ </ns4:typeInfo>
298
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicClinicalTrialParticipant" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Clinical Trial Participant" primaryCodePath="code">
299
+ <ns4:element name="reason" type="System.Code"/>
300
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
301
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
302
+ </ns4:typeInfo>
303
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DeviceOrder" retrievable="false" baseType="QDM.QDMBaseType">
304
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
305
+ <ns4:element name="negationRationale" type="System.Code"/>
306
+ <ns4:element name="reason" type="System.Code"/>
307
+ <ns4:element name="requester">
308
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
309
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
310
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
311
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
312
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
313
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
314
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
315
+ </ns4:elementTypeSpecifier>
316
+ </ns4:typeSpecifier>
317
+ </ns4:element>
318
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
319
+ </ns4:typeInfo>
320
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DiagnosticStudyPerformed" retrievable="false" baseType="QDM.QDMBaseType">
321
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
322
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
323
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
324
+ <ns4:element name="reason" type="System.Code"/>
325
+ <ns4:element name="result"> <!--type="System.Any">-->
326
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
327
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
328
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
329
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
330
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
331
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
332
+ </ns4:typeSpecifier>
333
+ </ns4:element>
334
+ <ns4:element name="resultDatetime" type="System.DateTime"/>
335
+ <ns4:element name="interpretation" type="System.Code"/>
336
+ <ns4:element name="status" type="System.Code"/>
337
+ <ns4:element name="method" type="System.Code"/>
338
+ <ns4:element name="facilityLocation" type="System.Code"/>
339
+ <ns4:element name="negationRationale" type="System.Code"/>
340
+ <ns4:element name="components" type="list&lt;QDM.Component&gt;"/>
341
+ <ns4:element name="performer">
342
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
343
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
344
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
345
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
346
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
347
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
348
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
349
+ </ns4:elementTypeSpecifier>
350
+ </ns4:typeSpecifier>
351
+ </ns4:element>
352
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
353
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
354
+ </ns4:typeInfo>
355
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.InterventionOrder" retrievable="false" baseType="QDM.QDMBaseType">
356
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
357
+ <ns4:element name="reason" type="System.Code"/>
358
+ <ns4:element name="negationRationale" type="System.Code"/>
359
+ <ns4:element name="requester">
360
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
361
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
362
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
363
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
364
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
365
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
366
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
367
+ </ns4:elementTypeSpecifier>
368
+ </ns4:typeSpecifier>
369
+ </ns4:element>
370
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
371
+ </ns4:typeInfo>
372
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.FamilyHistory" retrievable="true" baseType="QDM.QDMBaseType" label="Family History" primaryCodePath="code">
373
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
374
+ <ns4:element name="relationship" type="System.Code"/>
375
+ <ns4:element name="recorder">
376
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
377
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
378
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
379
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
380
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
381
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
382
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
383
+ </ns4:elementTypeSpecifier>
384
+ </ns4:typeSpecifier>
385
+ </ns4:element>
386
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
387
+ </ns4:typeInfo>
388
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.Component" retrievable="false" baseType="System.Any">
389
+ <ns4:element name="code" type="System.Code"/>
390
+ <ns4:element name="result"> <!-- type="System.Any">-->
391
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
392
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
393
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
394
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
395
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
396
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
397
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="DateTime"/>
398
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Time"/>
399
+ </ns4:typeSpecifier>
400
+ </ns4:element>
401
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
402
+ </ns4:typeInfo>
403
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DiagnosisComponent" retrievable="false" baseType="System.Any">
404
+ <ns4:element name="code" type="System.Code"/>
405
+ <ns4:element name="presentOnAdmissionIndicator" type="System.Code"/>
406
+ <ns4:element name="rank" type="System.Integer"/>
407
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
408
+ </ns4:typeInfo>
409
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ResultComponent" retrievable="false" baseType="QDM.Component">
410
+ <ns4:element name="referenceRange" type="interval&lt;System.Quantity&gt;"/>
411
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
412
+ </ns4:typeInfo>
413
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.FacilityLocation" retrievable="false" baseType="System.Any">
414
+ <ns4:element name="code" type="System.Code"/>
415
+ <ns4:element name="locationPeriod" type="interval&lt;System.DateTime&gt;"/>
416
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
417
+ </ns4:typeInfo>
418
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationActive" retrievable="true" baseType="QDM.QDMBaseType" label="Medication, Active" primaryCodePath="code">
419
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
420
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
421
+ <ns4:element name="dosage" type="System.Quantity"/>
422
+ <ns4:element name="frequency" type="System.Code"/>
423
+ <ns4:element name="route" type="System.Code"/>
424
+ <ns4:element name="recorder">
425
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
426
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
427
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
428
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
429
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
430
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
431
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
432
+ </ns4:elementTypeSpecifier>
433
+ </ns4:typeSpecifier>
434
+ </ns4:element>
435
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
436
+ </ns4:typeInfo>
437
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.LaboratoryTestOrder" retrievable="false" baseType="QDM.QDMBaseType">
438
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
439
+ <ns4:element name="reason" type="System.Code"/>
440
+ <ns4:element name="negationRationale" type="System.Code"/>
441
+ <ns4:element name="requester">
442
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
443
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
444
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
445
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
446
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
447
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
448
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
449
+ </ns4:elementTypeSpecifier>
450
+ </ns4:typeSpecifier>
451
+ </ns4:element>
452
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
453
+ </ns4:typeInfo>
454
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DiagnosticStudyOrder" retrievable="false" baseType="QDM.QDMBaseType">
455
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
456
+ <ns4:element name="reason" type="System.Code"/>
457
+ <ns4:element name="negationRationale" type="System.Code"/>
458
+ <ns4:element name="requester">
459
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
460
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
461
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
462
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
463
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
464
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
465
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
466
+ </ns4:elementTypeSpecifier>
467
+ </ns4:typeSpecifier>
468
+ </ns4:element>
469
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
470
+ </ns4:typeInfo>
471
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.SubstanceOrder" retrievable="false" baseType="QDM.QDMBaseType">
472
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
473
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
474
+ <ns4:element name="reason" type="System.Code"/>
475
+ <ns4:element name="dosage" type="System.Quantity"/>
476
+ <ns4:element name="supply" type="System.Quantity"/>
477
+ <ns4:element name="frequency" type="System.Code"/>
478
+ <ns4:element name="refills" type="System.Integer"/>
479
+ <ns4:element name="route" type="System.Code"/>
480
+ <ns4:element name="negationRationale" type="System.Code"/>
481
+ <ns4:element name="requester">
482
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
483
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
484
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
485
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
486
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
487
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
488
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
489
+ </ns4:elementTypeSpecifier>
490
+ </ns4:typeSpecifier>
491
+ </ns4:element>
492
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
493
+ </ns4:typeInfo>
494
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicPayer" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Payer" primaryCodePath="code">
495
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
496
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
497
+ </ns4:typeInfo>
498
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicExpired" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Expired" primaryCodePath="code">
499
+ <ns4:element name="expiredDatetime" type="System.DateTime"/>
500
+ <ns4:element name="cause" type="System.Code"/>
501
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
502
+ </ns4:typeInfo>
503
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AssessmentOrder" retrievable="false" baseType="QDM.QDMBaseType">
504
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
505
+ <ns4:element name="negationRationale" type="System.Code"/>
506
+ <ns4:element name="reason" type="System.Code"/>
507
+ <ns4:element name="requester">
508
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
509
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
510
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
511
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
512
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
513
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
514
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
515
+ </ns4:elementTypeSpecifier>
516
+ </ns4:typeSpecifier>
517
+ </ns4:element>
518
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
519
+ </ns4:typeInfo>
520
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AssessmentRecommended" retrievable="false" baseType="QDM.QDMBaseType">
521
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
522
+ <ns4:element name="negationRationale" type="System.Code"/>
523
+ <ns4:element name="reason" type="System.Code"/>
524
+ <ns4:element name="requester">
525
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
526
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
527
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
528
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
529
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
530
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
531
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
532
+ </ns4:elementTypeSpecifier>
533
+ </ns4:typeSpecifier>
534
+ </ns4:element>
535
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
536
+ </ns4:typeInfo>
537
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ImmunizationAdministered" retrievable="false" baseType="QDM.QDMBaseType">
538
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
539
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
540
+ <ns4:element name="reason" type="System.Code"/>
541
+ <ns4:element name="dosage" type="System.Quantity"/>
542
+ <ns4:element name="route" type="System.Code"/>
543
+ <ns4:element name="negationRationale" type="System.Code"/>
544
+ <ns4:element name="performer">
545
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
546
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
547
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
548
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
549
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
550
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
551
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
552
+ </ns4:elementTypeSpecifier>
553
+ </ns4:typeSpecifier>
554
+ </ns4:element>
555
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
556
+ </ns4:typeInfo>
557
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.SubstanceAdministered" retrievable="false" baseType="QDM.QDMBaseType">
558
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
559
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
560
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
561
+ <ns4:element name="dosage" type="System.Quantity"/>
562
+ <ns4:element name="frequency" type="System.Code"/>
563
+ <ns4:element name="route" type="System.Code"/>
564
+ <ns4:element name="negationRationale" type="System.Code"/>
565
+ <ns4:element name="performer">
566
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
567
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
568
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
569
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
570
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
571
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
572
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
573
+ </ns4:elementTypeSpecifier>
574
+ </ns4:typeSpecifier>
575
+ </ns4:element>
576
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
577
+ </ns4:typeInfo>
578
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.EncounterOrder" retrievable="false" baseType="QDM.QDMBaseType">
579
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
580
+ <ns4:element name="reason" type="System.Code"/>
581
+ <ns4:element name="facilityLocation" type="System.Code"/>
582
+ <ns4:element name="negationRationale" type="System.Code"/>
583
+ <ns4:element name="requester">
584
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
585
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
586
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
587
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
588
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
589
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
590
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
591
+ </ns4:elementTypeSpecifier>
592
+ </ns4:typeSpecifier>
593
+ </ns4:element>
594
+ <ns4:element name="priority" type="System.Code"/>
595
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
596
+ </ns4:typeInfo>
597
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.EncounterRecommended" retrievable="false" baseType="QDM.QDMBaseType">
598
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
599
+ <ns4:element name="reason" type="System.Code"/>
600
+ <ns4:element name="facilityLocation" type="System.Code"/>
601
+ <ns4:element name="negationRationale" type="System.Code"/>
602
+ <ns4:element name="requester">
603
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
604
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
605
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
606
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
607
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
608
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
609
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
610
+ </ns4:elementTypeSpecifier>
611
+ </ns4:typeSpecifier>
612
+ </ns4:element>
613
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
614
+ </ns4:typeInfo>
615
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ProcedurePerformed" retrievable="false" baseType="QDM.QDMBaseType">
616
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
617
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
618
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
619
+ <ns4:element name="reason" type="System.Code"/>
620
+ <ns4:element name="method" type="System.Code"/>
621
+ <ns4:element name="result"> <!--type="System.Any">-->
622
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
623
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
624
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
625
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
626
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
627
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
628
+ </ns4:typeSpecifier>
629
+ </ns4:element>
630
+ <ns4:element name="status" type="System.Code"/>
631
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
632
+ <ns4:element name="rank" type="System.Integer"/>
633
+ <ns4:element name="incisionDatetime" type="System.DateTime"/>
634
+ <ns4:element name="negationRationale" type="System.Code"/>
635
+ <ns4:element name="components" type="list&lt;QDM.Component&gt;"/>
636
+ <ns4:element name="performer">
637
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
638
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
639
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
640
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
641
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
642
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
643
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
644
+ </ns4:elementTypeSpecifier>
645
+ </ns4:typeSpecifier>
646
+ </ns4:element>
647
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
648
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
649
+ </ns4:typeInfo>
650
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AllergyIntolerance" retrievable="true" baseType="QDM.QDMBaseType" label="Allergy/Intolerance" primaryCodePath="code">
651
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
652
+ <ns4:element name="prevalencePeriod" type="interval&lt;System.DateTime&gt;"/>
653
+ <ns4:element name="type" type="System.Code"/>
654
+ <ns4:element name="severity" type="System.Code"/>
655
+ <ns4:element name="recorder">
656
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
657
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
658
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
659
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
660
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
661
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
662
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
663
+ </ns4:elementTypeSpecifier>
664
+ </ns4:typeSpecifier>
665
+ </ns4:element>
666
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
667
+ </ns4:typeInfo>
668
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PhysicalExamRecommended" retrievable="false" baseType="QDM.QDMBaseType">
669
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
670
+ <ns4:element name="reason" type="System.Code"/>
671
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
672
+ <ns4:element name="negationRationale" type="System.Code"/>
673
+ <ns4:element name="requester">
674
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
675
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
676
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
677
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
678
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
679
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
680
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
681
+ </ns4:elementTypeSpecifier>
682
+ </ns4:typeSpecifier>
683
+ </ns4:element>
684
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
685
+ </ns4:typeInfo>
686
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCharacteristicBirthdate" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Characteristic Birthdate" primaryCodePath="code">
687
+ <ns4:element name="birthDatetime" type="System.DateTime"/>
688
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
689
+ </ns4:typeInfo>
690
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.AdverseEvent" retrievable="true" baseType="QDM.QDMBaseType" label="Adverse Event" primaryCodePath="code">
691
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
692
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
693
+ <ns4:element name="severity" type="System.Code"/>
694
+ <ns4:element name="facilityLocation" type="System.Code"/>
695
+ <ns4:element name="type" type="System.Code"/>
696
+ <ns4:element name="recorder">
697
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
698
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
699
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
700
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
701
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
702
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
703
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
704
+ </ns4:elementTypeSpecifier>
705
+ </ns4:typeSpecifier>
706
+ </ns4:element>
707
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
708
+ </ns4:typeInfo>
709
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.QDMBaseType" retrievable="false" baseType="System.Any">
710
+ <ns4:element name="id" type="System.String"/>
711
+ <ns4:element name="code" type="System.Code"/>
712
+ <ns4:element name="patientId" type="System.String"/>
713
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
714
+ </ns4:typeInfo>
715
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DeviceRecommended" retrievable="false" baseType="QDM.QDMBaseType">
716
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
717
+ <ns4:element name="negationRationale" type="System.Code"/>
718
+ <ns4:element name="reason" type="System.Code"/>
719
+ <ns4:element name="requester">
720
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
721
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
722
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
723
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
724
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
725
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
726
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
727
+ </ns4:elementTypeSpecifier>
728
+ </ns4:typeSpecifier>
729
+ </ns4:element>
730
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
731
+ </ns4:typeInfo>
732
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationDischarge" retrievable="false" baseType="QDM.QDMBaseType">
733
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
734
+ <ns4:element name="refills" type="System.Integer"/>
735
+ <ns4:element name="dosage" type="System.Quantity"/>
736
+ <ns4:element name="supply" type="System.Quantity"/>
737
+ <ns4:element name="frequency" type="System.Code"/>
738
+ <ns4:element name="daysSupplied" type="System.Integer"/>
739
+ <ns4:element name="route" type="System.Code"/>
740
+ <ns4:element name="negationRationale" type="System.Code"/>
741
+ <ns4:element name="prescriber">
742
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
743
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
744
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
745
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
746
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
747
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
748
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
749
+ </ns4:elementTypeSpecifier>
750
+ </ns4:typeSpecifier>
751
+ </ns4:element>
752
+ <ns4:element name="recorder">
753
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
754
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
755
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
756
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
757
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
758
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
759
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
760
+ </ns4:elementTypeSpecifier>
761
+ </ns4:typeSpecifier>
762
+ </ns4:element>
763
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
764
+ </ns4:typeInfo>
765
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.InterventionPerformed" retrievable="false" baseType="QDM.QDMBaseType">
766
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
767
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
768
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
769
+ <ns4:element name="reason" type="System.Code"/>
770
+ <ns4:element name="result"> <!-- type="System.Any">-->
771
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
772
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
773
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
774
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
775
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
776
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
777
+ </ns4:typeSpecifier>
778
+ </ns4:element>
779
+ <ns4:element name="status" type="System.Code"/>
780
+ <ns4:element name="negationRationale" type="System.Code"/>
781
+ <ns4:element name="performer">
782
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
783
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
784
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
785
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
786
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
787
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
788
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
789
+ </ns4:elementTypeSpecifier>
790
+ </ns4:typeSpecifier>
791
+ </ns4:element>
792
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
793
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
794
+ </ns4:typeInfo>
795
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.LaboratoryTestRecommended" retrievable="false" baseType="QDM.QDMBaseType">
796
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
797
+ <ns4:element name="reason" type="System.Code"/>
798
+ <ns4:element name="negationRationale" type="System.Code"/>
799
+ <ns4:element name="requester">
800
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
801
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
802
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
803
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
804
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
805
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
806
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
807
+ </ns4:elementTypeSpecifier>
808
+ </ns4:typeSpecifier>
809
+ </ns4:element>
810
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
811
+ </ns4:typeInfo>
812
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationDispensed" retrievable="false" baseType="QDM.QDMBaseType">
813
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
814
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
815
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
816
+ <ns4:element name="refills" type="System.Integer"/>
817
+ <ns4:element name="dosage" type="System.Quantity"/>
818
+ <ns4:element name="supply" type="System.Quantity"/>
819
+ <ns4:element name="frequency" type="System.Code"/>
820
+ <ns4:element name="daysSupplied" type="System.Integer"/>
821
+ <ns4:element name="route" type="System.Code"/>
822
+ <ns4:element name="prescriber">
823
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
824
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
825
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
826
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
827
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
828
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
829
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
830
+ </ns4:elementTypeSpecifier>
831
+ </ns4:typeSpecifier>
832
+ </ns4:element>
833
+ <ns4:element name="dispenser">
834
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
835
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
836
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
837
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
838
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
839
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
840
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
841
+ </ns4:elementTypeSpecifier>
842
+ </ns4:typeSpecifier>
843
+ </ns4:element>
844
+ <ns4:element name="negationRationale" type="System.Code"/>
845
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
846
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
847
+ </ns4:typeInfo>
848
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.DiagnosticStudyRecommended" retrievable="false" baseType="QDM.QDMBaseType">
849
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
850
+ <ns4:element name="negationRationale" type="System.Code"/>
851
+ <ns4:element name="requester">
852
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
853
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
854
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
855
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
856
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
857
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
858
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
859
+ </ns4:elementTypeSpecifier>
860
+ </ns4:typeSpecifier>
861
+ </ns4:element>
862
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
863
+ </ns4:typeInfo>
864
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ImmunizationOrder" retrievable="false" baseType="QDM.QDMBaseType">
865
+ <ns4:element name="activeDatetime" type="System.DateTime"/>
866
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
867
+ <ns4:element name="dosage" type="System.Quantity"/>
868
+ <ns4:element name="supply" type="System.Quantity"/>
869
+ <ns4:element name="reason" type="System.Code"/>
870
+ <ns4:element name="route" type="System.Code"/>
871
+ <ns4:element name="negationRationale" type="System.Code"/>
872
+ <ns4:element name="requester">
873
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
874
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
875
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
876
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
877
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
878
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
879
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
880
+ </ns4:elementTypeSpecifier>
881
+ </ns4:typeSpecifier>
882
+ </ns4:element>
883
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
884
+ </ns4:typeInfo>
885
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PatientCareExperience" retrievable="true" baseType="QDM.QDMBaseType" label="Patient Care Experience" primaryCodePath="code">
886
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
887
+ <ns4:element name="recorder">
888
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
889
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
890
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
891
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
892
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
893
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
894
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
895
+ </ns4:elementTypeSpecifier>
896
+ </ns4:typeSpecifier>
897
+ </ns4:element>
898
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
899
+ </ns4:typeInfo>
900
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ProviderCareExperience" retrievable="true" baseType="QDM.QDMBaseType" label="Provider Care Experience" primaryCodePath="code">
901
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
902
+ <ns4:element name="recorder">
903
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
904
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
905
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
906
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
907
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
908
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
909
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
910
+ </ns4:elementTypeSpecifier>
911
+ </ns4:typeSpecifier>
912
+ </ns4:element>
913
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
914
+ </ns4:typeInfo>
915
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.ProcedureOrder" retrievable="false" baseType="QDM.QDMBaseType">
916
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
917
+ <ns4:element name="reason" type="System.Code"/>
918
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
919
+ <ns4:element name="rank" type="System.Integer"/>
920
+ <ns4:element name="priority" type="System.Code"/>
921
+ <ns4:element name="negationRationale" type="System.Code"/>
922
+ <ns4:element name="requester">
923
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
924
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
925
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
926
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
927
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
928
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
929
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
930
+ </ns4:elementTypeSpecifier>
931
+ </ns4:typeSpecifier>
932
+ </ns4:element>
933
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
934
+ </ns4:typeInfo>
935
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.MedicationOrder" retrievable="false" baseType="QDM.QDMBaseType">
936
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
937
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
938
+ <ns4:element name="refills" type="System.Integer"/>
939
+ <ns4:element name="dosage" type="System.Quantity"/>
940
+ <ns4:element name="supply" type="System.Quantity"/>
941
+ <ns4:element name="frequency" type="System.Code"/>
942
+ <ns4:element name="daysSupplied" type="System.Integer"/>
943
+ <ns4:element name="route" type="System.Code"/>
944
+ <ns4:element name="setting" type="System.Code"/>
945
+ <ns4:element name="reason" type="System.Code"/>
946
+ <ns4:element name="negationRationale" type="System.Code"/>
947
+ <ns4:element name="prescriber">
948
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
949
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
950
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
951
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
952
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
953
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
954
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
955
+ </ns4:elementTypeSpecifier>
956
+ </ns4:typeSpecifier>
957
+ </ns4:element>
958
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
959
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
960
+ </ns4:typeInfo>
961
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.SubstanceRecommended" retrievable="false" baseType="QDM.QDMBaseType">
962
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
963
+ <ns4:element name="reason" type="System.Code"/>
964
+ <ns4:element name="dosage" type="System.Quantity"/>
965
+ <ns4:element name="frequency" type="System.Code"/>
966
+ <ns4:element name="refills" type="System.Integer"/>
967
+ <ns4:element name="route" type="System.Code"/>
968
+ <ns4:element name="negationRationale" type="System.Code"/>
969
+ <ns4:element name="requester">
970
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
971
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
972
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
973
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
974
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
975
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
976
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
977
+ </ns4:elementTypeSpecifier>
978
+ </ns4:typeSpecifier>
979
+ </ns4:element>
980
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
981
+ </ns4:typeInfo>
982
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.InterventionRecommended" retrievable="false" baseType="QDM.QDMBaseType">
983
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
984
+ <ns4:element name="reason" type="System.Code"/>
985
+ <ns4:element name="negationRationale" type="System.Code"/>
986
+ <ns4:element name="requester">
987
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
988
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
989
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
990
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
991
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
992
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
993
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
994
+ </ns4:elementTypeSpecifier>
995
+ </ns4:typeSpecifier>
996
+ </ns4:element>
997
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
998
+ </ns4:typeInfo>
999
+ <ns4:typeInfo xsi:type="ns4:ClassInfo" name="QDM.PhysicalExamPerformed" retrievable="false" baseType="QDM.QDMBaseType">
1000
+ <ns4:element name="authorDatetime" type="System.DateTime"/>
1001
+ <ns4:element name="relevantDatetime" type="System.DateTime"/>
1002
+ <ns4:element name="relevantPeriod" type="interval&lt;System.DateTime&gt;"/>
1003
+ <ns4:element name="reason" type="System.Code"/>
1004
+ <ns4:element name="method" type="System.Code"/>
1005
+ <ns4:element name="result"> <!--type="System.Any">-->
1006
+ <ns4:typeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
1007
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Integer"/>
1008
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Code"/>
1009
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Date"/>
1010
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="DateTime"/>
1011
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Decimal"/>
1012
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Quantity"/>
1013
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Ratio"/>
1014
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="System" name="Time"/>
1015
+ </ns4:typeSpecifier>
1016
+ </ns4:element>
1017
+ <ns4:element name="anatomicalLocationSite" type="System.Code"/>
1018
+ <ns4:element name="negationRationale" type="System.Code"/>
1019
+ <ns4:element name="components" type="list&lt;QDM.Component&gt;"/>
1020
+ <ns4:element name="performer">
1021
+ <ns4:typeSpecifier xsi:type="ns4:ListTypeSpecifier">
1022
+ <ns4:elementTypeSpecifier xsi:type="ns4:ChoiceTypeSpecifier">
1023
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="PatientEntity"/>
1024
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="CarePartner"/>
1025
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Practitioner"/>
1026
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Organization"/>
1027
+ <ns4:choice xsi:type="ns4:NamedTypeSpecifier" modelName="QDM" name="Location"/>
1028
+ </ns4:elementTypeSpecifier>
1029
+ </ns4:typeSpecifier>
1030
+ </ns4:element>
1031
+ <ns4:element name="relatedTo" type="list&lt;System.String&gt;"/>
1032
+ <ns4:contextRelationship context="Patient" relatedKeyElement="patientId"/>
1033
+ </ns4:typeInfo>
1034
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveAssessmentOrder" retrievable="true" baseType="QDM.AssessmentOrder" identifier="PositiveAssessmentOrder" label="Assessment, Order" primaryCodePath="code"/>
1035
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeAssessmentOrder" retrievable="true" baseType="QDM.AssessmentOrder" identifier="NegativeAssessmentOrder" label="Assessment, Not Ordered" primaryCodePath="code"/>
1036
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveAssessmentRecommended" retrievable="true" baseType="QDM.AssessmentRecommended" identifier="PositiveAssessmentRecommended" label="Assessment, Recommended" primaryCodePath="code"/>
1037
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeAssessmentRecommended" retrievable="true" baseType="QDM.AssessmentRecommended" identifier="NegativeAssessmentRecommended" label="Assessment, Not Recommended" primaryCodePath="code"/>
1038
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveAssessmentPerformed" retrievable="true" baseType="QDM.AssessmentPerformed" identifier="PositiveAssessmentPerformed" label="Assessment, Performed" primaryCodePath="code"/>
1039
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeAssessmentPerformed" retrievable="true" baseType="QDM.AssessmentPerformed" identifier="NegativeAssessmentPerformed" label="Assessment, Not Performed" primaryCodePath="code"/>
1040
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveCommunicationPerformed" retrievable="true" baseType="QDM.CommunicationPerformed" identifier="PositiveCommunicationPerformed" label="Communication, Performed" primaryCodePath="code"/>
1041
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeCommunicationPerformed" retrievable="true" baseType="QDM.CommunicationPerformed" identifier="NegativeCommunicationPerformed" label="Communication, Not Performed" primaryCodePath="code"/>
1042
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDeviceOrder" retrievable="true" baseType="QDM.DeviceOrder" identifier="PositiveDeviceOrder" label="Device, Order" primaryCodePath="code"/>
1043
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDeviceOrder" retrievable="true" baseType="QDM.DeviceOrder" identifier="NegativeDeviceOrder" label="Device, Not Ordered" primaryCodePath="code"/>
1044
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDeviceRecommended" retrievable="true" baseType="QDM.DeviceRecommended" identifier="PositiveDeviceRecommended" label="Device, Recommended" primaryCodePath="code"/>
1045
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDeviceRecommended" retrievable="true" baseType="QDM.DeviceRecommended" identifier="NegativeDeviceRecommended" label="Device, Not Recommended" primaryCodePath="code"/>
1046
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDiagnosticStudyOrder" retrievable="true" baseType="QDM.DiagnosticStudyOrder" identifier="PositiveDiagnosticStudyOrder" label="Diagnostic Study, Order" primaryCodePath="code"/>
1047
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDiagnosticStudyOrder" retrievable="true" baseType="QDM.DiagnosticStudyOrder" identifier="NegativeDiagnosticStudyOrder" label="Diagnostic Study, Not Ordered" primaryCodePath="code"/>
1048
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDiagnosticStudyRecommended" retrievable="true" baseType="QDM.DiagnosticStudyRecommended" identifier="PositiveDiagnosticStudyRecommended" label="Diagnostic Study, Recommended" primaryCodePath="code"/>
1049
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDiagnosticStudyRecommended" retrievable="true" baseType="QDM.DiagnosticStudyRecommended" identifier="NegativeDiagnosticStudyRecommended" label="Diagnostic Study, Not Recommended" primaryCodePath="code"/>
1050
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveDiagnosticStudyPerformed" retrievable="true" baseType="QDM.DiagnosticStudyPerformed" identifier="PositiveDiagnosticStudyPerformed" label="Diagnostic Study, Performed" primaryCodePath="code"/>
1051
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeDiagnosticStudyPerformed" retrievable="true" baseType="QDM.DiagnosticStudyPerformed" identifier="NegativeDiagnosticStudyPerformed" label="Diagnostic Study, Not Performed" primaryCodePath="code"/>
1052
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveEncounterOrder" retrievable="true" baseType="QDM.EncounterOrder" identifier="PositiveEncounterOrder" label="Encounter, Order" primaryCodePath="code"/>
1053
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeEncounterOrder" retrievable="true" baseType="QDM.EncounterOrder" identifier="NegativeEncounterOrder" label="Encounter, Not Ordered" primaryCodePath="code"/>
1054
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveEncounterRecommended" retrievable="true" baseType="QDM.EncounterRecommended" identifier="PositiveEncounterRecommended" label="Encounter, Recommended" primaryCodePath="code"/>
1055
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeEncounterRecommended" retrievable="true" baseType="QDM.EncounterRecommended" identifier="NegativeEncounterRecommended" label="Encounter, Not Recommended" primaryCodePath="code"/>
1056
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveEncounterPerformed" retrievable="true" baseType="QDM.EncounterPerformed" identifier="PositiveEncounterPerformed" label="Encounter, Performed" primaryCodePath="code"/>
1057
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveInterventionOrder" retrievable="true" baseType="QDM.InterventionOrder" identifier="PositiveInterventionOrder" label="Intervention, Order" primaryCodePath="code"/>
1058
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeInterventionOrder" retrievable="true" baseType="QDM.InterventionOrder" identifier="NegativeInterventionOrder" label="Intervention, Not Ordered" primaryCodePath="code"/>
1059
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveInterventionRecommended" retrievable="true" baseType="QDM.InterventionRecommended" identifier="PositiveInterventionRecommended" label="Intervention, Recommended" primaryCodePath="code"/>
1060
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeInterventionRecommended" retrievable="true" baseType="QDM.InterventionRecommended" identifier="NegativeInterventionRecommended" label="Intervention, Not Recommended" primaryCodePath="code"/>
1061
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveInterventionPerformed" retrievable="true" baseType="QDM.InterventionPerformed" identifier="PositiveInterventionPerformed" label="Intervention, Performed" primaryCodePath="code"/>
1062
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeInterventionPerformed" retrievable="true" baseType="QDM.InterventionPerformed" identifier="NegativeInterventionPerformed" label="Intervention, Not Performed" primaryCodePath="code"/>
1063
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveImmunizationOrder" retrievable="true" baseType="QDM.ImmunizationOrder" identifier="PositiveImmunizationOrder" label="Immunization, Order" primaryCodePath="code"/>
1064
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeImmunizationOrder" retrievable="true" baseType="QDM.ImmunizationOrder" identifier="NegativeImmunizationOrder" label="Immunization, Not Ordered" primaryCodePath="code"/>
1065
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveImmunizationAdministered" retrievable="true" baseType="QDM.ImmunizationAdministered" identifier="PositiveImmunizationAdministered" label="Immunization, Administered" primaryCodePath="code"/>
1066
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeImmunizationAdministered" retrievable="true" baseType="QDM.ImmunizationAdministered" identifier="NegativeImmunizationAdministered" label="Immunization, Not Administered" primaryCodePath="code"/>
1067
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveMedicationAdministered" retrievable="true" baseType="QDM.MedicationAdministered" identifier="PositiveMedicationAdministered" label="Medication, Administered" primaryCodePath="code"/>
1068
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeMedicationAdministered" retrievable="true" baseType="QDM.MedicationAdministered" identifier="NegativeMedicationAdministered" label="Medication, Not Administered" primaryCodePath="code"/>
1069
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveMedicationDispensed" retrievable="true" baseType="QDM.MedicationDispensed" identifier="PositiveMedicationDispensed" label="Medication, Dispensed" primaryCodePath="code"/>
1070
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeMedicationDispensed" retrievable="true" baseType="QDM.MedicationDispensed" identifier="NegativeMedicationDispensed" label="Medication, Not Dispensed" primaryCodePath="code"/>
1071
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveMedicationDischarge" retrievable="true" baseType="QDM.MedicationDischarge" identifier="PositiveMedicationDischarge" label="Medication, Discharge" primaryCodePath="code"/>
1072
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeMedicationDischarge" retrievable="true" baseType="QDM.MedicationDischarge" identifier="NegativeMedicationDischarge" label="Medication, Not Discharged" primaryCodePath="code"/>
1073
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveMedicationOrder" retrievable="true" baseType="QDM.MedicationOrder" identifier="PositiveMedicationOrder" label="Medication, Order" primaryCodePath="code"/>
1074
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeMedicationOrder" retrievable="true" baseType="QDM.MedicationOrder" identifier="NegativeMedicationOrder" label="Medication, Not Ordered" primaryCodePath="code"/>
1075
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositivePhysicalExamOrder" retrievable="true" baseType="QDM.PhysicalExamOrder" identifier="PositivePhysicalExamOrder" label="Physical Exam, Order" primaryCodePath="code"/>
1076
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativePhysicalExamOrder" retrievable="true" baseType="QDM.PhysicalExamOrder" identifier="NegativePhysicalExamOrder" label="Physical Exam, Not Ordered" primaryCodePath="code"/>
1077
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositivePhysicalExamRecommended" retrievable="true" baseType="QDM.PhysicalExamRecommended" identifier="PositivePhysicalExamRecommended" label="Physical Exam, Recommended" primaryCodePath="code"/>
1078
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativePhysicalExamRecommended" retrievable="true" baseType="QDM.PhysicalExamRecommended" identifier="NegativePhysicalExamRecommended" label="Physical Exam, Not Recommended" primaryCodePath="code"/>
1079
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositivePhysicalExamPerformed" retrievable="true" baseType="QDM.PhysicalExamPerformed" identifier="PositivePhysicalExamPerformed" label="Physical Exam, Performed" primaryCodePath="code"/>
1080
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativePhysicalExamPerformed" retrievable="true" baseType="QDM.PhysicalExamPerformed" identifier="NegativePhysicalExamPerformed" label="Physical Exam, Not Performed" primaryCodePath="code"/>
1081
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveProcedureOrder" retrievable="true" baseType="QDM.ProcedureOrder" identifier="PositiveProcedureOrder" label="Procedure, Order" primaryCodePath="code"/>
1082
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeProcedureOrder" retrievable="true" baseType="QDM.ProcedureOrder" identifier="NegativeProcedureOrder" label="Procedure, Not Ordered" primaryCodePath="code"/>
1083
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveProcedureRecommended" retrievable="true" baseType="QDM.ProcedureRecommended" identifier="PositiveProcedureRecommended" label="Procedure, Recommended" primaryCodePath="code"/>
1084
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeProcedureRecommended" retrievable="true" baseType="QDM.ProcedureRecommended" identifier="NegativeProcedureRecommended" label="Procedure, Not Recommended" primaryCodePath="code"/>
1085
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveProcedurePerformed" retrievable="true" baseType="QDM.ProcedurePerformed" identifier="PositiveProcedurePerformed" label="Procedure, Performed" primaryCodePath="code"/>
1086
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeProcedurePerformed" retrievable="true" baseType="QDM.ProcedurePerformed" identifier="NegativeProcedurePerformed" label="Procedure, Not Performed" primaryCodePath="code"/>
1087
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveSubstanceOrder" retrievable="true" baseType="QDM.SubstanceOrder" identifier="PositiveSubstanceOrder" label="Substance, Order" primaryCodePath="code"/>
1088
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeSubstanceOrder" retrievable="true" baseType="QDM.SubstanceOrder" identifier="NegativeSubstanceOrder" label="Substance, Not Ordered" primaryCodePath="code"/>
1089
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveSubstanceRecommended" retrievable="true" baseType="QDM.SubstanceRecommended" identifier="PositiveSubstanceRecommended" label="Substance, Recommended" primaryCodePath="code"/>
1090
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeSubstanceRecommended" retrievable="true" baseType="QDM.SubstanceRecommended" identifier="NegativeSubstanceRecommended" label="Substance, Not Recommended" primaryCodePath="code"/>
1091
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveSubstanceAdministered" retrievable="true" baseType="QDM.SubstanceAdministered" identifier="PositiveSubstanceAdministered" label="Substance, Administered" primaryCodePath="code"/>
1092
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeSubstanceAdministered" retrievable="true" baseType="QDM.SubstanceAdministered" identifier="NegativeSubstanceAdministered" label="Substance, Not Administered" primaryCodePath="code"/>
1093
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveLaboratoryTestOrder" retrievable="true" baseType="QDM.LaboratoryTestOrder" identifier="PositiveLaboratoryTestOrder" label="Laboratory Test, Order" primaryCodePath="code"/>
1094
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeLaboratoryTestOrder" retrievable="true" baseType="QDM.LaboratoryTestOrder" identifier="NegativeLaboratoryTestOrder" label="Laboratory Test, Not Ordered" primaryCodePath="code"/>
1095
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveLaboratoryTestRecommended" retrievable="true" baseType="QDM.LaboratoryTestRecommended" identifier="PositiveLaboratoryTestRecommended" label="Laboratory Test, Recommended" primaryCodePath="code"/>
1096
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeLaboratoryTestRecommended" retrievable="true" baseType="QDM.LaboratoryTestRecommended" identifier="NegativeLaboratoryTestRecommended" label="Laboratory Test, Not Recommended" primaryCodePath="code"/>
1097
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.PositiveLaboratoryTestPerformed" retrievable="true" baseType="QDM.LaboratoryTestPerformed" identifier="PositiveLaboratoryTestPerformed" label="Laboratory Test, Performed" primaryCodePath="code"/>
1098
+ <ns4:typeInfo xsi:type="ns4:ProfileInfo" name="QDM.NegativeLaboratoryTestPerformed" retrievable="true" baseType="QDM.LaboratoryTestPerformed" identifier="NegativeLaboratoryTestPerformed" label="Laboratory Test, Not Performed" primaryCodePath="code"/>
1099
+ <ns4:contextInfo name="Patient" keyElement="id" birthDateElement="birthDatetime">
1100
+ <ns4:contextType modelName="QDM" name="Patient"/>
1101
+ </ns4:contextInfo>
1102
+ </ns4:modelInfo>