FHIR Chat · Extensions on modifiers · implementers

Stream: implementers

Topic: Extensions on modifiers


view this post on Zulip Madeline Hoskins (Oct 29 2019 at 17:40):

Can you add extensions off of an element that is a modifier element?

view this post on Zulip Grahame Grieve (Oct 29 2019 at 19:31):

yes

view this post on Zulip Madeline Hoskins (Oct 29 2019 at 20:19):

does HAPI FHIR allow adding extensions to elements that are data type "code". If so, can someone provide guidance?

view this post on Zulip Grahame Grieve (Oct 29 2019 at 20:25):

yes. if the element name is code, you'll usually use getCode()/setCode(). In order to access the extensions, you need to use getCodeElement()/setCodeElement()


Last updated: Apr 12 2022 at 19:14 UTC