cqm-models 0.8.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/AdverseEvent.js +2 -2
  4. data/app/assets/javascripts/AllDataElements.js +4 -8
  5. data/app/assets/javascripts/AllergyIntolerance.js +2 -2
  6. data/app/assets/javascripts/{CommunicationFromProviderToPatient.js → AssessmentOrder.js} +9 -9
  7. data/app/assets/javascripts/AssessmentPerformed.js +2 -2
  8. data/app/assets/javascripts/AssessmentRecommended.js +2 -3
  9. data/app/assets/javascripts/CareGoal.js +2 -2
  10. data/app/assets/javascripts/{CommunicationFromPatientToProvider.js → CommunicationPerformed.js} +13 -8
  11. data/app/assets/javascripts/Component.js +1 -1
  12. data/app/assets/javascripts/DeviceApplied.js +2 -3
  13. data/app/assets/javascripts/DeviceOrder.js +2 -2
  14. data/app/assets/javascripts/DeviceRecommended.js +2 -2
  15. data/app/assets/javascripts/Diagnosis.js +2 -2
  16. data/app/assets/javascripts/DiagnosticStudyOrder.js +2 -3
  17. data/app/assets/javascripts/DiagnosticStudyPerformed.js +2 -2
  18. data/app/assets/javascripts/DiagnosticStudyRecommended.js +2 -3
  19. data/app/assets/javascripts/EncounterOrder.js +2 -2
  20. data/app/assets/javascripts/EncounterPerformed.js +2 -2
  21. data/app/assets/javascripts/EncounterRecommended.js +2 -2
  22. data/app/assets/javascripts/FacilityLocation.js +1 -1
  23. data/app/assets/javascripts/FamilyHistory.js +2 -2
  24. data/app/assets/javascripts/Id.js +1 -1
  25. data/app/assets/javascripts/ImmunizationAdministered.js +2 -3
  26. data/app/assets/javascripts/ImmunizationOrder.js +2 -2
  27. data/app/assets/javascripts/InterventionOrder.js +2 -2
  28. data/app/assets/javascripts/InterventionPerformed.js +2 -2
  29. data/app/assets/javascripts/InterventionRecommended.js +2 -2
  30. data/app/assets/javascripts/LaboratoryTestOrder.js +2 -3
  31. data/app/assets/javascripts/LaboratoryTestPerformed.js +2 -2
  32. data/app/assets/javascripts/LaboratoryTestRecommended.js +2 -3
  33. data/app/assets/javascripts/MedicationActive.js +2 -3
  34. data/app/assets/javascripts/MedicationAdministered.js +2 -3
  35. data/app/assets/javascripts/MedicationDischarge.js +3 -2
  36. data/app/assets/javascripts/MedicationDispensed.js +5 -2
  37. data/app/assets/javascripts/MedicationOrder.js +5 -4
  38. data/app/assets/javascripts/Participation.js +2 -2
  39. data/app/assets/javascripts/Patient.js +4 -4
  40. data/app/assets/javascripts/PatientCareExperience.js +2 -2
  41. data/app/assets/javascripts/PatientCharacteristic.js +2 -2
  42. data/app/assets/javascripts/PatientCharacteristicBirthdate.js +2 -2
  43. data/app/assets/javascripts/PatientCharacteristicClinicalTrialParticipant.js +2 -2
  44. data/app/assets/javascripts/PatientCharacteristicEthnicity.js +2 -2
  45. data/app/assets/javascripts/PatientCharacteristicExpired.js +2 -2
  46. data/app/assets/javascripts/PatientCharacteristicPayer.js +2 -2
  47. data/app/assets/javascripts/PatientCharacteristicRace.js +2 -2
  48. data/app/assets/javascripts/PatientCharacteristicSex.js +2 -2
  49. data/app/assets/javascripts/PhysicalExamOrder.js +2 -3
  50. data/app/assets/javascripts/PhysicalExamPerformed.js +2 -2
  51. data/app/assets/javascripts/PhysicalExamRecommended.js +2 -3
  52. data/app/assets/javascripts/ProcedureOrder.js +2 -4
  53. data/app/assets/javascripts/ProcedurePerformed.js +2 -3
  54. data/app/assets/javascripts/ProcedureRecommended.js +2 -4
  55. data/app/assets/javascripts/ProviderCareExperience.js +2 -2
  56. data/app/assets/javascripts/ProviderCharacteristic.js +2 -2
  57. data/app/assets/javascripts/ResultComponent.js +1 -1
  58. data/app/assets/javascripts/SubstanceAdministered.js +2 -3
  59. data/app/assets/javascripts/SubstanceOrder.js +2 -3
  60. data/app/assets/javascripts/SubstanceRecommended.js +2 -4
  61. data/app/assets/javascripts/Symptom.js +2 -2
  62. data/app/assets/javascripts/basetypes/Any.js +3 -3
  63. data/app/assets/javascripts/basetypes/DateTime.js +1 -1
  64. data/app/assets/javascripts/basetypes/Interval.js +2 -2
  65. data/app/assets/javascripts/basetypes/Ratio.js +20 -0
  66. data/app/models/models.rb +4 -5
  67. data/app/models/qdm/adverse_event.rb +2 -2
  68. data/app/models/qdm/allergy_intolerance.rb +2 -2
  69. data/app/models/qdm/assessment_order.rb +14 -0
  70. data/app/models/qdm/assessment_performed.rb +2 -2
  71. data/app/models/qdm/assessment_recommended.rb +2 -3
  72. data/app/models/qdm/basetypes/ratio.rb +52 -0
  73. data/app/models/qdm/care_goal.rb +2 -2
  74. data/app/models/qdm/communication_performed.rb +19 -0
  75. data/app/models/qdm/component.rb +1 -1
  76. data/app/models/qdm/device_applied.rb +2 -3
  77. data/app/models/qdm/device_order.rb +2 -2
  78. data/app/models/qdm/device_recommended.rb +2 -2
  79. data/app/models/qdm/diagnosis.rb +2 -2
  80. data/app/models/qdm/diagnostic_study_order.rb +2 -3
  81. data/app/models/qdm/diagnostic_study_performed.rb +2 -2
  82. data/app/models/qdm/diagnostic_study_recommended.rb +2 -3
  83. data/app/models/qdm/encounter_order.rb +2 -2
  84. data/app/models/qdm/encounter_performed.rb +2 -2
  85. data/app/models/qdm/encounter_recommended.rb +2 -2
  86. data/app/models/qdm/facility_location.rb +1 -1
  87. data/app/models/qdm/family_history.rb +2 -2
  88. data/app/models/qdm/id.rb +1 -1
  89. data/app/models/qdm/immunization_administered.rb +2 -3
  90. data/app/models/qdm/immunization_order.rb +2 -2
  91. data/app/models/qdm/intervention_order.rb +2 -2
  92. data/app/models/qdm/intervention_performed.rb +2 -2
  93. data/app/models/qdm/intervention_recommended.rb +2 -2
  94. data/app/models/qdm/laboratory_test_order.rb +2 -3
  95. data/app/models/qdm/laboratory_test_performed.rb +2 -2
  96. data/app/models/qdm/laboratory_test_recommended.rb +2 -3
  97. data/app/models/qdm/medication_active.rb +2 -3
  98. data/app/models/qdm/medication_administered.rb +2 -3
  99. data/app/models/qdm/medication_discharge.rb +3 -2
  100. data/app/models/qdm/medication_dispensed.rb +5 -2
  101. data/app/models/qdm/medication_order.rb +5 -4
  102. data/app/models/qdm/participation.rb +2 -2
  103. data/app/models/qdm/patient.rb +3 -3
  104. data/app/models/qdm/patient_care_experience.rb +2 -2
  105. data/app/models/qdm/patient_characteristic.rb +2 -2
  106. data/app/models/qdm/patient_characteristic_birthdate.rb +2 -2
  107. data/app/models/qdm/patient_characteristic_clinical_trial_participant.rb +2 -2
  108. data/app/models/qdm/patient_characteristic_ethnicity.rb +2 -2
  109. data/app/models/qdm/patient_characteristic_expired.rb +2 -2
  110. data/app/models/qdm/patient_characteristic_payer.rb +2 -2
  111. data/app/models/qdm/patient_characteristic_race.rb +2 -2
  112. data/app/models/qdm/patient_characteristic_sex.rb +2 -2
  113. data/app/models/qdm/physical_exam_order.rb +2 -3
  114. data/app/models/qdm/physical_exam_performed.rb +2 -2
  115. data/app/models/qdm/physical_exam_recommended.rb +2 -3
  116. data/app/models/qdm/procedure_order.rb +2 -4
  117. data/app/models/qdm/procedure_performed.rb +2 -3
  118. data/app/models/qdm/procedure_recommended.rb +2 -4
  119. data/app/models/qdm/provider_care_experience.rb +2 -2
  120. data/app/models/qdm/provider_characteristic.rb +2 -2
  121. data/app/models/qdm/result_component.rb +1 -1
  122. data/app/models/qdm/substance_administered.rb +2 -3
  123. data/app/models/qdm/substance_order.rb +2 -3
  124. data/app/models/qdm/substance_recommended.rb +2 -4
  125. data/app/models/qdm/symptom.rb +2 -2
  126. data/cqm-models.gemspec +1 -1
  127. data/data/oids.json +209 -197
  128. data/dist/index.js +2114 -1230
  129. data/lib/generate_models.rb +14 -12
  130. data/modelinfo/qdm-modelinfo-5.4.xml +503 -0
  131. data/package.json +2 -2
  132. data/templates/models_template.rb.erb +2 -1
  133. data/templates/patient_extension.rb.erb +2 -2
  134. data/templates/patient_template.js.erb +3 -3
  135. data/yarn.lock +3 -3
  136. metadata +10 -11
  137. data/app/assets/javascripts/CommunicationFromProviderToProvider.js +0 -30
  138. data/app/assets/javascripts/Ratio.js +0 -26
  139. data/app/models/qdm/communication_from_patient_to_provider.rb +0 -14
  140. data/app/models/qdm/communication_from_provider_to_patient.rb +0 -14
  141. data/app/models/qdm/communication_from_provider_to_provider.rb +0 -14
  142. data/app/models/qdm/ratio.rb +0 -10
@@ -8,8 +8,8 @@ module QDM
8
8
  field :facilityLocation, type: QDM::Code
9
9
  field :negationRationale, type: QDM::Code
10
10
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.28'
11
- field :category, type: String, default: 'encounter'
11
+ field :qdmCategory, type: String, default: 'encounter'
12
12
  field :qdmStatus, type: String, default: 'recommended'
13
- field :qdmVersion, type: String, default: '5.3'
13
+ field :qdmVersion, type: String, default: '5.4'
14
14
  end
15
15
  end
@@ -4,6 +4,6 @@ module QDM
4
4
  include Mongoid::Document
5
5
  field :code, type: QDM::Code
6
6
  field :locationPeriod, type: QDM::Interval
7
- field :qdmVersion, type: String, default: '5.3'
7
+ field :qdmVersion, type: String, default: '5.4'
8
8
  end
9
9
  end
@@ -7,7 +7,7 @@ module QDM
7
7
  field :relationship, type: QDM::Code
8
8
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.111'
9
9
  field :qrdaOid, type: String, default: '2.16.840.1.113883.10.20.24.3.12'
10
- field :category, type: String, default: 'family_history'
11
- field :qdmVersion, type: String, default: '5.3'
10
+ field :qdmCategory, type: String, default: 'family_history'
11
+ field :qdmVersion, type: String, default: '5.4'
12
12
  end
13
13
  end
data/app/models/qdm/id.rb CHANGED
@@ -5,6 +5,6 @@ module QDM
5
5
  embedded_in :data_element
6
6
  field :namingSystem, type: String
7
7
  field :value, type: String
8
- field :qdmVersion, type: String, default: '5.3'
8
+ field :qdmVersion, type: String, default: '5.4'
9
9
  end
10
10
  end
@@ -6,13 +6,12 @@ module QDM
6
6
  field :authorDatetime, type: DateTime
7
7
  field :reason, type: QDM::Code
8
8
  field :dosage, type: QDM::Quantity
9
- field :supply, type: QDM::Quantity
10
9
  field :route, type: QDM::Code
11
10
  field :negationRationale, type: QDM::Code
12
11
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.112'
13
12
  field :qrdaOid, type: String, default: '2.16.840.1.113883.10.20.24.3.140'
14
- field :category, type: String, default: 'immunization'
13
+ field :qdmCategory, type: String, default: 'immunization'
15
14
  field :qdmStatus, type: String, default: 'administered'
16
- field :qdmVersion, type: String, default: '5.3'
15
+ field :qdmVersion, type: String, default: '5.4'
17
16
  end
18
17
  end
@@ -11,8 +11,8 @@ module QDM
11
11
  field :route, type: QDM::Code
12
12
  field :negationRationale, type: QDM::Code
13
13
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.113'
14
- field :category, type: String, default: 'immunization'
14
+ field :qdmCategory, type: String, default: 'immunization'
15
15
  field :qdmStatus, type: String, default: 'order'
16
- field :qdmVersion, type: String, default: '5.3'
16
+ field :qdmVersion, type: String, default: '5.4'
17
17
  end
18
18
  end
@@ -7,8 +7,8 @@ module QDM
7
7
  field :reason, type: QDM::Code
8
8
  field :negationRationale, type: QDM::Code
9
9
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.35'
10
- field :category, type: String, default: 'intervention'
10
+ field :qdmCategory, type: String, default: 'intervention'
11
11
  field :qdmStatus, type: String, default: 'order'
12
- field :qdmVersion, type: String, default: '5.3'
12
+ field :qdmVersion, type: String, default: '5.4'
13
13
  end
14
14
  end
@@ -10,8 +10,8 @@ module QDM
10
10
  field :status, type: QDM::Code
11
11
  field :negationRationale, type: QDM::Code
12
12
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.36'
13
- field :category, type: String, default: 'intervention'
13
+ field :qdmCategory, type: String, default: 'intervention'
14
14
  field :qdmStatus, type: String, default: 'performed'
15
- field :qdmVersion, type: String, default: '5.3'
15
+ field :qdmVersion, type: String, default: '5.4'
16
16
  end
17
17
  end
@@ -7,8 +7,8 @@ module QDM
7
7
  field :reason, type: QDM::Code
8
8
  field :negationRationale, type: QDM::Code
9
9
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.37'
10
- field :category, type: String, default: 'intervention'
10
+ field :qdmCategory, type: String, default: 'intervention'
11
11
  field :qdmStatus, type: String, default: 'recommended'
12
- field :qdmVersion, type: String, default: '5.3'
12
+ field :qdmVersion, type: String, default: '5.4'
13
13
  end
14
14
  end
@@ -5,11 +5,10 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :authorDatetime, type: DateTime
7
7
  field :reason, type: QDM::Code
8
- field :method, type: QDM::Code
9
8
  field :negationRationale, type: QDM::Code
10
9
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.41'
11
- field :category, type: String, default: 'laboratory_test'
10
+ field :qdmCategory, type: String, default: 'laboratory_test'
12
11
  field :qdmStatus, type: String, default: 'order'
13
- field :qdmVersion, type: String, default: '5.3'
12
+ field :qdmVersion, type: String, default: '5.4'
14
13
  end
15
14
  end
@@ -14,8 +14,8 @@ module QDM
14
14
  field :negationRationale, type: QDM::Code
15
15
  field :components, type: Array
16
16
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.42'
17
- field :category, type: String, default: 'laboratory_test'
17
+ field :qdmCategory, type: String, default: 'laboratory_test'
18
18
  field :qdmStatus, type: String, default: 'performed'
19
- field :qdmVersion, type: String, default: '5.3'
19
+ field :qdmVersion, type: String, default: '5.4'
20
20
  end
21
21
  end
@@ -4,12 +4,11 @@ module QDM
4
4
  include Mongoid::Document
5
5
  embedded_in :patient
6
6
  field :authorDatetime, type: DateTime
7
- field :method, type: QDM::Code
8
7
  field :reason, type: QDM::Code
9
8
  field :negationRationale, type: QDM::Code
10
9
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.43'
11
- field :category, type: String, default: 'laboratory_test'
10
+ field :qdmCategory, type: String, default: 'laboratory_test'
12
11
  field :qdmStatus, type: String, default: 'recommended'
13
- field :qdmVersion, type: String, default: '5.3'
12
+ field :qdmVersion, type: String, default: '5.4'
14
13
  end
15
14
  end
@@ -5,12 +5,11 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :relevantPeriod, type: QDM::Interval
7
7
  field :dosage, type: QDM::Quantity
8
- field :supply, type: QDM::Quantity
9
8
  field :frequency, type: QDM::Code
10
9
  field :route, type: QDM::Code
11
10
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.44'
12
- field :category, type: String, default: 'medication'
11
+ field :qdmCategory, type: String, default: 'medication'
13
12
  field :qdmStatus, type: String, default: 'active'
14
- field :qdmVersion, type: String, default: '5.3'
13
+ field :qdmVersion, type: String, default: '5.4'
15
14
  end
16
15
  end
@@ -6,14 +6,13 @@ module QDM
6
6
  field :authorDatetime, type: DateTime
7
7
  field :relevantPeriod, type: QDM::Interval
8
8
  field :dosage, type: QDM::Quantity
9
- field :supply, type: QDM::Quantity
10
9
  field :frequency, type: QDM::Code
11
10
  field :route, type: QDM::Code
12
11
  field :reason, type: QDM::Code
13
12
  field :negationRationale, type: QDM::Code
14
13
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.45'
15
- field :category, type: String, default: 'medication'
14
+ field :qdmCategory, type: String, default: 'medication'
16
15
  field :qdmStatus, type: String, default: 'administered'
17
- field :qdmVersion, type: String, default: '5.3'
16
+ field :qdmVersion, type: String, default: '5.4'
18
17
  end
19
18
  end
@@ -8,11 +8,12 @@ module QDM
8
8
  field :dosage, type: QDM::Quantity
9
9
  field :supply, type: QDM::Quantity
10
10
  field :frequency, type: QDM::Code
11
+ field :daysSupplied, type: Integer
11
12
  field :route, type: QDM::Code
12
13
  field :negationRationale, type: QDM::Code
13
14
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.48'
14
- field :category, type: String, default: 'medication'
15
+ field :qdmCategory, type: String, default: 'medication'
15
16
  field :qdmStatus, type: String, default: 'discharge'
16
- field :qdmVersion, type: String, default: '5.3'
17
+ field :qdmVersion, type: String, default: '5.4'
17
18
  end
18
19
  end
@@ -9,11 +9,14 @@ module QDM
9
9
  field :dosage, type: QDM::Quantity
10
10
  field :supply, type: QDM::Quantity
11
11
  field :frequency, type: QDM::Code
12
+ field :daysSupplied, type: Integer
12
13
  field :route, type: QDM::Code
14
+ field :prescriberId, type: Id
15
+ field :dispenserId, type: Id
13
16
  field :negationRationale, type: QDM::Code
14
17
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.49'
15
- field :category, type: String, default: 'medication'
18
+ field :qdmCategory, type: String, default: 'medication'
16
19
  field :qdmStatus, type: String, default: 'dispensed'
17
- field :qdmVersion, type: String, default: '5.3'
20
+ field :qdmVersion, type: String, default: '5.4'
18
21
  end
19
22
  end
@@ -3,20 +3,21 @@ module QDM
3
3
  class MedicationOrder < DataElement
4
4
  include Mongoid::Document
5
5
  embedded_in :patient
6
- field :activeDatetime, type: DateTime
7
6
  field :relevantPeriod, type: QDM::Interval
8
7
  field :authorDatetime, type: DateTime
9
8
  field :refills, type: Integer
10
9
  field :dosage, type: QDM::Quantity
11
10
  field :supply, type: QDM::Quantity
12
11
  field :frequency, type: QDM::Code
12
+ field :daysSupplied, type: Integer
13
13
  field :route, type: QDM::Code
14
- field :method, type: QDM::Code
14
+ field :setting, type: QDM::Code
15
15
  field :reason, type: QDM::Code
16
+ field :prescriberId, type: Id
16
17
  field :negationRationale, type: QDM::Code
17
18
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.51'
18
- field :category, type: String, default: 'medication'
19
+ field :qdmCategory, type: String, default: 'medication'
19
20
  field :qdmStatus, type: String, default: 'order'
20
- field :qdmVersion, type: String, default: '5.3'
21
+ field :qdmVersion, type: String, default: '5.4'
21
22
  end
22
23
  end
@@ -5,7 +5,7 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :participationPeriod, type: QDM::Interval
7
7
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.130'
8
- field :category, type: String, default: 'participation'
9
- field :qdmVersion, type: String, default: '5.3'
8
+ field :qdmCategory, type: String, default: 'participation'
9
+ field :qdmVersion, type: String, default: '5.4'
10
10
  end
11
11
  end
@@ -3,7 +3,7 @@ module QDM
3
3
  class Patient
4
4
  include Mongoid::Document
5
5
  field :birthDatetime, type: DateTime
6
- field :qdmVersion, type: String, default: '5.3'
6
+ field :qdmVersion, type: String, default: '5.4'
7
7
  field :givenNames, type: Array
8
8
  field :familyName, type: String
9
9
  field :bundleId, type: String
@@ -46,9 +46,9 @@ module QDM
46
46
  # will return all Encounter QDM data types active on the patient.
47
47
  def get_data_elements(category = nil, status = nil)
48
48
  if category && status
49
- dataElements.where(category: category, qdmStatus: status) || []
49
+ dataElements.where(qdmCategory: category, qdmStatus: status) || []
50
50
  elsif category
51
- dataElements.where(category: category) || []
51
+ dataElements.where(qdmCategory: category) || []
52
52
  else
53
53
  dataElements || []
54
54
  end
@@ -5,7 +5,7 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :authorDatetime, type: DateTime
7
7
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.52'
8
- field :category, type: String, default: 'care_experience'
9
- field :qdmVersion, type: String, default: '5.3'
8
+ field :qdmCategory, type: String, default: 'care_experience'
9
+ field :qdmVersion, type: String, default: '5.4'
10
10
  end
11
11
  end
@@ -5,7 +5,7 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :authorDatetime, type: DateTime
7
7
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.53'
8
- field :category, type: String, default: 'patient_characteristic'
9
- field :qdmVersion, type: String, default: '5.3'
8
+ field :qdmCategory, type: String, default: 'patient_characteristic'
9
+ field :qdmVersion, type: String, default: '5.4'
10
10
  end
11
11
  end
@@ -5,8 +5,8 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :birthDatetime, type: DateTime
7
7
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.54'
8
- field :category, type: String, default: 'patient_characteristic'
8
+ field :qdmCategory, type: String, default: 'patient_characteristic'
9
9
  field :qdmStatus, type: String, default: 'birthdate'
10
- field :qdmVersion, type: String, default: '5.3'
10
+ field :qdmVersion, type: String, default: '5.4'
11
11
  end
12
12
  end
@@ -7,8 +7,8 @@ module QDM
7
7
  field :relevantPeriod, type: QDM::Interval
8
8
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.6'
9
9
  field :qrdaOid, type: String, default: '2.16.840.1.113883.10.20.24.3.51'
10
- field :category, type: String, default: 'patient_characteristic'
10
+ field :qdmCategory, type: String, default: 'patient_characteristic'
11
11
  field :qdmStatus, type: String, default: 'clinical_trial_participant'
12
- field :qdmVersion, type: String, default: '5.3'
12
+ field :qdmVersion, type: String, default: '5.4'
13
13
  end
14
14
  end
@@ -4,8 +4,8 @@ module QDM
4
4
  include Mongoid::Document
5
5
  embedded_in :patient
6
6
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.56'
7
- field :category, type: String, default: 'patient_characteristic'
7
+ field :qdmCategory, type: String, default: 'patient_characteristic'
8
8
  field :qdmStatus, type: String, default: 'ethnicity'
9
- field :qdmVersion, type: String, default: '5.3'
9
+ field :qdmVersion, type: String, default: '5.4'
10
10
  end
11
11
  end
@@ -6,8 +6,8 @@ module QDM
6
6
  field :expiredDatetime, type: DateTime
7
7
  field :cause, type: QDM::Code
8
8
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.57'
9
- field :category, type: String, default: 'patient_characteristic'
9
+ field :qdmCategory, type: String, default: 'patient_characteristic'
10
10
  field :qdmStatus, type: String, default: 'expired'
11
- field :qdmVersion, type: String, default: '5.3'
11
+ field :qdmVersion, type: String, default: '5.4'
12
12
  end
13
13
  end
@@ -5,8 +5,8 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :relevantPeriod, type: QDM::Interval
7
7
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.58'
8
- field :category, type: String, default: 'patient_characteristic'
8
+ field :qdmCategory, type: String, default: 'patient_characteristic'
9
9
  field :qdmStatus, type: String, default: 'payer'
10
- field :qdmVersion, type: String, default: '5.3'
10
+ field :qdmVersion, type: String, default: '5.4'
11
11
  end
12
12
  end
@@ -4,8 +4,8 @@ module QDM
4
4
  include Mongoid::Document
5
5
  embedded_in :patient
6
6
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.59'
7
- field :category, type: String, default: 'patient_characteristic'
7
+ field :qdmCategory, type: String, default: 'patient_characteristic'
8
8
  field :qdmStatus, type: String, default: 'race'
9
- field :qdmVersion, type: String, default: '5.3'
9
+ field :qdmVersion, type: String, default: '5.4'
10
10
  end
11
11
  end
@@ -4,8 +4,8 @@ module QDM
4
4
  include Mongoid::Document
5
5
  embedded_in :patient
6
6
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.55'
7
- field :category, type: String, default: 'patient_characteristic'
7
+ field :qdmCategory, type: String, default: 'patient_characteristic'
8
8
  field :qdmStatus, type: String, default: 'gender'
9
- field :qdmVersion, type: String, default: '5.3'
9
+ field :qdmVersion, type: String, default: '5.4'
10
10
  end
11
11
  end
@@ -5,12 +5,11 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :authorDatetime, type: DateTime
7
7
  field :reason, type: QDM::Code
8
- field :method, type: QDM::Code
9
8
  field :anatomicalLocationSite, type: QDM::Code
10
9
  field :negationRationale, type: QDM::Code
11
10
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.61'
12
- field :category, type: String, default: 'physical_exam'
11
+ field :qdmCategory, type: String, default: 'physical_exam'
13
12
  field :qdmStatus, type: String, default: 'order'
14
- field :qdmVersion, type: String, default: '5.3'
13
+ field :qdmVersion, type: String, default: '5.4'
15
14
  end
16
15
  end
@@ -12,8 +12,8 @@ module QDM
12
12
  field :negationRationale, type: QDM::Code
13
13
  field :components, type: Array
14
14
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.62'
15
- field :category, type: String, default: 'physical_exam'
15
+ field :qdmCategory, type: String, default: 'physical_exam'
16
16
  field :qdmStatus, type: String, default: 'performed'
17
- field :qdmVersion, type: String, default: '5.3'
17
+ field :qdmVersion, type: String, default: '5.4'
18
18
  end
19
19
  end
@@ -5,12 +5,11 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :authorDatetime, type: DateTime
7
7
  field :reason, type: QDM::Code
8
- field :method, type: QDM::Code
9
8
  field :anatomicalLocationSite, type: QDM::Code
10
9
  field :negationRationale, type: QDM::Code
11
10
  field :hqmfOid, type: String, default: '22.16.840.1.113883.10.20.28.3.63'
12
- field :category, type: String, default: 'physical_exam'
11
+ field :qdmCategory, type: String, default: 'physical_exam'
13
12
  field :qdmStatus, type: String, default: 'recommended'
14
- field :qdmVersion, type: String, default: '5.3'
13
+ field :qdmVersion, type: String, default: '5.4'
15
14
  end
16
15
  end
@@ -5,14 +5,12 @@ module QDM
5
5
  embedded_in :patient
6
6
  field :authorDatetime, type: DateTime
7
7
  field :reason, type: QDM::Code
8
- field :method, type: QDM::Code
9
- field :anatomicalApproachSite, type: QDM::Code
10
8
  field :anatomicalLocationSite, type: QDM::Code
11
9
  field :ordinality, type: QDM::Code
12
10
  field :negationRationale, type: QDM::Code
13
11
  field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.66'
14
- field :category, type: String, default: 'procedure'
12
+ field :qdmCategory, type: String, default: 'procedure'
15
13
  field :qdmStatus, type: String, default: 'order'
16
- field :qdmVersion, type: String, default: '5.3'
14
+ field :qdmVersion, type: String, default: '5.4'
17
15
  end
18
16
  end