FHIR Chat · Extension "Label" · dotnet

Stream: dotnet

Topic: Extension "Label"


view this post on Zulip Don Langlois (May 08 2019 at 16:08):

I'm probably missing something silly but hoping someone can help. I'm creating a FHIR Patient Resource that includes an extension for line. What i want to do is create the extension with the extension named "_line". For example

"_line": [
{
"extension": [

What i cant figure out using libraries is how to get a complex extension labled as "_line" versus "extension"

Thanks
Don

view this post on Zulip Michele Mottini (May 08 2019 at 16:11):

That _line property is the way extensions for the line element are represented in JSON. It is produced when you add items to the LineElement.Extension list from your dot net code

view this post on Zulip Don Langlois (May 08 2019 at 18:45):

Thanks a lot, knew i was missing something silly, works fine now


Last updated: Apr 12 2022 at 19:14 UTC