Stream: implementers
Topic: Dynamic Valueset ?
Krishna Moorthi (Feb 03 2021 at 14:56):
Hello,
Hope all are doing well. I have a question related to Organization resource meta.tag where i need to use custom valueset instead of using http://terminology.hl7.org/ValueSet/common-tags
The below example instance where code is dynamic value populated by application.
how can i handle this requirement? any help would be appreciated.
{
"resourceType": "Organization",
"id": "uuidv4",
"meta": {
"versionId": "1",
"tag": [
{
"system": "https://xxxx.org/test/A",
"code": "<<UUIDv4>>",
"display": "A"
},
{
"system": "https://xxx.org/test/B",
"code": "<<UUIDv4>>",
"display": "B"
},
{
"system": "https://xxx.org/test/C",
"code": "<<UUIDv4>>",
"display": "C"
}
]
}
Regards
Krish
Grahame Grieve (Feb 03 2021 at 20:06):
I'm not clear what you mean by "handle"
Lin Zhang (Feb 04 2021 at 07:34):
How dynamic? What specific use case(s) would you care?
Krishna Moorthi (Feb 04 2021 at 10:37):
Hi @Grahame Grieve - sorry, i meant "implement". my understanding is that we can create a valueset with set of fixed values system,code display.
our requirement is system - static uri , code- uuid , display - static string.
We do not know upfront what are uuids for code to define.
Regards
Krishna
Krishna Moorthi (Feb 04 2021 at 11:33):
Lin Zhang said:
How dynamic? What specific use case(s) would you care?
thanks for reply. let me come back with the usecases.
Yunwei Wang (Feb 04 2021 at 14:46):
Organization does not have .tag element
Krishna Moorthi (Feb 04 2021 at 15:01):
Yunwei Wang said:
Organization does not have .tag element
it is Organization.meta.tag (it is common resource element)
Yunwei Wang (Feb 04 2021 at 15:08):
Oh. overlooked .meta element. Are you trying to create a valueset? or are you trying to use codes in meta.tag?
Krishna Moorthi (Feb 04 2021 at 15:38):
I am stuck that how do we create valueset (system,code,display) as code values will be changed each message .
Grahame Grieve (Feb 04 2021 at 20:11):
well, you don't need a value set to put tags in the resource. What are you trying to achieve with a value set ?
Krishna Moorthi (Feb 08 2021 at 16:09):
Thanks !
Last updated: Apr 12 2022 at 19:14 UTC