{"openapi":"3.1.0","info":{"title":"RecordKeeper Connect API","version":"1.0.0","description":"Read and write a person's RecordKeeper health record, with their permission. Getting started: https://app.recordkeeperapp.com/developers"},"servers":[{"url":"https://app.recordkeeperapp.com"}],"tags":[{"name":"Profiles","description":"The people on this account."},{"name":"Allergies & Reactions","description":"Scope: `allergies.read` to read, `allergies.write` to change."},{"name":"Allergy Symptoms (daily)","description":"Scope: `allergy_symptoms.read` to read, `allergy_symptoms.write` to change."},{"name":"Appointments","description":"Scope: `appointments.read` to read, `appointments.write` to change."},{"name":"Screening Assessments","description":"Scope: `assessments.read` to read, `assessments.write` to change."},{"name":"Asthma & Breathing","description":"Scope: `asthma.read` to read, `asthma.write` to change."},{"name":"Blood Pressure","description":"Scope: `blood_pressure.read` to read, `blood_pressure.write` to change."},{"name":"Body Measurements","description":"Scope: `body_measurements.read` to read, `body_measurements.write` to change."},{"name":"Digestion (Bowel)","description":"Scope: `gut.read` to read, `gut.write` to change."},{"name":"Care Navigation / Referrals","description":"Scope: `care_journeys.read` to read, `care_journeys.write` to change."},{"name":"Daily Check-Ins / Mood","description":"Scope: `checkins.read` to read, `checkins.write` to change."},{"name":"Family Building (Fertility, Pregnancy, Adoption)","description":"Scope: `family.read` to read, `family.write` to change."},{"name":"Sexual Health (STI, Contraception, PrEP)","description":"Scope: `sexual_health.read` to read, `sexual_health.write` to change."},{"name":"Therapy (Goals, Coping Skills, Homework, Reflections)","description":"Scope: `therapy.read` to read, `therapy.write` to change."},{"name":"Sobriety & Recovery","description":"Scope: `sobriety.read` to read, `sobriety.write` to change."},{"name":"Cycle / Period","description":"Scope: `cycle.read` to read, `cycle.write` to change."},{"name":"Dental","description":"Scope: `dental.read` to read, `dental.write` to change."},{"name":"Carbs & Insulin Log","description":"Scope: `diabetes.read` to read, `diabetes.write` to change."},{"name":"Conditions & Diagnoses","description":"Scope: `diagnoses.read` to read, `diagnoses.write` to change."},{"name":"Dream Journal","description":"Scope: `dreams.read` to read, `dreams.write` to change."},{"name":"Exercise & Workouts","description":"Scope: `exercise.read` to read, `exercise.write` to change."},{"name":"Eye (Exams & Prescriptions)","description":"Scope: `eye.read` to read, `eye.write` to change."},{"name":"Family History","description":"Scope: `family_history.read` to read, `family_history.write` to change."},{"name":"Ovulation & Fertile Window","description":"Scope: `fertility.read` to read, `fertility.write` to change."},{"name":"Food Log","description":"Scope: `food.read` to read, `food.write` to change."},{"name":"GLP-1 Companion","description":"Scope: `glp1.read` to read, `glp1.write` to change."},{"name":"Gratitude Journal","description":"Scope: `gratitude.read` to read, `gratitude.write` to change."},{"name":"Hair (Removal, Growth, Scalp)","description":"Scope: `hair.read` to read, `hair.write` to change."},{"name":"Health Goals","description":"Scope: `goals.read` to read, `goals.write` to change."},{"name":"HRT Regimen & Check-Ins","description":"Scope: `hrt.read` to read, `hrt.write` to change."},{"name":"ID & Name / Gender Changes","description":"Scope: `identity_updates.read` to read, `identity_updates.write` to change."},{"name":"Imaging Studies","description":"Scope: `imaging.read` to read, `imaging.write` to change."},{"name":"Immunizations","description":"Scope: `immunizations.read` to read, `immunizations.write` to change."},{"name":"Insurance Claims","description":"Scope: `insurance_claims.read` to read, `insurance_claims.write` to change."},{"name":"Insurance Log","description":"Scope: `insurance.read` to read, `insurance.write` to change."},{"name":"Insurance Plans / Cards","description":"Scope: `insurance_plans.read` to read, `insurance_plans.write` to change."},{"name":"Lab Results","description":"Scope: `labs.read` to read, `labs.write` to change."},{"name":"Legacy & Directives","description":"Scope: `legacy.read` to read, `legacy.write` to change."},{"name":"Medical Bills & Finances","description":"Scope: `finances.read` to read, `finances.write` to change."},{"name":"Medications & Doses","description":"Scope: `medications.read` to read, `medications.write` to change."},{"name":"Menopause","description":"Scope: `menopause.read` to read, `menopause.write` to change."},{"name":"Migraines & Headaches","description":"Scope: `migraine.read` to read, `migraine.write` to change."},{"name":"Mood Chart (Factor Grid)","description":"Scope: `mood.read` to read, `mood.write` to change."},{"name":"Mood Episodes (Bipolar)","description":"Scope: `episodes.read` to read, `episodes.write` to change."},{"name":"Pain & Flares","description":"Scope: `pain.read` to read, `pain.write` to change."},{"name":"Pharmacogenomics","description":"Scope: `pgx.read` to read, `pgx.write` to change."},{"name":"Preventive Screenings","description":"Scope: `preventive.read` to read, `preventive.write` to change."},{"name":"Provider Calls","description":"Scope: `provider_calls.read` to read, `provider_calls.write` to change."},{"name":"Care Team & Providers","description":"Scope: `care_team.read` to read, `care_team.write` to change."},{"name":"PT & Rehab","description":"Scope: `rehab.read` to read, `rehab.write` to change."},{"name":"Renewals & Expiries","description":"Scope: `renewals.read` to read, `renewals.write` to change."},{"name":"Seizure Log","description":"Scope: `seizure.read` to read, `seizure.write` to change."},{"name":"Visit Notes","description":"Scope: `visit_notes.read` to read, `visit_notes.write` to change."},{"name":"Skin (Exams, Spots, Conditions)","description":"Scope: `skin.read` to read, `skin.write` to change."},{"name":"Sleep Log","description":"Scope: `sleep.read` to read, `sleep.write` to change."},{"name":"Social & Substance History","description":"Scope: `social_history.read` to read, `social_history.write` to change."},{"name":"Benefits / SSA Log","description":"Scope: `ssa.read` to read, `ssa.write` to change."},{"name":"Surgeries","description":"Scope: `surgeries.read` to read, `surgeries.write` to change."},{"name":"Surgery Plans","description":"Scope: `surgery.read` to read, `surgery.write` to change."},{"name":"Symptoms & Flares","description":"Scope: `symptoms.read` to read, `symptoms.write` to change."},{"name":"Transition Timeline","description":"Scope: `transition.read` to read, `transition.write` to change."},{"name":"Urine Tracking","description":"Scope: `urine.read` to read, `urine.write` to change."},{"name":"Voice Training","description":"Scope: `voice.read` to read, `voice.write` to change."},{"name":"Watch List","description":"Scope: `watch.read` to read, `watch.write` to change."},{"name":"Weight","description":"Scope: `weight.read` to read, `weight.write` to change."},{"name":"Wellness Sessions","description":"Scope: `wellness.read` to read, `wellness.write` to change."}],"paths":{"/v1/profiles":{"get":{"operationId":"listProfiles","summary":"The people on this account","description":"Always readable with any grant: an app needs a profile id to read or write anything profile-scoped.","tags":["Profiles"],"security":[{"oauth2":[]}],"responses":{"200":{"description":"Profiles","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Profile"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/v1/allergic-reactions":{"get":{"operationId":"listAllergicReactions","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.read"]}],"x-stability":"stable","summary":"List allergic-reactions","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AllergicReactions"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createAllergicReactions","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.write"]}],"x-stability":"stable","summary":"Create a allergic-reactions record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllergicReactionsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllergicReactions"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/allergic-reactions/{id}":{"get":{"operationId":"getAllergicReactions","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.read"]}],"x-stability":"stable","summary":"One allergic-reactions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllergicReactions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateAllergicReactions","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.write"]}],"x-stability":"stable","summary":"Change fields on a allergic-reactions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"allergyId":{"type":"string","format":"uuid"},"trigger":{"type":"string"},"severity":{"type":"string","enum":["mild","moderate","severe","anaphylaxis"]},"symptoms":{"type":"string"},"treatment":{"type":"string"},"soughtCare":{"type":"boolean"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllergicReactions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteAllergicReactions","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.write"]}],"x-stability":"stable","summary":"Delete a allergic-reactions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/allergies":{"get":{"operationId":"listAllergies","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.read"]}],"x-stability":"stable","summary":"List allergies","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Allergies"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createAllergies","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.write"]}],"x-stability":"stable","summary":"Create a allergies record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllergiesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Allergies"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/allergies/{id}":{"get":{"operationId":"getAllergies","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.read"]}],"x-stability":"stable","summary":"One allergies record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Allergies"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateAllergies","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.write"]}],"x-stability":"stable","summary":"Change fields on a allergies record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"substance":{"type":"string"},"type":{"type":"string","enum":["drug","food","environmental","other"]},"reaction":{"type":"string"},"severity":{"type":"string","enum":["mild","moderate","severe","anaphylaxis"]},"status":{"type":"string","enum":["active","resolved"]},"verified":{"type":"string","enum":["confirmed","suspected"]},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Allergies"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteAllergies","tags":["Allergies & Reactions"],"security":[{"oauth2":["allergies.write"]}],"x-stability":"stable","summary":"Delete a allergies record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/allergy-symptom-days":{"get":{"operationId":"listAllergySymptomDays","tags":["Allergy Symptoms (daily)"],"security":[{"oauth2":["allergy_symptoms.read"]}],"x-stability":"experimental","summary":"List allergy-symptom-days","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AllergySymptomDays"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createAllergySymptomDays","tags":["Allergy Symptoms (daily)"],"security":[{"oauth2":["allergy_symptoms.write"]}],"x-stability":"experimental","summary":"Create a allergy-symptom-days record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllergySymptomDaysInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllergySymptomDays"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/allergy-symptom-days/{id}":{"get":{"operationId":"getAllergySymptomDays","tags":["Allergy Symptoms (daily)"],"security":[{"oauth2":["allergy_symptoms.read"]}],"x-stability":"experimental","summary":"One allergy-symptom-days record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllergySymptomDays"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateAllergySymptomDays","tags":["Allergy Symptoms (daily)"],"security":[{"oauth2":["allergy_symptoms.write"]}],"x-stability":"experimental","summary":"Change fields on a allergy-symptom-days record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"severity":{"type":"integer"},"symptoms":{"type":"array","items":{"type":"string","enum":["itchy_eyes","watery_eyes","congestion","runny_nose","sneezing","postnasal_drip","itchy_throat","cough","hives","fatigue","wheeze"]}},"reliefTaken":{"type":"boolean"},"triggers":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllergySymptomDays"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteAllergySymptomDays","tags":["Allergy Symptoms (daily)"],"security":[{"oauth2":["allergy_symptoms.write"]}],"x-stability":"experimental","summary":"Delete a allergy-symptom-days record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/appointments":{"get":{"operationId":"listAppointments","tags":["Appointments"],"security":[{"oauth2":["appointments.read"]}],"x-stability":"stable","summary":"List appointments","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Appointments"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createAppointments","tags":["Appointments"],"security":[{"oauth2":["appointments.write"]}],"x-stability":"stable","summary":"Create a appointments record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Appointments"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/appointments/{id}":{"get":{"operationId":"getAppointments","tags":["Appointments"],"security":[{"oauth2":["appointments.read"]}],"x-stability":"stable","summary":"One appointments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Appointments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateAppointments","tags":["Appointments"],"security":[{"oauth2":["appointments.write"]}],"x-stability":"stable","summary":"Change fields on a appointments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"providerId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"specialty":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"endTime":{"type":"string"},"videoLink":{"type":"string"},"location":{"type":"string"},"purpose":{"type":"string"},"status":{"type":"string","enum":["scheduled","completed","cancelled","no_show"]},"calendarEventId":{"anyOf":[{"type":"string"},{"type":"null"}]},"travelMinutes":{"type":"integer"},"arriveEarlyMinutes":{"type":"integer"},"parkingNotes":{"type":"string"},"whatToBring":{"type":"string"},"visitSummary":{"type":"string"},"followUpOn":{"type":"string"},"arrivedAt":{"type":"string"},"seenAt":{"type":"string"},"visitRating":{"type":"integer"},"consentedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"askedQuestions":{"type":"array","items":{"type":"string"}},"recurrence":{"anyOf":[{"type":"object","properties":{"every":{"type":"integer"},"unit":{"type":"string","enum":["day","week","month","year"]},"until":{"type":"string"},"count":{"type":"integer"}}},{"type":"null"}]},"seriesId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"seriesDate":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Appointments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteAppointments","tags":["Appointments"],"security":[{"oauth2":["appointments.write"]}],"x-stability":"stable","summary":"Delete a appointments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/assessment-runs":{"get":{"operationId":"listAssessmentRuns","tags":["Screening Assessments"],"security":[{"oauth2":["assessments.read"]}],"x-stability":"experimental","summary":"List assessment-runs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssessmentRuns"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createAssessmentRuns","tags":["Screening Assessments"],"security":[{"oauth2":["assessments.write"]}],"x-stability":"experimental","summary":"Create a assessment-runs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentRunsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentRuns"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/assessment-runs/{id}":{"get":{"operationId":"getAssessmentRuns","tags":["Screening Assessments"],"security":[{"oauth2":["assessments.read"]}],"x-stability":"experimental","summary":"One assessment-runs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentRuns"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateAssessmentRuns","tags":["Screening Assessments"],"security":[{"oauth2":["assessments.write"]}],"x-stability":"experimental","summary":"Change fields on a assessment-runs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["autism_screen","autism_level","adhd","eating_disorder","anxiety","anger","perfectionism","grief","sex_addiction","drug_addiction","alcohol_addiction","rx_addiction","depression","ptsd","bipolar","ocd","social_anxiety","stress","insomnia","pain","fatigue","self_esteem","loneliness","gender_dysphoria","ace","burnout","gambling","nicotine","internet_use"]},"ageMode":{"type":"string","enum":["adult","child"]},"score":{"type":"number"},"band":{"type":"string"},"answers":{},"result":{}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentRuns"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteAssessmentRuns","tags":["Screening Assessments"],"security":[{"oauth2":["assessments.write"]}],"x-stability":"experimental","summary":"Delete a assessment-runs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/asthma-logs":{"get":{"operationId":"listAsthmaLogs","tags":["Asthma & Breathing"],"security":[{"oauth2":["asthma.read"]}],"x-stability":"experimental","summary":"List asthma-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AsthmaLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createAsthmaLogs","tags":["Asthma & Breathing"],"security":[{"oauth2":["asthma.write"]}],"x-stability":"experimental","summary":"Create a asthma-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsthmaLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsthmaLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/asthma-logs/{id}":{"get":{"operationId":"getAsthmaLogs","tags":["Asthma & Breathing"],"security":[{"oauth2":["asthma.read"]}],"x-stability":"experimental","summary":"One asthma-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsthmaLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateAsthmaLogs","tags":["Asthma & Breathing"],"security":[{"oauth2":["asthma.write"]}],"x-stability":"experimental","summary":"Change fields on a asthma-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"peakFlow":{"type":"integer"},"rescueInhalerPuffs":{"type":"integer"},"symptoms":{"type":"array","items":{"type":"string","enum":["cough","wheeze","chest_tightness","breathlessness","night_waking","exercise_limit"]}},"triggers":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AsthmaLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteAsthmaLogs","tags":["Asthma & Breathing"],"security":[{"oauth2":["asthma.write"]}],"x-stability":"experimental","summary":"Delete a asthma-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/blood-pressure":{"get":{"operationId":"listBloodPressure","tags":["Blood Pressure"],"security":[{"oauth2":["blood_pressure.read"]}],"x-stability":"stable","summary":"List blood-pressure","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BloodPressure"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createBloodPressure","tags":["Blood Pressure"],"security":[{"oauth2":["blood_pressure.write"]}],"x-stability":"stable","summary":"Create a blood-pressure record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BloodPressureInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BloodPressure"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/blood-pressure/{id}":{"get":{"operationId":"getBloodPressure","tags":["Blood Pressure"],"security":[{"oauth2":["blood_pressure.read"]}],"x-stability":"stable","summary":"One blood-pressure record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BloodPressure"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateBloodPressure","tags":["Blood Pressure"],"security":[{"oauth2":["blood_pressure.write"]}],"x-stability":"stable","summary":"Change fields on a blood-pressure record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"measuredAt":{"type":"string"},"systolicMmhg":{"type":"number"},"diastolicMmhg":{"type":"number"},"pulseBpm":{"type":"number"},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BloodPressure"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteBloodPressure","tags":["Blood Pressure"],"security":[{"oauth2":["blood_pressure.write"]}],"x-stability":"stable","summary":"Delete a blood-pressure record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/body-measurements":{"get":{"operationId":"listBodyMeasurements","tags":["Body Measurements"],"security":[{"oauth2":["body_measurements.read"]}],"x-stability":"experimental","summary":"List body-measurements","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BodyMeasurements"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createBodyMeasurements","tags":["Body Measurements"],"security":[{"oauth2":["body_measurements.write"]}],"x-stability":"experimental","summary":"Create a body-measurements record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BodyMeasurementsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BodyMeasurements"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/body-measurements/{id}":{"get":{"operationId":"getBodyMeasurements","tags":["Body Measurements"],"security":[{"oauth2":["body_measurements.read"]}],"x-stability":"experimental","summary":"One body-measurements record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BodyMeasurements"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateBodyMeasurements","tags":["Body Measurements"],"security":[{"oauth2":["body_measurements.write"]}],"x-stability":"experimental","summary":"Change fields on a body-measurements record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"measuredAt":{"type":"string"},"unit":{"type":"string","enum":["in","cm"]},"values":{"type":"object","additionalProperties":{"type":"number"}},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BodyMeasurements"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteBodyMeasurements","tags":["Body Measurements"],"security":[{"oauth2":["body_measurements.write"]}],"x-stability":"experimental","summary":"Delete a body-measurements record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/bowel-movements":{"get":{"operationId":"listBowelMovements","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.read"]}],"x-stability":"experimental","summary":"List bowel-movements","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BowelMovements"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createBowelMovements","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.write"]}],"x-stability":"experimental","summary":"Create a bowel-movements record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BowelMovementsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BowelMovements"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/bowel-movements/{id}":{"get":{"operationId":"getBowelMovements","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.read"]}],"x-stability":"experimental","summary":"One bowel-movements record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BowelMovements"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateBowelMovements","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.write"]}],"x-stability":"experimental","summary":"Change fields on a bowel-movements record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"bristolType":{"type":"integer"},"color":{"type":"string","enum":["brown","green","yellow","orange","black","red","pale"]},"blood":{"type":"string","enum":["none","bright_red","dark"]},"mucus":{"type":"boolean"},"urgency":{"type":"integer"},"completeness":{"type":"integer"},"painLevel":{"type":"integer"},"painRegion":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BowelMovements"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteBowelMovements","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.write"]}],"x-stability":"experimental","summary":"Delete a bowel-movements record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/care-journeys":{"get":{"operationId":"listCareJourneys","tags":["Care Navigation / Referrals"],"security":[{"oauth2":["care_journeys.read"]}],"x-stability":"experimental","summary":"List care-journeys","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CareJourneys"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createCareJourneys","tags":["Care Navigation / Referrals"],"security":[{"oauth2":["care_journeys.write"]}],"x-stability":"experimental","summary":"Create a care-journeys record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CareJourneysInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CareJourneys"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/care-journeys/{id}":{"get":{"operationId":"getCareJourneys","tags":["Care Navigation / Referrals"],"security":[{"oauth2":["care_journeys.read"]}],"x-stability":"experimental","summary":"One care-journeys record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CareJourneys"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateCareJourneys","tags":["Care Navigation / Referrals"],"security":[{"oauth2":["care_journeys.write"]}],"x-stability":"experimental","summary":"Change fields on a care-journeys record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"concern":{"type":"string"},"careLevel":{"type":"string","enum":["emergency","urgent","routine","self_care"]},"recommendedSpecialty":{"type":"string"},"chosenProviderId":{"type":"string","format":"uuid"},"chosenProviderName":{"type":"string"},"status":{"type":"string","enum":["considering","requested","scheduled","completed","cancelled"]},"symptomSummary":{"type":"string"},"questions":{"type":"array","items":{"type":"string"}},"outcome":{"type":"string"},"nextSteps":{"type":"string"},"startedOn":{"type":"string"},"referredBy":{"type":"string"},"referralDate":{"type":"string"},"referralReceivedOn":{"type":"string"},"referralExpiresOn":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CareJourneys"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteCareJourneys","tags":["Care Navigation / Referrals"],"security":[{"oauth2":["care_journeys.write"]}],"x-stability":"experimental","summary":"Delete a care-journeys record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/checkins":{"get":{"operationId":"listCheckins","tags":["Daily Check-Ins / Mood"],"security":[{"oauth2":["checkins.read"]}],"x-stability":"experimental","summary":"List checkins","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Checkins"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createCheckins","tags":["Daily Check-Ins / Mood"],"security":[{"oauth2":["checkins.write"]}],"x-stability":"experimental","summary":"Create a checkins record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckinsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Checkins"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/checkins/{id}":{"get":{"operationId":"getCheckins","tags":["Daily Check-Ins / Mood"],"security":[{"oauth2":["checkins.read"]}],"x-stability":"experimental","summary":"One checkins record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Checkins"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateCheckins","tags":["Daily Check-Ins / Mood"],"security":[{"oauth2":["checkins.write"]}],"x-stability":"experimental","summary":"Change fields on a checkins record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"rating":{"type":"integer"},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Checkins"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteCheckins","tags":["Daily Check-Ins / Mood"],"security":[{"oauth2":["checkins.write"]}],"x-stability":"experimental","summary":"Delete a checkins record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/conception-cycles":{"get":{"operationId":"listConceptionCycles","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"List conception-cycles","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConceptionCycles"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createConceptionCycles","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Create a conception-cycles record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptionCyclesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptionCycles"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/conception-cycles/{id}":{"get":{"operationId":"getConceptionCycles","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"One conception-cycles record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptionCycles"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateConceptionCycles","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Change fields on a conception-cycles record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"startedOn":{"type":"string"},"method":{"type":"string","enum":["iui","ivf","icsi","reciprocal_ivf","at_home","intercourse","other"]},"clinic":{"type":"string"},"protocol":{"type":"string"},"outcome":{"type":"string","enum":["in_progress","not_pregnant","pregnant","loss","cancelled"]},"outcomeOn":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptionCycles"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteConceptionCycles","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Delete a conception-cycles record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/contraception-methods":{"get":{"operationId":"listContraceptionMethods","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.read"]}],"x-stability":"experimental","summary":"List contraception-methods","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContraceptionMethods"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createContraceptionMethods","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.write"]}],"x-stability":"experimental","summary":"Create a contraception-methods record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContraceptionMethodsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContraceptionMethods"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/contraception-methods/{id}":{"get":{"operationId":"getContraceptionMethods","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.read"]}],"x-stability":"experimental","summary":"One contraception-methods record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContraceptionMethods"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateContraceptionMethods","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.write"]}],"x-stability":"experimental","summary":"Change fields on a contraception-methods record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"methodType":{"type":"string","enum":["pill","patch","ring","iud","implant","injection","barrier","natural","sterilization","hrt","other"]},"name":{"type":"string"},"permanent":{"type":"boolean"},"startedOn":{"type":"string"},"expiresOn":{"type":"string"},"refillDue":{"type":"string"},"active":{"type":"boolean"},"sideEffects":{"type":"array","items":{"type":"string"}},"satisfaction":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContraceptionMethods"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteContraceptionMethods","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.write"]}],"x-stability":"experimental","summary":"Delete a contraception-methods record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/coping-skill-practices":{"get":{"operationId":"listCopingSkillPractices","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"List coping-skill-practices","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CopingSkillPractices"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createCopingSkillPractices","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Create a coping-skill-practices record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopingSkillPracticesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopingSkillPractices"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/coping-skill-practices/{id}":{"get":{"operationId":"getCopingSkillPractices","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"One coping-skill-practices record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopingSkillPractices"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateCopingSkillPractices","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Change fields on a coping-skill-practices record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"skillId":{"type":"string","format":"uuid"},"practicedAt":{"type":"string"},"durationMinutes":{"type":"number"},"effectiveness":{"type":"integer"},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopingSkillPractices"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteCopingSkillPractices","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Delete a coping-skill-practices record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/coping-skills":{"get":{"operationId":"listCopingSkills","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"List coping-skills","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CopingSkills"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createCopingSkills","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Create a coping-skills record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopingSkillsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopingSkills"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/coping-skills/{id}":{"get":{"operationId":"getCopingSkills","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"One coping-skills record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopingSkills"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateCopingSkills","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Change fields on a coping-skills record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"sessionId":{"type":"string","format":"uuid"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopingSkills"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteCopingSkills","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Delete a coping-skills record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/craving-logs":{"get":{"operationId":"listCravingLogs","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.read"]}],"x-stability":"experimental","summary":"List craving-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CravingLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createCravingLogs","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.write"]}],"x-stability":"experimental","summary":"Create a craving-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CravingLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CravingLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/craving-logs/{id}":{"get":{"operationId":"getCravingLogs","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.read"]}],"x-stability":"experimental","summary":"One craving-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CravingLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateCravingLogs","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.write"]}],"x-stability":"experimental","summary":"Change fields on a craving-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"substance":{"type":"string"},"intensity":{"type":"integer"},"situation":{"type":"string"},"copingUsed":{"type":"string"},"usedSubstance":{"type":"boolean"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CravingLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteCravingLogs","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.write"]}],"x-stability":"experimental","summary":"Delete a craving-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/cycle-logs":{"get":{"operationId":"listCycleLogs","tags":["Cycle / Period"],"security":[{"oauth2":["cycle.read"]}],"x-stability":"experimental","summary":"List cycle-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CycleLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createCycleLogs","tags":["Cycle / Period"],"security":[{"oauth2":["cycle.write"]}],"x-stability":"experimental","summary":"Create a cycle-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CycleLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CycleLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/cycle-logs/{id}":{"get":{"operationId":"getCycleLogs","tags":["Cycle / Period"],"security":[{"oauth2":["cycle.read"]}],"x-stability":"experimental","summary":"One cycle-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CycleLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateCycleLogs","tags":["Cycle / Period"],"security":[{"oauth2":["cycle.write"]}],"x-stability":"experimental","summary":"Change fields on a cycle-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"flow":{"type":"string","enum":["spotting","light","medium","heavy"]},"symptoms":{"type":"array","items":{"type":"string"}},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CycleLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteCycleLogs","tags":["Cycle / Period"],"security":[{"oauth2":["cycle.write"]}],"x-stability":"experimental","summary":"Delete a cycle-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/dental-care-days":{"get":{"operationId":"listDentalCareDays","tags":["Dental"],"security":[{"oauth2":["dental.read"]}],"x-stability":"experimental","summary":"List dental-care-days","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DentalCareDays"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createDentalCareDays","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Create a dental-care-days record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalCareDaysInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalCareDays"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/dental-care-days/{id}":{"get":{"operationId":"getDentalCareDays","tags":["Dental"],"security":[{"oauth2":["dental.read"]}],"x-stability":"experimental","summary":"One dental-care-days record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalCareDays"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateDentalCareDays","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Change fields on a dental-care-days record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"brushAm":{"type":"boolean"},"brushPm":{"type":"boolean"},"floss":{"type":"boolean"},"rinse":{"type":"boolean"},"nightGuard":{"type":"boolean"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalCareDays"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteDentalCareDays","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Delete a dental-care-days record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/dental-treatments":{"get":{"operationId":"listDentalTreatments","tags":["Dental"],"security":[{"oauth2":["dental.read"]}],"x-stability":"experimental","summary":"List dental-treatments","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DentalTreatments"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createDentalTreatments","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Create a dental-treatments record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalTreatmentsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalTreatments"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/dental-treatments/{id}":{"get":{"operationId":"getDentalTreatments","tags":["Dental"],"security":[{"oauth2":["dental.read"]}],"x-stability":"experimental","summary":"One dental-treatments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalTreatments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateDentalTreatments","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Change fields on a dental-treatments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"tooth":{"type":"integer"},"procedure":{"type":"string"},"cdtCode":{"type":"string"},"status":{"type":"string","enum":["recommended","scheduled","done","declined"]},"recommendedOn":{"type":"string"},"doneOn":{"type":"string"},"visitId":{"type":"string","format":"uuid"},"quotedCost":{"type":"number"},"insuranceEstimate":{"type":"number"},"paidCost":{"type":"number"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalTreatments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteDentalTreatments","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Delete a dental-treatments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/dental-visits":{"get":{"operationId":"listDentalVisits","tags":["Dental"],"security":[{"oauth2":["dental.read"]}],"x-stability":"experimental","summary":"List dental-visits","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DentalVisits"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createDentalVisits","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Create a dental-visits record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalVisitsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalVisits"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/dental-visits/{id}":{"get":{"operationId":"getDentalVisits","tags":["Dental"],"security":[{"oauth2":["dental.read"]}],"x-stability":"experimental","summary":"One dental-visits record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalVisits"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateDentalVisits","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Change fields on a dental-visits record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string","enum":["cleaning","deep_cleaning","exam","xray","filling","crown","root_canal","extraction","implant","ortho","whitening","denture","consult","emergency","other"]},"provider":{"type":"string"},"providerId":{"type":"string","format":"uuid"},"transcriptId":{"type":"string","format":"uuid"},"summary":{"type":"object","additionalProperties":{}},"cost":{"type":"number"},"teeth":{"type":"string"},"findings":{"type":"string"},"treatmentDone":{"type":"string"},"nextVisitDue":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DentalVisits"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteDentalVisits","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Delete a dental-visits record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/diabetes-entries":{"get":{"operationId":"listDiabetesEntries","tags":["Carbs & Insulin Log"],"security":[{"oauth2":["diabetes.read"]}],"x-stability":"experimental","summary":"List diabetes-entries","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DiabetesEntries"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createDiabetesEntries","tags":["Carbs & Insulin Log"],"security":[{"oauth2":["diabetes.write"]}],"x-stability":"experimental","summary":"Create a diabetes-entries record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiabetesEntriesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiabetesEntries"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/diabetes-entries/{id}":{"get":{"operationId":"getDiabetesEntries","tags":["Carbs & Insulin Log"],"security":[{"oauth2":["diabetes.read"]}],"x-stability":"experimental","summary":"One diabetes-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiabetesEntries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateDiabetesEntries","tags":["Carbs & Insulin Log"],"security":[{"oauth2":["diabetes.write"]}],"x-stability":"experimental","summary":"Change fields on a diabetes-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"meal":{"type":"string","enum":["breakfast","lunch","dinner","snack","other"]},"carbsG":{"type":"number"},"insulinUnits":{"type":"number"},"insulinKind":{"type":"string","enum":["bolus","basal","correction"]},"glucoseMgDl":{"type":"number"},"activity":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiabetesEntries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteDiabetesEntries","tags":["Carbs & Insulin Log"],"security":[{"oauth2":["diabetes.write"]}],"x-stability":"experimental","summary":"Delete a diabetes-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/diagnoses":{"get":{"operationId":"listDiagnoses","tags":["Conditions & Diagnoses"],"security":[{"oauth2":["diagnoses.read"]}],"x-stability":"stable","summary":"List diagnoses","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Diagnoses"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createDiagnoses","tags":["Conditions & Diagnoses"],"security":[{"oauth2":["diagnoses.write"]}],"x-stability":"stable","summary":"Create a diagnoses record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Diagnoses"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/diagnoses/{id}":{"get":{"operationId":"getDiagnoses","tags":["Conditions & Diagnoses"],"security":[{"oauth2":["diagnoses.read"]}],"x-stability":"stable","summary":"One diagnoses record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Diagnoses"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateDiagnoses","tags":["Conditions & Diagnoses"],"security":[{"oauth2":["diagnoses.write"]}],"x-stability":"stable","summary":"Change fields on a diagnoses record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["confirmed","under_investigation","resolved"]},"onset":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Diagnoses"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteDiagnoses","tags":["Conditions & Diagnoses"],"security":[{"oauth2":["diagnoses.write"]}],"x-stability":"stable","summary":"Delete a diagnoses record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/dream-journals":{"get":{"operationId":"listDreamJournals","tags":["Dream Journal"],"security":[{"oauth2":["dreams.read"]}],"x-stability":"experimental","summary":"List dream-journals","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DreamJournals"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createDreamJournals","tags":["Dream Journal"],"security":[{"oauth2":["dreams.write"]}],"x-stability":"experimental","summary":"Create a dream-journals record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DreamJournalsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DreamJournals"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/dream-journals/{id}":{"get":{"operationId":"getDreamJournals","tags":["Dream Journal"],"security":[{"oauth2":["dreams.read"]}],"x-stability":"experimental","summary":"One dream-journals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DreamJournals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateDreamJournals","tags":["Dream Journal"],"security":[{"oauth2":["dreams.write"]}],"x-stability":"experimental","summary":"Change fields on a dream-journals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"title":{"type":"string"},"content":{"type":"string"},"mood":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DreamJournals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteDreamJournals","tags":["Dream Journal"],"security":[{"oauth2":["dreams.write"]}],"x-stability":"experimental","summary":"Delete a dream-journals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/exercise-routines":{"get":{"operationId":"listExerciseRoutines","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.read"]}],"x-stability":"experimental","summary":"List exercise-routines","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExerciseRoutines"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createExerciseRoutines","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.write"]}],"x-stability":"experimental","summary":"Create a exercise-routines record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseRoutinesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseRoutines"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/exercise-routines/{id}":{"get":{"operationId":"getExerciseRoutines","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.read"]}],"x-stability":"experimental","summary":"One exercise-routines record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseRoutines"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateExerciseRoutines","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.write"]}],"x-stability":"experimental","summary":"Change fields on a exercise-routines record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"type":{"type":"string","enum":["walk","run","cycle","swim","strength","yoga","stretch","hiit","sport","other"]},"days":{"type":"array","items":{"type":"string"}},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"targetSets":{"type":"integer"},"targetReps":{"type":"integer"},"targetMinutes":{"type":"number"}},"required":["name"]}},"active":{"type":"boolean"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseRoutines"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteExerciseRoutines","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.write"]}],"x-stability":"experimental","summary":"Delete a exercise-routines record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/eye-exams":{"get":{"operationId":"listEyeExams","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.read"]}],"x-stability":"experimental","summary":"List eye-exams","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EyeExams"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createEyeExams","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.write"]}],"x-stability":"experimental","summary":"Create a eye-exams record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EyeExamsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EyeExams"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/eye-exams/{id}":{"get":{"operationId":"getEyeExams","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.read"]}],"x-stability":"experimental","summary":"One eye-exams record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EyeExams"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateEyeExams","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.write"]}],"x-stability":"experimental","summary":"Change fields on a eye-exams record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string","enum":["routine","dilated","contact_fitting","medical"]},"provider":{"type":"string"},"acuityOd":{"type":"string"},"acuityOs":{"type":"string"},"iopOd":{"type":"string"},"iopOs":{"type":"string"},"findings":{"type":"string"},"nextDueOn":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EyeExams"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteEyeExams","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.write"]}],"x-stability":"experimental","summary":"Delete a eye-exams record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/eyeglass-rx":{"get":{"operationId":"listEyeglassRx","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.read"]}],"x-stability":"experimental","summary":"List eyeglass-rx","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EyeglassRx"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createEyeglassRx","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.write"]}],"x-stability":"experimental","summary":"Create a eyeglass-rx record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EyeglassRxInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EyeglassRx"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/eyeglass-rx/{id}":{"get":{"operationId":"getEyeglassRx","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.read"]}],"x-stability":"experimental","summary":"One eyeglass-rx record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EyeglassRx"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateEyeglassRx","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.write"]}],"x-stability":"experimental","summary":"Change fields on a eyeglass-rx record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"kind":{"type":"string","enum":["glasses","contacts"]},"sphereOd":{"type":"string"},"cylinderOd":{"type":"string"},"axisOd":{"type":"string"},"addOd":{"type":"string"},"sphereOs":{"type":"string"},"cylinderOs":{"type":"string"},"axisOs":{"type":"string"},"addOs":{"type":"string"},"pd":{"type":"string"},"expiresOn":{"type":"string"},"provider":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EyeglassRx"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteEyeglassRx","tags":["Eye (Exams & Prescriptions)"],"security":[{"oauth2":["eye.write"]}],"x-stability":"experimental","summary":"Delete a eyeglass-rx record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/family-history":{"get":{"operationId":"listFamilyHistory","tags":["Family History"],"security":[{"oauth2":["family_history.read"]}],"x-stability":"experimental","summary":"List family-history","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FamilyHistory"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createFamilyHistory","tags":["Family History"],"security":[{"oauth2":["family_history.write"]}],"x-stability":"experimental","summary":"Create a family-history record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyHistoryInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyHistory"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/family-history/{id}":{"get":{"operationId":"getFamilyHistory","tags":["Family History"],"security":[{"oauth2":["family_history.read"]}],"x-stability":"experimental","summary":"One family-history record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyHistory"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateFamilyHistory","tags":["Family History"],"security":[{"oauth2":["family_history.write"]}],"x-stability":"experimental","summary":"Change fields on a family-history record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"relation":{"type":"string","enum":["mother","father","sister","brother","daughter","son","grandmother_maternal","grandfather_maternal","grandmother_paternal","grandfather_paternal","aunt","uncle","cousin","other"]},"name":{"type":"string"},"condition":{"type":"string"},"ageAtDiagnosis":{"type":"string"},"status":{"type":"string","enum":["living","deceased","unknown"]},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyHistory"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteFamilyHistory","tags":["Family History"],"security":[{"oauth2":["family_history.write"]}],"x-stability":"experimental","summary":"Delete a family-history record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/family-journeys":{"get":{"operationId":"listFamilyJourneys","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"List family-journeys","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FamilyJourneys"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createFamilyJourneys","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Create a family-journeys record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyJourneysInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyJourneys"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/family-journeys/{id}":{"get":{"operationId":"getFamilyJourneys","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"One family-journeys record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyJourneys"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateFamilyJourneys","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Change fields on a family-journeys record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["adoption","surrogacy","foster","other"]},"startedOn":{"type":"string"},"stage":{"type":"string","enum":["researching","agency_selected","home_study","matching","matched","placement","finalized","paused","closed"]},"agency":{"type":"string"},"milestones":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"date":{"type":"string"},"done":{"type":"boolean"}},"required":["id","label"]}},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyJourneys"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteFamilyJourneys","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Delete a family-journeys record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/fertility-preservations":{"get":{"operationId":"listFertilityPreservations","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"List fertility-preservations","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FertilityPreservations"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createFertilityPreservations","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Create a fertility-preservations record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FertilityPreservationsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FertilityPreservations"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/fertility-preservations/{id}":{"get":{"operationId":"getFertilityPreservations","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"One fertility-preservations record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FertilityPreservations"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateFertilityPreservations","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Change fields on a fertility-preservations record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["sperm","eggs","embryos","ovarian_tissue","testicular_tissue","other"]},"bankedOn":{"type":"string"},"facility":{"type":"string"},"units":{"type":"integer"},"status":{"type":"string","enum":["active","used","discontinued"]},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FertilityPreservations"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteFertilityPreservations","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Delete a fertility-preservations record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/fertility-signals":{"get":{"operationId":"listFertilitySignals","tags":["Ovulation & Fertile Window"],"security":[{"oauth2":["fertility.read"]}],"x-stability":"experimental","summary":"List fertility-signals","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FertilitySignals"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createFertilitySignals","tags":["Ovulation & Fertile Window"],"security":[{"oauth2":["fertility.write"]}],"x-stability":"experimental","summary":"Create a fertility-signals record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FertilitySignalsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FertilitySignals"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/fertility-signals/{id}":{"get":{"operationId":"getFertilitySignals","tags":["Ovulation & Fertile Window"],"security":[{"oauth2":["fertility.read"]}],"x-stability":"experimental","summary":"One fertility-signals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FertilitySignals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateFertilitySignals","tags":["Ovulation & Fertile Window"],"security":[{"oauth2":["fertility.write"]}],"x-stability":"experimental","summary":"Change fields on a fertility-signals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"bbtF":{"type":"number"},"lh":{"type":"string","enum":["negative","high","peak"]},"mucus":{"type":"string","enum":["none","sticky","creamy","watery","eggwhite"]},"cervixNote":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FertilitySignals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteFertilitySignals","tags":["Ovulation & Fertile Window"],"security":[{"oauth2":["fertility.write"]}],"x-stability":"experimental","summary":"Delete a fertility-signals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/food":{"get":{"operationId":"listFood","tags":["Food Log"],"security":[{"oauth2":["food.read"]}],"x-stability":"experimental","summary":"List food","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Food"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createFood","tags":["Food Log"],"security":[{"oauth2":["food.write"]}],"x-stability":"experimental","summary":"Create a food record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FoodInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Food"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/food/{id}":{"get":{"operationId":"getFood","tags":["Food Log"],"security":[{"oauth2":["food.read"]}],"x-stability":"experimental","summary":"One food record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Food"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateFood","tags":["Food Log"],"security":[{"oauth2":["food.write"]}],"x-stability":"experimental","summary":"Change fields on a food record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"loggedAt":{"type":"string"},"time":{"type":"string"},"meal":{"type":"string","enum":["breakfast","lunch","dinner","snack"]},"description":{"type":"string"},"brand":{"type":"string"},"quantity":{"type":"string"},"calories":{"type":"number"},"proteinG":{"type":"number"},"carbsG":{"type":"number"},"fatG":{"type":"number"},"fiberG":{"type":"number"},"sugarG":{"type":"number"},"addedSugarG":{"type":"number"},"sugarAlcoholG":{"type":"number"},"satFatG":{"type":"number"},"transFatG":{"type":"number"},"cholesterolMg":{"type":"number"},"sodiumMg":{"type":"number"},"potassiumMg":{"type":"number"},"micros":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"amount":{"type":"number"},"unit":{"type":"string"}},"required":["key","amount","unit"]}},"waterMl":{"type":"number"},"source":{"type":"string","enum":["text","food_photo","label_photo","barcode","manual","supplement","device"]},"medicationLogId":{"type":"string"},"barcode":{"type":"string"},"aiGenerated":{"type":"boolean"},"confidence":{"type":"string","enum":["high","medium","low"]},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Food"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteFood","tags":["Food Log"],"security":[{"oauth2":["food.write"]}],"x-stability":"experimental","summary":"Delete a food record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/glp1-checkins":{"get":{"operationId":"listGlp1Checkins","tags":["GLP-1 Companion"],"security":[{"oauth2":["glp1.read"]}],"x-stability":"experimental","summary":"List glp1-checkins","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Glp1Checkins"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createGlp1Checkins","tags":["GLP-1 Companion"],"security":[{"oauth2":["glp1.write"]}],"x-stability":"experimental","summary":"Create a glp1-checkins record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Glp1CheckinsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Glp1Checkins"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/glp1-checkins/{id}":{"get":{"operationId":"getGlp1Checkins","tags":["GLP-1 Companion"],"security":[{"oauth2":["glp1.read"]}],"x-stability":"experimental","summary":"One glp1-checkins record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Glp1Checkins"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateGlp1Checkins","tags":["GLP-1 Companion"],"security":[{"oauth2":["glp1.write"]}],"x-stability":"experimental","summary":"Change fields on a glp1-checkins record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"drug":{"type":"string","enum":["semaglutide","tirzepatide","liraglutide","dulaglutide","other"]},"doseMg":{"type":"number"},"sideEffects":{"type":"array","items":{"type":"string"}},"redFlags":{"type":"array","items":{"type":"string"}},"nausea":{"type":"integer"},"appetiteControl":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Glp1Checkins"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteGlp1Checkins","tags":["GLP-1 Companion"],"security":[{"oauth2":["glp1.write"]}],"x-stability":"experimental","summary":"Delete a glp1-checkins record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/gratitude-entries":{"get":{"operationId":"listGratitudeEntries","tags":["Gratitude Journal"],"security":[{"oauth2":["gratitude.read"]}],"x-stability":"experimental","summary":"List gratitude-entries","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GratitudeEntries"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createGratitudeEntries","tags":["Gratitude Journal"],"security":[{"oauth2":["gratitude.write"]}],"x-stability":"experimental","summary":"Create a gratitude-entries record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GratitudeEntriesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GratitudeEntries"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/gratitude-entries/{id}":{"get":{"operationId":"getGratitudeEntries","tags":["Gratitude Journal"],"security":[{"oauth2":["gratitude.read"]}],"x-stability":"experimental","summary":"One gratitude-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GratitudeEntries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateGratitudeEntries","tags":["Gratitude Journal"],"security":[{"oauth2":["gratitude.write"]}],"x-stability":"experimental","summary":"Change fields on a gratitude-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"items":{"type":"array","items":{"type":"string"}},"reflection":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GratitudeEntries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteGratitudeEntries","tags":["Gratitude Journal"],"security":[{"oauth2":["gratitude.write"]}],"x-stability":"experimental","summary":"Delete a gratitude-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/gut-config":{"get":{"operationId":"listGutConfig","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.read"]}],"x-stability":"experimental","summary":"List gut-config","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GutConfig"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createGutConfig","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.write"]}],"x-stability":"experimental","summary":"Create a gut-config record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GutConfigInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GutConfig"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/gut-config/{id}":{"get":{"operationId":"getGutConfig","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.read"]}],"x-stability":"experimental","summary":"One gut-config record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GutConfig"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateGutConfig","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.write"]}],"x-stability":"experimental","summary":"Change fields on a gut-config record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"trackBowel":{"type":"boolean"},"trackUrine":{"type":"boolean"},"blurPhotos":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GutConfig"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteGutConfig","tags":["Digestion (Bowel)"],"security":[{"oauth2":["gut.write"]}],"x-stability":"experimental","summary":"Delete a gut-config record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-config":{"get":{"operationId":"listHairConfig","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"List hair-config","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HairConfig"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createHairConfig","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Create a hair-config record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairConfigInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairConfig"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-config/{id}":{"get":{"operationId":"getHairConfig","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"One hair-config record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairConfig"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateHairConfig","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Change fields on a hair-config record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"trackRemoval":{"type":"boolean"},"trackGrowth":{"type":"boolean"},"customAreas":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"group":{"type":"string"}},"required":["key","label","group"]}},"mutedAreas":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairConfig"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteHairConfig","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Delete a hair-config record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-growth-logs":{"get":{"operationId":"listHairGrowthLogs","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"List hair-growth-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HairGrowthLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createHairGrowthLogs","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Create a hair-growth-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairGrowthLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairGrowthLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-growth-logs/{id}":{"get":{"operationId":"getHairGrowthLogs","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"One hair-growth-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairGrowthLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateHairGrowthLogs","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Change fields on a hair-growth-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"loggedOn":{"type":"string"},"region":{"type":"string"},"density":{"type":"integer"},"shedding":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairGrowthLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteHairGrowthLogs","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Delete a hair-growth-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-photos":{"get":{"operationId":"listHairPhotos","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"List hair-photos","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HairPhotos"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createHairPhotos","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Create a hair-photos record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairPhotosInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairPhotos"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-photos/{id}":{"get":{"operationId":"getHairPhotos","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"One hair-photos record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairPhotos"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateHairPhotos","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Change fields on a hair-photos record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"area":{"type":"string"},"takenOn":{"type":"string"},"image":{"type":"string"},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairPhotos"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteHairPhotos","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Delete a hair-photos record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-removal-sessions":{"get":{"operationId":"listHairRemovalSessions","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"List hair-removal-sessions","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HairRemovalSessions"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createHairRemovalSessions","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Create a hair-removal-sessions record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairRemovalSessionsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairRemovalSessions"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-removal-sessions/{id}":{"get":{"operationId":"getHairRemovalSessions","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"One hair-removal-sessions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairRemovalSessions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateHairRemovalSessions","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Change fields on a hair-removal-sessions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"performedOn":{"type":"string"},"method":{"type":"string","enum":["electrolysis","laser","ipl","waxing","threading","shaving","other"]},"area":{"type":"string"},"provider":{"type":"string"},"durationMin":{"type":"integer"},"settings":{"type":"string"},"pain":{"type":"integer"},"density":{"type":"integer"},"regrowthSinceLast":{"type":"integer"},"nextSessionOn":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairRemovalSessions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteHairRemovalSessions","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Delete a hair-removal-sessions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-treatments":{"get":{"operationId":"listHairTreatments","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"List hair-treatments","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HairTreatments"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createHairTreatments","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Create a hair-treatments record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairTreatmentsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairTreatments"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hair-treatments/{id}":{"get":{"operationId":"getHairTreatments","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.read"]}],"x-stability":"experimental","summary":"One hair-treatments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairTreatments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateHairTreatments","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Change fields on a hair-treatments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string","enum":["topical","oral","procedure","other"]},"startedOn":{"type":"string"},"active":{"type":"boolean"},"adherence":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HairTreatments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteHairTreatments","tags":["Hair (Removal, Growth, Scalp)"],"security":[{"oauth2":["hair.write"]}],"x-stability":"experimental","summary":"Delete a hair-treatments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/health-goals":{"get":{"operationId":"listHealthGoals","tags":["Health Goals"],"security":[{"oauth2":["goals.read"]}],"x-stability":"experimental","summary":"List health-goals","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HealthGoals"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createHealthGoals","tags":["Health Goals"],"security":[{"oauth2":["goals.write"]}],"x-stability":"experimental","summary":"Create a health-goals record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthGoalsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthGoals"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/health-goals/{id}":{"get":{"operationId":"getHealthGoals","tags":["Health Goals"],"security":[{"oauth2":["goals.read"]}],"x-stability":"experimental","summary":"One health-goals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthGoals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateHealthGoals","tags":["Health Goals"],"security":[{"oauth2":["goals.write"]}],"x-stability":"experimental","summary":"Change fields on a health-goals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"kind":{"type":"string","enum":["weight","lab","blood_pressure","steps","adherence","mood","exercise_sessions","exercise_minutes","custom"]},"horizon":{"type":"string","enum":["short","long"]},"direction":{"type":"string","enum":["down","up","maintain"]},"targetValue":{"type":"number"},"targetValue2":{"type":"number"},"unit":{"type":"string"},"labTest":{"type":"string"},"startValue":{"type":"number"},"startDate":{"type":"string"},"targetDate":{"type":"string"},"status":{"type":"string","enum":["active","achieved","paused","abandoned"]},"linkedGoalId":{"type":"string","format":"uuid"},"checkIns":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"note":{"type":"string"},"value":{"type":"number"}},"required":["date"]}},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthGoals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteHealthGoals","tags":["Health Goals"],"security":[{"oauth2":["goals.write"]}],"x-stability":"experimental","summary":"Delete a health-goals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hrt-checkins":{"get":{"operationId":"listHrtCheckins","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.read"]}],"x-stability":"experimental","summary":"List hrt-checkins","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HrtCheckins"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createHrtCheckins","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.write"]}],"x-stability":"experimental","summary":"Create a hrt-checkins record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtCheckinsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtCheckins"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hrt-checkins/{id}":{"get":{"operationId":"getHrtCheckins","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.read"]}],"x-stability":"experimental","summary":"One hrt-checkins record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtCheckins"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateHrtCheckins","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.write"]}],"x-stability":"experimental","summary":"Change fields on a hrt-checkins record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"scores":{"type":"object","additionalProperties":{"type":"number"}},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtCheckins"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteHrtCheckins","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.write"]}],"x-stability":"experimental","summary":"Delete a hrt-checkins record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hrt-settings":{"get":{"operationId":"listHrtSettings","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.read"]}],"x-stability":"experimental","summary":"List hrt-settings","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HrtSettings"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createHrtSettings","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.write"]}],"x-stability":"experimental","summary":"Create a hrt-settings record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtSettingsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtSettings"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hrt-settings/{id}":{"get":{"operationId":"getHrtSettings","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.read"]}],"x-stability":"experimental","summary":"One hrt-settings record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtSettings"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateHrtSettings","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.write"]}],"x-stability":"experimental","summary":"Change fields on a hrt-settings record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"regimen":{"type":"string","enum":["feminizing","masculinizing","menopause"]},"targets":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"unit":{"type":"string"},"low":{"type":"number"},"high":{"type":"number"},"match":{"type":"array","items":{"type":"string"}},"note":{"type":"string"}},"required":["key","label","unit","low","high"]}}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtSettings"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteHrtSettings","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.write"]}],"x-stability":"experimental","summary":"Delete a hrt-settings record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hrt-summaries":{"get":{"operationId":"listHrtSummaries","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.read"]}],"x-stability":"experimental","summary":"List hrt-summaries","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HrtSummaries"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createHrtSummaries","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.write"]}],"x-stability":"experimental","summary":"Create a hrt-summaries record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtSummariesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtSummaries"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/hrt-summaries/{id}":{"get":{"operationId":"getHrtSummaries","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.read"]}],"x-stability":"experimental","summary":"One hrt-summaries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtSummaries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateHrtSummaries","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.write"]}],"x-stability":"experimental","summary":"Change fields on a hrt-summaries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"result":{}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HrtSummaries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteHrtSummaries","tags":["HRT Regimen & Check-Ins"],"security":[{"oauth2":["hrt.write"]}],"x-stability":"experimental","summary":"Delete a hrt-summaries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/identity-updates":{"get":{"operationId":"listIdentityUpdates","tags":["ID & Name / Gender Changes"],"security":[{"oauth2":["identity_updates.read"]}],"x-stability":"experimental","summary":"List identity-updates","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IdentityUpdates"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createIdentityUpdates","tags":["ID & Name / Gender Changes"],"security":[{"oauth2":["identity_updates.write"]}],"x-stability":"experimental","summary":"Create a identity-updates record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityUpdatesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityUpdates"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/identity-updates/{id}":{"get":{"operationId":"getIdentityUpdates","tags":["ID & Name / Gender Changes"],"security":[{"oauth2":["identity_updates.read"]}],"x-stability":"experimental","summary":"One identity-updates record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityUpdates"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateIdentityUpdates","tags":["ID & Name / Gender Changes"],"security":[{"oauth2":["identity_updates.write"]}],"x-stability":"experimental","summary":"Change fields on a identity-updates record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"institution":{"type":"string"},"changeType":{"type":"string","enum":["name","gender_marker","both"]},"status":{"type":"string","enum":["not_started","in_progress","submitted","done"]},"date":{"type":"string"},"documentId":{"type":"string","format":"uuid"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityUpdates"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteIdentityUpdates","tags":["ID & Name / Gender Changes"],"security":[{"oauth2":["identity_updates.write"]}],"x-stability":"experimental","summary":"Delete a identity-updates record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/imaging-studies":{"get":{"operationId":"listImagingStudies","tags":["Imaging Studies"],"security":[{"oauth2":["imaging.read"]}],"x-stability":"experimental","summary":"List imaging-studies","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ImagingStudies"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createImagingStudies","tags":["Imaging Studies"],"security":[{"oauth2":["imaging.write"]}],"x-stability":"experimental","summary":"Create a imaging-studies record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImagingStudiesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImagingStudies"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/imaging-studies/{id}":{"get":{"operationId":"getImagingStudies","tags":["Imaging Studies"],"security":[{"oauth2":["imaging.read"]}],"x-stability":"experimental","summary":"One imaging-studies record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImagingStudies"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateImagingStudies","tags":["Imaging Studies"],"security":[{"oauth2":["imaging.write"]}],"x-stability":"experimental","summary":"Change fields on a imaging-studies record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string"},"region":{"type":"string"},"radiologist":{"type":"string"},"findings":{"type":"string"},"documentId":{"type":"string","format":"uuid"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImagingStudies"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteImagingStudies","tags":["Imaging Studies"],"security":[{"oauth2":["imaging.write"]}],"x-stability":"experimental","summary":"Delete a imaging-studies record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/immunizations":{"get":{"operationId":"listImmunizations","tags":["Immunizations"],"security":[{"oauth2":["immunizations.read"]}],"x-stability":"stable","summary":"List immunizations","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Immunizations"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createImmunizations","tags":["Immunizations"],"security":[{"oauth2":["immunizations.write"]}],"x-stability":"stable","summary":"Create a immunizations record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImmunizationsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Immunizations"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/immunizations/{id}":{"get":{"operationId":"getImmunizations","tags":["Immunizations"],"security":[{"oauth2":["immunizations.read"]}],"x-stability":"stable","summary":"One immunizations record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Immunizations"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateImmunizations","tags":["Immunizations"],"security":[{"oauth2":["immunizations.write"]}],"x-stability":"stable","summary":"Change fields on a immunizations record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"vaccine":{"type":"string"},"vaccineKey":{"type":"string"},"dateGiven":{"type":"string"},"doseLabel":{"type":"string"},"site":{"type":"string"},"lotNumber":{"type":"string"},"manufacturer":{"type":"string"},"provider":{"type":"string"},"nextDueOn":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Immunizations"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteImmunizations","tags":["Immunizations"],"security":[{"oauth2":["immunizations.write"]}],"x-stability":"stable","summary":"Delete a immunizations record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/insurance-claims":{"get":{"operationId":"listInsuranceClaims","tags":["Insurance Claims"],"security":[{"oauth2":["insurance_claims.read"]}],"x-stability":"experimental","summary":"List insurance-claims","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InsuranceClaims"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createInsuranceClaims","tags":["Insurance Claims"],"security":[{"oauth2":["insurance_claims.write"]}],"x-stability":"experimental","summary":"Create a insurance-claims record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceClaimsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceClaims"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/insurance-claims/{id}":{"get":{"operationId":"getInsuranceClaims","tags":["Insurance Claims"],"security":[{"oauth2":["insurance_claims.read"]}],"x-stability":"experimental","summary":"One insurance-claims record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceClaims"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateInsuranceClaims","tags":["Insurance Claims"],"security":[{"oauth2":["insurance_claims.write"]}],"x-stability":"experimental","summary":"Change fields on a insurance-claims record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"claimNumber":{"type":"string"},"dateOfService":{"type":"string"},"provider":{"type":"string"},"payer":{"type":"string"},"claimType":{"type":"string","enum":["medical","dental","vision","rx","other"]},"billedAmount":{"type":"number"},"allowedAmount":{"type":"number"},"planPaid":{"type":"number"},"patientResponsibility":{"type":"number"},"status":{"type":"string","enum":["submitted","in_process","paid","partially_paid","denied","appealed"]},"denialReason":{"type":"string"},"eobImage":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceClaims"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteInsuranceClaims","tags":["Insurance Claims"],"security":[{"oauth2":["insurance_claims.write"]}],"x-stability":"experimental","summary":"Delete a insurance-claims record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/insurance-logs":{"get":{"operationId":"listInsuranceLogs","tags":["Insurance Log"],"security":[{"oauth2":["insurance.read"]}],"x-stability":"experimental","summary":"List insurance-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InsuranceLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createInsuranceLogs","tags":["Insurance Log"],"security":[{"oauth2":["insurance.write"]}],"x-stability":"experimental","summary":"Create a insurance-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/insurance-logs/{id}":{"get":{"operationId":"getInsuranceLogs","tags":["Insurance Log"],"security":[{"oauth2":["insurance.read"]}],"x-stability":"experimental","summary":"One insurance-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateInsuranceLogs","tags":["Insurance Log"],"security":[{"oauth2":["insurance.write"]}],"x-stability":"experimental","summary":"Change fields on a insurance-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"insurer":{"type":"string"},"medicationId":{"type":"string","format":"uuid"},"interactionType":{"type":"string","enum":["call","chat","portal_message","appointment","letter"]},"occurredOn":{"type":"string"},"denialReason":{"type":"string"},"appealPath":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]},"transcriptId":{"type":"string","format":"uuid"},"summary":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteInsuranceLogs","tags":["Insurance Log"],"security":[{"oauth2":["insurance.write"]}],"x-stability":"experimental","summary":"Delete a insurance-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/insurance-plans":{"get":{"operationId":"listInsurancePlans","tags":["Insurance Plans / Cards"],"security":[{"oauth2":["insurance_plans.read"]}],"x-stability":"experimental","summary":"List insurance-plans","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InsurancePlans"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createInsurancePlans","tags":["Insurance Plans / Cards"],"security":[{"oauth2":["insurance_plans.write"]}],"x-stability":"experimental","summary":"Create a insurance-plans record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsurancePlansInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsurancePlans"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/insurance-plans/{id}":{"get":{"operationId":"getInsurancePlans","tags":["Insurance Plans / Cards"],"security":[{"oauth2":["insurance_plans.read"]}],"x-stability":"experimental","summary":"One insurance-plans record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsurancePlans"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateInsurancePlans","tags":["Insurance Plans / Cards"],"security":[{"oauth2":["insurance_plans.write"]}],"x-stability":"experimental","summary":"Change fields on a insurance-plans record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"payer":{"type":"string"},"planName":{"type":"string"},"planType":{"type":"string","enum":["ppo","hmo","epo","pos","hdhp","medicare","medicaid","other"]},"coverage":{"type":"string"},"memberId":{"type":"string"},"groupNumber":{"type":"string"},"rxBin":{"type":"string"},"rxPcn":{"type":"string"},"rxGroup":{"type":"string"},"subscriberName":{"type":"string"},"relationship":{"type":"string","enum":["self","spouse","child","other"]},"effectiveDate":{"type":"string"},"endDate":{"type":"string"},"customerServicePhone":{"type":"string"},"claimsAddress":{"type":"string"},"deductibleIndividual":{"type":"number"},"deductibleMet":{"type":"number"},"oopMaxIndividual":{"type":"number"},"oopMet":{"type":"number"},"monthlyPremium":{"type":"number"},"copayPrimary":{"type":"string"},"copaySpecialist":{"type":"string"},"copayEr":{"type":"string"},"copayUrgent":{"type":"string"},"coinsurance":{"type":"string"},"isActive":{"type":"boolean"},"cardFront":{"type":"string"},"cardBack":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsurancePlans"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteInsurancePlans","tags":["Insurance Plans / Cards"],"security":[{"oauth2":["insurance_plans.write"]}],"x-stability":"experimental","summary":"Delete a insurance-plans record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/lab-panels":{"get":{"operationId":"listLabPanels","tags":["Lab Results"],"security":[{"oauth2":["labs.read"]}],"x-stability":"stable","summary":"List lab-panels","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LabPanels"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createLabPanels","tags":["Lab Results"],"security":[{"oauth2":["labs.write"]}],"x-stability":"stable","summary":"Create a lab-panels record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabPanelsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabPanels"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/lab-panels/{id}":{"get":{"operationId":"getLabPanels","tags":["Lab Results"],"security":[{"oauth2":["labs.read"]}],"x-stability":"stable","summary":"One lab-panels record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabPanels"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateLabPanels","tags":["Lab Results"],"security":[{"oauth2":["labs.write"]}],"x-stability":"stable","summary":"Change fields on a lab-panels record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"drawnOn":{"type":"string"},"source":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabPanels"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteLabPanels","tags":["Lab Results"],"security":[{"oauth2":["labs.write"]}],"x-stability":"stable","summary":"Delete a lab-panels record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/lab-results":{"get":{"operationId":"listLabResults","tags":["Lab Results"],"security":[{"oauth2":["labs.read"]}],"x-stability":"stable","summary":"List lab-results","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LabResults"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createLabResults","tags":["Lab Results"],"security":[{"oauth2":["labs.write"]}],"x-stability":"stable","summary":"Create a lab-results record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabResultsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabResults"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/lab-results/{id}":{"get":{"operationId":"getLabResults","tags":["Lab Results"],"security":[{"oauth2":["labs.read"]}],"x-stability":"stable","summary":"One lab-results record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabResults"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateLabResults","tags":["Lab Results"],"security":[{"oauth2":["labs.write"]}],"x-stability":"stable","summary":"Change fields on a lab-results record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"panelId":{"type":"string","format":"uuid"},"test":{"type":"string"},"value":{"type":"string"},"unit":{"type":"string"},"referenceRange":{"type":"string"},"interpretation":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabResults"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteLabResults","tags":["Lab Results"],"security":[{"oauth2":["labs.write"]}],"x-stability":"stable","summary":"Delete a lab-results record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/legacy-contacts":{"get":{"operationId":"listLegacyContacts","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.read"]}],"x-stability":"experimental","summary":"List legacy-contacts","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LegacyContacts"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createLegacyContacts","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.write"]}],"x-stability":"experimental","summary":"Create a legacy-contacts record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyContactsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyContacts"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/legacy-contacts/{id}":{"get":{"operationId":"getLegacyContacts","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.read"]}],"x-stability":"experimental","summary":"One legacy-contacts record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyContacts"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateLegacyContacts","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.write"]}],"x-stability":"experimental","summary":"Change fields on a legacy-contacts record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"role":{"type":"string","enum":["healthcare_proxy","alternate_proxy","executor","financial_poa","next_of_kin","other"]},"name":{"type":"string"},"relationship":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyContacts"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteLegacyContacts","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.write"]}],"x-stability":"experimental","summary":"Delete a legacy-contacts record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/legacy-directives":{"get":{"operationId":"listLegacyDirectives","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.read"]}],"x-stability":"experimental","summary":"List legacy-directives","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LegacyDirectives"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createLegacyDirectives","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.write"]}],"x-stability":"experimental","summary":"Create a legacy-directives record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyDirectivesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyDirectives"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/legacy-directives/{id}":{"get":{"operationId":"getLegacyDirectives","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.read"]}],"x-stability":"experimental","summary":"One legacy-directives record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyDirectives"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateLegacyDirectives","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.write"]}],"x-stability":"experimental","summary":"Change fields on a legacy-directives record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"codeStatus":{"type":"string","enum":["undecided","full_code","dnr","dni","dnr_dni","comfort_care"]},"advanceDirectiveOnFile":{"type":"boolean"},"organDonor":{"type":"string","enum":["undecided","yes","no","registered"]},"organDonorNote":{"type":"string"},"lifeSupport":{"type":"string"},"wishes":{"type":"string"},"notesForResponders":{"type":"string"},"showOnEmergencyId":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyDirectives"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteLegacyDirectives","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.write"]}],"x-stability":"experimental","summary":"Delete a legacy-directives record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/legacy-documents":{"get":{"operationId":"listLegacyDocuments","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.read"]}],"x-stability":"experimental","summary":"List legacy-documents","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LegacyDocuments"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createLegacyDocuments","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.write"]}],"x-stability":"experimental","summary":"Create a legacy-documents record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyDocumentsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyDocuments"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/legacy-documents/{id}":{"get":{"operationId":"getLegacyDocuments","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.read"]}],"x-stability":"experimental","summary":"One legacy-documents record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyDocuments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateLegacyDocuments","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.write"]}],"x-stability":"experimental","summary":"Change fields on a legacy-documents record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"docType":{"type":"string","enum":["will","living_will","advance_directive","polst","healthcare_poa","financial_poa","trust","other"]},"title":{"type":"string"},"status":{"type":"string","enum":["planned","drafted","signed","notarized","filed","needs_update"]},"signedOn":{"type":"string"},"location":{"type":"string"},"preparedBy":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyDocuments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteLegacyDocuments","tags":["Legacy & Directives"],"security":[{"oauth2":["legacy.write"]}],"x-stability":"experimental","summary":"Delete a legacy-documents record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/medical-bills":{"get":{"operationId":"listMedicalBills","tags":["Medical Bills & Finances"],"security":[{"oauth2":["finances.read"]}],"x-stability":"experimental","summary":"List medical-bills","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MedicalBills"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createMedicalBills","tags":["Medical Bills & Finances"],"security":[{"oauth2":["finances.write"]}],"x-stability":"experimental","summary":"Create a medical-bills record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MedicalBillsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MedicalBills"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/medical-bills/{id}":{"get":{"operationId":"getMedicalBills","tags":["Medical Bills & Finances"],"security":[{"oauth2":["finances.read"]}],"x-stability":"experimental","summary":"One medical-bills record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MedicalBills"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateMedicalBills","tags":["Medical Bills & Finances"],"security":[{"oauth2":["finances.write"]}],"x-stability":"experimental","summary":"Change fields on a medical-bills record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"provider":{"type":"string"},"description":{"type":"string"},"totalAmount":{"type":"number"},"billDate":{"type":"string"},"dueDate":{"type":"string"},"accountNumber":{"type":"string"},"status":{"type":"string","enum":["unpaid","payment_plan","paid","collections","disputed","forgiven"]},"collectionAgency":{"type":"string"},"planMonthly":{"type":"number"},"claimId":{"type":"string","format":"uuid"},"billImage":{"type":"string"},"payments":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"amount":{"type":"number"},"note":{"type":"string"}},"required":["date","amount"]}},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MedicalBills"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteMedicalBills","tags":["Medical Bills & Finances"],"security":[{"oauth2":["finances.write"]}],"x-stability":"experimental","summary":"Delete a medical-bills record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/medication-logs":{"get":{"operationId":"listMedicationLogs","tags":["Medications & Doses"],"security":[{"oauth2":["medications.read"]}],"x-stability":"stable","summary":"List medication-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MedicationLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createMedicationLogs","tags":["Medications & Doses"],"security":[{"oauth2":["medications.write"]}],"x-stability":"stable","summary":"Create a medication-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MedicationLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MedicationLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/medication-logs/{id}":{"get":{"operationId":"getMedicationLogs","tags":["Medications & Doses"],"security":[{"oauth2":["medications.read"]}],"x-stability":"stable","summary":"One medication-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MedicationLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateMedicationLogs","tags":["Medications & Doses"],"security":[{"oauth2":["medications.write"]}],"x-stability":"stable","summary":"Change fields on a medication-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"medicationId":{"type":"string","format":"uuid"},"takenAt":{"type":"string"},"note":{"type":"string"},"scheduledDate":{"type":"string"},"doseKey":{"type":"string"},"status":{"type":"string","enum":["taken","skipped"]}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MedicationLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteMedicationLogs","tags":["Medications & Doses"],"security":[{"oauth2":["medications.write"]}],"x-stability":"stable","summary":"Delete a medication-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/medications":{"get":{"operationId":"listMedications","tags":["Medications & Doses"],"security":[{"oauth2":["medications.read"]}],"x-stability":"stable","summary":"List medications","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Medications"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createMedications","tags":["Medications & Doses"],"security":[{"oauth2":["medications.write"]}],"x-stability":"stable","summary":"Create a medications record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MedicationsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Medications"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/medications/{id}":{"get":{"operationId":"getMedications","tags":["Medications & Doses"],"security":[{"oauth2":["medications.read"]}],"x-stability":"stable","summary":"One medications record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Medications"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateMedications","tags":["Medications & Doses"],"security":[{"oauth2":["medications.write"]}],"x-stability":"stable","summary":"Change fields on a medications record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"dose":{"type":"string"},"schedule":{"type":"string"},"route":{"type":"string"},"purpose":{"type":"string"},"category":{"type":"string"},"kind":{"type":"string","enum":["medication","supplement"]},"calories":{"type":"number"},"proteinG":{"type":"number"},"carbsG":{"type":"number"},"fatG":{"type":"number"},"fiberG":{"type":"number"},"sugarG":{"type":"number"},"addedSugarG":{"type":"number"},"sugarAlcoholG":{"type":"number"},"satFatG":{"type":"number"},"transFatG":{"type":"number"},"cholesterolMg":{"type":"number"},"sodiumMg":{"type":"number"},"potassiumMg":{"type":"number"},"micros":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"amount":{"type":"number"},"unit":{"type":"string"}},"required":["key","amount","unit"]}},"status":{"type":"string","enum":["active","paused","discontinued","not_taken","on_file"]},"prescriberId":{"type":"string","format":"uuid"},"startedOn":{"type":"string"},"stoppedOn":{"type":"string"},"dosesPerDay":{"type":"integer"},"doseTimes":{"type":"array","items":{"type":"string"}},"asNeeded":{"type":"boolean"},"pillPhoto":{"type":"string"},"appearance":{"type":"string"},"doseHistory":{"type":"array","items":{"type":"object","properties":{"on":{"type":"string"},"dose":{"type":"string"},"reason":{"type":"string"},"by":{"type":"string"}},"required":["on","dose"]}},"frequency":{"type":"object","properties":{"kind":{"type":"string","enum":["daily","weekly","monthly"]},"weekdays":{"type":"array","items":{"type":"integer"}},"days":{"type":"array","items":{"type":"integer"}}}},"quantityOnHand":{"type":"number"},"pharmacyName":{"type":"string"},"pharmacyPhone":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Medications"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteMedications","tags":["Medications & Doses"],"security":[{"oauth2":["medications.write"]}],"x-stability":"stable","summary":"Delete a medications record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/menopause-assessments":{"get":{"operationId":"listMenopauseAssessments","tags":["Menopause"],"security":[{"oauth2":["menopause.read"]}],"x-stability":"experimental","summary":"List menopause-assessments","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MenopauseAssessments"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createMenopauseAssessments","tags":["Menopause"],"security":[{"oauth2":["menopause.write"]}],"x-stability":"experimental","summary":"Create a menopause-assessments record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenopauseAssessmentsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenopauseAssessments"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/menopause-assessments/{id}":{"get":{"operationId":"getMenopauseAssessments","tags":["Menopause"],"security":[{"oauth2":["menopause.read"]}],"x-stability":"experimental","summary":"One menopause-assessments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenopauseAssessments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateMenopauseAssessments","tags":["Menopause"],"security":[{"oauth2":["menopause.write"]}],"x-stability":"experimental","summary":"Change fields on a menopause-assessments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"answers":{},"result":{},"stage":{"type":"string"},"gcsTotal":{"type":"number"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenopauseAssessments"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteMenopauseAssessments","tags":["Menopause"],"security":[{"oauth2":["menopause.write"]}],"x-stability":"experimental","summary":"Delete a menopause-assessments record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/menopause-symptoms":{"get":{"operationId":"listMenopauseSymptoms","tags":["Menopause"],"security":[{"oauth2":["menopause.read"]}],"x-stability":"experimental","summary":"List menopause-symptoms","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MenopauseSymptoms"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createMenopauseSymptoms","tags":["Menopause"],"security":[{"oauth2":["menopause.write"]}],"x-stability":"experimental","summary":"Create a menopause-symptoms record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenopauseSymptomsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenopauseSymptoms"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/menopause-symptoms/{id}":{"get":{"operationId":"getMenopauseSymptoms","tags":["Menopause"],"security":[{"oauth2":["menopause.read"]}],"x-stability":"experimental","summary":"One menopause-symptoms record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenopauseSymptoms"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateMenopauseSymptoms","tags":["Menopause"],"security":[{"oauth2":["menopause.write"]}],"x-stability":"experimental","summary":"Change fields on a menopause-symptoms record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"scores":{"type":"object","additionalProperties":{"type":"number"}},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenopauseSymptoms"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteMenopauseSymptoms","tags":["Menopause"],"security":[{"oauth2":["menopause.write"]}],"x-stability":"experimental","summary":"Delete a menopause-symptoms record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/migraine-days":{"get":{"operationId":"listMigraineDays","tags":["Migraines & Headaches"],"security":[{"oauth2":["migraine.read"]}],"x-stability":"experimental","summary":"List migraine-days","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MigraineDays"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createMigraineDays","tags":["Migraines & Headaches"],"security":[{"oauth2":["migraine.write"]}],"x-stability":"experimental","summary":"Create a migraine-days record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigraineDaysInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigraineDays"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/migraine-days/{id}":{"get":{"operationId":"getMigraineDays","tags":["Migraines & Headaches"],"security":[{"oauth2":["migraine.read"]}],"x-stability":"experimental","summary":"One migraine-days record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigraineDays"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateMigraineDays","tags":["Migraines & Headaches"],"security":[{"oauth2":["migraine.write"]}],"x-stability":"experimental","summary":"Change fields on a migraine-days record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"severity":{"type":"integer"},"durationBand":{"type":"string","enum":["under_4h","4_24h","1_3d","over_3d"]},"aura":{"type":"boolean"},"symptoms":{"type":"array","items":{"type":"string","enum":["nausea","vomiting","light_sensitivity","sound_sensitivity","visual_disturbance","dizziness","neck_pain","numbness_tingling"]}},"relievedBy":{"type":"array","items":{"type":"string","enum":["rest","dark_room","sleep","caffeine","abortive_med","triptan","ice_or_heat","hydration","nothing_helped"]}},"triggers":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigraineDays"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteMigraineDays","tags":["Migraines & Headaches"],"security":[{"oauth2":["migraine.write"]}],"x-stability":"experimental","summary":"Delete a migraine-days record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/mood-chart-config":{"get":{"operationId":"listMoodChartConfig","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.read"]}],"x-stability":"experimental","summary":"List mood-chart-config","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MoodChartConfig"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createMoodChartConfig","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.write"]}],"x-stability":"experimental","summary":"Create a mood-chart-config record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodChartConfigInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodChartConfig"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/mood-chart-config/{id}":{"get":{"operationId":"getMoodChartConfig","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.read"]}],"x-stability":"experimental","summary":"One mood-chart-config record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodChartConfig"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateMoodChartConfig","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.write"]}],"x-stability":"experimental","summary":"Change fields on a mood-chart-config record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"mode":{"type":"string","enum":["simple","comprehensive"]},"customFactors":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"category":{"type":"string"}},"required":["key","label","category"]}},"mutedFactors":{"type":"array","items":{"type":"string"}},"labelOverrides":{"type":"object","additionalProperties":{"type":"string"}},"customCategories":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"}},"required":["key","label"]}},"categoryOverrides":{"type":"object","additionalProperties":{"type":"string"}},"factorCategories":{"type":"object","additionalProperties":{"type":"string"}},"cadence":{"type":"string","enum":["daily","weekly"]},"factors":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"category":{"type":"string"},"direction":{"type":"string","enum":["burden","benefit"]}},"required":["key","label","category","direction"]}},{"type":"null"}]}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodChartConfig"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteMoodChartConfig","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.write"]}],"x-stability":"experimental","summary":"Delete a mood-chart-config record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/mood-chart-entries":{"get":{"operationId":"listMoodChartEntries","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.read"]}],"x-stability":"experimental","summary":"List mood-chart-entries","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MoodChartEntries"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createMoodChartEntries","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.write"]}],"x-stability":"experimental","summary":"Create a mood-chart-entries record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodChartEntriesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodChartEntries"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/mood-chart-entries/{id}":{"get":{"operationId":"getMoodChartEntries","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.read"]}],"x-stability":"experimental","summary":"One mood-chart-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodChartEntries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateMoodChartEntries","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.write"]}],"x-stability":"experimental","summary":"Change fields on a mood-chart-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"scores":{"type":"object","additionalProperties":{"type":"integer"}},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodChartEntries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteMoodChartEntries","tags":["Mood Chart (Factor Grid)"],"security":[{"oauth2":["mood.write"]}],"x-stability":"experimental","summary":"Delete a mood-chart-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/mood-episodes":{"get":{"operationId":"listMoodEpisodes","tags":["Mood Episodes (Bipolar)"],"security":[{"oauth2":["episodes.read"]}],"x-stability":"experimental","summary":"List mood-episodes","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MoodEpisodes"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createMoodEpisodes","tags":["Mood Episodes (Bipolar)"],"security":[{"oauth2":["episodes.write"]}],"x-stability":"experimental","summary":"Create a mood-episodes record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodEpisodesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodEpisodes"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/mood-episodes/{id}":{"get":{"operationId":"getMoodEpisodes","tags":["Mood Episodes (Bipolar)"],"security":[{"oauth2":["episodes.read"]}],"x-stability":"experimental","summary":"One mood-episodes record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodEpisodes"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateMoodEpisodes","tags":["Mood Episodes (Bipolar)"],"security":[{"oauth2":["episodes.write"]}],"x-stability":"experimental","summary":"Change fields on a mood-episodes record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["depressive","manic","hypomanic","mixed","euthymic"]},"startDate":{"type":"string"},"endDate":{"type":"string"},"severity":{"type":"integer"},"hospitalized":{"type":"boolean"},"triggers":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoodEpisodes"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteMoodEpisodes","tags":["Mood Episodes (Bipolar)"],"security":[{"oauth2":["episodes.write"]}],"x-stability":"experimental","summary":"Delete a mood-episodes record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/nursing-logs":{"get":{"operationId":"listNursingLogs","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"List nursing-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NursingLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createNursingLogs","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Create a nursing-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NursingLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NursingLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/nursing-logs/{id}":{"get":{"operationId":"getNursingLogs","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"One nursing-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NursingLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateNursingLogs","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Change fields on a nursing-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"kind":{"type":"string","enum":["nursing","pumping","bottle","other"]},"side":{"type":"string","enum":["left","right","both"]},"minutes":{"type":"integer"},"amountMl":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NursingLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteNursingLogs","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Delete a nursing-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/pain-entries":{"get":{"operationId":"listPainEntries","tags":["Pain & Flares"],"security":[{"oauth2":["pain.read"]}],"x-stability":"experimental","summary":"List pain-entries","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PainEntries"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createPainEntries","tags":["Pain & Flares"],"security":[{"oauth2":["pain.write"]}],"x-stability":"experimental","summary":"Create a pain-entries record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PainEntriesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PainEntries"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/pain-entries/{id}":{"get":{"operationId":"getPainEntries","tags":["Pain & Flares"],"security":[{"oauth2":["pain.read"]}],"x-stability":"experimental","summary":"One pain-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PainEntries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updatePainEntries","tags":["Pain & Flares"],"security":[{"oauth2":["pain.write"]}],"x-stability":"experimental","summary":"Change fields on a pain-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"region":{"type":"string"},"intensity":{"type":"integer"},"quality":{"type":"array","items":{"type":"string","enum":["aching","burning","stabbing","throbbing","cramping","shooting","tingling","stiff","other"]}},"durationHours":{"type":"number"},"functionImpact":{"type":"integer"},"triggers":{"type":"string"},"relief":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PainEntries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deletePainEntries","tags":["Pain & Flares"],"security":[{"oauth2":["pain.write"]}],"x-stability":"experimental","summary":"Delete a pain-entries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/pgx-results":{"get":{"operationId":"listPgxResults","tags":["Pharmacogenomics"],"security":[{"oauth2":["pgx.read"]}],"x-stability":"experimental","summary":"List pgx-results","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PgxResults"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createPgxResults","tags":["Pharmacogenomics"],"security":[{"oauth2":["pgx.write"]}],"x-stability":"experimental","summary":"Create a pgx-results record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PgxResultsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PgxResults"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/pgx-results/{id}":{"get":{"operationId":"getPgxResults","tags":["Pharmacogenomics"],"security":[{"oauth2":["pgx.read"]}],"x-stability":"experimental","summary":"One pgx-results record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PgxResults"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updatePgxResults","tags":["Pharmacogenomics"],"security":[{"oauth2":["pgx.write"]}],"x-stability":"experimental","summary":"Change fields on a pgx-results record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"gene":{"type":"string"},"phenotype":{"type":"string","enum":["poor","intermediate","normal","rapid","ultrarapid","indeterminate","positive","negative","decreased_function","increased_function"]},"diplotype":{"type":"string"},"labName":{"type":"string"},"reportedOn":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PgxResults"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deletePgxResults","tags":["Pharmacogenomics"],"security":[{"oauth2":["pgx.write"]}],"x-stability":"experimental","summary":"Delete a pgx-results record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/pregnancies":{"get":{"operationId":"listPregnancies","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"List pregnancies","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pregnancies"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createPregnancies","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Create a pregnancies record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PregnanciesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pregnancies"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/pregnancies/{id}":{"get":{"operationId":"getPregnancies","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.read"]}],"x-stability":"experimental","summary":"One pregnancies record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pregnancies"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updatePregnancies","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Change fields on a pregnancies record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"dueDate":{"type":"string"},"startedOn":{"type":"string"},"status":{"type":"string","enum":["active","completed","loss","terminated"]},"endedOn":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pregnancies"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deletePregnancies","tags":["Family Building (Fertility, Pregnancy, Adoption)"],"security":[{"oauth2":["family.write"]}],"x-stability":"experimental","summary":"Delete a pregnancies record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/prep-pep-logs":{"get":{"operationId":"listPrepPepLogs","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.read"]}],"x-stability":"experimental","summary":"List prep-pep-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PrepPepLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createPrepPepLogs","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.write"]}],"x-stability":"experimental","summary":"Create a prep-pep-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepPepLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepPepLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/prep-pep-logs/{id}":{"get":{"operationId":"getPrepPepLogs","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.read"]}],"x-stability":"experimental","summary":"One prep-pep-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepPepLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updatePrepPepLogs","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.write"]}],"x-stability":"experimental","summary":"Change fields on a prep-pep-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["prep","pep"]},"status":{"type":"string","enum":["active","paused","completed"]},"medicationName":{"type":"string"},"startedOn":{"type":"string"},"dosingKind":{"type":"string","enum":["daily","on_demand","injectable"]},"adherence":{"type":"integer"},"labsDue":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepPepLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deletePrepPepLogs","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.write"]}],"x-stability":"experimental","summary":"Delete a prep-pep-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/preventive-screenings":{"get":{"operationId":"listPreventiveScreenings","tags":["Preventive Screenings"],"security":[{"oauth2":["preventive.read"]}],"x-stability":"experimental","summary":"List preventive-screenings","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PreventiveScreenings"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createPreventiveScreenings","tags":["Preventive Screenings"],"security":[{"oauth2":["preventive.write"]}],"x-stability":"experimental","summary":"Create a preventive-screenings record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreventiveScreeningsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreventiveScreenings"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/preventive-screenings/{id}":{"get":{"operationId":"getPreventiveScreenings","tags":["Preventive Screenings"],"security":[{"oauth2":["preventive.read"]}],"x-stability":"experimental","summary":"One preventive-screenings record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreventiveScreenings"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updatePreventiveScreenings","tags":["Preventive Screenings"],"security":[{"oauth2":["preventive.write"]}],"x-stability":"experimental","summary":"Change fields on a preventive-screenings record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"screeningKey":{"type":"string"},"lastDoneOn":{"type":"string"},"nextDueOn":{"type":"string"},"dismissed":{"type":"boolean"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreventiveScreenings"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deletePreventiveScreenings","tags":["Preventive Screenings"],"security":[{"oauth2":["preventive.write"]}],"x-stability":"experimental","summary":"Delete a preventive-screenings record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/provider-calls":{"get":{"operationId":"listProviderCalls","tags":["Provider Calls"],"security":[{"oauth2":["provider_calls.read"]}],"x-stability":"experimental","summary":"List provider-calls","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProviderCalls"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createProviderCalls","tags":["Provider Calls"],"security":[{"oauth2":["provider_calls.write"]}],"x-stability":"experimental","summary":"Create a provider-calls record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderCallsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderCalls"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/provider-calls/{id}":{"get":{"operationId":"getProviderCalls","tags":["Provider Calls"],"security":[{"oauth2":["provider_calls.read"]}],"x-stability":"experimental","summary":"One provider-calls record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderCalls"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateProviderCalls","tags":["Provider Calls"],"security":[{"oauth2":["provider_calls.write"]}],"x-stability":"experimental","summary":"Change fields on a provider-calls record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"direction":{"type":"string","enum":["outbound","inbound"]},"providerId":{"type":"string","format":"uuid"},"providerName":{"type":"string"},"office":{"type":"string"},"reason":{"type":"string"},"transcriptId":{"type":"string","format":"uuid"},"summary":{"anyOf":[{"type":"object","properties":{"headline":{"type":"string"},"keyPoints":{"type":"array","items":{"type":"string"}},"actionItems":{"type":"array","items":{"type":"string"}},"followUps":{"type":"array","items":{"type":"string"}},"appointment":{"anyOf":[{"type":"object","properties":{"date":{"type":"string"},"time":{"type":"string"},"endTime":{"type":"string"},"providerName":{"type":"string"},"specialty":{"type":"string"},"location":{"type":"string"},"videoLink":{"type":"string"},"reason":{"type":"string"},"telehealth":{"type":"boolean"}}},{"type":"null"}]},"analyzedAt":{"type":"string"}}},{"type":"null"}]}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderCalls"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteProviderCalls","tags":["Provider Calls"],"security":[{"oauth2":["provider_calls.write"]}],"x-stability":"experimental","summary":"Delete a provider-calls record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/providers":{"get":{"operationId":"listProviders","tags":["Care Team & Providers"],"security":[{"oauth2":["care_team.read"]}],"x-stability":"experimental","summary":"List providers","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Providers"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createProviders","tags":["Care Team & Providers"],"security":[{"oauth2":["care_team.write"]}],"x-stability":"experimental","summary":"Create a providers record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvidersInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Providers"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/providers/{id}":{"get":{"operationId":"getProviders","tags":["Care Team & Providers"],"security":[{"oauth2":["care_team.read"]}],"x-stability":"experimental","summary":"One providers record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Providers"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateProviders","tags":["Care Team & Providers"],"security":[{"oauth2":["care_team.write"]}],"x-stability":"experimental","summary":"Change fields on a providers record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["active","former"]},"specialty":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"},"fax":{"type":"string"},"affiliation":{"type":"string"},"address":{"type":"string"},"npi":{"type":"string"},"bookingUrl":{"type":"string"},"greeting":{"type":"string"},"photo":{"type":"string"},"notes":{"type":"string"},"rating":{"type":"integer"},"privateNote":{"type":"string"},"telehealth":{"type":"boolean"},"languages":{"type":"string"},"accessibility":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Providers"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteProviders","tags":["Care Team & Providers"],"security":[{"oauth2":["care_team.write"]}],"x-stability":"experimental","summary":"Delete a providers record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/rehab-logs":{"get":{"operationId":"listRehabLogs","tags":["PT & Rehab"],"security":[{"oauth2":["rehab.read"]}],"x-stability":"experimental","summary":"List rehab-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RehabLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createRehabLogs","tags":["PT & Rehab"],"security":[{"oauth2":["rehab.write"]}],"x-stability":"experimental","summary":"Create a rehab-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RehabLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RehabLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/rehab-logs/{id}":{"get":{"operationId":"getRehabLogs","tags":["PT & Rehab"],"security":[{"oauth2":["rehab.read"]}],"x-stability":"experimental","summary":"One rehab-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RehabLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateRehabLogs","tags":["PT & Rehab"],"security":[{"oauth2":["rehab.write"]}],"x-stability":"experimental","summary":"Change fields on a rehab-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"exercise":{"type":"string"},"exerciseId":{"type":"string","format":"uuid"},"setsDone":{"type":"integer"},"repsPerSet":{"type":"integer"},"holdSeconds":{"type":"integer"},"painDuring":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RehabLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteRehabLogs","tags":["PT & Rehab"],"security":[{"oauth2":["rehab.write"]}],"x-stability":"experimental","summary":"Delete a rehab-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/renewals":{"get":{"operationId":"listRenewals","tags":["Renewals & Expiries"],"security":[{"oauth2":["renewals.read"]}],"x-stability":"experimental","summary":"List renewals","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Renewals"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createRenewals","tags":["Renewals & Expiries"],"security":[{"oauth2":["renewals.write"]}],"x-stability":"experimental","summary":"Create a renewals record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenewalsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Renewals"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/renewals/{id}":{"get":{"operationId":"getRenewals","tags":["Renewals & Expiries"],"security":[{"oauth2":["renewals.read"]}],"x-stability":"experimental","summary":"One renewals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Renewals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateRenewals","tags":["Renewals & Expiries"],"security":[{"oauth2":["renewals.write"]}],"x-stability":"experimental","summary":"Change fields on a renewals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string","enum":["insurance_card","id_document","prior_auth","prescription","license","fsa_hsa","other"]},"expiresOn":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Renewals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteRenewals","tags":["Renewals & Expiries"],"security":[{"oauth2":["renewals.write"]}],"x-stability":"experimental","summary":"Delete a renewals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/saved-foods":{"get":{"operationId":"listSavedFoods","tags":["Food Log"],"security":[{"oauth2":["food.read"]}],"x-stability":"experimental","summary":"List saved-foods","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SavedFoods"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSavedFoods","tags":["Food Log"],"security":[{"oauth2":["food.write"]}],"x-stability":"experimental","summary":"Create a saved-foods record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedFoodsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedFoods"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/saved-foods/{id}":{"get":{"operationId":"getSavedFoods","tags":["Food Log"],"security":[{"oauth2":["food.read"]}],"x-stability":"experimental","summary":"One saved-foods record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedFoods"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSavedFoods","tags":["Food Log"],"security":[{"oauth2":["food.write"]}],"x-stability":"experimental","summary":"Change fields on a saved-foods record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"brand":{"type":"string"},"quantity":{"type":"string"},"calories":{"type":"number"},"proteinG":{"type":"number"},"carbsG":{"type":"number"},"fatG":{"type":"number"},"fiberG":{"type":"number"},"sugarG":{"type":"number"},"addedSugarG":{"type":"number"},"sugarAlcoholG":{"type":"number"},"satFatG":{"type":"number"},"transFatG":{"type":"number"},"cholesterolMg":{"type":"number"},"sodiumMg":{"type":"number"},"potassiumMg":{"type":"number"},"waterMl":{"type":"number"},"micros":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"amount":{"type":"number"},"unit":{"type":"string"}},"required":["key","amount","unit"]}},"isFavorite":{"type":"boolean"},"kind":{"type":"string","enum":["item","recipe"]},"ingredients":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"calories":{"type":"number"},"proteinG":{"type":"number"},"carbsG":{"type":"number"},"fatG":{"type":"number"},"fiberG":{"type":"number"}},"required":["name"]}}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedFoods"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSavedFoods","tags":["Food Log"],"security":[{"oauth2":["food.write"]}],"x-stability":"experimental","summary":"Delete a saved-foods record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/seizure-events":{"get":{"operationId":"listSeizureEvents","tags":["Seizure Log"],"security":[{"oauth2":["seizure.read"]}],"x-stability":"experimental","summary":"List seizure-events","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SeizureEvents"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSeizureEvents","tags":["Seizure Log"],"security":[{"oauth2":["seizure.write"]}],"x-stability":"experimental","summary":"Create a seizure-events record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeizureEventsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeizureEvents"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/seizure-events/{id}":{"get":{"operationId":"getSeizureEvents","tags":["Seizure Log"],"security":[{"oauth2":["seizure.read"]}],"x-stability":"experimental","summary":"One seizure-events record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeizureEvents"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSeizureEvents","tags":["Seizure Log"],"security":[{"oauth2":["seizure.write"]}],"x-stability":"experimental","summary":"Change fields on a seizure-events record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"type":{"type":"string","enum":["focal_aware","focal_impaired","tonic_clonic","absence","myoclonic","atonic","unknown","other"]},"durationSeconds":{"type":"integer"},"hadAura":{"type":"boolean"},"auraNote":{"type":"string"},"triggers":{"type":"string"},"rescueMedUsed":{"type":"boolean"},"rescueMedName":{"type":"string"},"injuriesOccurred":{"type":"boolean"},"injuriesNote":{"type":"string"},"postIctalMinutes":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeizureEvents"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSeizureEvents","tags":["Seizure Log"],"security":[{"oauth2":["seizure.write"]}],"x-stability":"experimental","summary":"Delete a seizure-events record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/sessions":{"get":{"operationId":"listSessions","tags":["Visit Notes"],"security":[{"oauth2":["sessions.read"]}],"x-stability":"experimental","summary":"List sessions","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Sessions"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSessions","tags":["Visit Notes"],"security":[{"oauth2":["sessions.write"]}],"x-stability":"experimental","summary":"Create a sessions record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sessions"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/sessions/{id}":{"get":{"operationId":"getSessions","tags":["Visit Notes"],"security":[{"oauth2":["sessions.read"]}],"x-stability":"experimental","summary":"One sessions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sessions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSessions","tags":["Visit Notes"],"security":[{"oauth2":["sessions.write"]}],"x-stability":"experimental","summary":"Change fields on a sessions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["therapy","psychiatry","dietitian","medical","doctor","other"]},"providerId":{"type":"string","format":"uuid"},"date":{"type":"string"},"durationMinutes":{"type":"integer"},"participants":{"type":"string"},"recap":{"type":"object","properties":{"title":{"type":"string"},"headlines":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["good","warn","neutral"]},"text":{"type":"string"}},"required":["text"]}},"actionItems":{"type":"array","items":{"type":"object","properties":{"owner":{"type":"string"},"action":{"type":"string"},"when":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]}},"required":["owner","action"]}},"whoTalkedMost":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"turns":{"type":"integer"},"pct":{"type":"number"}},"required":["name","turns","pct"]}},"mood":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tone":{"type":"string"},"note":{"type":"string"}},"required":["name","tone"]}},"detailNotes":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string"},"bullets":{"type":"array","items":{"type":"string"}}},"required":["heading","bullets"]}},"openThreads":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"who":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]}},"required":["text"]}},"milestones":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"source":{"type":"string"},"note":{"type":"string"}},"required":["text"]}},"transcript":{"type":"array","items":{"type":"object","properties":{"speaker":{"type":"string"},"role":{"type":"string"},"originalLabel":{"type":"string"},"ts":{"type":"string"},"text":{"type":"string"}},"required":["speaker","text"]}},"insights":{"type":"object","properties":{"blurb":{"type":"string"},"summary":{"type":"string"},"detailedSummary":{"type":"string"},"participants":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"}},"required":["name"]}},"highlights":{"type":"array","items":{"type":"string"}},"themes":{"type":"array","items":{"type":"string"}},"good":{"type":"array","items":{"type":"string"}},"challenges":{"type":"array","items":{"type":"string"}},"finalNotes":{"type":"string"},"homework":{"type":"array","items":{"type":"string"}},"copingSkills":{"type":"array","items":{"type":"string"}},"notableQuotes":{"type":"array","items":{"type":"string"}},"notableFromOthers":{"type":"array","items":{"type":"object","properties":{"speaker":{"type":"string"},"text":{"type":"string"}},"required":["speaker","text"]}},"questionsNext":{"type":"array","items":{"type":"string"}},"moodArc":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"},"note":{"type":"string"}},"required":["start","end"]},"tags":{"type":"array","items":{"type":"string"}},"crossSession":{"type":"object","properties":{"recurringThemes":{"type":"array","items":{"type":"string"}},"progress":{"type":"array","items":{"type":"string"}}}},"wellbeingNote":{"type":"string"},"review":{"type":"object","properties":{"clinicalNotes":{"type":"object","properties":{"subjective":{"type":"string"},"objective":{"type":"string"},"assessment":{"type":"string"},"plan":{"type":"string"}}},"decisions":{"type":"array","items":{"type":"object","properties":{"decision":{"type":"string"},"why":{"type":"string"},"alternatives":{"type":"array","items":{"type":"string"}},"ruledOut":{"type":"string"}},"required":["decision"]}},"gaps":{"type":"array","items":{"type":"string"}},"glossary":{"type":"array","items":{"type":"object","properties":{"term":{"type":"string"},"meaning":{"type":"string"}},"required":["term","meaning"]}},"next30":{"type":"array","items":{"type":"object","properties":{"when":{"type":"string"},"what":{"type":"string"},"date":{"type":"string"}},"required":["when","what"]}},"timeline":{"type":"array","items":{"type":"object","properties":{"topic":{"type":"string"},"mood":{"type":"string"},"note":{"type":"string"}},"required":["topic"]}},"techniques":{"type":"array","items":{"type":"object","properties":{"technique":{"type":"string"},"moment":{"type":"string"},"why":{"type":"string"}},"required":["technique","moment"]}},"patterns":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"moment":{"type":"string"},"reframe":{"type":"string"}},"required":["pattern","moment"]}},"unfinished":{"type":"array","items":{"type":"string"}},"strengths":{"type":"array","items":{"type":"string"}},"supports":{"type":"array","items":{"type":"string"}},"people":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"relation":{"type":"string"},"said":{"type":"string"}},"required":["name","said"]}},"reported":{"type":"array","items":{"type":"object","properties":{"area":{"type":"string"},"what":{"type":"string"}},"required":["area","what"]}},"reflectionPrompts":{"type":"array","items":{"type":"string"}},"careTeamNote":{"type":"string"},"goalProgress":{"type":"array","items":{"type":"object","properties":{"goal":{"type":"string"},"note":{"type":"string"}},"required":["goal","note"]}},"sinceLast":{"type":"object","properties":{"changed":{"type":"array","items":{"type":"string"}},"repeated":{"type":"array","items":{"type":"string"}},"resolved":{"type":"array","items":{"type":"string"}},"persistent":{"type":"array","items":{"type":"string"}}}},"analyzedAt":{"type":"string"}}},"diagnoses":{"type":"array","items":{"type":"string"}},"newPrescriptions":{"type":"array","items":{"type":"string"}},"discontinuedMeds":{"type":"array","items":{"type":"string"}},"pausedMeds":{"type":"array","items":{"type":"string"}},"changedMeds":{"type":"array","items":{"type":"string"}},"testsOrdered":{"type":"array","items":{"type":"string"}},"referrals":{"type":"array","items":{"type":"string"}},"careInstructions":{"type":"array","items":{"type":"string"}},"warningSigns":{"type":"array","items":{"type":"string"}},"followUp":{"type":"string"},"analyzedAt":{"type":"string"}}},"rating":{"type":"integer"}}},"transcriptId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"appointmentId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"summary":{"type":"string"},"present":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"}},"required":["name"]}},"mentioned":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"relation":{"type":"string"}},"required":["name"]}},"topics":{"type":"array","items":{"type":"string"}},"myNotes":{"type":"string"},"followUpOn":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sessions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSessions","tags":["Visit Notes"],"security":[{"oauth2":["sessions.write"]}],"x-stability":"experimental","summary":"Delete a sessions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/skin-conditions":{"get":{"operationId":"listSkinConditions","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.read"]}],"x-stability":"experimental","summary":"List skin-conditions","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SkinConditions"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSkinConditions","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Create a skin-conditions record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinConditionsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinConditions"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/skin-conditions/{id}":{"get":{"operationId":"getSkinConditions","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.read"]}],"x-stability":"experimental","summary":"One skin-conditions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinConditions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSkinConditions","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Change fields on a skin-conditions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["eczema","psoriasis","acne","rosacea","hives","dermatitis","vitiligo","fungal","folliculitis","keratosis","other"]},"name":{"type":"string"},"areas":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["active","managed","resolved"]},"diagnosedOn":{"type":"string"},"treatments":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinConditions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSkinConditions","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Delete a skin-conditions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/skin-exams":{"get":{"operationId":"listSkinExams","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.read"]}],"x-stability":"experimental","summary":"List skin-exams","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SkinExams"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSkinExams","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Create a skin-exams record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinExamsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinExams"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/skin-exams/{id}":{"get":{"operationId":"getSkinExams","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.read"]}],"x-stability":"experimental","summary":"One skin-exams record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinExams"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSkinExams","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Change fields on a skin-exams record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string","enum":["full_body","spot_check","procedure","follow_up"]},"provider":{"type":"string"},"findings":{"type":"string"},"nextDueOn":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinExams"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSkinExams","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Delete a skin-exams record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/skin-flares":{"get":{"operationId":"listSkinFlares","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.read"]}],"x-stability":"experimental","summary":"List skin-flares","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SkinFlares"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSkinFlares","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Create a skin-flares record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinFlaresInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinFlares"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/skin-flares/{id}":{"get":{"operationId":"getSkinFlares","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.read"]}],"x-stability":"experimental","summary":"One skin-flares record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinFlares"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSkinFlares","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Change fields on a skin-flares record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"conditionId":{"type":"string"},"severity":{"type":"integer"},"areas":{"type":"array","items":{"type":"string"}},"itch":{"type":"integer"},"triggers":{"type":"string"},"treatment":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinFlares"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSkinFlares","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Delete a skin-flares record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/skin-spots":{"get":{"operationId":"listSkinSpots","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.read"]}],"x-stability":"experimental","summary":"List skin-spots","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SkinSpots"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSkinSpots","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Create a skin-spots record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinSpotsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinSpots"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/skin-spots/{id}":{"get":{"operationId":"getSkinSpots","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.read"]}],"x-stability":"experimental","summary":"One skin-spots record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinSpots"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSkinSpots","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Change fields on a skin-spots record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"label":{"type":"string"},"bodyArea":{"type":"string"},"description":{"type":"string"},"abcdeFlags":{"type":"array","items":{"type":"string"}},"sizeMm":{"type":"number"},"status":{"type":"string","enum":["monitoring","concern","biopsied","benign","removed"]},"firstNotedOn":{"type":"string"},"lastCheckedOn":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkinSpots"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSkinSpots","tags":["Skin (Exams, Spots, Conditions)"],"security":[{"oauth2":["skin.write"]}],"x-stability":"experimental","summary":"Delete a skin-spots record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/sleep-logs":{"get":{"operationId":"listSleepLogs","tags":["Sleep Log"],"security":[{"oauth2":["sleep.read"]}],"x-stability":"stable","summary":"List sleep-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSleepLogs","tags":["Sleep Log"],"security":[{"oauth2":["sleep.write"]}],"x-stability":"stable","summary":"Create a sleep-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/sleep-logs/{id}":{"get":{"operationId":"getSleepLogs","tags":["Sleep Log"],"security":[{"oauth2":["sleep.read"]}],"x-stability":"stable","summary":"One sleep-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSleepLogs","tags":["Sleep Log"],"security":[{"oauth2":["sleep.write"]}],"x-stability":"stable","summary":"Change fields on a sleep-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"bedtime":{"type":"string"},"wakeTime":{"type":"string"},"hours":{"type":"number"},"quality":{"type":"integer"},"awakenings":{"type":"integer"},"cpapUsed":{"type":"boolean"},"cpapHours":{"type":"number"},"hygiene":{"type":"array","items":{"type":"string"}},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSleepLogs","tags":["Sleep Log"],"security":[{"oauth2":["sleep.write"]}],"x-stability":"stable","summary":"Delete a sleep-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/sobriety-streaks":{"get":{"operationId":"listSobrietyStreaks","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.read"]}],"x-stability":"experimental","summary":"List sobriety-streaks","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SobrietyStreaks"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSobrietyStreaks","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.write"]}],"x-stability":"experimental","summary":"Create a sobriety-streaks record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SobrietyStreaksInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SobrietyStreaks"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/sobriety-streaks/{id}":{"get":{"operationId":"getSobrietyStreaks","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.read"]}],"x-stability":"experimental","summary":"One sobriety-streaks record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SobrietyStreaks"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSobrietyStreaks","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.write"]}],"x-stability":"experimental","summary":"Change fields on a sobriety-streaks record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"substance":{"type":"string"},"soberSince":{"type":"string"},"goalNote":{"type":"string"},"active":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SobrietyStreaks"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSobrietyStreaks","tags":["Sobriety & Recovery"],"security":[{"oauth2":["sobriety.write"]}],"x-stability":"experimental","summary":"Delete a sobriety-streaks record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/social-histories":{"get":{"operationId":"listSocialHistories","tags":["Social & Substance History"],"security":[{"oauth2":["social_history.read"]}],"x-stability":"experimental","summary":"List social-histories","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SocialHistories"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSocialHistories","tags":["Social & Substance History"],"security":[{"oauth2":["social_history.write"]}],"x-stability":"experimental","summary":"Create a social-histories record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialHistoriesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialHistories"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/social-histories/{id}":{"get":{"operationId":"getSocialHistories","tags":["Social & Substance History"],"security":[{"oauth2":["social_history.read"]}],"x-stability":"experimental","summary":"One social-histories record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialHistories"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSocialHistories","tags":["Social & Substance History"],"security":[{"oauth2":["social_history.write"]}],"x-stability":"experimental","summary":"Change fields on a social-histories record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"reviewedOn":{"type":"string"},"tobaccoStatus":{"type":"string","enum":["never","former","current","unknown"]},"tobaccoDetail":{"type":"string"},"alcoholUse":{"type":"string","enum":["never","former","occasional","regular","unknown"]},"alcoholDetail":{"type":"string"},"recreationalDrugs":{"type":"string","enum":["never","former","occasional","regular","unknown"]},"recreationalDetail":{"type":"string"},"caffeine":{"type":"string"},"occupation":{"type":"string"},"exercise":{"type":"string"},"livingSituation":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialHistories"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSocialHistories","tags":["Social & Substance History"],"security":[{"oauth2":["social_history.write"]}],"x-stability":"experimental","summary":"Delete a social-histories record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/ssa-logs":{"get":{"operationId":"listSsaLogs","tags":["Benefits / SSA Log"],"security":[{"oauth2":["ssa.read"]}],"x-stability":"experimental","summary":"List ssa-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SsaLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSsaLogs","tags":["Benefits / SSA Log"],"security":[{"oauth2":["ssa.write"]}],"x-stability":"experimental","summary":"Create a ssa-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsaLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsaLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/ssa-logs/{id}":{"get":{"operationId":"getSsaLogs","tags":["Benefits / SSA Log"],"security":[{"oauth2":["ssa.read"]}],"x-stability":"experimental","summary":"One ssa-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsaLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSsaLogs","tags":["Benefits / SSA Log"],"security":[{"oauth2":["ssa.write"]}],"x-stability":"experimental","summary":"Change fields on a ssa-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"interactionType":{"type":"string","enum":["call","chat","portal_message","appointment","letter"]},"occurredOn":{"type":"string"},"dli":{"type":"string"},"protectiveFilingDate":{"type":"string"},"outcome":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]},"transcriptId":{"type":"string","format":"uuid"},"summary":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsaLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSsaLogs","tags":["Benefits / SSA Log"],"security":[{"oauth2":["ssa.write"]}],"x-stability":"experimental","summary":"Delete a ssa-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/sti-tests":{"get":{"operationId":"listStiTests","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.read"]}],"x-stability":"experimental","summary":"List sti-tests","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StiTests"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createStiTests","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.write"]}],"x-stability":"experimental","summary":"Create a sti-tests record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StiTestsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StiTests"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/sti-tests/{id}":{"get":{"operationId":"getStiTests","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.read"]}],"x-stability":"experimental","summary":"One sti-tests record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StiTests"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateStiTests","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.write"]}],"x-stability":"experimental","summary":"Change fields on a sti-tests record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"testedOn":{"type":"string"},"testType":{"type":"string","enum":["hiv","chlamydia","gonorrhea","syphilis","hpv","hsv","hepb","hepc","trich","panel","other"]},"result":{"type":"string","enum":["negative","positive","inconclusive","pending"]},"nextTestDue":{"type":"string"},"remindDaysBefore":{"type":"integer"},"location":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StiTests"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteStiTests","tags":["Sexual Health (STI, Contraception, PrEP)"],"security":[{"oauth2":["sexual_health.write"]}],"x-stability":"experimental","summary":"Delete a sti-tests record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/surgeries":{"get":{"operationId":"listSurgeries","tags":["Surgeries"],"security":[{"oauth2":["surgeries.read"]}],"x-stability":"experimental","summary":"List surgeries","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Surgeries"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSurgeries","tags":["Surgeries"],"security":[{"oauth2":["surgeries.write"]}],"x-stability":"experimental","summary":"Create a surgeries record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurgeriesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Surgeries"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/surgeries/{id}":{"get":{"operationId":"getSurgeries","tags":["Surgeries"],"security":[{"oauth2":["surgeries.read"]}],"x-stability":"experimental","summary":"One surgeries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Surgeries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSurgeries","tags":["Surgeries"],"security":[{"oauth2":["surgeries.write"]}],"x-stability":"experimental","summary":"Change fields on a surgeries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"procedure":{"type":"string"},"surgeon":{"type":"string"},"facility":{"type":"string"},"reason":{"type":"string"},"outcome":{"type":"string"},"anesthesia":{"type":"string"},"notes":{"type":"string"},"documentId":{"type":"string","format":"uuid"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Surgeries"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSurgeries","tags":["Surgeries"],"security":[{"oauth2":["surgeries.write"]}],"x-stability":"experimental","summary":"Delete a surgeries record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/surgery-plans":{"get":{"operationId":"listSurgeryPlans","tags":["Surgery Plans"],"security":[{"oauth2":["surgery.read"]}],"x-stability":"experimental","summary":"List surgery-plans","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SurgeryPlans"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSurgeryPlans","tags":["Surgery Plans"],"security":[{"oauth2":["surgery.write"]}],"x-stability":"experimental","summary":"Create a surgery-plans record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurgeryPlansInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurgeryPlans"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/surgery-plans/{id}":{"get":{"operationId":"getSurgeryPlans","tags":["Surgery Plans"],"security":[{"oauth2":["surgery.read"]}],"x-stability":"experimental","summary":"One surgery-plans record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurgeryPlans"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSurgeryPlans","tags":["Surgery Plans"],"security":[{"oauth2":["surgery.write"]}],"x-stability":"experimental","summary":"Change fields on a surgery-plans record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["considering","consult","approved","scheduled","completed","postponed","cancelled"]},"surgeonProviderId":{"type":"string","format":"uuid"},"facility":{"type":"string"},"consultDate":{"type":"string"},"surgeryDate":{"type":"string"},"tasks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"category":{"type":"string","enum":["prep","document","lab","med_hold","logistics","recovery"]},"done":{"type":"boolean"},"dueDate":{"type":"string"},"note":{"type":"string"}},"required":["id","label"]}},"recoveryLog":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"painLevel":{"type":"integer"},"note":{"type":"string"}},"required":["date"]}},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurgeryPlans"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSurgeryPlans","tags":["Surgery Plans"],"security":[{"oauth2":["surgery.write"]}],"x-stability":"experimental","summary":"Delete a surgery-plans record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/symptom-logs":{"get":{"operationId":"listSymptomLogs","tags":["Symptoms & Flares"],"security":[{"oauth2":["symptoms.read"]}],"x-stability":"experimental","summary":"List symptom-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SymptomLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createSymptomLogs","tags":["Symptoms & Flares"],"security":[{"oauth2":["symptoms.write"]}],"x-stability":"experimental","summary":"Create a symptom-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SymptomLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SymptomLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/symptom-logs/{id}":{"get":{"operationId":"getSymptomLogs","tags":["Symptoms & Flares"],"security":[{"oauth2":["symptoms.read"]}],"x-stability":"experimental","summary":"One symptom-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SymptomLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateSymptomLogs","tags":["Symptoms & Flares"],"security":[{"oauth2":["symptoms.write"]}],"x-stability":"experimental","summary":"Change fields on a symptom-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"severity":{"type":"integer"},"bodyArea":{"type":"string"},"occurredAt":{"type":"string"},"durationHours":{"type":"number"},"triggers":{"type":"string"},"diagnosisNotes":{"type":"string"},"notes":{"type":"string"},"resolutionNotes":{"type":"string"},"resolvedOn":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SymptomLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteSymptomLogs","tags":["Symptoms & Flares"],"security":[{"oauth2":["symptoms.write"]}],"x-stability":"experimental","summary":"Delete a symptom-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/therapy-goals":{"get":{"operationId":"listTherapyGoals","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"List therapy-goals","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TherapyGoals"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createTherapyGoals","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Create a therapy-goals record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyGoalsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyGoals"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/therapy-goals/{id}":{"get":{"operationId":"getTherapyGoals","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"One therapy-goals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyGoals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateTherapyGoals","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Change fields on a therapy-goals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"description":{"type":"string"},"status":{"type":"string","enum":["not_started","in_progress","achieved","paused"]},"targetDate":{"type":"string"},"sessionId":{"type":"string","format":"uuid"},"progressNote":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyGoals"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteTherapyGoals","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Delete a therapy-goals record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/therapy-homework":{"get":{"operationId":"listTherapyHomework","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"List therapy-homework","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TherapyHomework"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createTherapyHomework","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Create a therapy-homework record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyHomeworkInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyHomework"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/therapy-homework/{id}":{"get":{"operationId":"getTherapyHomework","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"One therapy-homework record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyHomework"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateTherapyHomework","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Change fields on a therapy-homework record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"details":{"type":"string"},"dueDate":{"type":"string"},"done":{"type":"boolean"},"completedAt":{"type":"string"},"sessionId":{"type":"string","format":"uuid"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyHomework"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteTherapyHomework","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Delete a therapy-homework record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/therapy-reflections":{"get":{"operationId":"listTherapyReflections","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"List therapy-reflections","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TherapyReflections"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createTherapyReflections","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Create a therapy-reflections record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyReflectionsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyReflections"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/therapy-reflections/{id}":{"get":{"operationId":"getTherapyReflections","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.read"]}],"x-stability":"experimental","summary":"One therapy-reflections record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyReflections"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateTherapyReflections","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Change fields on a therapy-reflections record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"sessionId":{"type":"string","format":"uuid"},"prompt":{"type":"string"},"response":{"type":"string"},"respondedAt":{"type":"string"},"dueAt":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TherapyReflections"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteTherapyReflections","tags":["Therapy (Goals, Coping Skills, Homework, Reflections)"],"security":[{"oauth2":["therapy.write"]}],"x-stability":"experimental","summary":"Delete a therapy-reflections record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/tooth-records":{"get":{"operationId":"listToothRecords","tags":["Dental"],"security":[{"oauth2":["dental.read"]}],"x-stability":"experimental","summary":"List tooth-records","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ToothRecords"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createToothRecords","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Create a tooth-records record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToothRecordsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToothRecords"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/tooth-records/{id}":{"get":{"operationId":"getToothRecords","tags":["Dental"],"security":[{"oauth2":["dental.read"]}],"x-stability":"experimental","summary":"One tooth-records record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToothRecords"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateToothRecords","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Change fields on a tooth-records record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"tooth":{"type":"integer"},"status":{"type":"string","enum":["healthy","watch","filling","crown","root_canal","veneer","sealant","bridge","implant","extracted","missing"]},"material":{"type":"string"},"date":{"type":"string"},"visitId":{"type":"string","format":"uuid"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToothRecords"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteToothRecords","tags":["Dental"],"security":[{"oauth2":["dental.write"]}],"x-stability":"experimental","summary":"Delete a tooth-records record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/transition-milestones":{"get":{"operationId":"listTransitionMilestones","tags":["Transition Timeline"],"security":[{"oauth2":["transition.read"]}],"x-stability":"experimental","summary":"List transition-milestones","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TransitionMilestones"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createTransitionMilestones","tags":["Transition Timeline"],"security":[{"oauth2":["transition.write"]}],"x-stability":"experimental","summary":"Create a transition-milestones record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransitionMilestonesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransitionMilestones"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/transition-milestones/{id}":{"get":{"operationId":"getTransitionMilestones","tags":["Transition Timeline"],"security":[{"oauth2":["transition.read"]}],"x-stability":"experimental","summary":"One transition-milestones record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransitionMilestones"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateTransitionMilestones","tags":["Transition Timeline"],"security":[{"oauth2":["transition.write"]}],"x-stability":"experimental","summary":"Change fields on a transition-milestones record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string","enum":["came_out","hrt_start","hrt_change","name_change","gender_marker","surgery","top_surgery","bottom_surgery","hair_removal","fertility","voice","social","legal","first","other"]},"title":{"type":"string"},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransitionMilestones"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteTransitionMilestones","tags":["Transition Timeline"],"security":[{"oauth2":["transition.write"]}],"x-stability":"experimental","summary":"Delete a transition-milestones record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/travel-trips":{"get":{"operationId":"listTravelTrips","tags":["Medications & Doses"],"security":[{"oauth2":["medications.read"]}],"x-stability":"stable","summary":"List travel-trips","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TravelTrips"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createTravelTrips","tags":["Medications & Doses"],"security":[{"oauth2":["medications.write"]}],"x-stability":"stable","summary":"Create a travel-trips record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TravelTripsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TravelTrips"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/travel-trips/{id}":{"get":{"operationId":"getTravelTrips","tags":["Medications & Doses"],"security":[{"oauth2":["medications.read"]}],"x-stability":"stable","summary":"One travel-trips record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TravelTrips"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateTravelTrips","tags":["Medications & Doses"],"security":[{"oauth2":["medications.write"]}],"x-stability":"stable","summary":"Change fields on a travel-trips record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"destination":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"offsetHours":{"type":"number"},"mode":{"type":"string","enum":["home","gradual","immediate"]},"keepHomeTimeMedIds":{"type":"array","items":{"type":"string"}},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TravelTrips"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteTravelTrips","tags":["Medications & Doses"],"security":[{"oauth2":["medications.write"]}],"x-stability":"stable","summary":"Delete a travel-trips record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/urine-logs":{"get":{"operationId":"listUrineLogs","tags":["Urine Tracking"],"security":[{"oauth2":["urine.read"]}],"x-stability":"experimental","summary":"List urine-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UrineLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createUrineLogs","tags":["Urine Tracking"],"security":[{"oauth2":["urine.write"]}],"x-stability":"experimental","summary":"Create a urine-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrineLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrineLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/urine-logs/{id}":{"get":{"operationId":"getUrineLogs","tags":["Urine Tracking"],"security":[{"oauth2":["urine.read"]}],"x-stability":"experimental","summary":"One urine-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrineLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateUrineLogs","tags":["Urine Tracking"],"security":[{"oauth2":["urine.write"]}],"x-stability":"experimental","summary":"Change fields on a urine-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"color":{"type":"string","enum":["clear","pale","straw","dark_yellow","amber","brown_tea","pink_red","orange","other"]},"volume":{"type":"string","enum":["small","medium","large"]},"volumeMl":{"type":"number"},"urgency":{"type":"integer"},"burning":{"type":"integer"},"hesitancy":{"type":"boolean"},"weakStream":{"type":"boolean"},"incompleteEmptying":{"type":"boolean"},"leakage":{"type":"string","enum":["none","drops","soaked"]},"cloudy":{"type":"boolean"},"foamy":{"type":"boolean"},"odor":{"type":"string","enum":["none","strong","sweet","ammonia","foul"]},"painLevel":{"type":"integer"},"painRegion":{"type":"string"},"notes":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrineLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteUrineLogs","tags":["Urine Tracking"],"security":[{"oauth2":["urine.write"]}],"x-stability":"experimental","summary":"Delete a urine-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/visit-notes":{"get":{"operationId":"listVisitNotes","tags":["Visit Notes"],"security":[{"oauth2":["visit_notes.read"]}],"x-stability":"experimental","summary":"List visit-notes","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VisitNotes"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createVisitNotes","tags":["Visit Notes"],"security":[{"oauth2":["visit_notes.write"]}],"x-stability":"experimental","summary":"Create a visit-notes record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisitNotesInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisitNotes"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/visit-notes/{id}":{"get":{"operationId":"getVisitNotes","tags":["Visit Notes"],"security":[{"oauth2":["visit_notes.read"]}],"x-stability":"experimental","summary":"One visit-notes record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisitNotes"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateVisitNotes","tags":["Visit Notes"],"security":[{"oauth2":["visit_notes.write"]}],"x-stability":"experimental","summary":"Change fields on a visit-notes record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"provider":{"type":"string"},"department":{"type":"string"},"visitType":{"type":"string"},"chiefComplaint":{"type":"string"},"assessment":{"type":"string"},"plan":{"type":"string"},"narrative":{"type":"string"},"source":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VisitNotes"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteVisitNotes","tags":["Visit Notes"],"security":[{"oauth2":["visit_notes.write"]}],"x-stability":"experimental","summary":"Delete a visit-notes record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/voice-logs":{"get":{"operationId":"listVoiceLogs","tags":["Voice Training"],"security":[{"oauth2":["voice.read"]}],"x-stability":"experimental","summary":"List voice-logs","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VoiceLogs"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createVoiceLogs","tags":["Voice Training"],"security":[{"oauth2":["voice.write"]}],"x-stability":"experimental","summary":"Create a voice-logs record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceLogsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceLogs"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/voice-logs/{id}":{"get":{"operationId":"getVoiceLogs","tags":["Voice Training"],"security":[{"oauth2":["voice.read"]}],"x-stability":"experimental","summary":"One voice-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateVoiceLogs","tags":["Voice Training"],"security":[{"oauth2":["voice.write"]}],"x-stability":"experimental","summary":"Change fields on a voice-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"practiceMinutes":{"type":"number"},"pitchHz":{"type":"number"},"note":{"type":"string"},"recordingFileId":{"type":"string","format":"uuid"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceLogs"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteVoiceLogs","tags":["Voice Training"],"security":[{"oauth2":["voice.write"]}],"x-stability":"experimental","summary":"Delete a voice-logs record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/watch-items":{"get":{"operationId":"listWatchItems","tags":["Watch List"],"security":[{"oauth2":["watch.read"]}],"x-stability":"experimental","summary":"List watch-items","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WatchItems"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createWatchItems","tags":["Watch List"],"security":[{"oauth2":["watch.write"]}],"x-stability":"experimental","summary":"Create a watch-items record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchItemsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchItems"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/watch-items/{id}":{"get":{"operationId":"getWatchItems","tags":["Watch List"],"security":[{"oauth2":["watch.read"]}],"x-stability":"experimental","summary":"One watch-items record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchItems"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateWatchItems","tags":["Watch List"],"security":[{"oauth2":["watch.write"]}],"x-stability":"experimental","summary":"Change fields on a watch-items record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"whyItMatters":{"type":"string"},"whatToTrack":{"type":"string"},"action":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchItems"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteWatchItems","tags":["Watch List"],"security":[{"oauth2":["watch.write"]}],"x-stability":"experimental","summary":"Delete a watch-items record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/weights":{"get":{"operationId":"listWeights","tags":["Weight"],"security":[{"oauth2":["weight.read"]}],"x-stability":"stable","summary":"List weights","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Weights"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createWeights","tags":["Weight"],"security":[{"oauth2":["weight.write"]}],"x-stability":"stable","summary":"Create a weights record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WeightsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Weights"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/weights/{id}":{"get":{"operationId":"getWeights","tags":["Weight"],"security":[{"oauth2":["weight.read"]}],"x-stability":"stable","summary":"One weights record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Weights"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateWeights","tags":["Weight"],"security":[{"oauth2":["weight.write"]}],"x-stability":"stable","summary":"Change fields on a weights record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"measuredAt":{"type":"string"},"weightKg":{"type":"number"},"unit":{"type":"string","enum":["lb","kg"]},"note":{"type":"string"},"bodyFatPct":{"type":"number"},"leanMassKg":{"type":"number"},"muscleMassKg":{"type":"number"},"boneMassKg":{"type":"number"},"bodyWaterKg":{"type":"number"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Weights"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteWeights","tags":["Weight"],"security":[{"oauth2":["weight.write"]}],"x-stability":"stable","summary":"Delete a weights record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/wellness-sessions":{"get":{"operationId":"listWellnessSessions","tags":["Wellness Sessions"],"security":[{"oauth2":["wellness.read"]}],"x-stability":"experimental","summary":"List wellness-sessions","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WellnessSessions"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createWellnessSessions","tags":["Wellness Sessions"],"security":[{"oauth2":["wellness.write"]}],"x-stability":"experimental","summary":"Create a wellness-sessions record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WellnessSessionsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WellnessSessions"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/wellness-sessions/{id}":{"get":{"operationId":"getWellnessSessions","tags":["Wellness Sessions"],"security":[{"oauth2":["wellness.read"]}],"x-stability":"experimental","summary":"One wellness-sessions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WellnessSessions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateWellnessSessions","tags":["Wellness Sessions"],"security":[{"oauth2":["wellness.write"]}],"x-stability":"experimental","summary":"Change fields on a wellness-sessions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["breathing","grounding","meditation"]},"occurredAt":{"type":"string"},"durationSec":{"type":"integer"},"pattern":{"type":"string","enum":["box","478","coherent","sigh"]},"moodBefore":{"type":"integer"},"moodAfter":{"type":"integer"},"note":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WellnessSessions"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteWellnessSessions","tags":["Wellness Sessions"],"security":[{"oauth2":["wellness.write"]}],"x-stability":"experimental","summary":"Delete a wellness-sessions record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/workouts":{"get":{"operationId":"listWorkouts","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.read"]}],"x-stability":"experimental","summary":"List workouts","parameters":[{"name":"profileId","in":"query","schema":{"type":"string","format":"uuid"},"description":"Only this profile's records."},{"name":"since","in":"query","schema":{"type":"string"},"description":"Only records dated on or after this ISO date (types that have a date)."},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":1000},"description":"The most recent N."}],"responses":{"200":{"description":"Records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Workouts"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"post":{"operationId":"createWorkouts","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.write"]}],"x-stability":"experimental","summary":"Create a workouts record","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkoutsInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workouts"}}}},"400":{"description":"Invalid fields","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}},"/v1/workouts/{id}":{"get":{"operationId":"getWorkouts","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.read"]}],"x-stability":"experimental","summary":"One workouts record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workouts"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"patch":{"operationId":"updateWorkouts","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.write"]}],"x-stability":"experimental","summary":"Change fields on a workouts record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["walk","run","cycle","swim","strength","yoga","stretch","hiit","sport","other"]},"date":{"type":"string"},"startTime":{"type":"string"},"durationMin":{"type":"number"},"rpe":{"type":"integer"},"distanceKm":{"type":"number"},"laps":{"type":"integer"},"calories":{"type":"number"},"avgHeartRate":{"type":"number"},"feeling":{"type":"integer"},"pushLevel":{"type":"integer"},"exercises":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"muscles":{"type":"array","items":{"type":"string"}},"sets":{"type":"array","items":{"type":"object","properties":{"reps":{"type":"integer"},"weightKg":{"type":"number"},"seconds":{"type":"integer"}}}}},"required":["name"]}},"painDuring":{"type":"integer"},"notes":{"type":"string"},"source":{"type":"string"},"externalId":{"type":"string"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Workouts"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}},"delete":{"operationId":"deleteWorkouts","tags":["Exercise & Workouts"],"security":[{"oauth2":["exercise.write"]}],"x-stability":"experimental","summary":"Delete a workouts record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"Profile":{"type":"object","description":"A person on this account. Most records belong to one profile; pass its id as `profileId`.","properties":{"id":{"type":"string","format":"uuid"},"legalName":{"type":"string"},"preferredName":{"type":["string","null"]},"isDefault":{"type":"boolean"}}},"AllergicReactionsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"allergyId":{"type":"string","format":"uuid"},"trigger":{"type":"string"},"severity":{"type":"string","enum":["mild","moderate","severe","anaphylaxis"]},"symptoms":{"type":"string"},"treatment":{"type":"string"},"soughtCare":{"type":"boolean"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"AllergicReactions":{"allOf":[{"$ref":"#/components/schemas/AllergicReactionsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"AllergiesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"substance":{"type":"string"},"type":{"type":"string","enum":["drug","food","environmental","other"]},"reaction":{"type":"string"},"severity":{"type":"string","enum":["mild","moderate","severe","anaphylaxis"]},"status":{"type":"string","enum":["active","resolved"]},"verified":{"type":"string","enum":["confirmed","suspected"]},"notes":{"type":"string"}},"required":["profileId","substance"]},"Allergies":{"allOf":[{"$ref":"#/components/schemas/AllergiesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"AllergySymptomDaysInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"severity":{"type":"integer"},"symptoms":{"type":"array","items":{"type":"string","enum":["itchy_eyes","watery_eyes","congestion","runny_nose","sneezing","postnasal_drip","itchy_throat","cough","hives","fatigue","wheeze"]}},"reliefTaken":{"type":"boolean"},"triggers":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","date"]},"AllergySymptomDays":{"allOf":[{"$ref":"#/components/schemas/AllergySymptomDaysInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"AppointmentsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"providerId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"specialty":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"endTime":{"type":"string"},"videoLink":{"type":"string"},"location":{"type":"string"},"purpose":{"type":"string"},"status":{"type":"string","enum":["scheduled","completed","cancelled","no_show"]},"calendarEventId":{"anyOf":[{"type":"string"},{"type":"null"}]},"travelMinutes":{"type":"integer"},"arriveEarlyMinutes":{"type":"integer"},"parkingNotes":{"type":"string"},"whatToBring":{"type":"string"},"visitSummary":{"type":"string"},"followUpOn":{"type":"string"},"arrivedAt":{"type":"string"},"seenAt":{"type":"string"},"visitRating":{"type":"integer"},"consentedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"askedQuestions":{"type":"array","items":{"type":"string"}},"recurrence":{"anyOf":[{"type":"object","properties":{"every":{"type":"integer"},"unit":{"type":"string","enum":["day","week","month","year"]},"until":{"type":"string"},"count":{"type":"integer"}}},{"type":"null"}]},"seriesId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"seriesDate":{"type":"string"}},"required":["profileId","date"]},"Appointments":{"allOf":[{"$ref":"#/components/schemas/AppointmentsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"AssessmentRunsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["autism_screen","autism_level","adhd","eating_disorder","anxiety","anger","perfectionism","grief","sex_addiction","drug_addiction","alcohol_addiction","rx_addiction","depression","ptsd","bipolar","ocd","social_anxiety","stress","insomnia","pain","fatigue","self_esteem","loneliness","gender_dysphoria","ace","burnout","gambling","nicotine","internet_use"]},"ageMode":{"type":"string","enum":["adult","child"]},"score":{"type":"number"},"band":{"type":"string"},"answers":{},"result":{}},"required":["profileId","kind","ageMode","score","band"]},"AssessmentRuns":{"allOf":[{"$ref":"#/components/schemas/AssessmentRunsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"AsthmaLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"peakFlow":{"type":"integer"},"rescueInhalerPuffs":{"type":"integer"},"symptoms":{"type":"array","items":{"type":"string","enum":["cough","wheeze","chest_tightness","breathlessness","night_waking","exercise_limit"]}},"triggers":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"AsthmaLogs":{"allOf":[{"$ref":"#/components/schemas/AsthmaLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"BloodPressureInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"measuredAt":{"type":"string"},"systolicMmhg":{"type":"number"},"diastolicMmhg":{"type":"number"},"pulseBpm":{"type":"number"},"note":{"type":"string"}},"required":["profileId","measuredAt","systolicMmhg","diastolicMmhg"]},"BloodPressure":{"allOf":[{"$ref":"#/components/schemas/BloodPressureInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"BodyMeasurementsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"measuredAt":{"type":"string"},"unit":{"type":"string","enum":["in","cm"]},"values":{"type":"object","additionalProperties":{"type":"number"}},"note":{"type":"string"}},"required":["profileId","measuredAt"]},"BodyMeasurements":{"allOf":[{"$ref":"#/components/schemas/BodyMeasurementsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"BowelMovementsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"bristolType":{"type":"integer"},"color":{"type":"string","enum":["brown","green","yellow","orange","black","red","pale"]},"blood":{"type":"string","enum":["none","bright_red","dark"]},"mucus":{"type":"boolean"},"urgency":{"type":"integer"},"completeness":{"type":"integer"},"painLevel":{"type":"integer"},"painRegion":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"BowelMovements":{"allOf":[{"$ref":"#/components/schemas/BowelMovementsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"CareJourneysInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"concern":{"type":"string"},"careLevel":{"type":"string","enum":["emergency","urgent","routine","self_care"]},"recommendedSpecialty":{"type":"string"},"chosenProviderId":{"type":"string","format":"uuid"},"chosenProviderName":{"type":"string"},"status":{"type":"string","enum":["considering","requested","scheduled","completed","cancelled"]},"symptomSummary":{"type":"string"},"questions":{"type":"array","items":{"type":"string"}},"outcome":{"type":"string"},"nextSteps":{"type":"string"},"startedOn":{"type":"string"},"referredBy":{"type":"string"},"referralDate":{"type":"string"},"referralReceivedOn":{"type":"string"},"referralExpiresOn":{"type":"string"}},"required":["profileId","concern"]},"CareJourneys":{"allOf":[{"$ref":"#/components/schemas/CareJourneysInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"CheckinsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"rating":{"type":"integer"},"note":{"type":"string"}},"required":["profileId","date","rating"]},"Checkins":{"allOf":[{"$ref":"#/components/schemas/CheckinsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"ConceptionCyclesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"startedOn":{"type":"string"},"method":{"type":"string","enum":["iui","ivf","icsi","reciprocal_ivf","at_home","intercourse","other"]},"clinic":{"type":"string"},"protocol":{"type":"string"},"outcome":{"type":"string","enum":["in_progress","not_pregnant","pregnant","loss","cancelled"]},"outcomeOn":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","startedOn"]},"ConceptionCycles":{"allOf":[{"$ref":"#/components/schemas/ConceptionCyclesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"ContraceptionMethodsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"methodType":{"type":"string","enum":["pill","patch","ring","iud","implant","injection","barrier","natural","sterilization","hrt","other"]},"name":{"type":"string"},"permanent":{"type":"boolean"},"startedOn":{"type":"string"},"expiresOn":{"type":"string"},"refillDue":{"type":"string"},"active":{"type":"boolean"},"sideEffects":{"type":"array","items":{"type":"string"}},"satisfaction":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId"]},"ContraceptionMethods":{"allOf":[{"$ref":"#/components/schemas/ContraceptionMethodsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"CopingSkillPracticesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"skillId":{"type":"string","format":"uuid"},"practicedAt":{"type":"string"},"durationMinutes":{"type":"number"},"effectiveness":{"type":"integer"},"note":{"type":"string"}},"required":["profileId","skillId","practicedAt"]},"CopingSkillPractices":{"allOf":[{"$ref":"#/components/schemas/CopingSkillPracticesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"CopingSkillsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"sessionId":{"type":"string","format":"uuid"}},"required":["profileId","title"]},"CopingSkills":{"allOf":[{"$ref":"#/components/schemas/CopingSkillsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"CravingLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"substance":{"type":"string"},"intensity":{"type":"integer"},"situation":{"type":"string"},"copingUsed":{"type":"string"},"usedSubstance":{"type":"boolean"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"CravingLogs":{"allOf":[{"$ref":"#/components/schemas/CravingLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"CycleLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"flow":{"type":"string","enum":["spotting","light","medium","heavy"]},"symptoms":{"type":"array","items":{"type":"string"}},"note":{"type":"string"}},"required":["profileId","date"]},"CycleLogs":{"allOf":[{"$ref":"#/components/schemas/CycleLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"DentalCareDaysInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"brushAm":{"type":"boolean"},"brushPm":{"type":"boolean"},"floss":{"type":"boolean"},"rinse":{"type":"boolean"},"nightGuard":{"type":"boolean"},"notes":{"type":"string"}},"required":["profileId","date"]},"DentalCareDays":{"allOf":[{"$ref":"#/components/schemas/DentalCareDaysInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"DentalTreatmentsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"tooth":{"type":"integer"},"procedure":{"type":"string"},"cdtCode":{"type":"string"},"status":{"type":"string","enum":["recommended","scheduled","done","declined"]},"recommendedOn":{"type":"string"},"doneOn":{"type":"string"},"visitId":{"type":"string","format":"uuid"},"quotedCost":{"type":"number"},"insuranceEstimate":{"type":"number"},"paidCost":{"type":"number"},"notes":{"type":"string"}},"required":["profileId","procedure"]},"DentalTreatments":{"allOf":[{"$ref":"#/components/schemas/DentalTreatmentsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"DentalVisitsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string","enum":["cleaning","deep_cleaning","exam","xray","filling","crown","root_canal","extraction","implant","ortho","whitening","denture","consult","emergency","other"]},"provider":{"type":"string"},"providerId":{"type":"string","format":"uuid"},"transcriptId":{"type":"string","format":"uuid"},"summary":{"type":"object","additionalProperties":{}},"cost":{"type":"number"},"teeth":{"type":"string"},"findings":{"type":"string"},"treatmentDone":{"type":"string"},"nextVisitDue":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","date"]},"DentalVisits":{"allOf":[{"$ref":"#/components/schemas/DentalVisitsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"DiabetesEntriesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"meal":{"type":"string","enum":["breakfast","lunch","dinner","snack","other"]},"carbsG":{"type":"number"},"insulinUnits":{"type":"number"},"insulinKind":{"type":"string","enum":["bolus","basal","correction"]},"glucoseMgDl":{"type":"number"},"activity":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"DiabetesEntries":{"allOf":[{"$ref":"#/components/schemas/DiabetesEntriesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"DiagnosesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["confirmed","under_investigation","resolved"]},"onset":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","name"]},"Diagnoses":{"allOf":[{"$ref":"#/components/schemas/DiagnosesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"DreamJournalsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"title":{"type":"string"},"content":{"type":"string"},"mood":{"type":"string"}},"required":["profileId","date","content"]},"DreamJournals":{"allOf":[{"$ref":"#/components/schemas/DreamJournalsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"ExerciseRoutinesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"type":{"type":"string","enum":["walk","run","cycle","swim","strength","yoga","stretch","hiit","sport","other"]},"days":{"type":"array","items":{"type":"string"}},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"targetSets":{"type":"integer"},"targetReps":{"type":"integer"},"targetMinutes":{"type":"number"}},"required":["name"]}},"active":{"type":"boolean"},"notes":{"type":"string"}},"required":["profileId","name"]},"ExerciseRoutines":{"allOf":[{"$ref":"#/components/schemas/ExerciseRoutinesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"EyeExamsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string","enum":["routine","dilated","contact_fitting","medical"]},"provider":{"type":"string"},"acuityOd":{"type":"string"},"acuityOs":{"type":"string"},"iopOd":{"type":"string"},"iopOs":{"type":"string"},"findings":{"type":"string"},"nextDueOn":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","date"]},"EyeExams":{"allOf":[{"$ref":"#/components/schemas/EyeExamsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"EyeglassRxInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"kind":{"type":"string","enum":["glasses","contacts"]},"sphereOd":{"type":"string"},"cylinderOd":{"type":"string"},"axisOd":{"type":"string"},"addOd":{"type":"string"},"sphereOs":{"type":"string"},"cylinderOs":{"type":"string"},"axisOs":{"type":"string"},"addOs":{"type":"string"},"pd":{"type":"string"},"expiresOn":{"type":"string"},"provider":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","date"]},"EyeglassRx":{"allOf":[{"$ref":"#/components/schemas/EyeglassRxInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"FamilyHistoryInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"relation":{"type":"string","enum":["mother","father","sister","brother","daughter","son","grandmother_maternal","grandfather_maternal","grandmother_paternal","grandfather_paternal","aunt","uncle","cousin","other"]},"name":{"type":"string"},"condition":{"type":"string"},"ageAtDiagnosis":{"type":"string"},"status":{"type":"string","enum":["living","deceased","unknown"]},"notes":{"type":"string"}},"required":["profileId","condition"]},"FamilyHistory":{"allOf":[{"$ref":"#/components/schemas/FamilyHistoryInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"FamilyJourneysInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["adoption","surrogacy","foster","other"]},"startedOn":{"type":"string"},"stage":{"type":"string","enum":["researching","agency_selected","home_study","matching","matched","placement","finalized","paused","closed"]},"agency":{"type":"string"},"milestones":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"date":{"type":"string"},"done":{"type":"boolean"}},"required":["id","label"]}},"notes":{"type":"string"}},"required":["profileId"]},"FamilyJourneys":{"allOf":[{"$ref":"#/components/schemas/FamilyJourneysInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"FertilityPreservationsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["sperm","eggs","embryos","ovarian_tissue","testicular_tissue","other"]},"bankedOn":{"type":"string"},"facility":{"type":"string"},"units":{"type":"integer"},"status":{"type":"string","enum":["active","used","discontinued"]},"notes":{"type":"string"}},"required":["profileId"]},"FertilityPreservations":{"allOf":[{"$ref":"#/components/schemas/FertilityPreservationsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"FertilitySignalsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"bbtF":{"type":"number"},"lh":{"type":"string","enum":["negative","high","peak"]},"mucus":{"type":"string","enum":["none","sticky","creamy","watery","eggwhite"]},"cervixNote":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","date"]},"FertilitySignals":{"allOf":[{"$ref":"#/components/schemas/FertilitySignalsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"FoodInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"loggedAt":{"type":"string"},"time":{"type":"string"},"meal":{"type":"string","enum":["breakfast","lunch","dinner","snack"]},"description":{"type":"string"},"brand":{"type":"string"},"quantity":{"type":"string"},"calories":{"type":"number"},"proteinG":{"type":"number"},"carbsG":{"type":"number"},"fatG":{"type":"number"},"fiberG":{"type":"number"},"sugarG":{"type":"number"},"addedSugarG":{"type":"number"},"sugarAlcoholG":{"type":"number"},"satFatG":{"type":"number"},"transFatG":{"type":"number"},"cholesterolMg":{"type":"number"},"sodiumMg":{"type":"number"},"potassiumMg":{"type":"number"},"micros":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"amount":{"type":"number"},"unit":{"type":"string"}},"required":["key","amount","unit"]}},"waterMl":{"type":"number"},"source":{"type":"string","enum":["text","food_photo","label_photo","barcode","manual","supplement","device"]},"medicationLogId":{"type":"string"},"barcode":{"type":"string"},"aiGenerated":{"type":"boolean"},"confidence":{"type":"string","enum":["high","medium","low"]},"notes":{"type":"string"}},"required":["profileId","loggedAt","description"]},"Food":{"allOf":[{"$ref":"#/components/schemas/FoodInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"Glp1CheckinsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"drug":{"type":"string","enum":["semaglutide","tirzepatide","liraglutide","dulaglutide","other"]},"doseMg":{"type":"number"},"sideEffects":{"type":"array","items":{"type":"string"}},"redFlags":{"type":"array","items":{"type":"string"}},"nausea":{"type":"integer"},"appetiteControl":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","date"]},"Glp1Checkins":{"allOf":[{"$ref":"#/components/schemas/Glp1CheckinsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"GratitudeEntriesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"items":{"type":"array","items":{"type":"string"}},"reflection":{"type":"string"}},"required":["profileId","date"]},"GratitudeEntries":{"allOf":[{"$ref":"#/components/schemas/GratitudeEntriesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"GutConfigInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"trackBowel":{"type":"boolean"},"trackUrine":{"type":"boolean"},"blurPhotos":{"type":"boolean"}},"required":["profileId"]},"GutConfig":{"allOf":[{"$ref":"#/components/schemas/GutConfigInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"HairConfigInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"trackRemoval":{"type":"boolean"},"trackGrowth":{"type":"boolean"},"customAreas":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"group":{"type":"string"}},"required":["key","label","group"]}},"mutedAreas":{"type":"array","items":{"type":"string"}}},"required":["profileId"]},"HairConfig":{"allOf":[{"$ref":"#/components/schemas/HairConfigInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"HairGrowthLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"loggedOn":{"type":"string"},"region":{"type":"string"},"density":{"type":"integer"},"shedding":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","loggedOn"]},"HairGrowthLogs":{"allOf":[{"$ref":"#/components/schemas/HairGrowthLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"HairPhotosInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"area":{"type":"string"},"takenOn":{"type":"string"},"image":{"type":"string"},"note":{"type":"string"}},"required":["profileId","takenOn","image"]},"HairPhotos":{"allOf":[{"$ref":"#/components/schemas/HairPhotosInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"HairRemovalSessionsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"performedOn":{"type":"string"},"method":{"type":"string","enum":["electrolysis","laser","ipl","waxing","threading","shaving","other"]},"area":{"type":"string"},"provider":{"type":"string"},"durationMin":{"type":"integer"},"settings":{"type":"string"},"pain":{"type":"integer"},"density":{"type":"integer"},"regrowthSinceLast":{"type":"integer"},"nextSessionOn":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","performedOn"]},"HairRemovalSessions":{"allOf":[{"$ref":"#/components/schemas/HairRemovalSessionsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"HairTreatmentsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string","enum":["topical","oral","procedure","other"]},"startedOn":{"type":"string"},"active":{"type":"boolean"},"adherence":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","name"]},"HairTreatments":{"allOf":[{"$ref":"#/components/schemas/HairTreatmentsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"HealthGoalsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"kind":{"type":"string","enum":["weight","lab","blood_pressure","steps","adherence","mood","exercise_sessions","exercise_minutes","custom"]},"horizon":{"type":"string","enum":["short","long"]},"direction":{"type":"string","enum":["down","up","maintain"]},"targetValue":{"type":"number"},"targetValue2":{"type":"number"},"unit":{"type":"string"},"labTest":{"type":"string"},"startValue":{"type":"number"},"startDate":{"type":"string"},"targetDate":{"type":"string"},"status":{"type":"string","enum":["active","achieved","paused","abandoned"]},"linkedGoalId":{"type":"string","format":"uuid"},"checkIns":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"note":{"type":"string"},"value":{"type":"number"}},"required":["date"]}},"notes":{"type":"string"}},"required":["profileId","title","startDate"]},"HealthGoals":{"allOf":[{"$ref":"#/components/schemas/HealthGoalsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"HrtCheckinsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"scores":{"type":"object","additionalProperties":{"type":"number"}},"note":{"type":"string"}},"required":["profileId","date"]},"HrtCheckins":{"allOf":[{"$ref":"#/components/schemas/HrtCheckinsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"HrtSettingsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"regimen":{"type":"string","enum":["feminizing","masculinizing","menopause"]},"targets":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"unit":{"type":"string"},"low":{"type":"number"},"high":{"type":"number"},"match":{"type":"array","items":{"type":"string"}},"note":{"type":"string"}},"required":["key","label","unit","low","high"]}}},"required":["profileId"]},"HrtSettings":{"allOf":[{"$ref":"#/components/schemas/HrtSettingsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"HrtSummariesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"result":{}},"required":["profileId"]},"HrtSummaries":{"allOf":[{"$ref":"#/components/schemas/HrtSummariesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"IdentityUpdatesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"institution":{"type":"string"},"changeType":{"type":"string","enum":["name","gender_marker","both"]},"status":{"type":"string","enum":["not_started","in_progress","submitted","done"]},"date":{"type":"string"},"documentId":{"type":"string","format":"uuid"},"notes":{"type":"string"}},"required":["profileId","institution"]},"IdentityUpdates":{"allOf":[{"$ref":"#/components/schemas/IdentityUpdatesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"ImagingStudiesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string"},"region":{"type":"string"},"radiologist":{"type":"string"},"findings":{"type":"string"},"documentId":{"type":"string","format":"uuid"}},"required":["profileId","date","type"]},"ImagingStudies":{"allOf":[{"$ref":"#/components/schemas/ImagingStudiesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"ImmunizationsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"vaccine":{"type":"string"},"vaccineKey":{"type":"string"},"dateGiven":{"type":"string"},"doseLabel":{"type":"string"},"site":{"type":"string"},"lotNumber":{"type":"string"},"manufacturer":{"type":"string"},"provider":{"type":"string"},"nextDueOn":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","vaccine","dateGiven"]},"Immunizations":{"allOf":[{"$ref":"#/components/schemas/ImmunizationsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"InsuranceClaimsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"claimNumber":{"type":"string"},"dateOfService":{"type":"string"},"provider":{"type":"string"},"payer":{"type":"string"},"claimType":{"type":"string","enum":["medical","dental","vision","rx","other"]},"billedAmount":{"type":"number"},"allowedAmount":{"type":"number"},"planPaid":{"type":"number"},"patientResponsibility":{"type":"number"},"status":{"type":"string","enum":["submitted","in_process","paid","partially_paid","denied","appealed"]},"denialReason":{"type":"string"},"eobImage":{"type":"string"},"notes":{"type":"string"}},"required":["profileId"]},"InsuranceClaims":{"allOf":[{"$ref":"#/components/schemas/InsuranceClaimsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"InsuranceLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"insurer":{"type":"string"},"medicationId":{"type":"string","format":"uuid"},"interactionType":{"type":"string","enum":["call","chat","portal_message","appointment","letter"]},"occurredOn":{"type":"string"},"denialReason":{"type":"string"},"appealPath":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]},"transcriptId":{"type":"string","format":"uuid"},"summary":{"type":"string"}},"required":["profileId","insurer","occurredOn"]},"InsuranceLogs":{"allOf":[{"$ref":"#/components/schemas/InsuranceLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"InsurancePlansInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"payer":{"type":"string"},"planName":{"type":"string"},"planType":{"type":"string","enum":["ppo","hmo","epo","pos","hdhp","medicare","medicaid","other"]},"coverage":{"type":"string"},"memberId":{"type":"string"},"groupNumber":{"type":"string"},"rxBin":{"type":"string"},"rxPcn":{"type":"string"},"rxGroup":{"type":"string"},"subscriberName":{"type":"string"},"relationship":{"type":"string","enum":["self","spouse","child","other"]},"effectiveDate":{"type":"string"},"endDate":{"type":"string"},"customerServicePhone":{"type":"string"},"claimsAddress":{"type":"string"},"deductibleIndividual":{"type":"number"},"deductibleMet":{"type":"number"},"oopMaxIndividual":{"type":"number"},"oopMet":{"type":"number"},"monthlyPremium":{"type":"number"},"copayPrimary":{"type":"string"},"copaySpecialist":{"type":"string"},"copayEr":{"type":"string"},"copayUrgent":{"type":"string"},"coinsurance":{"type":"string"},"isActive":{"type":"boolean"},"cardFront":{"type":"string"},"cardBack":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","payer"]},"InsurancePlans":{"allOf":[{"$ref":"#/components/schemas/InsurancePlansInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"LabPanelsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"drawnOn":{"type":"string"},"source":{"type":"string"}},"required":["profileId","drawnOn"]},"LabPanels":{"allOf":[{"$ref":"#/components/schemas/LabPanelsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"LabResultsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"panelId":{"type":"string","format":"uuid"},"test":{"type":"string"},"value":{"type":"string"},"unit":{"type":"string"},"referenceRange":{"type":"string"},"interpretation":{"type":"string"}},"required":["profileId","panelId","test","value"]},"LabResults":{"allOf":[{"$ref":"#/components/schemas/LabResultsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"LegacyContactsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"role":{"type":"string","enum":["healthcare_proxy","alternate_proxy","executor","financial_poa","next_of_kin","other"]},"name":{"type":"string"},"relationship":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","name"]},"LegacyContacts":{"allOf":[{"$ref":"#/components/schemas/LegacyContactsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"LegacyDirectivesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"codeStatus":{"type":"string","enum":["undecided","full_code","dnr","dni","dnr_dni","comfort_care"]},"advanceDirectiveOnFile":{"type":"boolean"},"organDonor":{"type":"string","enum":["undecided","yes","no","registered"]},"organDonorNote":{"type":"string"},"lifeSupport":{"type":"string"},"wishes":{"type":"string"},"notesForResponders":{"type":"string"},"showOnEmergencyId":{"type":"boolean"}},"required":["profileId"]},"LegacyDirectives":{"allOf":[{"$ref":"#/components/schemas/LegacyDirectivesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"LegacyDocumentsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"docType":{"type":"string","enum":["will","living_will","advance_directive","polst","healthcare_poa","financial_poa","trust","other"]},"title":{"type":"string"},"status":{"type":"string","enum":["planned","drafted","signed","notarized","filed","needs_update"]},"signedOn":{"type":"string"},"location":{"type":"string"},"preparedBy":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","title"]},"LegacyDocuments":{"allOf":[{"$ref":"#/components/schemas/LegacyDocumentsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"MedicalBillsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"provider":{"type":"string"},"description":{"type":"string"},"totalAmount":{"type":"number"},"billDate":{"type":"string"},"dueDate":{"type":"string"},"accountNumber":{"type":"string"},"status":{"type":"string","enum":["unpaid","payment_plan","paid","collections","disputed","forgiven"]},"collectionAgency":{"type":"string"},"planMonthly":{"type":"number"},"claimId":{"type":"string","format":"uuid"},"billImage":{"type":"string"},"payments":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"amount":{"type":"number"},"note":{"type":"string"}},"required":["date","amount"]}},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","provider","totalAmount"]},"MedicalBills":{"allOf":[{"$ref":"#/components/schemas/MedicalBillsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"MedicationLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"medicationId":{"type":"string","format":"uuid"},"takenAt":{"type":"string"},"note":{"type":"string"},"scheduledDate":{"type":"string"},"doseKey":{"type":"string"},"status":{"type":"string","enum":["taken","skipped"]}},"required":["profileId","medicationId","takenAt"]},"MedicationLogs":{"allOf":[{"$ref":"#/components/schemas/MedicationLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"MedicationsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"dose":{"type":"string"},"schedule":{"type":"string"},"route":{"type":"string"},"purpose":{"type":"string"},"category":{"type":"string"},"kind":{"type":"string","enum":["medication","supplement"]},"calories":{"type":"number"},"proteinG":{"type":"number"},"carbsG":{"type":"number"},"fatG":{"type":"number"},"fiberG":{"type":"number"},"sugarG":{"type":"number"},"addedSugarG":{"type":"number"},"sugarAlcoholG":{"type":"number"},"satFatG":{"type":"number"},"transFatG":{"type":"number"},"cholesterolMg":{"type":"number"},"sodiumMg":{"type":"number"},"potassiumMg":{"type":"number"},"micros":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"amount":{"type":"number"},"unit":{"type":"string"}},"required":["key","amount","unit"]}},"status":{"type":"string","enum":["active","paused","discontinued","not_taken","on_file"]},"prescriberId":{"type":"string","format":"uuid"},"startedOn":{"type":"string"},"stoppedOn":{"type":"string"},"dosesPerDay":{"type":"integer"},"doseTimes":{"type":"array","items":{"type":"string"}},"asNeeded":{"type":"boolean"},"pillPhoto":{"type":"string"},"appearance":{"type":"string"},"doseHistory":{"type":"array","items":{"type":"object","properties":{"on":{"type":"string"},"dose":{"type":"string"},"reason":{"type":"string"},"by":{"type":"string"}},"required":["on","dose"]}},"frequency":{"type":"object","properties":{"kind":{"type":"string","enum":["daily","weekly","monthly"]},"weekdays":{"type":"array","items":{"type":"integer"}},"days":{"type":"array","items":{"type":"integer"}}}},"quantityOnHand":{"type":"number"},"pharmacyName":{"type":"string"},"pharmacyPhone":{"type":"string"}},"required":["profileId","name"]},"Medications":{"allOf":[{"$ref":"#/components/schemas/MedicationsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"MenopauseAssessmentsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"answers":{},"result":{},"stage":{"type":"string"},"gcsTotal":{"type":"number"}},"required":["profileId","stage","gcsTotal"]},"MenopauseAssessments":{"allOf":[{"$ref":"#/components/schemas/MenopauseAssessmentsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"MenopauseSymptomsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"scores":{"type":"object","additionalProperties":{"type":"number"}},"note":{"type":"string"}},"required":["profileId","date"]},"MenopauseSymptoms":{"allOf":[{"$ref":"#/components/schemas/MenopauseSymptomsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"MigraineDaysInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"severity":{"type":"integer"},"durationBand":{"type":"string","enum":["under_4h","4_24h","1_3d","over_3d"]},"aura":{"type":"boolean"},"symptoms":{"type":"array","items":{"type":"string","enum":["nausea","vomiting","light_sensitivity","sound_sensitivity","visual_disturbance","dizziness","neck_pain","numbness_tingling"]}},"relievedBy":{"type":"array","items":{"type":"string","enum":["rest","dark_room","sleep","caffeine","abortive_med","triptan","ice_or_heat","hydration","nothing_helped"]}},"triggers":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","date"]},"MigraineDays":{"allOf":[{"$ref":"#/components/schemas/MigraineDaysInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"MoodChartConfigInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"mode":{"type":"string","enum":["simple","comprehensive"]},"customFactors":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"category":{"type":"string"}},"required":["key","label","category"]}},"mutedFactors":{"type":"array","items":{"type":"string"}},"labelOverrides":{"type":"object","additionalProperties":{"type":"string"}},"customCategories":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"}},"required":["key","label"]}},"categoryOverrides":{"type":"object","additionalProperties":{"type":"string"}},"factorCategories":{"type":"object","additionalProperties":{"type":"string"}},"cadence":{"type":"string","enum":["daily","weekly"]},"factors":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"category":{"type":"string"},"direction":{"type":"string","enum":["burden","benefit"]}},"required":["key","label","category","direction"]}},{"type":"null"}]}},"required":["profileId"]},"MoodChartConfig":{"allOf":[{"$ref":"#/components/schemas/MoodChartConfigInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"MoodChartEntriesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"scores":{"type":"object","additionalProperties":{"type":"integer"}},"note":{"type":"string"}},"required":["profileId","date"]},"MoodChartEntries":{"allOf":[{"$ref":"#/components/schemas/MoodChartEntriesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"MoodEpisodesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["depressive","manic","hypomanic","mixed","euthymic"]},"startDate":{"type":"string"},"endDate":{"type":"string"},"severity":{"type":"integer"},"hospitalized":{"type":"boolean"},"triggers":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","startDate"]},"MoodEpisodes":{"allOf":[{"$ref":"#/components/schemas/MoodEpisodesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"NursingLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"kind":{"type":"string","enum":["nursing","pumping","bottle","other"]},"side":{"type":"string","enum":["left","right","both"]},"minutes":{"type":"integer"},"amountMl":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"NursingLogs":{"allOf":[{"$ref":"#/components/schemas/NursingLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"PainEntriesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"region":{"type":"string"},"intensity":{"type":"integer"},"quality":{"type":"array","items":{"type":"string","enum":["aching","burning","stabbing","throbbing","cramping","shooting","tingling","stiff","other"]}},"durationHours":{"type":"number"},"functionImpact":{"type":"integer"},"triggers":{"type":"string"},"relief":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"PainEntries":{"allOf":[{"$ref":"#/components/schemas/PainEntriesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"PgxResultsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"gene":{"type":"string"},"phenotype":{"type":"string","enum":["poor","intermediate","normal","rapid","ultrarapid","indeterminate","positive","negative","decreased_function","increased_function"]},"diplotype":{"type":"string"},"labName":{"type":"string"},"reportedOn":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","gene"]},"PgxResults":{"allOf":[{"$ref":"#/components/schemas/PgxResultsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"PregnanciesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"dueDate":{"type":"string"},"startedOn":{"type":"string"},"status":{"type":"string","enum":["active","completed","loss","terminated"]},"endedOn":{"type":"string"},"notes":{"type":"string"}},"required":["profileId"]},"Pregnancies":{"allOf":[{"$ref":"#/components/schemas/PregnanciesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"PrepPepLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["prep","pep"]},"status":{"type":"string","enum":["active","paused","completed"]},"medicationName":{"type":"string"},"startedOn":{"type":"string"},"dosingKind":{"type":"string","enum":["daily","on_demand","injectable"]},"adherence":{"type":"integer"},"labsDue":{"type":"string"},"notes":{"type":"string"}},"required":["profileId"]},"PrepPepLogs":{"allOf":[{"$ref":"#/components/schemas/PrepPepLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"PreventiveScreeningsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"screeningKey":{"type":"string"},"lastDoneOn":{"type":"string"},"nextDueOn":{"type":"string"},"dismissed":{"type":"boolean"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","screeningKey"]},"PreventiveScreenings":{"allOf":[{"$ref":"#/components/schemas/PreventiveScreeningsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"ProviderCallsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"direction":{"type":"string","enum":["outbound","inbound"]},"providerId":{"type":"string","format":"uuid"},"providerName":{"type":"string"},"office":{"type":"string"},"reason":{"type":"string"},"transcriptId":{"type":"string","format":"uuid"},"summary":{"anyOf":[{"type":"object","properties":{"headline":{"type":"string"},"keyPoints":{"type":"array","items":{"type":"string"}},"actionItems":{"type":"array","items":{"type":"string"}},"followUps":{"type":"array","items":{"type":"string"}},"appointment":{"anyOf":[{"type":"object","properties":{"date":{"type":"string"},"time":{"type":"string"},"endTime":{"type":"string"},"providerName":{"type":"string"},"specialty":{"type":"string"},"location":{"type":"string"},"videoLink":{"type":"string"},"reason":{"type":"string"},"telehealth":{"type":"boolean"}}},{"type":"null"}]},"analyzedAt":{"type":"string"}}},{"type":"null"}]}},"required":["profileId","date"]},"ProviderCalls":{"allOf":[{"$ref":"#/components/schemas/ProviderCallsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"ProvidersInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["active","former"]},"specialty":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"},"fax":{"type":"string"},"affiliation":{"type":"string"},"address":{"type":"string"},"npi":{"type":"string"},"bookingUrl":{"type":"string"},"greeting":{"type":"string"},"photo":{"type":"string"},"notes":{"type":"string"},"rating":{"type":"integer"},"privateNote":{"type":"string"},"telehealth":{"type":"boolean"},"languages":{"type":"string"},"accessibility":{"type":"string"}},"required":["profileId","name"]},"Providers":{"allOf":[{"$ref":"#/components/schemas/ProvidersInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"RehabLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"exercise":{"type":"string"},"exerciseId":{"type":"string","format":"uuid"},"setsDone":{"type":"integer"},"repsPerSet":{"type":"integer"},"holdSeconds":{"type":"integer"},"painDuring":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","occurredAt","exercise"]},"RehabLogs":{"allOf":[{"$ref":"#/components/schemas/RehabLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"RenewalsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"kind":{"type":"string","enum":["insurance_card","id_document","prior_auth","prescription","license","fsa_hsa","other"]},"expiresOn":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","name","expiresOn"]},"Renewals":{"allOf":[{"$ref":"#/components/schemas/RenewalsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SavedFoodsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"brand":{"type":"string"},"quantity":{"type":"string"},"calories":{"type":"number"},"proteinG":{"type":"number"},"carbsG":{"type":"number"},"fatG":{"type":"number"},"fiberG":{"type":"number"},"sugarG":{"type":"number"},"addedSugarG":{"type":"number"},"sugarAlcoholG":{"type":"number"},"satFatG":{"type":"number"},"transFatG":{"type":"number"},"cholesterolMg":{"type":"number"},"sodiumMg":{"type":"number"},"potassiumMg":{"type":"number"},"waterMl":{"type":"number"},"micros":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"amount":{"type":"number"},"unit":{"type":"string"}},"required":["key","amount","unit"]}},"isFavorite":{"type":"boolean"},"kind":{"type":"string","enum":["item","recipe"]},"ingredients":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"calories":{"type":"number"},"proteinG":{"type":"number"},"carbsG":{"type":"number"},"fatG":{"type":"number"},"fiberG":{"type":"number"}},"required":["name"]}}},"required":["profileId","name"]},"SavedFoods":{"allOf":[{"$ref":"#/components/schemas/SavedFoodsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SeizureEventsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"type":{"type":"string","enum":["focal_aware","focal_impaired","tonic_clonic","absence","myoclonic","atonic","unknown","other"]},"durationSeconds":{"type":"integer"},"hadAura":{"type":"boolean"},"auraNote":{"type":"string"},"triggers":{"type":"string"},"rescueMedUsed":{"type":"boolean"},"rescueMedName":{"type":"string"},"injuriesOccurred":{"type":"boolean"},"injuriesNote":{"type":"string"},"postIctalMinutes":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"SeizureEvents":{"allOf":[{"$ref":"#/components/schemas/SeizureEventsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SessionsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["therapy","psychiatry","dietitian","medical","doctor","other"]},"providerId":{"type":"string","format":"uuid"},"date":{"type":"string"},"durationMinutes":{"type":"integer"},"participants":{"type":"string"},"recap":{"type":"object","properties":{"title":{"type":"string"},"headlines":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["good","warn","neutral"]},"text":{"type":"string"}},"required":["text"]}},"actionItems":{"type":"array","items":{"type":"object","properties":{"owner":{"type":"string"},"action":{"type":"string"},"when":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]}},"required":["owner","action"]}},"whoTalkedMost":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"turns":{"type":"integer"},"pct":{"type":"number"}},"required":["name","turns","pct"]}},"mood":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"tone":{"type":"string"},"note":{"type":"string"}},"required":["name","tone"]}},"detailNotes":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string"},"bullets":{"type":"array","items":{"type":"string"}}},"required":["heading","bullets"]}},"openThreads":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"who":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]}},"required":["text"]}},"milestones":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"source":{"type":"string"},"note":{"type":"string"}},"required":["text"]}},"transcript":{"type":"array","items":{"type":"object","properties":{"speaker":{"type":"string"},"role":{"type":"string"},"originalLabel":{"type":"string"},"ts":{"type":"string"},"text":{"type":"string"}},"required":["speaker","text"]}},"insights":{"type":"object","properties":{"blurb":{"type":"string"},"summary":{"type":"string"},"detailedSummary":{"type":"string"},"participants":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"}},"required":["name"]}},"highlights":{"type":"array","items":{"type":"string"}},"themes":{"type":"array","items":{"type":"string"}},"good":{"type":"array","items":{"type":"string"}},"challenges":{"type":"array","items":{"type":"string"}},"finalNotes":{"type":"string"},"homework":{"type":"array","items":{"type":"string"}},"copingSkills":{"type":"array","items":{"type":"string"}},"notableQuotes":{"type":"array","items":{"type":"string"}},"notableFromOthers":{"type":"array","items":{"type":"object","properties":{"speaker":{"type":"string"},"text":{"type":"string"}},"required":["speaker","text"]}},"questionsNext":{"type":"array","items":{"type":"string"}},"moodArc":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"},"note":{"type":"string"}},"required":["start","end"]},"tags":{"type":"array","items":{"type":"string"}},"crossSession":{"type":"object","properties":{"recurringThemes":{"type":"array","items":{"type":"string"}},"progress":{"type":"array","items":{"type":"string"}}}},"wellbeingNote":{"type":"string"},"review":{"type":"object","properties":{"clinicalNotes":{"type":"object","properties":{"subjective":{"type":"string"},"objective":{"type":"string"},"assessment":{"type":"string"},"plan":{"type":"string"}}},"decisions":{"type":"array","items":{"type":"object","properties":{"decision":{"type":"string"},"why":{"type":"string"},"alternatives":{"type":"array","items":{"type":"string"}},"ruledOut":{"type":"string"}},"required":["decision"]}},"gaps":{"type":"array","items":{"type":"string"}},"glossary":{"type":"array","items":{"type":"object","properties":{"term":{"type":"string"},"meaning":{"type":"string"}},"required":["term","meaning"]}},"next30":{"type":"array","items":{"type":"object","properties":{"when":{"type":"string"},"what":{"type":"string"},"date":{"type":"string"}},"required":["when","what"]}},"timeline":{"type":"array","items":{"type":"object","properties":{"topic":{"type":"string"},"mood":{"type":"string"},"note":{"type":"string"}},"required":["topic"]}},"techniques":{"type":"array","items":{"type":"object","properties":{"technique":{"type":"string"},"moment":{"type":"string"},"why":{"type":"string"}},"required":["technique","moment"]}},"patterns":{"type":"array","items":{"type":"object","properties":{"pattern":{"type":"string"},"moment":{"type":"string"},"reframe":{"type":"string"}},"required":["pattern","moment"]}},"unfinished":{"type":"array","items":{"type":"string"}},"strengths":{"type":"array","items":{"type":"string"}},"supports":{"type":"array","items":{"type":"string"}},"people":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"relation":{"type":"string"},"said":{"type":"string"}},"required":["name","said"]}},"reported":{"type":"array","items":{"type":"object","properties":{"area":{"type":"string"},"what":{"type":"string"}},"required":["area","what"]}},"reflectionPrompts":{"type":"array","items":{"type":"string"}},"careTeamNote":{"type":"string"},"goalProgress":{"type":"array","items":{"type":"object","properties":{"goal":{"type":"string"},"note":{"type":"string"}},"required":["goal","note"]}},"sinceLast":{"type":"object","properties":{"changed":{"type":"array","items":{"type":"string"}},"repeated":{"type":"array","items":{"type":"string"}},"resolved":{"type":"array","items":{"type":"string"}},"persistent":{"type":"array","items":{"type":"string"}}}},"analyzedAt":{"type":"string"}}},"diagnoses":{"type":"array","items":{"type":"string"}},"newPrescriptions":{"type":"array","items":{"type":"string"}},"discontinuedMeds":{"type":"array","items":{"type":"string"}},"pausedMeds":{"type":"array","items":{"type":"string"}},"changedMeds":{"type":"array","items":{"type":"string"}},"testsOrdered":{"type":"array","items":{"type":"string"}},"referrals":{"type":"array","items":{"type":"string"}},"careInstructions":{"type":"array","items":{"type":"string"}},"warningSigns":{"type":"array","items":{"type":"string"}},"followUp":{"type":"string"},"analyzedAt":{"type":"string"}}},"rating":{"type":"integer"}}},"transcriptId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"appointmentId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"summary":{"type":"string"},"present":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"}},"required":["name"]}},"mentioned":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"relation":{"type":"string"}},"required":["name"]}},"topics":{"type":"array","items":{"type":"string"}},"myNotes":{"type":"string"},"followUpOn":{"type":"string"}},"required":["profileId","date"]},"Sessions":{"allOf":[{"$ref":"#/components/schemas/SessionsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SkinConditionsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["eczema","psoriasis","acne","rosacea","hives","dermatitis","vitiligo","fungal","folliculitis","keratosis","other"]},"name":{"type":"string"},"areas":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["active","managed","resolved"]},"diagnosedOn":{"type":"string"},"treatments":{"type":"string"},"notes":{"type":"string"}},"required":["profileId"]},"SkinConditions":{"allOf":[{"$ref":"#/components/schemas/SkinConditionsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SkinExamsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string","enum":["full_body","spot_check","procedure","follow_up"]},"provider":{"type":"string"},"findings":{"type":"string"},"nextDueOn":{"type":"string"},"remindDaysBefore":{"type":"integer"},"notes":{"type":"string"}},"required":["profileId","date"]},"SkinExams":{"allOf":[{"$ref":"#/components/schemas/SkinExamsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SkinFlaresInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"conditionId":{"type":"string"},"severity":{"type":"integer"},"areas":{"type":"array","items":{"type":"string"}},"itch":{"type":"integer"},"triggers":{"type":"string"},"treatment":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"SkinFlares":{"allOf":[{"$ref":"#/components/schemas/SkinFlaresInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SkinSpotsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"label":{"type":"string"},"bodyArea":{"type":"string"},"description":{"type":"string"},"abcdeFlags":{"type":"array","items":{"type":"string"}},"sizeMm":{"type":"number"},"status":{"type":"string","enum":["monitoring","concern","biopsied","benign","removed"]},"firstNotedOn":{"type":"string"},"lastCheckedOn":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","label"]},"SkinSpots":{"allOf":[{"$ref":"#/components/schemas/SkinSpotsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SleepLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"bedtime":{"type":"string"},"wakeTime":{"type":"string"},"hours":{"type":"number"},"quality":{"type":"integer"},"awakenings":{"type":"integer"},"cpapUsed":{"type":"boolean"},"cpapHours":{"type":"number"},"hygiene":{"type":"array","items":{"type":"string"}},"notes":{"type":"string"}},"required":["profileId","date"]},"SleepLogs":{"allOf":[{"$ref":"#/components/schemas/SleepLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SobrietyStreaksInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"substance":{"type":"string"},"soberSince":{"type":"string"},"goalNote":{"type":"string"},"active":{"type":"boolean"}},"required":["profileId","substance","soberSince"]},"SobrietyStreaks":{"allOf":[{"$ref":"#/components/schemas/SobrietyStreaksInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SocialHistoriesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"reviewedOn":{"type":"string"},"tobaccoStatus":{"type":"string","enum":["never","former","current","unknown"]},"tobaccoDetail":{"type":"string"},"alcoholUse":{"type":"string","enum":["never","former","occasional","regular","unknown"]},"alcoholDetail":{"type":"string"},"recreationalDrugs":{"type":"string","enum":["never","former","occasional","regular","unknown"]},"recreationalDetail":{"type":"string"},"caffeine":{"type":"string"},"occupation":{"type":"string"},"exercise":{"type":"string"},"livingSituation":{"type":"string"},"notes":{"type":"string"}},"required":["profileId"]},"SocialHistories":{"allOf":[{"$ref":"#/components/schemas/SocialHistoriesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SsaLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"interactionType":{"type":"string","enum":["call","chat","portal_message","appointment","letter"]},"occurredOn":{"type":"string"},"dli":{"type":"string"},"protectiveFilingDate":{"type":"string"},"outcome":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]},"transcriptId":{"type":"string","format":"uuid"},"summary":{"type":"string"}},"required":["profileId","occurredOn"]},"SsaLogs":{"allOf":[{"$ref":"#/components/schemas/SsaLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"StiTestsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"testedOn":{"type":"string"},"testType":{"type":"string","enum":["hiv","chlamydia","gonorrhea","syphilis","hpv","hsv","hepb","hepc","trich","panel","other"]},"result":{"type":"string","enum":["negative","positive","inconclusive","pending"]},"nextTestDue":{"type":"string"},"remindDaysBefore":{"type":"integer"},"location":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","testedOn"]},"StiTests":{"allOf":[{"$ref":"#/components/schemas/StiTestsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SurgeriesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"procedure":{"type":"string"},"surgeon":{"type":"string"},"facility":{"type":"string"},"reason":{"type":"string"},"outcome":{"type":"string"},"anesthesia":{"type":"string"},"notes":{"type":"string"},"documentId":{"type":"string","format":"uuid"}},"required":["profileId","date","procedure"]},"Surgeries":{"allOf":[{"$ref":"#/components/schemas/SurgeriesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SurgeryPlansInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"status":{"type":"string","enum":["considering","consult","approved","scheduled","completed","postponed","cancelled"]},"surgeonProviderId":{"type":"string","format":"uuid"},"facility":{"type":"string"},"consultDate":{"type":"string"},"surgeryDate":{"type":"string"},"tasks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"category":{"type":"string","enum":["prep","document","lab","med_hold","logistics","recovery"]},"done":{"type":"boolean"},"dueDate":{"type":"string"},"note":{"type":"string"}},"required":["id","label"]}},"recoveryLog":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"painLevel":{"type":"integer"},"note":{"type":"string"}},"required":["date"]}},"notes":{"type":"string"}},"required":["profileId","name"]},"SurgeryPlans":{"allOf":[{"$ref":"#/components/schemas/SurgeryPlansInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"SymptomLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"severity":{"type":"integer"},"bodyArea":{"type":"string"},"occurredAt":{"type":"string"},"durationHours":{"type":"number"},"triggers":{"type":"string"},"diagnosisNotes":{"type":"string"},"notes":{"type":"string"},"resolutionNotes":{"type":"string"},"resolvedOn":{"type":"string"}},"required":["profileId","name","occurredAt"]},"SymptomLogs":{"allOf":[{"$ref":"#/components/schemas/SymptomLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"TherapyGoalsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"description":{"type":"string"},"status":{"type":"string","enum":["not_started","in_progress","achieved","paused"]},"targetDate":{"type":"string"},"sessionId":{"type":"string","format":"uuid"},"progressNote":{"type":"string"}},"required":["profileId","title"]},"TherapyGoals":{"allOf":[{"$ref":"#/components/schemas/TherapyGoalsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"TherapyHomeworkInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"details":{"type":"string"},"dueDate":{"type":"string"},"done":{"type":"boolean"},"completedAt":{"type":"string"},"sessionId":{"type":"string","format":"uuid"}},"required":["profileId","title"]},"TherapyHomework":{"allOf":[{"$ref":"#/components/schemas/TherapyHomeworkInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"TherapyReflectionsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"sessionId":{"type":"string","format":"uuid"},"prompt":{"type":"string"},"response":{"type":"string"},"respondedAt":{"type":"string"},"dueAt":{"type":"string"}},"required":["profileId","prompt"]},"TherapyReflections":{"allOf":[{"$ref":"#/components/schemas/TherapyReflectionsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"ToothRecordsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"tooth":{"type":"integer"},"status":{"type":"string","enum":["healthy","watch","filling","crown","root_canal","veneer","sealant","bridge","implant","extracted","missing"]},"material":{"type":"string"},"date":{"type":"string"},"visitId":{"type":"string","format":"uuid"},"notes":{"type":"string"}},"required":["profileId","tooth","date"]},"ToothRecords":{"allOf":[{"$ref":"#/components/schemas/ToothRecordsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"TransitionMilestonesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"type":{"type":"string","enum":["came_out","hrt_start","hrt_change","name_change","gender_marker","surgery","top_surgery","bottom_surgery","hair_removal","fertility","voice","social","legal","first","other"]},"title":{"type":"string"},"note":{"type":"string"}},"required":["profileId","date","title"]},"TransitionMilestones":{"allOf":[{"$ref":"#/components/schemas/TransitionMilestonesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"TravelTripsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"destination":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"offsetHours":{"type":"number"},"mode":{"type":"string","enum":["home","gradual","immediate"]},"keepHomeTimeMedIds":{"type":"array","items":{"type":"string"}},"notes":{"type":"string"}},"required":["profileId","destination","startDate","endDate"]},"TravelTrips":{"allOf":[{"$ref":"#/components/schemas/TravelTripsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"UrineLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"occurredAt":{"type":"string"},"color":{"type":"string","enum":["clear","pale","straw","dark_yellow","amber","brown_tea","pink_red","orange","other"]},"volume":{"type":"string","enum":["small","medium","large"]},"volumeMl":{"type":"number"},"urgency":{"type":"integer"},"burning":{"type":"integer"},"hesitancy":{"type":"boolean"},"weakStream":{"type":"boolean"},"incompleteEmptying":{"type":"boolean"},"leakage":{"type":"string","enum":["none","drops","soaked"]},"cloudy":{"type":"boolean"},"foamy":{"type":"boolean"},"odor":{"type":"string","enum":["none","strong","sweet","ammonia","foul"]},"painLevel":{"type":"integer"},"painRegion":{"type":"string"},"notes":{"type":"string"}},"required":["profileId","occurredAt"]},"UrineLogs":{"allOf":[{"$ref":"#/components/schemas/UrineLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"VisitNotesInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"provider":{"type":"string"},"department":{"type":"string"},"visitType":{"type":"string"},"chiefComplaint":{"type":"string"},"assessment":{"type":"string"},"plan":{"type":"string"},"narrative":{"type":"string"},"source":{"type":"string"}},"required":["profileId","date"]},"VisitNotes":{"allOf":[{"$ref":"#/components/schemas/VisitNotesInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"VoiceLogsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"date":{"type":"string"},"practiceMinutes":{"type":"number"},"pitchHz":{"type":"number"},"note":{"type":"string"},"recordingFileId":{"type":"string","format":"uuid"}},"required":["profileId","date"]},"VoiceLogs":{"allOf":[{"$ref":"#/components/schemas/VoiceLogsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"WatchItemsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"title":{"type":"string"},"whyItMatters":{"type":"string"},"whatToTrack":{"type":"string"},"action":{"type":"string"},"status":{"type":"string","enum":["open","in_progress","resolved","watch"]}},"required":["profileId","title"]},"WatchItems":{"allOf":[{"$ref":"#/components/schemas/WatchItemsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"WeightsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"measuredAt":{"type":"string"},"weightKg":{"type":"number"},"unit":{"type":"string","enum":["lb","kg"]},"note":{"type":"string"},"bodyFatPct":{"type":"number"},"leanMassKg":{"type":"number"},"muscleMassKg":{"type":"number"},"boneMassKg":{"type":"number"},"bodyWaterKg":{"type":"number"}},"required":["profileId","measuredAt","weightKg"]},"Weights":{"allOf":[{"$ref":"#/components/schemas/WeightsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"WellnessSessionsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["breathing","grounding","meditation"]},"occurredAt":{"type":"string"},"durationSec":{"type":"integer"},"pattern":{"type":"string","enum":["box","478","coherent","sigh"]},"moodBefore":{"type":"integer"},"moodAfter":{"type":"integer"},"note":{"type":"string"}},"required":["profileId","kind","occurredAt","durationSec"]},"WellnessSessions":{"allOf":[{"$ref":"#/components/schemas/WellnessSessionsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]},"WorkoutsInput":{"type":"object","properties":{"sensitivity":{"type":"string","enum":["clinical","personal","private"]},"profileId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["walk","run","cycle","swim","strength","yoga","stretch","hiit","sport","other"]},"date":{"type":"string"},"startTime":{"type":"string"},"durationMin":{"type":"number"},"rpe":{"type":"integer"},"distanceKm":{"type":"number"},"laps":{"type":"integer"},"calories":{"type":"number"},"avgHeartRate":{"type":"number"},"feeling":{"type":"integer"},"pushLevel":{"type":"integer"},"exercises":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"muscles":{"type":"array","items":{"type":"string"}},"sets":{"type":"array","items":{"type":"object","properties":{"reps":{"type":"integer"},"weightKg":{"type":"number"},"seconds":{"type":"integer"}}}}},"required":["name"]}},"painDuring":{"type":"integer"},"notes":{"type":"string"},"source":{"type":"string"},"externalId":{"type":"string"}},"required":["profileId","date"]},"Workouts":{"allOf":[{"$ref":"#/components/schemas/WorkoutsInput"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"createdAt":{"type":"string","format":"date-time","readOnly":true},"updatedAt":{"type":"string","format":"date-time","readOnly":true}}}]}},"responses":{"Unauthorized":{"description":"The access token is missing, expired, or revoked. Refresh it, or send the person through Connect again.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Error"}],"example":{"error":"invalid_token"}}}}},"PaymentRequired":{"description":"Connecting apps is part of RecordKeeper Plus, and this person's Plus has lapsed.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Error"}],"example":{"error":"upgrade_required"}}}}},"Forbidden":{"description":"The person didn't grant this section (`section_not_shared`), or granted it read-only and this is a write (`view_only`).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Error"}],"example":{"error":"section_not_shared"}}}}},"NotFound":{"description":"No such record, or one this app may not see. The two are deliberately indistinguishable.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Error"}],"example":{"error":"not_found"}}}}},"TooManyRequests":{"description":"Over 300 requests a minute on this connection. Back off and retry.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Error"}],"example":{"error":"rate_limited"}}}}}},"securitySchemes":{"oauth2":{"type":"oauth2","description":"Authorization code with PKCE (S256). Only apps registered by RecordKeeper can ask.","flows":{"authorizationCode":{"authorizationUrl":"https://app.recordkeeperapp.com/v1/oauth/authorize","tokenUrl":"https://app.recordkeeperapp.com/v1/oauth/token","refreshUrl":"https://app.recordkeeperapp.com/v1/oauth/token","scopes":{"allergies.read":"Read Allergies & Reactions","allergies.write":"Read and change Allergies & Reactions","allergy_symptoms.read":"Read Allergy Symptoms (daily)","allergy_symptoms.write":"Read and change Allergy Symptoms (daily)","appointments.read":"Read Appointments","appointments.write":"Read and change Appointments","assessments.read":"Read Screening Assessments","assessments.write":"Read and change Screening Assessments","asthma.read":"Read Asthma & Breathing","asthma.write":"Read and change Asthma & Breathing","blood_pressure.read":"Read Blood Pressure","blood_pressure.write":"Read and change Blood Pressure","body_measurements.read":"Read Body Measurements","body_measurements.write":"Read and change Body Measurements","care_journeys.read":"Read Care Navigation / Referrals","care_journeys.write":"Read and change Care Navigation / Referrals","care_team.read":"Read Care Team & Providers","care_team.write":"Read and change Care Team & Providers","checkins.read":"Read Daily Check-Ins / Mood","checkins.write":"Read and change Daily Check-Ins / Mood","cycle.read":"Read Cycle / Period","cycle.write":"Read and change Cycle / Period","dental.read":"Read Dental","dental.write":"Read and change Dental","diabetes.read":"Read Carbs & Insulin Log","diabetes.write":"Read and change Carbs & Insulin Log","diagnoses.read":"Read Conditions & Diagnoses","diagnoses.write":"Read and change Conditions & Diagnoses","dreams.read":"Read Dream Journal","dreams.write":"Read and change Dream Journal","episodes.read":"Read Mood Episodes (Bipolar)","episodes.write":"Read and change Mood Episodes (Bipolar)","exercise.read":"Read Exercise & Workouts","exercise.write":"Read and change Exercise & Workouts","eye.read":"Read Eye (Exams & Prescriptions)","eye.write":"Read and change Eye (Exams & Prescriptions)","family.read":"Read Family Building (Fertility, Pregnancy, Adoption)","family.write":"Read and change Family Building (Fertility, Pregnancy, Adoption)","family_history.read":"Read Family History","family_history.write":"Read and change Family History","fertility.read":"Read Ovulation & Fertile Window","fertility.write":"Read and change Ovulation & Fertile Window","files.read":"Read File Archives & Documents","files.write":"Read and change File Archives & Documents","finances.read":"Read Medical Bills & Finances","finances.write":"Read and change Medical Bills & Finances","food.read":"Read Food Log","food.write":"Read and change Food Log","glp1.read":"Read GLP-1 Companion","glp1.write":"Read and change GLP-1 Companion","goals.read":"Read Health Goals","goals.write":"Read and change Health Goals","gratitude.read":"Read Gratitude Journal","gratitude.write":"Read and change Gratitude Journal","gut.read":"Read Digestion (Bowel)","gut.write":"Read and change Digestion (Bowel)","hair.read":"Read Hair (Removal, Growth, Scalp)","hair.write":"Read and change Hair (Removal, Growth, Scalp)","hrt.read":"Read HRT Regimen & Check-Ins","hrt.write":"Read and change HRT Regimen & Check-Ins","identity_updates.read":"Read ID & Name / Gender Changes","identity_updates.write":"Read and change ID & Name / Gender Changes","imaging.read":"Read Imaging Studies","imaging.write":"Read and change Imaging Studies","immunizations.read":"Read Immunizations","immunizations.write":"Read and change Immunizations","insurance.read":"Read Insurance Log","insurance.write":"Read and change Insurance Log","insurance_claims.read":"Read Insurance Claims","insurance_claims.write":"Read and change Insurance Claims","insurance_plans.read":"Read Insurance Plans / Cards","insurance_plans.write":"Read and change Insurance Plans / Cards","labs.read":"Read Lab Results","labs.write":"Read and change Lab Results","legacy.read":"Read Legacy & Directives","legacy.write":"Read and change Legacy & Directives","medications.read":"Read Medications & Doses","medications.write":"Read and change Medications & Doses","menopause.read":"Read Menopause","menopause.write":"Read and change Menopause","migraine.read":"Read Migraines & Headaches","migraine.write":"Read and change Migraines & Headaches","mood.read":"Read Mood Chart (Factor Grid)","mood.write":"Read and change Mood Chart (Factor Grid)","pain.read":"Read Pain & Flares","pain.write":"Read and change Pain & Flares","pgx.read":"Read Pharmacogenomics","pgx.write":"Read and change Pharmacogenomics","preventive.read":"Read Preventive Screenings","preventive.write":"Read and change Preventive Screenings","provider_calls.read":"Read Provider Calls","provider_calls.write":"Read and change Provider Calls","rehab.read":"Read PT & Rehab","rehab.write":"Read and change PT & Rehab","renewals.read":"Read Renewals & Expiries","renewals.write":"Read and change Renewals & Expiries","seizure.read":"Read Seizure Log","seizure.write":"Read and change Seizure Log","sessions.read":"Read Visit Notes","sessions.write":"Read and change Visit Notes","sexual_health.read":"Read Sexual Health (STI, Contraception, PrEP)","sexual_health.write":"Read and change Sexual Health (STI, Contraception, PrEP)","skin.read":"Read Skin (Exams, Spots, Conditions)","skin.write":"Read and change Skin (Exams, Spots, Conditions)","sleep.read":"Read Sleep Log","sleep.write":"Read and change Sleep Log","sobriety.read":"Read Sobriety & Recovery","sobriety.write":"Read and change Sobriety & Recovery","social_history.read":"Read Social & Substance History","social_history.write":"Read and change Social & Substance History","ssa.read":"Read Benefits / SSA Log","ssa.write":"Read and change Benefits / SSA Log","surgeries.read":"Read Surgeries","surgeries.write":"Read and change Surgeries","surgery.read":"Read Surgery Plans","surgery.write":"Read and change Surgery Plans","symptoms.read":"Read Symptoms & Flares","symptoms.write":"Read and change Symptoms & Flares","therapy.read":"Read Therapy (Goals, Coping Skills, Homework, Reflections)","therapy.write":"Read and change Therapy (Goals, Coping Skills, Homework, Reflections)","transition.read":"Read Transition Timeline","transition.write":"Read and change Transition Timeline","urine.read":"Read Urine Tracking","urine.write":"Read and change Urine Tracking","visit_notes.read":"Read Visit Notes","visit_notes.write":"Read and change Visit Notes","vitals.read":"Read Vitals & Device Health","vitals.write":"Read and change Vitals & Device Health","voice.read":"Read Voice Training","voice.write":"Read and change Voice Training","watch.read":"Read Watch List","watch.write":"Read and change Watch List","weight.read":"Read Weight","weight.write":"Read and change Weight","wellness.read":"Read Wellness Sessions","wellness.write":"Read and change Wellness Sessions"}}}}}}}