Stream: implementers
Topic: Structure Defintion define meta data of resource
Allan Bro Hansen (Oct 12 2018 at 12:12):
I would like to specify - via structure definition - that my appointment resource can potential contain a confidentiality code (via meta - security tags).
How is it done - is it possible as a ElementDefinition? (https://www.hl7.org/fhir/elementdefinition.html#ElementDefinition)?
Lloyd McKenzie (Oct 12 2018 at 14:53):
When profiling you can absolutely profile inherited elements such as id
and meta
. You don't need to profile to say that the resource can contain a confidentiality code - that's implicitly already there. However, you could profile to indicate that systems must support (or that you support) the security tag element and provide a value set indicating what codes are supported.
Last updated: Apr 12 2022 at 19:14 UTC