To check whether a list of criteria (defined by their termcode and context) are part of a value set, a value set endpoint should be created that calculates the intersect of all values in a value set and a list of criteria.
The criteria are defined by the combination of context and termcode and are send to the backend as uuidv3 hash as follows:
Concatenated string of (context.system, context.code, context.version, termcode.system, termcode.code, termcode.version), omitting null values for version and without any delimiters.
Endpoint:
Endpoint Call:
POST .../terminology/value-set/intersect?url={criteriaSetUrl}
Use in UI
This endpoint will be called from the UI to check wether a number of criteria are part of a value set.
The information of the value set will be provided to the UI via the respective valueDefinition or attributeDefinition of the respective ui_profile of the parent criterion.
The value set to be compared against is specified through the field: "referenceValueSet"
Example attributeDefinition of the Specimen ui_profile:
To check whether a list of criteria (defined by their termcode and context) are part of a value set, a value set endpoint should be created that calculates the intersect of all values in a value set and a list of criteria.
The criteria are defined by the combination of context and termcode and are send to the backend as uuidv3 hash as follows:
Concatenated string of (context.system, context.code, context.version, termcode.system, termcode.code, termcode.version), omitting null values for version and without any delimiters.
Endpoint:
Endpoint Call: POST .../terminology/value-set/intersect?url={criteriaSetUrl}
Body:
RESPONSE
Additional Information:
Use in UI This endpoint will be called from the UI to check wether a number of criteria are part of a value set. The information of the value set will be provided to the UI via the respective valueDefinition or attributeDefinition of the respective ui_profile of the parent criterion. The value set to be compared against is specified through the field: "referenceValueSet"
Example attributeDefinition of the Specimen ui_profile: