-
Notifications
You must be signed in to change notification settings - Fork 0
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
Publishable write #101
Publishable write #101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still need to test the CRUD operations, but I am finding a potential issue with the postBundle
functionality. When I do npm run db:postBundle {may-connectathon-2024 bundle directory}
, it seems to upload significantly less Libraries than when I use our old ./directory-upload
script (83 vs. around 400 Libraries). I am pretty sure we want around 400 Libraries because of the whole "child artifacts do not have a lifecycle outside of their parents" specification.
https://hl7.org/fhir/uv/crmi/artifact-lifecycle.html#artifact-identity has a great rundown of artifact identity (thanks for sharing it @elsaperelli!)
|
Also add notes about potential race condition (task already exists for it)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small comments and I noticed that the transaction bundle upload still isn't working correctly- looks like the Measures are not being uploaded because they have draft status. Do we want to coerce them to active like we do in dbSetup?
beforeAll(() => { | ||
process.env.AUTHORING = 'false'; | ||
createTestResource( | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think some of these are reused, maybe define them at the top of this file like the others?
Because artifacts must conform to the Shareable spec https://hl7.org/fhir/uv/crmi/StructureDefinition-crmi-shareablemeasure.html with url, version, description, and title at cardinality 1..1 for CRMIShareableMeasure and CRMIShareableLibrary... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woo! Lgtm!
Summary
Implement/ensure publishable artifact repository minimum write capabilities (Publish, Retire, Archive) as defined in the CRMI IG here.
New behavior
Code changes
DetailedEntry
type for thisTesting guidance
npm run check
npm run start:service
npm run db:postBundle {bundle path}