lib/health-data-standards/models/procedure.rb in health-data-standards-3.7.0 vs lib/health-data-standards/models/procedure.rb in health-data-standards-4.0.0
- old
+ new
@@ -11,12 +11,17 @@
# than the status associated with the `Entry` object, which relates to the data criteria
# status as defined in health-data-standards/lib/hqmf-model/data_criteria.json.
field :qdm_status, type: Hash
field :radiation_dose, type: Hash
- field :radiation_duration, type: Hash
+ field :radiation_duration, type: Hash
- embeds_one :facility
+ # QDM 5.0 addition to Diagnostic Study, Performed
+ field :result_date_time, type: Integer
+ # Component attribute is for Diagnostic, Performed which is classified as a procedure
+ field :components, type: Hash
+
+ field :facility, type: Hash
belongs_to :performer, class_name: "Provider"
def shift_dates(date_diff)
super