... | @@ -195,8 +195,22 @@ A **payload** contains two required fields - evidence and cspecRuleSetUrl. An ex |
... | @@ -195,8 +195,22 @@ A **payload** contains two required fields - evidence and cspecRuleSetUrl. An ex |
|
> let resp = undefined
|
|
> let resp = undefined
|
|
> jsClient = new SimpleJsonReq( baseUrl, clientOpts )
|
|
> jsClient = new SimpleJsonReq( baseUrl, clientOpts )
|
|
> let reqConfig = {
|
|
> let reqConfig = {
|
|
> serverCertCheck : false,
|
|
> serverCertCheck : false
|
|
> data: payload
|
|
|
|
> }
|
|
> }
|
|
> resp = await jsClient.doPost('/assertion/type/acmg-v4', reqConfig)
|
|
> resp = await jsClient.doPost('/assertion/type/acmg-v4', payload, reqConfig)
|
|
> console.log(global.brl.insp(global.brl.dot.pick('data', resp.data)))
|
|
> console.log(global.brl.insp(global.brl.dot.pick('data', resp.data)))
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
comment: 'Rule3 was met and the total point = 1',
|
|
|
|
finalCall: 'Uncertain Significance',
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
conditions: [Array],
|
|
|
|
inference: 'Uncertain Significance',
|
|
|
|
rule: 'Rule3'
|
|
|
|
}
|
|
|
|
],
|
|
|
|
statusObj: { name: 'assertion computed', status: 'ok' }
|
|
|
|
}
|
|
|
|
``` |
|
|
|
\ No newline at end of file |