Sometimes some segments are empty, and due to common templates populating Resource.meta field we need a way to ignore these empty segments, and not generate a partially filled in Resource.
resources:
- resourceName: AllergyIntolerance
segment: AL1
resourcePath: resource/AllergyIntolerance
repeats: true
ignoreEmpty: true ## We want to test our new ignoreEmpty flag
additionalSegments:
- MSH
Should not generate an AllergyIntolerance resource if the ignoreEmpty field is set to true
Sometimes some segments are empty, and due to common templates populating
Resource.meta
field we need a way to ignore these empty segments, and not generate a partially filled in Resource.This example message:
with resource template setting of:
Should not generate an
AllergyIntolerance
resource if theignoreEmpty
field is set totrue