You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to provide 2 options for how the OCL API stores collection references:
Dynamic: OCL stores what the user submits and, where applicable, is able to dynamically re-evaluate the reference at a later time
Fully Enumerated: OCL stores the fully resolved references to specific resource versions -- this is similar to how OCL used to persist references before we had support for dynamic references
For example: Given a request to add CIEL:163310 as a cascaded reference to a collection, we can do this is several ways. Here's the concept:
* In the new collection model, this stored references to _**version-less**_ concepts & mappings, which allows this to be re-evaluated in the future to incorporate updates to CIEL -- see here: https://app.staging.openconceptlab.org/#/users/paynejd/collections/NewTestDictionary/references
We want to provide a new URL parameter (saveEnumeratedReferences=true) that will cause OCL to store the fully enumerated versioned references in the new Collection model. This parameter should work with any type of reference expression, not just cascade=sourceconcepts.
Example usage:
PUT /orgs/KenyaMOH/collections/KenyaEMR/references/?cascade=sourceconcepts&saveEnumeratedReferences=true
{ "data": { "expressions": ["/orgs/CIEL/sources/CIEL/concepts/163310/"] } }
The text was updated successfully, but these errors were encountered:
We want to provide 2 options for how the OCL API stores collection references:
For example: Given a request to add
CIEL:163310
as a cascaded reference to a collection, we can do this is several ways. Here's the concept:Ways to add a cascaded reference:
?cascade=sourceconcepts
in the request should be identical to using the$cascade
operator in a reference expression without any parameters:Focusing on the
?cascade=sourceconcepts
approach:* In the new collection model, this stored references to _**version-less**_ concepts & mappings, which allows this to be re-evaluated in the future to incorporate updates to CIEL -- see here: https://app.staging.openconceptlab.org/#/users/paynejd/collections/NewTestDictionary/references
We want to provide a new URL parameter (
saveEnumeratedReferences=true
) that will cause OCL to store the fully enumerated versioned references in the new Collection model. This parameter should work with any type of reference expression, not justcascade=sourceconcepts
.Example usage:
The text was updated successfully, but these errors were encountered: