Circle V2 API Docs
    Preparing search index...

    Type Alias CreateFormRunWithChartParams

    CreateFormRunWithChartParams: CreateFormRunParams & {
        chosenContacts: readonly FormRunChosenContact[];
        fileName: string;
        orgId: EntityId;
        patientId: PatientId;
    }

    Type Declaration

    • chosenContacts: readonly FormRunChosenContact[]

      contact_type_id -> contact_id, already authorized by the caller.

    • fileName: string

      Name the generated document will carry. The executor rewrites it with the same value.

    • orgId: EntityId

      Owning organization of the form, stamped on the chart row.

    • patientId: PatientId

      Required here (unlike formRunsRepo.create): the chart row hangs off a patient.