Describe the bug
Meta of a fhir resource (e.g. MedicationAdministration) gets serialised for Response.
However, I can see only some fields of Meta such as id, profile and source gets serialised whereas Security is missed out.
This prevents putting a security label (https://hl7.org/fhir/valueset-security-labels.html) for the contained resource in the List API.
To Reproduce
Issue 1: Steps to reproduce the behavior:
Describe the bug Meta of a fhir resource (e.g. MedicationAdministration) gets serialised for Response. However, I can see only some fields of Meta such as id, profile and source gets serialised whereas Security is missed out. This prevents putting a security label (https://hl7.org/fhir/valueset-security-labels.html) for the contained resource in the List API.
To Reproduce Issue 1: Steps to reproduce the behavior:
Expected behavior Issue 1: contained.meta holds a security field with system and code Example
Environment (please complete the following information):
Additional context See the comment to find a Maven project that demonstrates the bug in testing.