# saveContactsPrescription

**Type:** GraphQL mutations

**Description:**
Save contacts prescription details

## Arguments
- prescription (ContactsPrescriptionInput, Not Null): Contacts prescription details
  - fileId (String): File ID from *uploadFile* (conditionally required if *doctor* and *patient* are not set)
  - prescriptionId (String): Prescription ID
  - doctor (DoctorInput): Doctor details (conditionally required if prescription file ID is not set)
    - doctorId (String): Doctor ID (conditionally required if doctor name, practice name, and phone number are not set)
    - doctorName (String): Doctor name (conditionally required if doctor ID is not set)
    - practiceName (String): Practice name (conditionally required if doctor ID is not set)
    - phoneNumber (String): Phone number (conditionally required if doctor ID is not set)
    - faxNumber (String): Fax number
    - email (String): Doctor email address
    - address (String): Street address #1
    - address2 (String): Street address #2
    - city (String): City
    - state (String): State
    - zipCode (String): Zip code
    - url (String): Website URL
  - patient (PatientInput): Patient details (conditionally required if prescription file ID is not set)
    - patientId (String): Patient ID
    - firstName (String): First name
    - middleName (String): Middle name
    - lastName (String): Last name
    - dateOfBirth (String): Date of birth in ISO 8601 format, i.e., YYYY-MM-DD
    - phoneNumber (String): Phone number
    - email (String): Email address
    - address (String): Street address #1
    - address2 (String): Street address #2
    - city (String): City
    - state (String): State
    - zipCode (String): Zip code
    - schedulerLink (String): Scheduler link
  - products (ContactsProductsInput): Details about the prescribed contact lenses
    - right (ContactsProductInput): undefined
      - productId (String): ID that uniquely maps to a manufacturer, brand, and potentially other parameters
      - diameter (String): The width of the contact lens from edge to edge measured by millimeters
      - baseCurve (String): Indication of the curvature of the inside of the lens
      - sphere (String): The amount of lens power measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted
      - axis (String): The lens meridian with no cylinder power, indicated by a value between 1 and 180 degrees
      - cylinder (String): The amount of lens power for astigmatism measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted
      - addition (String): The additional magnifying power that applies to the bottom portion of multifocal lenses to fix presbyopia
      - dominance (String): Indication of dominant or non-dominant eye
      - color (String): Color of the lens
      - packageSize (Int): Number of lenses per package
      - quantity (Int): Number of packages
    - left (ContactsProductInput): undefined
      - productId (String): ID that uniquely maps to a manufacturer, brand, and potentially other parameters
      - diameter (String): The width of the contact lens from edge to edge measured by millimeters
      - baseCurve (String): Indication of the curvature of the inside of the lens
      - sphere (String): The amount of lens power measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted
      - axis (String): The lens meridian with no cylinder power, indicated by a value between 1 and 180 degrees
      - cylinder (String): The amount of lens power for astigmatism measured in diopters (D), minus sign (–) for nearsighted, plus sign (+) for farsighted
      - addition (String): The additional magnifying power that applies to the bottom portion of multifocal lenses to fix presbyopia
      - dominance (String): Indication of dominant or non-dominant eye
      - color (String): Color of the lens
      - packageSize (Int): Number of lenses per package
      - quantity (Int): Number of packages
  - issueDate (String): Issue date for the prescription YYYY-MM-DD format
  - expirationDate (String): Expiration date for the prescription YYYY-MM-DD format

## Response
**Type:** Boolean
