Skip to content
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

add Library Source Material - CDE 14808227 #118

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

grugna
Copy link
Collaborator

@grugna grugna commented Oct 18, 2024

Adds Library Source Material entities onto the Sample model.

PR Close Date: [ENTER DATE HERE]

Before submitting this PR, please make sure:

  • You have added a few sentences describing the PR here.
  • You have added yourself or the appropriate individual as the assignee.
  • You have added the relevant groups/individuals to the reviewers.
  • Your commit messages conform to the Conventional
    Commits
    standard.
  • You have updated the README or other documentation to account for these
    changes (when appropriate).
  • You have added a line describing the change in the CHANGELOG.md under
    [Unreleased].

4 => LibrarySourceMaterial::SingleNuclei,
5 => LibrarySourceMaterial::NotReported,
6 => LibrarySourceMaterial::Other,
_ => LibrarySourceMaterial::Other,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This can be 0..6 and just _ to map to Other.

#[serde(rename = "Bulk-Cells")]
BulkCells,

/// `Bulk-Nuclei`
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be Bulk Nuclei (no dash).

#[serde(rename = "Bulk-Nuclei")]
BulkNuclei,

/// `Bulk-Tissue`
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be Bulk Tissue (no dash).

#[serde(rename = "Single-nuclei")]
SingleNuclei,

/// `Not-Reported`
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be Not Reported (no dash).

/// * **Begin Date**: 03/01/2024
///
/// Not provided or available.
#[serde(rename = "Not-Reported")]
Copy link
Collaborator

@claymcleod claymcleod Oct 21, 2024

Choose a reason for hiding this comment

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

For all of these, please make sure that the permissible value exactly matches what is in the caDSR field: both for the comment above and for the serde rename.

Copy link
Collaborator

@claymcleod claymcleod left a comment

Choose a reason for hiding this comment

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

Last thing to look at: can you try out the example server and make sure the field is showing up as expected in the responses + also captured in the swagger yaml?

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