@welshare/sdk
    Preparing search index...

    Function dbDocToUserProfile

    • Parameters

      • dbDoc: any

      Returns {
          _id: string;
          birthDate?: string;
          controllerDID: string;
          extensions?: Record<string, any>;
          gender: "other" | "male" | "female" | "unknown";
          id: string;
          meta?: { lastUpdated?: string; profile?: string[]; versionId?: string };
          name?: {
              family?: string;
              given?: string[];
              prefix?: string[];
              suffix?: string[];
          }[];
          resourceType: "Patient";
          telecom?: {
              rank?: number;
              system?: "url"
              | "phone"
              | "fax"
              | "email"
              | "sms"
              | "other";
              use?: "home" | "work" | "temp" | "old" | "mobile";
              value?: string;
          }[];
      }