> For the complete documentation index, see [llms.txt](https://docs.mymedtrics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mymedtrics.com/api-reference/medtrics-classic-sis-bridge/procedure-logs.md).

# Procedure Logs

## GET /api/rotations/procedure\_logs/

>

```json
{"openapi":"3.1.0","info":{"title":"Medtrics Legacy SIS Bridge (Compatibility API)","version":"draft-2026-10-29"},"servers":[{"url":"https://{client}.mymedtrics.com","description":"Tenant host; Caddy routes /api-banner/* and /api/* to the bridge (internal only)","variables":{"client":{"default":"<client-name>","description":"Tenant subdomain"}}},{"url":"http://localhost:8090","description":"local dev (see docker/caddy/Caddyfile for deployed hosts)"}],"security":[{"LegacyToken":[]},{"LegacyBasic":[]}],"components":{"securitySchemes":{"LegacyToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Authorization: Token <hex>"},"LegacyBasic":{"type":"http","scheme":"basic"}},"schemas":{"ListEnvelope":{"type":"object","description":"Bridge-wide list envelope. count is always null and page_range always [] (cursor pagination upstream).","properties":{"count":{"type":["integer","null"]},"page_range":{"type":"array"},"per_page":{"type":"integer"},"next":{"type":["string","null"]},"previous":{"type":["string","null"]},"results":{"type":"array"}}},"ProcedureLogs":{"type":"object","description":"Legacy-shaped rotations/procedure_logs record as served by the bridge; translated from Connect /case-logs","properties":{"id":{"type":"integer","description":"legacy id of legacy_id"},"user":{"type":"integer","description":"legacy id of user_legacy_id"},"supervisor":{"type":"integer","description":"legacy id of supervisor_legacy_id"},"select_procedure":{"type":"integer","description":"legacy id of template_legacy_id"},"user_schedule":{"type":"integer","description":"legacy id of user_schedule_legacy_id"},"rotation":{"type":"integer","description":"legacy id of rotation_legacy_id"},"age":{"type":"string","description":"Connect patient_age"},"gender":{"type":"string","description":"Connect patient_gender (patient_gender_to_legacy_code)"},"medical_record_number":{"type":"string","description":"Connect patient_identifier"},"procedure_duration":{"type":"string","description":"Connect procedure_duration"},"soap_note":{"type":"string","description":"Connect notes"},"clinical_site":{"type":"string","description":"Connect clinical_site"},"clinical_setting":{"type":"string","description":"Connect clinical_setting (clinical_setting_to_legacy_code)"},"performance_level":{"type":"string","description":"Connect performance_level"},"performance_level_resident":{"type":"string","description":"Connect self_performance_level"},"status":{"type":"string","description":"Connect status (case_status_to_legacy_char)"},"procedure_date":{"type":"string","description":"Connect encounter_date (date_to_legacy_datetime)"},"submitted_date":{"type":"string","description":"Connect submitted_at (datetime_to_legacy_iso)"},"datetime":{"type":"string","description":"Connect created_at (datetime_to_legacy_iso)"},"updated_date":{"type":"string","description":"Connect updated_at (datetime_to_legacy_iso)"},"primary_diagnoses":{"type":"string","description":"Connect primary_diagnosis_legacy_ids (legacy_id_array_to_int_list)"},"secondary_diagnoses":{"type":"string","description":"Connect secondary_diagnosis_legacy_ids (legacy_id_array_to_int_list)"},"procedures":{"type":"string","description":"Connect procedure_legacy_ids (legacy_id_array_to_int_list)"},"preceptors":{"type":"string","description":"Connect preceptor_legacy_ids (legacy_id_array_to_int_list)"},"months":{"type":"string","description":"literal None"},"indication":{"type":"string","description":"literal \"\""},"complications":{"type":"string","description":"literal False"},"procedure":{"type":"string","description":"literal None"},"additional_notes":{"type":"string","description":"literal None"},"feedback_duration":{"type":"string","description":"literal None"},"supervisor_comments":{"type":"string","description":"literal None"},"supervisor_comments_old":{"type":"string","description":"literal None"},"secondary_diagnosis":{"type":"string","description":"literal \"\""},"primary_diagnosis":{"type":"string","description":"literal \"\""},"ethnicity":{"type":"string","description":"literal \"\""},"code":{"type":"string","description":"literal None"},"submitted_by":{"type":"string","description":"literal None"},"supporting_document":{"type":"string","description":"literal None"}}}}},"paths":{"/api/rotations/procedure_logs/":{"get":{"operationId":"procedureLogs_list","tags":["ProcedureLogs"],"parameters":[{"name":"page","in":"query","schema":{"type":"integer"}},{"name":"page_size","in":"query","schema":{"type":"integer","maximum":100}},{"name":"id","in":"query","schema":{"type":"integer"},"description":"maps to Connect legacy_id"},{"name":"user","in":"query","schema":{"type":"integer"},"description":"maps to Connect user_legacy_id"},{"name":"supervisor","in":"query","schema":{"type":"integer"},"description":"maps to Connect supervisor_legacy_id"},{"name":"status","in":"query","schema":{"type":"integer"},"description":"maps to Connect status"},{"name":"select_procedure","in":"query","schema":{"type":"integer"},"description":"maps to Connect select_procedure_legacy_id"},{"name":"procedure_date__gte","in":"query","schema":{"type":"integer"},"description":"maps to Connect encounter_date_from"},{"name":"procedure_date__lte","in":"query","schema":{"type":"integer"},"description":"maps to Connect encounter_date_to"}],"responses":{"200":{"description":"ListEnvelope","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListEnvelope"},{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ProcedureLogs"}}}}]}}}},"400":{"description":"validation error"},"401":{"description":"unauthenticated"},"404":{"description":"not found or out of tenant scope"}}}}}}
```

## GET /api/rotations/procedure\_logs/{id}/

>

```json
{"openapi":"3.1.0","info":{"title":"Medtrics Legacy SIS Bridge (Compatibility API)","version":"draft-2026-10-29"},"servers":[{"url":"https://{client}.mymedtrics.com","description":"Tenant host; Caddy routes /api-banner/* and /api/* to the bridge (internal only)","variables":{"client":{"default":"<client-name>","description":"Tenant subdomain"}}},{"url":"http://localhost:8090","description":"local dev (see docker/caddy/Caddyfile for deployed hosts)"}],"security":[{"LegacyToken":[]},{"LegacyBasic":[]}],"components":{"securitySchemes":{"LegacyToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Authorization: Token <hex>"},"LegacyBasic":{"type":"http","scheme":"basic"}},"schemas":{"ProcedureLogs":{"type":"object","description":"Legacy-shaped rotations/procedure_logs record as served by the bridge; translated from Connect /case-logs","properties":{"id":{"type":"integer","description":"legacy id of legacy_id"},"user":{"type":"integer","description":"legacy id of user_legacy_id"},"supervisor":{"type":"integer","description":"legacy id of supervisor_legacy_id"},"select_procedure":{"type":"integer","description":"legacy id of template_legacy_id"},"user_schedule":{"type":"integer","description":"legacy id of user_schedule_legacy_id"},"rotation":{"type":"integer","description":"legacy id of rotation_legacy_id"},"age":{"type":"string","description":"Connect patient_age"},"gender":{"type":"string","description":"Connect patient_gender (patient_gender_to_legacy_code)"},"medical_record_number":{"type":"string","description":"Connect patient_identifier"},"procedure_duration":{"type":"string","description":"Connect procedure_duration"},"soap_note":{"type":"string","description":"Connect notes"},"clinical_site":{"type":"string","description":"Connect clinical_site"},"clinical_setting":{"type":"string","description":"Connect clinical_setting (clinical_setting_to_legacy_code)"},"performance_level":{"type":"string","description":"Connect performance_level"},"performance_level_resident":{"type":"string","description":"Connect self_performance_level"},"status":{"type":"string","description":"Connect status (case_status_to_legacy_char)"},"procedure_date":{"type":"string","description":"Connect encounter_date (date_to_legacy_datetime)"},"submitted_date":{"type":"string","description":"Connect submitted_at (datetime_to_legacy_iso)"},"datetime":{"type":"string","description":"Connect created_at (datetime_to_legacy_iso)"},"updated_date":{"type":"string","description":"Connect updated_at (datetime_to_legacy_iso)"},"primary_diagnoses":{"type":"string","description":"Connect primary_diagnosis_legacy_ids (legacy_id_array_to_int_list)"},"secondary_diagnoses":{"type":"string","description":"Connect secondary_diagnosis_legacy_ids (legacy_id_array_to_int_list)"},"procedures":{"type":"string","description":"Connect procedure_legacy_ids (legacy_id_array_to_int_list)"},"preceptors":{"type":"string","description":"Connect preceptor_legacy_ids (legacy_id_array_to_int_list)"},"months":{"type":"string","description":"literal None"},"indication":{"type":"string","description":"literal \"\""},"complications":{"type":"string","description":"literal False"},"procedure":{"type":"string","description":"literal None"},"additional_notes":{"type":"string","description":"literal None"},"feedback_duration":{"type":"string","description":"literal None"},"supervisor_comments":{"type":"string","description":"literal None"},"supervisor_comments_old":{"type":"string","description":"literal None"},"secondary_diagnosis":{"type":"string","description":"literal \"\""},"primary_diagnosis":{"type":"string","description":"literal \"\""},"ethnicity":{"type":"string","description":"literal \"\""},"code":{"type":"string","description":"literal None"},"submitted_by":{"type":"string","description":"literal None"},"supporting_document":{"type":"string","description":"literal None"}}}}},"paths":{"/api/rotations/procedure_logs/{id}/":{"get":{"operationId":"procedureLogs_retrieve","tags":["ProcedureLogs"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcedureLogs"}}}},"400":{"description":"validation error"},"401":{"description":"unauthenticated"},"404":{"description":"not found or out of tenant scope"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mymedtrics.com/api-reference/medtrics-classic-sis-bridge/procedure-logs.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
