File size: 833 Bytes
f78b36a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import { Module } from "@nestjs/common";
import { UserProfileController } from "./user-profile.controller";
import { UserProfileService } from "./user-profile.service";

/**
 * User Profile Module
 *
 * RESPONSIBILITIES:
 * - Store minimal user profile data
 * - Age range (not DOB)
 * - Pregnancy information
 * - Known conditions (enumerated)
 *
 * DATA MINIMIZATION PRINCIPLE:
 * - No full DOB
 * - No address
 * - No free-text medical history
 * - No names or demographic data
 * - Only pregnancy-relevant structured data
 *
 * CLINICAL SAFETY:
 * - All data enumerated or validated
 * - No diagnostic interpretations
 * - Used for care priority calculations (Phase 3)
 */

@Module({
  controllers: [UserProfileController],
  providers: [UserProfileService],
  exports: [UserProfileService],
})
export class UserProfileModule {}