"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.User = void 0;
/**
 * This entity is a root level object. It represents an user that can log in to the iCure platform. It is serialized in JSON and saved in the underlying icure-base CouchDB database.
 */
class User {
    constructor(json) {
        Object.assign(this, json);
    }
}
exports.User = User;
(function (User) {
    User.TypeEnum = {
        Database: 'database',
        Ldap: 'ldap',
        Token: 'token',
    };
    User.StatusEnum = {
        ACTIVE: 'ACTIVE',
        DISABLED: 'DISABLED',
        REGISTERING: 'REGISTERING',
    };
    User.AutoDelegationTagEnum = {
        all: 'all',
        administrativeData: 'administrativeData',
        generalInformation: 'generalInformation',
        financialInformation: 'financialInformation',
        medicalInformation: 'medicalInformation',
        sensitiveInformation: 'sensitiveInformation',
        confidentialInformation: 'confidentialInformation',
        cdItemRisk: 'cdItemRisk',
        cdItemFamilyRisk: 'cdItemFamilyRisk',
        cdItemHealthcareelement: 'cdItemHealthcareelement',
        cdItemHealthcareapproach: 'cdItemHealthcareapproach',
        cdItemAllergy: 'cdItemAllergy',
        cdItemDiagnosis: 'cdItemDiagnosis',
        cdItemLab: 'cdItemLab',
        cdItemResult: 'cdItemResult',
        cdItemParameter: 'cdItemParameter',
        cdItemMedication: 'cdItemMedication',
        cdItemTreatment: 'cdItemTreatment',
        cdItemVaccine: 'cdItemVaccine',
    };
    class SystemMetadata {
        constructor(json) {
            Object.assign(this, json);
        }
    }
    User.SystemMetadata = SystemMetadata;
})(User || (exports.User = User = {}));
//# sourceMappingURL=User.js.map