Skip to content

Commit

Permalink
Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
kahummer committed Sep 12, 2024
1 parent 22a5efa commit ebca8ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/keycloak-user-management/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ export const SUPERVISOR_USER_TYPE_CODE = '236321002';
export const PRACTITIONER_USER_TYPE_CODE = '405623001';
export const SNOMED_CODEABLE_SYSTEM = 'http://snomed.info/sct';
export const DEVICE_SETTING_CODEABLE_CODE = '1156600005';

// Form field name
export const NATIONAL_ID_FORM_FIELD = 'nationalId';
export const PHONE_NUMBER_FORM_FIELD = 'phoneNumber';
2 changes: 2 additions & 0 deletions packages/keycloak-user-management/src/ducks/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ export interface UserAttributes {
// while these may be adhoc and arbitrary it carries with it serious back and cross compatibility issues, these should not be modified lightly
contact?: string[];
fhir_core_app_id?: string[];
nationalId?: string;
phoneNumber?: string;
}

/** Interface for user json object */
Expand Down

0 comments on commit ebca8ee

Please sign in to comment.