Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //------------------------------------------------------------------
- // <author>Кныш Александр</author>
- //------------------------------------------------------------------
- /// <summary>
- /// Человек (персональные данные).
- /// </summary>
- import {BaseModel} from '../Base/BaseModel';
- import {ReferenceCodeValue} from '../Base/ReferenceCodeValue';
- import {PatientPolicy} from './PatientPolicy';
- import {Adress} from './Adress';
- import {IdentityDocement} from './IdentityDocement';
- import {UUID} from 'angular2-uuid';
- export class Person extends BaseModel {
- constructor() {
- super();
- this.guid = '00000000-0000-0000-0000-000000000000';
- this.name = '';
- this.family = '';
- this.patronymic = '';
- this.birthDate = new Date();
- this.email = '';
- this.phone = '';
- this.sex = new ReferenceCodeValue<string>(0, '00000000-0000-0000-0000-000000000000');
- this.snils = '';
- this.code = '';
- this.policy = new PatientPolicy();
- this.citizen= new ReferenceCodeValue<string>(0, '00000000-0000-0000-0000-000000000000');
- this.inn = '';
- this.socStatus = new ReferenceCodeValue<string>(0, '00000000-0000-0000-0000-000000000000');
- this.catConc= new ReferenceCodeValue<string> (0, '00000000-0000-0000-0000-000000000000');
- this.workPlace = '';
- this.adressReg = new Adress();
- this.adressFact = new Adress();
- this.identityDoc = new IdentityDocement();
- }
- /**
- * Имя человека
- */
- public name: string;
- /**
- * Фамилия персоны.
- */
- public family: string;
- /**
- * Отчество персоны.
- */
- public patronymic: string;
- /**
- * Дата рождения.
- */
- public birthDate: Date;
- /**
- * Контактный Email.
- */
- public email: string;
- /**
- * Контактный телефон.
- */
- public phone: string;
- /**
- * Пол персоны.
- */
- public sex: ReferenceCodeValue<string>;
- /**
- * СНИЛС персоны.
- */
- public snils: string;
- /**
- * Код
- */
- public code: string;
- /**
- * Полис пациента.
- */
- public policy: PatientPolicy;
- /**
- * Житель
- */
- public citizen: ReferenceCodeValue<string>;
- /**
- * ИНН
- */
- public inn: string;
- /**
- * Социальный статус
- */
- public socStatus: ReferenceCodeValue<string>;
- /**
- * категория льготности
- */
- public catConc: ReferenceCodeValue<string>;
- /**
- * Место работы
- */
- public workPlace: string;
- /**
- * Адрес регистрации
- */
- public adressReg: Adress;
- /**
- * Фактический адрес проживания
- */
- public adressFact: Adress;
- /**
- * Документ удостоверяющий личность
- */
- public identityDoc: IdentityDocement;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement