Spaces:
Sleeping
Sleeping
| // create-diagnostic-code.dto.ts | |
| import { IsString, IsBoolean, IsOptional, IsArray } from 'class-validator'; | |
| import { ApiProperty } from '@nestjs/swagger'; | |
| export class CreateDiagnosticCodeDto { | |
| ({ example: 'J18.9' }) | |
| () | |
| code: string; | |
| ({ example: 'Pneumonia, unspecified organism' }) | |
| () | |
| description: string; | |
| ({ required: false }) | |
| () | |
| () | |
| category?: string; | |
| ({ required: false }) | |
| () | |
| () | |
| chapter?: string; | |
| ({ required: false, type: [String] }) | |
| () | |
| () | |
| includes?: string[]; | |
| ({ required: false, type: [String] }) | |
| () | |
| () | |
| excludes?: string[]; | |
| ({ required: false, default: true }) | |
| () | |
| () | |
| billable?: boolean; | |
| } | |