Hi there,
in FHIR it is possible to provide multiple value sets/external codings to an element value:
However, in AD Designer it seems the user is limited to choose only one when further contraining a template:
What would be the correct way to represent this in templates? Asking for our modellers.
1 Like
In openEHR this would be handled by the defining_code and other mappings. Currently we have a way of constraining the defining_code but not the mappings. I’m not even sure what that would look like in ADL. TheOcean tools would not support that either - @yampeku = what about LinkEhr?
We can define multiple ‘bindings’ but these are advisory, not formal constraints.
It is a gap, I agree.
1 Like
yampeku
(Diego Bosca)
15 February 2021 10:33
3
Yes, it’s supported
In ADL, something like this (assuming you at least put a target)
Thanks, I think the most important question is how this would be presented in OET and OPT for now
yampeku
(Diego Bosca)
15 February 2021 10:42
5
Not different from any other alternative I assume
would you mind show an example?
yampeku
(Diego Bosca)
15 February 2021 10:45
7
Same example in OPT
<attributes xsi:type="C_SINGLE_ATTRIBUTE">
<rm_attribute_name>mappings</rm_attribute_name>
<existence>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
</existence>
<children xsi:type="C_COMPLEX_OBJECT">
<rm_type_name>TERM_MAPPING</rm_type_name>
<occurrences>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>0</lower>
<upper>1</upper>
</occurrences>
<node_id>at0008</node_id>
<attributes xsi:type="C_SINGLE_ATTRIBUTE">
<rm_attribute_name>target</rm_attribute_name>
<existence>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>1</lower>
<upper>1</upper>
</existence>
</attributes>
</children>
<children xsi:type="C_COMPLEX_OBJECT">
<rm_type_name>TERM_MAPPING</rm_type_name>
<occurrences>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>0</lower>
<upper>1</upper>
</occurrences>
<node_id>at0012</node_id>
<attributes xsi:type="C_SINGLE_ATTRIBUTE">
<rm_attribute_name>target</rm_attribute_name>
<existence>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>1</lower>
<upper>1</upper>
</existence>
</attributes>
</children>
<children xsi:type="C_COMPLEX_OBJECT">
<rm_type_name>TERM_MAPPING</rm_type_name>
<occurrences>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>0</lower>
<upper>1</upper>
</occurrences>
<node_id>at0016</node_id>
<attributes xsi:type="C_SINGLE_ATTRIBUTE">
<rm_attribute_name>target</rm_attribute_name>
<existence>
<lower_included>true</lower_included>
<upper_included>true</upper_included>
<lower_unbounded>false</lower_unbounded>
<upper_unbounded>false</upper_unbounded>
<lower>1</lower>
<upper>1</upper>
</existence>
</attributes>
</children>
</attributes>
openEHR-EHR-GENERIC_ENTRY.Medication.v1.opt (49.6 KB)
Thanks - .oet might be tricky but it should be easy enough to get this into AD native json, which is largely just AOM2
Well, does not really help as long as we cannot deploy it into an openEHR CDR and CKM
yampeku
(Diego Bosca)
15 February 2021 11:23
10
What is the issue? It should be legal OPT (or ADL2)
ian.mcnicoll:
AD native json
@yampeku : was referring to this
1 Like