... | @@ -494,6 +494,6 @@ Cspec Registry API on SequenceVariantInterpretation will return all the specific |
... | @@ -494,6 +494,6 @@ Cspec Registry API on SequenceVariantInterpretation will return all the specific |
|
|
|
|
|
For instance, given below is an example where the above logic is applied to the end point mentioned in step(1).
|
|
For instance, given below is an example where the above logic is applied to the end point mentioned in step(1).
|
|
|
|
|
|
`let currentVersions = [] if( respObj && respObj.status && respObj.status === 200 ) { const sviObj = respObj.data.data for(const svi of sviObj){ if(svi.entContent.states) { const stateNames = svi.entContent.states.map((x) => x.name); if(stateNames.includes("Released")) { // has been approved if(svi.entContent.legacyFullySuperseded === false || svi.entContent.legacyReplaced === true) { // drop the doc that has not superseded the legacy yet or the ones that have been fully replaced. continue } else { currentVersions.push(svi.entId) } } } } }`
|
|
|
|
|
|
|
|
### [Markdown support for Criteria Code Specifications](Markdown-and-Citations) |
|
### [Markdown support for Criteria Code Specifications](Markdown-and-Citations) |
|
|
|
\ No newline at end of file |