Stream: terminology
Topic: Binding style question
Gay Dolin (Mar 04 2022 at 01:21):
We are changing the general design of the Multiple Chronic Care Condition Care Plan IG (MCC) (https://trifolia-fhir.lantanagroup.com/igs/lantana_hapi_r4/MCC-IG/index.html) I used to work on and am now working on again. Rather than creating 800+ new profiles, we will create a base set of MCC profiles that conform to US Core profiles (or some other base resource) and point to a "library" of value sets that can be used with the various base MCC Profiles. Question: Is there any advantage to binding to the relevant code system(s) in the various base profiles, instead of just requiring xx.code and not specifying the code systems? The "Library" will group the value set listings related to the appropriate MCC Profile and point to the base profile and where the value set (term) can be used in the profile.
Lloyd McKenzie (Mar 04 2022 at 01:31):
If you specify a fixed code (or better yet a CodeableConcept pattern), there's no technical reason to provide a binding. Your IG will inherit the default binding though, which some might find confusing.
Gay Dolin (Mar 04 2022 at 16:05):
True - in our case most of our base templates will inherit bindings from US Core. How do I bind to a CodeableConcept pattern? @Sean McIlvenna @Sarah Gaunt
Lloyd McKenzie (Mar 04 2022 at 16:37):
Pattern and bindings are separate things. Pattern is like a fixed value, but more lenient - it won't yell if you include a display, extension, id, or other element in addition to your mandated code and system.
Gay Dolin (Mar 04 2022 at 20:10):
How do I assert a codableConcept Pattern in a profile?
Lloyd McKenzie (Mar 04 2022 at 21:11):
In the structure definition, just put a patternCodeableConcept on the element. Trifolia has an element that lets you do it near where you specify fixed values. FSH has a special syntax but I'm afraid I don't know it.
Rob Hausam (Mar 04 2022 at 21:11):
Yes, I was just getting ready to say that. :)
Bret H (Mar 04 2022 at 21:13):
cool stuff. is there an example of the use of the codableConcept patter in a profile? I'm super curious.
Rob Hausam (Mar 04 2022 at 21:19):
I do it here for Observation.category in the IPS lab results Observation profile (you can see it in the Observation.category:laboratory slice in the XML or JSON - I don't have a FSH example handy).
Bret H (Mar 04 2022 at 21:21):
might be a problem on my end - does not seem like I was able to get to the example or download it :oh_no:
Rob Hausam (Mar 04 2022 at 21:24):
Nope, it was my problem - I had linked to my local copy instead of the build (fixed).
Bret H (Mar 04 2022 at 22:49):
Thanks!
Last updated: Apr 12 2022 at 19:14 UTC