Encounter

    • allergies
      Type: array object[]
      required
    • complaints
      Type: array object[]
      required
    • createdAt
      Type: string Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Format: date-time
      required

      An ISO 8601 compatible date time string in the format YYYY-MM-DDTHH:mm:ss.sssZ, e.g. 2000-01-01T12:00:00.000Z

    • familyHistory
      Type: array object[]
      required
    • id
      Type: string Pattern: ^[0-9a-z]+$Format: cuid2
      required
    • lifestyle
      Type: array object[]
      required
    • locale
      Type: string · Language codeenum
      required

      Contains an ISO 639-1 language code (lowercase) and, optionally, a hyphen followed by an ISO 3166-1 alpha-2 country code (uppercase)

      %future added value is a placeholder that is inserted to ensure you handle the possibility that new enum variants may be added by the server after your application has been deployed. This value should not be handled explicitly.

      values
      • af
      • ar
      • bg
      • bs
      • cs
    • medicalHistory
      Type: array object[]
      required
    • medications
      Type: array object[]
      required
    • messages
      Type: array object[]
      required
    • modality
      Type: string · Modalityenum
      required

      The medium through which the consultation was conducted

      %future added value is a placeholder that is inserted to ensure you handle the possibility that new enum variants may be added by the server after your application has been deployed. This value should not be handled explicitly.

      values
      • SPEECH
      • TEXT
      • %future added value
    • socialHistory
      Type: array object[]
      required
    • status
      Type: string · Statusenum
      required

      %future added value is a placeholder that is inserted to ensure you handle the possibility that new enum variants may be added by the server after your application has been deployed. This value should not be handled explicitly.

      values
      • ABANDONED
      • FINALIZING
      • FINISHED
      • ONGOING
      • %future added value
    • teamId
      Type: string Pattern: ^[0-9a-z]+$Format: cuid2
      required

      The team this encounter belongs to.

    • type
      const:  
      CONSULT
      required