session_note_upsert
Create or update the clinical note (ficha) of a session: evolution, treatmentPerformed, nextSessionPlan, type (evaluacion/tratamiento/derivacion/cierre), progressMetrics, etc. One note per session (upsert). Sensitivity is resolved automatically (health-vertical orgs default to restricted). NOTE: unlike the provider's own UI save, this does NOT create the provider-confirmed DeliveryProof nor award practice points — those are provider-bound actions (PDC-SEC-001); use the provider portal / REST for delivery confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| apiKey | No | ||
| orgSlug | Yes | ||
| evolution | No | ||
| isPrivate | No | ||
| sessionId | Yes | ||
| dataSensitivity | No | internal | |
| nextSessionPlan | No | ||
| treatmentPerformed | No |