Stream: implementers
Topic: Extensions on modifiers
Madeline Hoskins (Oct 29 2019 at 17:40):
Can you add extensions off of an element that is a modifier element?
Grahame Grieve (Oct 29 2019 at 19:31):
yes
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?
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