lib/openactive/models/schema/cdcpmdrecord.rb in openactive-0.3.0 vs lib/openactive/models/schema/cdcpmdrecord.rb in openactive-0.4.0

- old
+ new

@@ -6,89 +6,77 @@ # @return [String] def type "schema:CDCPMDRecord" end - # @return [BigDecimal,nil] - define_property :cvd_num_beds_occ, as: "cvdNumBedsOcc", types: [ - "Number", + # @return [DateTime,String,nil] + define_property :cvd_collection_date, as: "cvdCollectionDate", types: [ + "DateTime", + "string", "null", ] - # @return [BigDecimal,nil] - define_property :cvd_num_icubeds_occ, as: "cvdNumICUBedsOcc", types: [ - "Number", - "null", + # @return [String] + define_property :cvd_facility_county, as: "cvdFacilityCounty", types: [ + "string", ] # @return [BigDecimal,nil] - define_property :cvd_num_vent, as: "cvdNumVent", types: [ + define_property :cvd_num_c19died, as: "cvdNumC19Died", types: [ "Number", "null", ] # @return [BigDecimal,nil] - define_property :cvd_num_c19died, as: "cvdNumC19Died", types: [ + define_property :cvd_num_vent_use, as: "cvdNumVentUse", types: [ "Number", "null", ] # @return [BigDecimal,nil] - define_property :cvd_num_tot_beds, as: "cvdNumTotBeds", types: [ + define_property :cvd_num_beds_occ, as: "cvdNumBedsOcc", types: [ "Number", "null", ] - # @return [String] - define_property :cvd_facility_county, as: "cvdFacilityCounty", types: [ - "string", - ] - # @return [BigDecimal,nil] - define_property :cvd_num_icubeds, as: "cvdNumICUBeds", types: [ + define_property :cvd_num_c19ofmech_vent_pats, as: "cvdNumC19OFMechVentPats", types: [ "Number", "null", ] - # @return [DateTime,String,nil] - define_property :cvd_collection_date, as: "cvdCollectionDate", types: [ - "DateTime", - "string", - "null", - ] - # @return [BigDecimal,nil] - define_property :cvd_num_c19hopats, as: "cvdNumC19HOPats", types: [ + define_property :cvd_num_c19hosp_pats, as: "cvdNumC19HospPats", types: [ "Number", "null", ] # @return [BigDecimal,nil] - define_property :cvd_num_c19ofmech_vent_pats, as: "cvdNumC19OFMechVentPats", types: [ + define_property :cvd_num_c19mech_vent_pats, as: "cvdNumC19MechVentPats", types: [ "Number", "null", ] # @return [String] define_property :cvd_facility_id, as: "cvdFacilityId", types: [ "string", ] # @return [BigDecimal,nil] - define_property :cvd_num_vent_use, as: "cvdNumVentUse", types: [ + define_property :cvd_num_vent, as: "cvdNumVent", types: [ "Number", "null", ] # @return [BigDecimal,nil] - define_property :cvd_num_beds, as: "cvdNumBeds", types: [ + define_property :cvd_num_icubeds, as: "cvdNumICUBeds", types: [ "Number", "null", ] # @return [BigDecimal,nil] - define_property :cvd_num_c19mech_vent_pats, as: "cvdNumC19MechVentPats", types: [ + define_property :cvd_num_icubeds_occ, as: "cvdNumICUBedsOcc", types: [ "Number", "null", ] # @return [Date,DateTime,nil] @@ -103,10 +91,22 @@ "Number", "null", ] # @return [BigDecimal,nil] - define_property :cvd_num_c19hosp_pats, as: "cvdNumC19HospPats", types: [ + define_property :cvd_num_tot_beds, as: "cvdNumTotBeds", types: [ + "Number", + "null", + ] + + # @return [BigDecimal,nil] + define_property :cvd_num_c19hopats, as: "cvdNumC19HOPats", types: [ + "Number", + "null", + ] + + # @return [BigDecimal,nil] + define_property :cvd_num_beds, as: "cvdNumBeds", types: [ "Number", "null", ] end end