Stream: IG creation
Topic: Profile one of a polymorphic type
Elliot Silver (Sep 28 2021 at 07:13):
I'm trying to profile Observation, such that any valueCodeableConcept uses the MySpecialCodeableConcept profile, without imposing any constraints on which value[x] are allowed. My attempt is:
{
"id": "Observation.component.value[x]",
"path": "Observation.component.value[x]",
"type": [
{
"code": "Quantity"
},
{
"code": "CodeableConcept",
"profile": [
"https://www.example.org/StructureDefinition/MySpecialCodeableConcept"
]
},
{
"code": "string"
},
{
"code": "boolean"
},
{
"code": "integer"
},
{
"code": "Range"
},
... (and so on for all value types).
Is this the correct way? It seems wrong to list types that I have nothing to say about. (Although, maybe I am saying something: "this is still allowed".)
Grahame Grieve (Sep 28 2021 at 07:17):
yes that it what you are saying
Elliot Silver (Sep 28 2021 at 07:22):
OK, thanks.
Elliot Silver (Sep 28 2021 at 07:49):
Somewhat related note, if I have an Observation profile declared as a global profile in my IG, and the IG references a core vital signs observation, does that mean the referenced Observation has to meet both my profile and the vital signs profile?
Grahame Grieve (Sep 28 2021 at 08:01):
I think so
Last updated: Apr 12 2022 at 19:14 UTC