docs: Update HangingProtocolService.md doc sameAs example to contain constr… (#3765)

This commit is contained in:
dxlin 2023-12-13 15:18:15 -05:00 committed by GitHub
parent c45f60dce2
commit 13d0c883f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,13 +350,18 @@ The below example modifies the included hanging protocol (extensions/tmtv/src/ge
```javascript
ptDisplaySet: {
...
seriesMatchingRules: [
{
attribute: 'sameAs',
sameAttribute: 'FrameOfReferenceUID',
sameDisplaySetId: 'ctDisplaySet',
required: true,
},
...
...
seriesMatchingRules: [
{
attribute: 'sameAs',
sameAttribute: 'FrameOfReferenceUID',
sameDisplaySetId: 'ctDisplaySet',
constraint: {
equals: {
value: true,
},
},
required: true,
},
...
```