Skip to content

feat: OW PoC user creation and Oura auth flow#350

Open
travis-sauer-oltech wants to merge 4 commits intojupyterhealth:mainfrom
the-commons-project:feat/ow-poc-manual
Open

feat: OW PoC user creation and Oura auth flow#350
travis-sauer-oltech wants to merge 4 commits intojupyterhealth:mainfrom
the-commons-project:feat/ow-poc-manual

Conversation

@travis-sauer-oltech
Copy link
Copy Markdown
Member

@travis-sauer-oltech travis-sauer-oltech commented Apr 14, 2026

Closes out #331 and #348.

- Add ow_key column to Observation model (migration 0017)
- Add GET /api/v1/ow/sync endpoint with StartAfter idempotency
- Filter HR files via S3 metadata trace_id
- Convert samples via omh-shim, bulk_create observations
- Add boto3 + omh-shim dependencies, OW_S3_* settings
- Register all core models in admin with search/filter/display
- Add __str__ to Organization, Practitioner, Patient, CodeableConcept,
  Study, DataSource for readable admin labels
Copy link
Copy Markdown
Collaborator

@s1monj s1monj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small change to keep src imports consistent while we remember thx

</head>
<body class="h-100">
{% block body_content %} {% endblock %}
<script src="{% static 'js/common.js' %}"></script>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@travis-sauer-oltech because these two scripts (common.js and ow-client.js) don't have any top level lines to be called at include-time (ie they're all functions) we can move them inside the html head block - use https://github.com/jupyterhealth/jupyterhealth-exchange/blob/main/core/templates/partials/base.html as a reference


var TOKEN_ENDPOINT = window.location.origin + "/o/token/";
var API_ENDPOINT = window.location.origin + "/api/v1/";

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@travis-sauer-oltech leave these here for now but just as a reminder for later we should move them to core/templates/client/client_settings.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants