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AAI,CAAC;QAChD,IAAI,6BAA6B,IAAI,OAAO;YAAE,IAAI,CAAC,2BAA2B,GAAG,OAAO,CAAC,2BAA2B,CAAC;QACrH,IAAI,gBAAgB,IAAI,OAAO;YAAE,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;QAC9E,IAAI,0BAA0B,IAAI,OAAO;YAAE,IAAI,CAAC,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC;QAC5G,IAAI,gBAAgB,IAAI,OAAO;YAAE,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;IAC/E,CAAC;CAED","sourcesContent":["// auto-generated file\nimport {randomUuid} from '../../utils/Id.mjs';\nimport {NoGenericPrescriptionReason} from './embed/NoGenericPrescriptionReason.mjs';\nimport {NoSwitchReason} from './embed/NoSwitchReason.mjs';\nimport {Quantity} from './embed/Quantity.mjs';\nimport {SamText} from './embed/SamText.mjs';\nimport {StandardDosage} from './embed/StandardDosage.mjs';\n\n\nexport class VmpGroup {\n\n\tid: string;\n\n\trev: string | undefined = undefined;\n\n\tdeletionDate: number | undefined = undefined;\n\n\tfrom: number | undefined = undefined;\n\n\tto: number | undefined = undefined;\n\n\tproductId: string | undefined = undefined;\n\n\tcode: string | undefined = undefined;\n\n\tname: SamText | undefined = undefined;\n\n\tnoGenericPrescriptionReason: NoGenericPrescriptionReason | undefined = undefined;\n\n\tnoSwitchReason: NoSwitchReason | undefined = undefined;\n\n\tsingleAdministrationDose: Quantity | undefined = undefined;\n\n\tstandardDosage: Array<StandardDosage> | undefined = undefined;\n\n\tconstructor(partial: Partial<VmpGroup>) {\n\t\tthis.id = partial.id ?? randomUuid();\n\t\tif ('rev' in partial) this.rev = partial.rev;\n\t\tif ('deletionDate' in partial) this.deletionDate = partial.deletionDate;\n\t\tif ('from' in partial) this.from = partial.from;\n\t\tif ('to' in partial) this.to = partial.to;\n\t\tif ('productId' in partial) this.productId = partial.productId;\n\t\tif ('code' in partial) this.code = partial.code;\n\t\tif ('name' in partial) this.name = partial.name;\n\t\tif ('noGenericPrescriptionReason' in partial) this.noGenericPrescriptionReason = partial.noGenericPrescriptionReason;\n\t\tif ('noSwitchReason' in partial) this.noSwitchReason = partial.noSwitchReason;\n\t\tif ('singleAdministrationDose' in partial) this.singleAdministrationDose = partial.singleAdministrationDose;\n\t\tif ('standardDosage' in partial) this.standardDosage = partial.standardDosage;\n\t}\n\n}\n"]}