nightingaleproject / vrdr-dotnet

.NET (C#) code for producing and consuming the Vital Records Death Reporting (VRDR) Health Level 7 (HL7) Fast Healthcare Interoperability Resources (FHIR) standard.
Apache License 2.0
12 stars 12 forks source link

fix: add null checks to extension values #608

Closed whichwit closed 2 months ago

whichwit commented 2 months ago

A few extensions are missing null checks for their values, leading to null reference exceptions. Ensure that extension values are checked and raise an ArgumentException if a value is null, including the names of the extensions in the exception messages.

Fix NVSS#2024_0486

github-actions[bot] commented 2 months ago

Code Coverage

Package Line Rate Branch Rate Health
DeathRecord.Filter 84% 70%
VRDRMessaging 87% 82%
DeathRecord 97% 90%
Summary 97% (13230 / 13694) 89% (3959 / 4455)