This project has moved and is read-only. For the latest updates, please go here.
1

Resolved

CDAR2 NullFlavor attribute value MASK or MSK

description

I am working on CDA R2 Xml document generation using Everest. I found something strange:

In Everest, the enum MARC.Everest.DataTypes.NullFlavor.Masked generates the value "MASK" in the XML document (http://everest.codeplex.com/SourceControl/latest#MARC.Everest/DataTypes/NullFlavor.cs).

But according to HL7, the value should be MSK (http://hl7.org/fhir/v3/NullFlavor/index.html).

I know it can be easily fixed, but if anyone has an explanation...

Thanks
Remy

comments

jf03cg wrote Jun 10, 2016 at 4:58 PM

Because the data types are written by hand, it is probably a problem with transcription. The fix is to change: https://everest.codeplex.com/SourceControl/latest#MARC.Everest/DataTypes/NullFlavor.cs so that
    [Enumeration(Value = "MASK")]
    [XmlEnum("MASK")]
    Masked,
Becomes:
    [Enumeration(Value = "MSK")]
    [XmlEnum("MSK")]
    Masked,
I will commit this change (so you can re-compile the fix). It will appear in the 1.2.16 release with several other changes (probably Sept 2016 release date).

Cheers
-Justin

jf03cg wrote Jun 10, 2016 at 6:20 PM

Fixed in changeset 2b485541ee413d523998139e313e6e62c2784f7d