Omit any field in Mappings based on a condition

Mar 27, 2023

While building a Stedi mapping

, you often need to omit a specific field based on the data in the incoming source document. For example, you may need to omit a delivery address object completely if the purchase order has not been confirmed yet. Now, you can use the $omitField constant

 to omit both primitive fields and entire objects.Previously, Mappings UI only allowed using the $omitField for primitive fields (fields that map to strings, numbers, and booleans).You can now use $omitField to exclude an entire object or an array based on a condition. Mappings now recognizes $omitField within list context expressions

. In addition, every object field has a new optional object context input

 with built-in support for $omitField.

While building a Stedi mapping

, you often need to omit a specific field based on the data in the incoming source document. For example, you may need to omit a delivery address object completely if the purchase order has not been confirmed yet. Now, you can use the $omitField constant

 to omit both primitive fields and entire objects.Previously, Mappings UI only allowed using the $omitField for primitive fields (fields that map to strings, numbers, and booleans).You can now use $omitField to exclude an entire object or an array based on a condition. Mappings now recognizes $omitField within list context expressions

. In addition, every object field has a new optional object context input

 with built-in support for $omitField.

Changelog

Changelog

View Stedi's full changelog.

Get started with Stedi

Get started with Stedi

Automate healthcare transactions with developer-friendly APIs that support thousands of payers. Contact us to learn more and speak to the team.

Backed by

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.

Backed by

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.

Backed by

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.