File size: 879 Bytes
c98875e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// create-procedure-code.dto.ts
import { IsString, IsBoolean, IsOptional, IsNumber } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class CreateProcedureCodeDto {
  @ApiProperty({ example: '99213' })
  @IsString()
  code: string;

  @ApiProperty({ example: 'Office or other outpatient visit, established patient, moderate complexity' })
  @IsString()
  description: string;

  @ApiProperty({ required: false })
  @IsString()
  @IsOptional()
  category?: string;

  @ApiProperty({ required: false })
  @IsString()
  @IsOptional()
  subcategory?: string;

  @ApiProperty({ required: false })
  @IsNumber()
  @IsOptional()
  relativeValueUnit?: number;

  @ApiProperty({ required: false })
  @IsNumber()
  @IsOptional()
  globalDays?: number;

  @ApiProperty({ required: false, default: true })
  @IsBoolean()
  @IsOptional()
  billable?: boolean;
}