@welshare/sdk
    Preparing search index...

    Function mapToNillionSchema

    • Parameters

      • formData: {
            controller_did: string;
            encryption_key: string;
            file_name: string;
            file_size: number;
            file_type: string;
            reference: string;
            url: string;
        }
        • controller_did: string
        • encryption_key: string
        • file_name: string
        • file_size: number
        • file_type: string
        • reference: string

          Not part of official FHIR Binary spec. Used for legacy questionnaire attachment references. For new implementations, create a DocumentReference resource that links to this Binary via content.attachment.url.

        • url: string

      Returns {
          _id: string;
          controller_did: string;
          encryption_key: { "%allot": string };
          file_name: string;
          file_size: number;
          file_type: string;
          reference: string;
          url: string;
      }[]

      • _id: string
      • controller_did: string
      • encryption_key: { "%allot": string }
      • file_name: string
      • file_size: number
      • file_type: string
      • reference: string

        Not part of official FHIR Binary spec. Used for legacy questionnaire attachment references. For new implementations, create a DocumentReference resource that links to this Binary via content.attachment.url.

      • url: string