New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grouping: CRUD: Concept set version #181
Comments
Ah, this is what you were talking about on Teams. I think I already have laid the groundwork for this. I have 2 routes already: (i) for new concept set version w/ concept changes (or other metadata changes too, I think), and (ii) one for a new container. I think I just need to improve the robustness of that. The biggest improvement involves committing these changes to git in a stable, consistent manner. However, since we are moving to RDBMS, I think I might want to hold off on that until after RDBMS because the nature of how I do these commits (e.g. in batch) might change. But it might not either. |
I agree -- RDBMS before worrying more about git persistence. With the enclave update endpoints -- do you think it's ready for me to start writing a front end interface? Will they allow us to post on behalf of other users? And do they allow us to save actual versions, or just drafts that then have to be saved to versions in the concept set browser? |
@Sigfried I think a lot of this was in the recent pull request I made, but we didn't have time to do a review. From what I remember: (i) for a new container, it also creates a 1st draft and finalizes it (you may want to try it and double check), (ii) for a new version, it should indeed create the version draft and also finalize it immediately. I think that the routes I wrote, as well as the enclave functions that do this, talk about this in the docstring, but not 100% sure. For these routes/features specifically, I thought that a unit test would be prudent. But that has been precluded so far because I anticipate some extra time to work with the correct DELETE endpoint(s) for the teardown step. |
@joeflack4: Do you recall how to get the documentation for an api call? Something is wrong with this call to finalize. |
Just sent you a message over teams. This may show the query to get endpoint definitions, but if not, I can find out how: https://unite.nih.gov/documentation/static/foundry/api/ontology-resources/actions/list-action-types/ Here is for the specific endpoint, from my pesonal notes: {
"apiName": "finalize-draft-omop-concept-set-version",
"description": "",
"rid": "ri.actions.main.action-type.d53c0a2b-db9d-4a72-b10b-ad5f467f3f9c",
"parameters": {
"new-parameter1": {
"description": "",
"baseType": "String"
},
"concept-set-container": {
"description": "",
"baseType": "OntologyObject"
},
"version": {
"description": "",
"baseType": "OntologyObject"
},
"currentMaxVersion": {
"description": "",
"baseType": "Double"
},
"new-parameter": {
"description": "",
"baseType": "String"
}
}
}, I remember we were using something called |
concepts
on concept_set_version
, (ii) create: concept_set_version
concepts
on concept_set_version
, (ii) create: concept_set_version
Overview
Concept set version create/updates should handle (i) metadata fields, (ii) individual concept expression items, and (iii) should be able to handle multiple versions.
Sub-tasks
Creates
Updates
This would be updating existing drafts.
Delete
Needed?
Read
Have?
Additional
parent_version_codeset_id
? #246Documentation
In addition to tests and code comments. Where? Enclave wrangler? Developer docs?
The text was updated successfully, but these errors were encountered: