{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/elation-health/main/json-schema/elation-health-patched-patient-provider-team-member-update-schema.json", "title": "PatchedPatientProviderTeamMemberUpdate", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/elation-health-provider-team-api-openapi.yml#/components/schemas/PatchedPatientProviderTeamMemberUpdate", "properties": { "activity_summary_last_refreshed": { "description": "The last known time when this team member's activity was synced.", "format": "date-time", "readOnly": true, "type": "string" }, "earliest_activity": { "description": "Displays the earliest known interaction between the team member and the patient.", "format": "date-time", "readOnly": true, "type": "string" }, "group": { "allOf": [ { "$ref": "#/$defs/GroupEnum" } ], "default": "main", "description": "Can either be `main` or `other`. By default members are placed in the `main` group. Only members in the `main` group will be displayed on the Patient chart in the web application.\n\n* `main` - main\n* `other` - other" }, "latest_activity": { "description": "Displays the latest known interaction between the team member and the patient.", "format": "date-time", "readOnly": true, "type": "string" }, "patient_id": { "description": "The id of the Patient that this team is associated with.", "readOnly": true, "type": "integer" }, "patient_provider_team_id": { "description": "Patient Provider team ID", "readOnly": true, "type": "integer" }, "patient_provider_team_member_id": { "readOnly": true, "type": "integer" }, "physician_id": { "description": "The Physician that this team member represents.", "readOnly": true, "type": "integer" }, "rank": { "description": "Used for displaying a sorted patient provider team in the patient chart. Rank is sequential and begins at 1.", "minimum": 1, "readOnly": true, "type": "integer" }, "treatment_reason": { "description": "The reason why this physician is in this team", "type": [ "string", "null" ] } }, "type": "object", "$defs": { "GroupEnum": { "description": "* `main` - main\n* `other` - other", "enum": [ "main", "other" ], "type": "string" } } }