|
VRDR .NET
|
Creation of this file is determined by the DocumentationFile tag in the .csproj file, and the package reference to Vsxmd. Normally, have the .xml file generated and the Vsxmd package reference uncommented. For releases, have the md file generated, and the vsxmd package reference commented. Run 'dotnet build'. Some editing is required.
Class DeathRecord models a FHIR Vital Records Death Reporting (VRDR) Death Record. This class was designed to help consume and produce death records that follow the HL7 FHIR Vital Records Death Reporting Implementation Guide, as described at: http://hl7.org/fhir/us/vrdr and https://github.com/hl7/vrdr.
Default constructor that creates a new, empty DeathRecord.
This constructor has no parameters.
Constructor that takes a string that represents a FHIR Death Record in either XML or JSON format.
| Name | Type | Description |
|---|---|---|
| record | System.String | represents a FHIR Death Record in either XML or JSON format. |
| permissive | System.Boolean | if the parser should be permissive when parsing the given string |
| Name | Description |
|---|---|
| System.ArgumentException | Record is neither valid XML nor JSON. |
Constructor that takes a FHIR Bundle that represents a FHIR Death Record.
| Name | Type | Description |
|---|---|---|
| bundle | Hl7.Fhir.Model.Bundle | represents a FHIR Bundle. |
| Name | Description |
|---|---|
| System.ArgumentException | Record is invalid. |
Acme System Reject.
// Setter:
Dictionary<string, string> reject = new Dictionary<string, string>();
format.Add("code", ValueSets.FilingFormat.electronic);
format.Add("system", CodeSystems.SystemReject);
format.Add("display", "3");
ExampleDeathRecord.AcmeSystemReject = reject;
// Getter:
Console.WriteLine($"Acme System Reject Code: {ExampleDeathRecord.AcmeSystemReject}");
Acme System Reject.
// Setter:
ExampleDeathRecord.AcmeSystemReject = "3";
// Getter:
Console.WriteLine($"Acme System Reject Code: {ExampleDeathRecord.AcmeSystemReject}");
Activity at Time of Death.
// Setter:
Dictionary<string, string> activity = new Dictionary<string, string>();
elevel.Add("code", "0");
elevel.Add("system", CodeSystems.ActivityAtTimeOfDeath);
elevel.Add("display", "While engaged in sports activity");
ExampleDeathRecord.ActivityAtDeath = activity;
// Getter:
Console.WriteLine($"Education Level: {ExampleDeathRecord.EducationLevel['display']}");
Decedent's Activity At Time of Death Helper
// Setter:
ExampleDeathRecord.ActivityAtDeath = 0;
// Getter:
Console.WriteLine($"Decedent's Activity at Time of Death: {ExampleDeathRecord.ActivityAtDeath}");
Age At Death.
// Setter:
Dictionary<string, string> age = new Dictionary<string, string>();
age.Add("value", "100");
age.Add("code", "a"); // USE: http://hl7.org/fhir/us/vrdr/ValueSet/vrdr-units-of-age-vs
ExampleDeathRecord.AgeAtDeath = age;
// Getter:
Console.WriteLine($"Age At Death: {ExampleDeathRecord.AgeAtDeath['value']} years");
Decedent's Age At Death Edit Flag.
// Setter:
Dictionary<string, string> ageEdit = new Dictionary<string, string>();
ageEdit.Add("code", "0");
ageEdit.Add("system", CodeSystems.BypassEditFlag);
ageEdit.Add("display", "Edit Passed");
ExampleDeathRecord.AgeAtDeathEditFlag = ageEdit;
// Getter:
Console.WriteLine($"Age At Death Edit Flag: {ExampleDeathRecord.AgeAtDeathEditFlag['display']}");
Age at Death Edit Bypass Flag Helper
Decedent's Automated Underlying Cause of Death
// Setter:
ExampleDeathRecord.AutomatedUnderlyingCOD = "I13.1";
// Getter:
Console.WriteLine($"Decedent's Automated Underlying Cause of Death: {ExampleDeathRecord.AutomatedUnderlyingCOD}");
Autopsy Performed Indicator.
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "Y");
code.Add("system", CodeSystems.PH_YesNo_HL7_2x);
code.Add("display", "Yes");
ExampleDeathRecord.AutopsyPerformedIndicator = code;
// Getter:
Console.WriteLine($"Autopsy Performed Indicator: {ExampleDeathRecord.AutopsyPerformedIndicator['display']}");
Autopsy Performed Indicator Helper. This is a helper method, to access the code use the AutopsyPerformedIndicator property.
// Setter:
ExampleDeathRecord.AutopsyPerformedIndicatorHelper = "Y""; // Getter: Console.WriteLine($"Autopsy Performed Indicator: {ExampleDeathRecord.AutopsyPerformedIndicatorBoolean}");
Autopsy Results Available.
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "Y");
code.Add("system", CodeSystems.PH_YesNo_HL7_2x);
code.Add("display", "Yes");
ExampleDeathRecord.AutopsyResultsAvailable = code;
// Getter:
Console.WriteLine($"Autopsy Results Available: {ExampleDeathRecord.AutopsyResultsAvailable['display']}");
Autopsy Results Available Helper. This is a convenience method, to access the coded value use AutopsyResultsAvailable.
// Setter:
ExampleDeathRecord.AutopsyResultsAvailableHelper = "N";
// Getter:
Console.WriteLine($"Autopsy Results Available: {ExampleDeathRecord.AutopsyResultsAvailableHelper}");
Decedent's Day of Birth.
// Setter:
ExampleDeathRecord.BirthDay = 11;
// Getter:
Console.WriteLine($"Decedent Day of Birth: {ExampleDeathRecord.BirthDay}");
Decedent's Month of Birth.
// Setter:
ExampleDeathRecord.BirthMonth = 11;
// Getter:
Console.WriteLine($"Decedent Month of Birth: {ExampleDeathRecord.BirthMonth}");
Birth Record Identifier.
// Setter:
ExampleDeathRecord.BirthRecordId = "4242123";
// Getter:
Console.WriteLine($"Birth Record identification: {ExampleDeathRecord.BirthRecordId}");
Birth Record State.
// Setter:
ExampleDeathRecord.BirthRecordState = "MA";
// Getter:
Console.WriteLine($"Birth Record identification: {ExampleDeathRecord.BirthRecordState}");
Birth Record Year.
// Setter:
ExampleDeathRecord.BirthRecordYear = "1940";
// Getter:
Console.WriteLine($"Birth Record year: {ExampleDeathRecord.BirthRecordYear}");
Decedent's Year of Birth.
// Setter:
ExampleDeathRecord.BirthYear = 1928;
// Getter:
Console.WriteLine($"Decedent Year of Birth: {ExampleDeathRecord.BirthYear}");
Cause of Death Part I, Line a.
// Setter:
ExampleDeathRecord.COD1A = "Rupture of myocardium";
// Getter:
Console.WriteLine($"Cause: {ExampleDeathRecord.COD1A}");
Cause of Death Part I, Line b.
// Setter:
ExampleDeathRecord.COD1B = "Acute myocardial infarction";
// Getter:
Console.WriteLine($"Cause: {ExampleDeathRecord.COD1B}");
Cause of Death Part I, Line c.
// Setter:
ExampleDeathRecord.COD1C = "Coronary artery thrombosis";
// Getter:
Console.WriteLine($"Cause: {ExampleDeathRecord.COD1C}");
Cause of Death Part I, Line d.
// Setter:
ExampleDeathRecord.COD1D = "Atherosclerotic coronary artery disease";
// Getter:
Console.WriteLine($"Cause: {ExampleDeathRecord.COD1D}");
Conditions that resulted in the cause of death. Corresponds to part 1 of item 32 of the U.S. Standard Certificate of Death.
// Setter:
Tuple<string, string>[] causes =
{
Tuple.Create("Example Immediate COD", "minutes"),
Tuple.Create("Example Underlying COD 1", "2 hours"),
Tuple.Create("Example Underlying COD 2", "6 months"),
Tuple.Create("Example Underlying COD 3", "15 years")
};
ExampleDeathRecord.CausesOfDeath = causes;
// Getter:
Tuple<string, string>[] causes = ExampleDeathRecord.CausesOfDeath;
foreach (var cause in causes)
{
Console.WriteLine($"Cause: {cause.Item1}, Onset: {cause.Item2}");
}
Certification Role.
// Setter:
Dictionary<string, string> role = new Dictionary<string, string>();
role.Add("code", "76899008");
role.Add("system", CodeSystems.SCT);
role.Add("display", "Infectious diseases physician");
ExampleDeathRecord.CertificationRole = role;
// Getter:
Console.WriteLine($"Certification Role: {ExampleDeathRecord.CertificationRole['display']}");
Certification Role Helper.
// Setter:
ExampleDeathRecord.CertificationRoleHelper = ValueSets.CertificationRole.InfectiousDiseasesPhysician;
// Getter:
Console.WriteLine($"Certification Role: {ExampleDeathRecord.CertificationRoleHelper}");
Certified time.
// Setter:
ExampleDeathRecord.CertifiedTime = "2019-01-29T16:48:06-05:00";
// Getter:
Console.WriteLine($"Certified at: {ExampleDeathRecord.CertifiedTime}");
Certifier's Address.
// Setter:
Dictionary<string, string> address = new Dictionary<string, string>();
address.Add("addressLine1", "123 Test Street");
address.Add("addressLine2", "Unit 3");
address.Add("addressCity", "Boston");
address.Add("addressCounty", "Suffolk");
address.Add("addressState", "MA");
address.Add("addressZip", "12345");
address.Add("addressCountry", "US");
ExampleDeathRecord.CertifierAddress = address;
// Getter:
foreach(var pair in ExampleDeathRecord.CertifierAddress)
{
Console.WriteLine($"\tCertifierAddress key: {pair.Key}: value: {pair.Value}");
};
Family name of certifier.
// Setter:
ExampleDeathRecord.CertifierFamilyName = "Last";
// Getter:
Console.WriteLine($"Certifier's Last Name: {ExampleDeathRecord.CertifierFamilyName}");
Given name(s) of certifier.
// Setter:
string[] names = { "Doctor", "Middle" };
ExampleDeathRecord.CertifierGivenNames = names;
// Getter:
Console.WriteLine($"Certifier Given Name(s): {string.Join(", ", ExampleDeathRecord.CertifierGivenNames)}");
Certifier Identifier ** not mapped to IJE **.
// Setter:
Dictionary<string, string> identifier = new Dictionary<string, string>();
identifier.Add("system", "http://hl7.org/fhir/sid/us-npi");
identifier.Add("value", "1234567890");
ExampleDeathRecord.CertifierIdentifier = identifier;
// Getter:
Console.WriteLine($"\tCertifier Identifier: {ExampleDeathRecord.CertifierIdentifier['value']}");
Certifier's Suffix.
// Setter:
ExampleDeathRecord.CertifierSuffix = "Jr.";
// Getter:
Console.WriteLine($"Certifier Suffix: {ExampleDeathRecord.CertifierSuffix}");
Coder Status; TRX field with no IJE mapping
// Setter:
ExampleDeathRecord.CoderStatus = 3;
// Getter:
Console.WriteLine($"Coder STatus {ExampleDeathRecord.CoderStatus}");
The informant of the decedent's death.
// Setter:
Dictionary<string, string> relationship = new Dictionary<string, string>();
relationship.Add("text", "sibling");
SetterDeathRecord.ContactRelationship = relationship;
// Getter:
Console.WriteLine($"Contact's Relationship: {ExampleDeathRecord.ContactRelationship["text"]}");
Significant conditions that contributed to death but did not result in the underlying cause. Corresponds to part 2 of item 32 of the U.S. Standard Certificate of Death.
// Setter:
ExampleDeathRecord.ContributingConditions = "Example Contributing Condition";
// Getter:
Console.WriteLine($"Cause: {ExampleDeathRecord.ContributingConditions}");
Decedent's Date of Birth.
// Setter:
ExampleDeathRecord.DateOfBirth = "1940-02-19";
// Getter:
Console.WriteLine($"Decedent Date of Birth: {ExampleDeathRecord.DateOfBirth}");
Decedent's Date/Time of Death.
// Setter:
ExampleDeathRecord.DateOfDeath = "2018-02-19T16:48:06-05:00";
// Getter:
Console.WriteLine($"Decedent Date of Death: {ExampleDeathRecord.DateOfDeath}");
Decedent's Date/Time of Death Pronouncement.
// Setter:
ExampleDeathRecord.DateOfDeathPronouncement = "2018-02-20T16:48:06-05:00";
// Getter:
Console.WriteLine($"Decedent Date of Death Pronouncement: {ExampleDeathRecord.DateOfDeathPronouncement}");
Decedent's Day of Death.
// Setter:
ExampleDeathRecord.DeathDay = 16;
// Getter:
Console.WriteLine($"Decedent Day of Death: {ExampleDeathRecord.DeathDay}");
Location of Death.
// Setter:
Dictionary<string, string> address = new Dictionary<string, string>();
address.Add("addressLine1", "123456789 Test Street");
address.Add("addressLine2", "Unit 3");
address.Add("addressCity", "Boston");
address.Add("addressCounty", "Suffolk");
address.Add("addressState", "MA");
address.Add("addressZip", "12345");
address.Add("addressCountry", "US");
ExampleDeathRecord.DeathLocationAddress = address;
// Getter:
foreach(var pair in ExampleDeathRecord.DeathLocationAddress)
{
Console.WriteLine($"\DeathLocationAddress key: {pair.Key}: value: {pair.Value}");
};
Description of Death Location.
// Setter:
ExampleDeathRecord.DeathLocationDescription = "Bedford Cemetery";
// Getter:
Console.WriteLine($"Death Location Description: {ExampleDeathRecord.DeathLocationDescription}");
Death Location Jurisdiction.
// Setter:
ExampleDeathRecord.DeathLocationJurisdiction = "MA";
// Getter:
Console.WriteLine($"Death Location Jurisdiction: {ExampleDeathRecord.DeathLocationJurisdiction}");
Lattitude of Death Location.
// Setter:
ExampleDeathRecord.DeathLocationLattitude = "37.88888" ;
// Getter:
Console.WriteLine($"Death Location Lattitude: {ExampleDeathRecord.DeathLocationLattitude}");
Longitude of Death Location.
// Setter:
ExampleDeathRecord.DeathLocationLongitude = "-50.000" ;
// Getter:
Console.WriteLine($"Death Location Longitude: {ExampleDeathRecord.DeathLocationLongitude}");
Name of Death Location.
// Setter:
ExampleDeathRecord.DeathLocationName = "Example Death Location Name";
// Getter:
Console.WriteLine($"Death Location Name: {ExampleDeathRecord.DeathLocationName}");
Type of Death Location
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "16983000");
code.Add("system", CodeSystems.SCT);
code.Add("display", "Death in hospital");
ExampleDeathRecord.DeathLocationType = code;
// Getter:
Console.WriteLine($"Death Location Type: {ExampleDeathRecord.DeathLocationType['display']}");
Type of Death Location Helper
// Setter:
ExampleDeathRecord.DeathLocationTypeHelper = VRDR.ValueSets.PlaceOfDeath.Death_In_Home;
// Getter:
Console.WriteLine($"Death Location Type: {ExampleDeathRecord.DeathLocationTypeHelper}");
Decedent's Month of Death.
// Setter:
ExampleDeathRecord.DeathMonth = 6;
// Getter:
Console.WriteLine($"Decedent Month of Death: {ExampleDeathRecord.DeathMonth}");
Death Record Bundle Identifier, NCHS identifier.
// Getter:
Console.WriteLine($"NCHS identifier: {ExampleDeathRecord.DeathRecordIdentifier}");
Decedent's Time of Death.
// Setter:
ExampleDeathRecord.DeathTime = "07:15";
// Getter:
Console.WriteLine($"Decedent Time of Death: {ExampleDeathRecord.DeathTime}");
Decedent's Year of Death.
// Setter:
ExampleDeathRecord.DeathYear = 2018;
// Getter:
Console.WriteLine($"Decedent Year of Death: {ExampleDeathRecord.DeathYear}");
Decedent's Disposition Method.
// Setter:
Dictionary<string, string> dmethod = new Dictionary<string, string>();
dmethod.Add("code", "449971000124106");
dmethod.Add("system", CodeSystems.SCT);
dmethod.Add("display", "Burial");
ExampleDeathRecord.DecedentDispositionMethod = dmethod;
// Getter:
Console.WriteLine($"Decedent Disposition Method: {ExampleDeathRecord.DecedentDispositionMethod['display']}");
Decedent's Disposition Method Helper.
// Setter:
ExampleDeathRecord.DecedentDispositionMethodHelper = VRDR.ValueSets.MethodOfDisposition.Burial;
// Getter:
Console.WriteLine($"Decedent Disposition Method: {ExampleDeathRecord.DecedentDispositionMethodHelper}");
Disposition Location Address.
// Setter:
Dictionary<string, string> address = new Dictionary<string, string>();
address.Add("addressLine1", "1234 Test Street");
address.Add("addressLine2", "Unit 3");
address.Add("addressCity", "Boston");
address.Add("addressCounty", "Suffolk");
address.Add("addressState", "MA");
address.Add("addressZip", "12345");
address.Add("addressCountry", "US");
ExampleDeathRecord.DispositionLocationAddress = address;
// Getter:
foreach(var pair in ExampleDeathRecord.DispositionLocationAddress)
{
Console.WriteLine($"\DispositionLocationAddress key: {pair.Key}: value: {pair.Value}");
};
Name of Disposition Location.
// Setter:
ExampleDeathRecord.DispositionLocationName = "Bedford Cemetery";
// Getter:
Console.WriteLine($"Disposition Location Name: {ExampleDeathRecord.DispositionLocationName}");
Decedent's Education Level.
// Setter:
Dictionary<string, string> elevel = new Dictionary<string, string>();
elevel.Add("code", "BA");
elevel.Add("system", CodeSystems.EducationLevel);
elevel.Add("display", "Bachelor’s Degree");
ExampleDeathRecord.EducationLevel = elevel;
// Getter:
Console.WriteLine($"Education Level: {ExampleDeathRecord.EducationLevel['display']}");
Decedent's Education Level Edit Flag.
// Setter:
Dictionary<string, string> elevel = new Dictionary<string, string>();
elevel.Add("code", "0");
elevel.Add("system", CodeSystems.BypassEditFlag);
elevel.Add("display", "Edit Passed");
ExampleDeathRecord.EducationLevelEditFlag = elevel;
// Getter:
Console.WriteLine($"Education Level Edit Flag: {ExampleDeathRecord.EducationLevelEditFlag['display']}");
Decedent's Education Level Edit Flag Helper
// Setter:
ExampleDeathRecord.DecedentEducationLevelEditFlag = VRDR.ValueSets.EditBypass01234.EditPassed;
// Getter:
Console.WriteLine($"Decedent's Education Level Edit Flag: {ExampleDeathRecord.EducationLevelHelperEditFlag}");
Decedent's Education Level Helper
// Setter:
ExampleDeathRecord.DecedentEducationLevel = VRDR.ValueSets.EducationLevel.Bachelors_Degree;
// Getter:
Console.WriteLine($"Decedent's Education Level: {ExampleDeathRecord.EducationLevelHelper}");
Eighth Edited Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.EighthEditedRaceCode = racecode;
// Getter:
Console.WriteLine($"Eighth Edited Race Code: {ExampleDeathRecord.EighthEditedRaceCode['display']}");
Eighth Edited Race Code Helper
// Setter:
ExampleDeathRecord.EighthEditedRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Eighth Edited Race Code: {ExampleDeathRecord.EighthEditedRaceCodeHelper}");
Emerging Issue Field Length 1 Number 1
// Setter:
ExampleDeathRecord.EmergingIssue1_1 = "X";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue1_1}");
Emerging Issue Field Length 1 Number 2
// Setter:
ExampleDeathRecord.EmergingIssue1_2 = "X";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue1_2}");
Emerging Issue Field Length 1 Number 3
// Setter:
ExampleDeathRecord.EmergingIssue1_3 = "X";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue1_3}");
Emerging Issue Field Length 1 Number 4
// Setter:
ExampleDeathRecord.EmergingIssue1_4 = "X";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue1_4}");
Emerging Issue Field Length 1 Number 5
// Setter:
ExampleDeathRecord.EmergingIssue1_5 = "X";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue1_5}");
Emerging Issue Field Length 1 Number 6
// Setter:
ExampleDeathRecord.EmergingIssue1_6 = "X";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue1_6}");
Emerging Issue Field Length 20
// Setter:
ExampleDeathRecord.EmergingIssue20 = "XXXXXXXXXXXXXXXXXXXX";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue20}");
Emerging Issue Field Length 8 Number 1
// Setter:
ExampleDeathRecord.EmergingIssue8_1 = "XXXXXXXX";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue8_1}");
Emerging Issue Field Length 8 Number 2
// Setter:
ExampleDeathRecord.EmergingIssue8_2 = "XXXXXXXX";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue8_2}");
Emerging Issue Field Length 8 Number 3
// Setter:
ExampleDeathRecord.EmergingIssue8_3 = "XXXXXXXX";
// Getter:
Console.WriteLine($"Emerging Issue Value: {ExampleDeathRecord.EmergingIssue8_3}");
Entity Axis Cause Of Death
Note that record axis codes have an unusual and obscure handling of a Pregnancy flag, for more information see http://build.fhir.org/ig/HL7/vrdr/branches/master/StructureDefinition-vrdr-record-axis-cause-of-death.html#usage>
// Setter:
ExampleDeathRecord.EntityAxisCauseOfDeath = new [] {(LineNumber: 2, Position: 1, Code: "T27.3", ECode: true)};
// Getter:
Console.WriteLine($"First Entity Axis Code: {ExampleDeathRecord.EntityAxisCauseOfDeath.ElementAt(0).Code}");
Decedent's Ethnicity Hispanic Mexican.
// Setter:
Dictionary<string, string> ethnicity = new Dictionary<string, string>();
ethnicity.Add("code", "Y");
ethnicity.Add("system", CodeSystems.YesNo);
ethnicity.Add("display", "Yes");
ExampleDeathRecord.Ethnicity = ethnicity;
// Getter:
Console.WriteLine($"Ethnicity: {ExampleDeathRecord.Ethnicity1['display']}");
Decedent's Ethnicity 1 Helper
// Setter:
ExampleDeathRecord.EthnicityLevel = VRDR.ValueSets.YesNoUnknown.Yes;
// Getter:
Console.WriteLine($"Decedent's Ethnicity: {ExampleDeathRecord.Ethnicity1Helper}");
Decedent's Ethnicity Hispanic Puerto Rican.
// Setter:
Dictionary<string, string> ethnicity = new Dictionary<string, string>();
ethnicity.Add("code", "Y");
ethnicity.Add("system", CodeSystems.YesNo);
ethnicity.Add("display", "Yes");
ExampleDeathRecord.Ethnicity2 = ethnicity;
// Getter:
Console.WriteLine($"Ethnicity: {ExampleDeathRecord.Ethnicity2['display']}");
Decedent's Ethnicity 2 Helper
// Setter:
ExampleDeathRecord.Ethnicity2Helper = "Y";
// Getter:
Console.WriteLine($"Decedent's Ethnicity: {ExampleDeathRecord.Ethnicity1Helper}");
Decedent's Ethnicity Hispanic Cuban.
// Setter:
Dictionary<string, string> ethnicity = new Dictionary<string, string>();
ethnicity.Add("code", "Y");
ethnicity.Add("system", CodeSystems.YesNo);
ethnicity.Add("display", "Yes");
ExampleDeathRecord.Ethnicity3 = ethnicity;
// Getter:
Console.WriteLine($"Ethnicity: {ExampleDeathRecord.Ethnicity3['display']}");
Decedent's Ethnicity 3 Helper
// Setter:
ExampleDeathRecord.Ethnicity3Helper = "Y";
// Getter:
Console.WriteLine($"Decedent's Ethnicity: {ExampleDeathRecord.Ethnicity3Helper}");
Decedent's Ethnicity Hispanic Other.
// Setter:
Dictionary<string, string> ethnicity = new Dictionary<string, string>();
ethnicity.Add("code", "Y");
ethnicity.Add("system", CodeSystems.YesNo);
ethnicity.Add("display", "Yes");
ExampleDeathRecord.Ethnicity4 = ethnicity;
// Getter:
Console.WriteLine($"Ethnicity: {ExampleDeathRecord.Ethnicity4['display']}");
Decedent's Ethnicity 4 Helper
// Setter:
ExampleDeathRecord.Ethnicity4Helper = "Y";
// Getter:
Console.WriteLine($"Decedent's Ethnicity: {ExampleDeathRecord.Ethnicity4Helper}");
Decedent's Ethnicity Hispanic Literal.
// Setter:
ExampleDeathRecord.EthnicityLiteral = ethnicity;
// Getter:
Console.WriteLine($"Ethnicity: {ExampleDeathRecord.Ethnicity4['display']}");
Examiner Contacted.
// Setter:
Dictionary<string, string> ec = new Dictionary<string, string>();
within.Add("code", "Y");
within.Add("system", CodeSystems.PH_YesNo_HL7_2x);
within.Add("display", "Yes");
ExampleDeathRecord.ExaminerContacted = ec;
// Getter:
Console.WriteLine($"Examiner Contacted: {ExampleDeathRecord.ExaminerContacted['display']}");
Examiner Contacted Helper. This is a conenience method, to access the code use ExaminerContacted instead.
// Setter:
ExampleDeathRecord.ExaminerContactedHelper = "N"
// Getter:
Console.WriteLine($"Examiner Contacted: {ExampleDeathRecord.ExaminerContactedHelper}");
Decedent's Family Name.
// Setter:
ExampleDeathRecord.FamilyName = "Last";
// Getter:
Console.WriteLine($"Decedent's Last Name: {ExampleDeathRecord.FamilyName}");
Family name of decedent's father.
// Setter:
ExampleDeathRecord.FatherFamilyName = "Last";
// Getter:
Console.WriteLine($"Father's Last Name: {ExampleDeathRecord.FatherFamilyName}");
Given name(s) of decedent's father.
// Setter:
string[] names = { "Dad", "Middle" };
ExampleDeathRecord.FatherGivenNames = names;
// Getter:
Console.WriteLine($"Father Given Name(s): {string.Join(", ", ExampleDeathRecord.FatherGivenNames)}");
Father's Suffix.
// Setter:
ExampleDeathRecord.FatherSuffix = "Jr.";
// Getter:
Console.WriteLine($"Father Suffix: {ExampleDeathRecord.FatherSuffix}");
Fifth Edited Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.FifthEditedRaceCode = racecode;
// Getter:
Console.WriteLine($"Fifth Edited Race Code: {ExampleDeathRecord.FifthEditedRaceCode['display']}");
Fifth Edited Race Code Helper
// Setter:
ExampleDeathRecord.FifthEditedRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Fifth Edited Race Code: {ExampleDeathRecord.FifthEditedRaceCodeHelper}");
Filing Format.
// Setter:
Dictionary<string, string> format = new Dictionary<string, string>();
format.Add("code", ValueSets.FilingFormat.electronic);
format.Add("system", CodeSystems.FilingFormat);
format.Add("display", "Electronic");
ExampleDeathRecord.FilingFormat = format;
// Getter:
Console.WriteLine($"Filed method: {ExampleDeathRecord.FilingFormat}");
Filing Format Helper.
// Setter:
ExampleDeathRecord.FilingFormatHelper = ValueSets.FilingFormat.Electronic;
// Getter:
Console.WriteLine($"Filing Format: {ExampleDeathRecord.FilingFormatHelper}");
First American Indian Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.FirstAmericanIndianRaceCode = racecode;
// Getter:
Console.WriteLine($"First American Indian Race Code: {ExampleDeathRecord.FirstAmericanIndianRaceCode['display']}");
First American Indian Race Code Helper
// Setter:
ExampleDeathRecord.FirstAmericanIndianRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"First American Indian Race Code: {ExampleDeathRecord.FirstAmericanIndianRaceCodeHelper}");
First Edited Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.FirstEditedRaceCode = racecode;
// Getter:
Console.WriteLine($"First Edited Race Code: {ExampleDeathRecord.FirstEditedRaceCode['display']}");
First Edited Race Code Helper
// Setter:
ExampleDeathRecord.FirstEditedRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"First Edited Race Code: {ExampleDeathRecord.FirstEditedRaceCodeHelper}");
First Other Asian Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.FirstOtherAsianRaceCode = racecode;
// Getter:
Console.WriteLine($"First Other Asian Race Code: {ExampleDeathRecord.FirstOtherAsianRaceCode['display']}");
First Other Asian Race Code Helper
// Setter:
ExampleDeathRecord.FirstOtherAsianRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"First Other Asian Race Code: {ExampleDeathRecord.FirstOtherAsianRaceCodeHelper}");
First Other Pacific Islander Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.FirstOtherPacificIslanderRaceCode = racecode;
// Getter:
Console.WriteLine($"First Other Pacific Islander Race Code: {ExampleDeathRecord.FirstOtherPacificIslanderRaceCode['display']}");
First Other Pacific Islander Race Code Helper
// Setter:
ExampleDeathRecord.FirstOtherPacificIslanderRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"First Other Pacific Islander Race Code: {ExampleDeathRecord.FirstOtherPacificIslanderRaceCodeHelper}");
First Other Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.FirstOtherRaceCode = racecode;
// Getter:
Console.WriteLine($"First Other Race Code: {ExampleDeathRecord.FirstOtherRaceCode['display']}");
First Other Race Code Helper
// Setter:
ExampleDeathRecord.FirstOtherRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"First Other Race Code: {ExampleDeathRecord.FirstOtherRaceCodeHelper}");
Fourth Edited Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.FourthEditedRaceCode = racecode;
// Getter:
Console.WriteLine($"Fourth Edited Race Code: {ExampleDeathRecord.FourthEditedRaceCode['display']}");
Fourth Edited Race Code Helper
// Setter:
ExampleDeathRecord.FourthEditedRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Fourth Edited Race Code: {ExampleDeathRecord.FourthEditedRaceCodeHelper}");
Funeral Home Address.
// Setter:
Dictionary<string, string> address = new Dictionary<string, string>();
address.Add("addressLine1", "1234 Test Street");
address.Add("addressLine2", "Unit 3");
address.Add("addressCity", "Boston");
address.Add("addressCounty", "Suffolk");
address.Add("addressState", "MA");
address.Add("addressZip", "12345");
address.Add("addressCountry", "US");
ExampleDeathRecord.FuneralHomeAddress = address;
// Getter:
foreach(var pair in ExampleDeathRecord.FuneralHomeAddress)
{
Console.WriteLine($"\FuneralHomeAddress key: {pair.Key}: value: {pair.Value}");
};
Name of Funeral Home.
// Setter:
ExampleDeathRecord.FuneralHomeName = "Smith Funeral Home";
// Getter:
Console.WriteLine($"Funeral Home Name: {ExampleDeathRecord.FuneralHomeName}");
Decedent's Legal Name - Given. Middle name should be the last entry.
// Setter:
string[] names = { "Example", "Something", "Middle" };
ExampleDeathRecord.GivenNames = names;
// Getter:
Console.WriteLine($"Decedent Given Name(s): {string.Join(", ", ExampleDeathRecord.GivenNames)}");
Hispanic Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.HispanicCode = racecode;
// Getter:
Console.WriteLine($"Hispanic Code: {ExampleDeathRecord.HispanicCode['display']}");
Hispanic Code For Literal.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.HispanicCodeForLiteral = racecode;
// Getter:
Console.WriteLine($"Hispanic Code For Literal: {ExampleDeathRecord.HispanicCodeForLiteral['display']}");
Hispanic Code For Literal Helper
// Setter:
ExampleDeathRecord.HispanicCodeForLiteralHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Hispanic Code For Literal: {ExampleDeathRecord.HispanicCodeForLiteralHelper}");
Hispanic Code Helper
// Setter:
ExampleDeathRecord.HispanicCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Hispanic Code: {ExampleDeathRecord.HispanicCodeHelper}");
Cause of Death Part I Interval, Line a.
// Setter:
ExampleDeathRecord.INTERVAL1A = "Minutes";
// Getter:
Console.WriteLine($"Interval: {ExampleDeathRecord.INTERVAL1A}");
Cause of Death Part I Interval, Line b.
// Setter:
ExampleDeathRecord.INTERVAL1B = "6 days";
// Getter:
Console.WriteLine($"Interval: {ExampleDeathRecord.INTERVAL1B}");
Cause of Death Part I Interval, Line c.
// Setter:
ExampleDeathRecord.INTERVAL1C = "5 years";
// Getter:
Console.WriteLine($"Interval: {ExampleDeathRecord.INTERVAL1C}");
Cause of Death Part I Interval, Line d.
// Setter:
ExampleDeathRecord.INTERVAL1D = "7 years";
// Getter:
Console.WriteLine($"Interval: {ExampleDeathRecord.INTERVAL1D}");
Death Record Identifier, Death Certificate Number.
// Setter:
ExampleDeathRecord.Identifier = "42";
// Getter:
Console.WriteLine($"Death Certificate Number: {ExampleDeathRecord.Identifier}");
Injury At Work?
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "N");
code.Add("system", CodeSystems.YesNo);
code.Add("display", "No");
ExampleDeathRecord.InjuryAtWork = code;
// Getter:
Console.WriteLine($"Injury At Work?: {ExampleDeathRecord.InjuryAtWork['display']}");
Injury At Work Helper This is a convenience method, to access the code use the InjuryAtWork property instead.
// Setter:
ExampleDeathRecord.InjuryAtWorkHelper = "Y""; // Getter: Console.WriteLine($"Injury At Work? : {ExampleDeathRecord.InjuryAtWorkHelper}");
Date/Time of Injury.
// Setter:
ExampleDeathRecord.InjuryDate = "2018-02-19T16:48:06-05:00";
// Getter:
Console.WriteLine($"Date of Injury: {ExampleDeathRecord.InjuryDate}");
Decedent's Day of Injury.
// Setter:
ExampleDeathRecord.InjuryDay = 22;
// Getter:
Console.WriteLine($"Decedent Day of Injury: {ExampleDeathRecord.InjuryDay}");
Description of Injury.
// Setter:
ExampleDeathRecord.InjuryDescription = "drug toxicity";
// Getter:
Console.WriteLine($"Injury Description: {ExampleDeathRecord.InjuryDescription}");
Location of Injury.
// Setter:
Dictionary<string, string> address = new Dictionary<string, string>();
address.Add("addressLine1", "123456 Test Street");
address.Add("addressLine2", "Unit 3");
address.Add("addressCity", "Boston");
address.Add("addressCounty", "Suffolk");
address.Add("addressState", "MA");
address.Add("addressZip", "12345");
address.Add("addressCountry", "US");
ExampleDeathRecord.InjuryLocationAddress = address;
// Getter:
foreach(var pair in ExampleDeathRecord.InjuryLocationAddress)
{
Console.WriteLine($"\InjuryLocationAddress key: {pair.Key}: value: {pair.Value}");
};
Lattitude of Injury Location.
// Setter:
ExampleDeathRecord.InjuryLocationLattitude = "37.88888" ;
// Getter:
Console.WriteLine($"Injury Location Lattitude: {ExampleDeathRecord.InjuryLocationLattitude}");
Longitude of Injury Location.
// Setter:
ExampleDeathRecord.InjuryLocationLongitude = "-50.000" ;
// Getter:
Console.WriteLine($"Injury Location Longitude: {ExampleDeathRecord.InjuryLocationLongitude}");
Name of Injury Location.
// Setter:
ExampleDeathRecord.InjuryLocationName = "Bedford Cemetery";
// Getter:
Console.WriteLine($"Injury Location Name: {ExampleDeathRecord.InjuryLocationName}");
Decedent's Month of Injury.
// Setter:
ExampleDeathRecord.InjuryMonth = 7;
// Getter:
Console.WriteLine($"Decedent Month of Injury: {ExampleDeathRecord.InjuryMonth}");
Place of Injury Description.
// Setter:
ExampleDeathRecord.InjuryPlaceDescription = "At home, in the kitchen";
// Getter:
Console.WriteLine($"Place of Injury Description: {ExampleDeathRecord.InjuryPlaceDescription}");
Decedent's Time of Injury.
// Setter:
ExampleDeathRecord.InjuryTime = "07:15";
// Getter:
Console.WriteLine($"Decedent Time of Injury: {ExampleDeathRecord.InjuryTime}");
Decedent's Year of Injury.
// Setter:
ExampleDeathRecord.InjuryYear = 2018;
// Getter:
Console.WriteLine($"Decedent Year of Injury: {ExampleDeathRecord.InjuryYear}");
Intentional Reject
// Setter:
Dictionary<string, string> reject = new Dictionary<string, string>();
format.Add("code", ValueSets.FilingFormat.electronic);
format.Add("system", CodeSystems.IntentionalReject);
format.Add("display", "Reject1");
ExampleDeathRecord.IntentionalReject = "reject";
// Getter:
Console.WriteLine($"Intentional Reject {ExampleDeathRecord.IntentionalReject}");
Intentional Reject Helper.
// Setter:
ExampleDeathRecord.IntentionalRejectHelper = ValueSets.IntentionalReject.Not_Rejected;
// Getter:
Console.WriteLine($"Intentional Reject Code: {ExampleDeathRecord.IntentionalRejectHelper}");
Decedent's Maiden Name.
// Setter:
ExampleDeathRecord.MaidenName = "Last";
// Getter:
Console.WriteLine($"Decedent's Maiden Name: {ExampleDeathRecord.MaidenName}");
Decedent's Manual Underlying Cause of Death
// Setter:
ExampleDeathRecord.ManUnderlyingCOD = "I13.1";
// Getter:
Console.WriteLine($"Decedent's Manual Underlying Cause of Death: {ExampleDeathRecord.ManUnderlyingCOD}");
Manner of Death Type.
// Setter:
Dictionary<string, string> manner = new Dictionary<string, string>();
manner.Add("code", "7878000");
manner.Add("system", "");
manner.Add("display", "Accidental death");
ExampleDeathRecord.MannerOfDeathType = manner;
// Getter:
Console.WriteLine($"Manner Of Death Type: {ExampleDeathRecord.MannerOfDeathType['display']}");
Manner of Death Type Helper
// Setter:
ExampleDeathRecord.MannerOfDeathTypeHelper = MannerOfDeath.Natural;
// Getter:
Console.WriteLine($"Manner Of Death Type: {ExampleDeathRecord.MannerOfDeathTypeHelper}");
The marital status of the decedent at the time of death.
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "S");
code.Add("system", "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus");
code.Add("display", "Never Married");
ExampleDeathRecord.MaritalStatus = code;
// Getter:
Console.WriteLine($"Marital status: {ExampleDeathRecord.MaritalStatus["display"]}");
The marital status edit flag.
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "S");
code.Add("system", "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus");
code.Add("display", "Never Married");
ExampleDeathRecord.MaritalStatus = code;
// Getter:
Console.WriteLine($"Marital status: {ExampleDeathRecord.MaritalStatus["display"]}");
The marital status edit flag helper method.
// Setter:
ExampleDeathRecord.MaritalStatusEditFlagHelper = ValueSets.EditBypass0124.0;
// Getter:
Console.WriteLine($"Marital status: {ExampleDeathRecord.MaritalStatusEditFlagHelper}");
The marital status of the decedent at the time of death helper method.
// Setter:
ExampleDeathRecord.MaritalStatusHelper = ValueSets.MaritalStatus.NeverMarried;
// Getter:
Console.WriteLine($"Marital status: {ExampleDeathRecord.MaritalStatusHelper}");
The literal text string of the marital status of the decedent at the time of death.
// Setter:
ExampleDeathRecord.MaritalStatusLiteral = "Single";
// Getter:
Console.WriteLine($"Marital status: {ExampleDeathRecord.MaritalStatusLiteral}");
Decedent's Military Service.
// Setter:
Dictionary<string, string> mserv = new Dictionary<string, string>();
mserv.Add("code", "Y");
mserv.Add("system", CodeSystems.PH_YesNo_HL7_2x);
mserv.Add("display", "Yes");
ExampleDeathRecord.MilitaryService = uind;
// Getter:
Console.WriteLine($"Military Service: {ExampleDeathRecord.MilitaryService['display']}");
Decedent's Military Service. This is a helper method, to obtain the code use the MilitaryService property instead.
// Setter:
ExampleDeathRecord.MilitaryServiceHelper = "Y";
// Getter:
Console.WriteLine($"Military Service: {ExampleDeathRecord.MilitaryServiceHelper}");
Given name(s) of decedent's mother.
// Setter:
string[] names = { "Mom", "Middle" };
ExampleDeathRecord.MotherGivenNames = names;
// Getter:
Console.WriteLine($"Mother Given Name(s): {string.Join(", ", ExampleDeathRecord.MotherGivenNames)}");
Maiden name of decedent's mother.
// Setter:
ExampleDeathRecord.MotherMaidenName = "Last";
// Getter:
Console.WriteLine($"Mother's Maiden Name: {ExampleDeathRecord.MotherMaidenName}");
Mother's Suffix.
// Setter:
ExampleDeathRecord.MotherSuffix = "Jr.";
// Getter:
Console.WriteLine($"Mother Suffix: {ExampleDeathRecord.MotherSuffix}");
Decedent's Place Of Birth.
// Setter:
Dictionary<string, string> address = new Dictionary<string, string>();
address.Add("addressLine1", "123 Test Street");
address.Add("addressLine2", "Unit 3");
address.Add("addressCity", "Boston");
address.Add("addressCounty", "Suffolk");
address.Add("addressState", "MA");
address.Add("addressZip", "12345");
address.Add("addressCountry", "US");
SetterDeathRecord.PlaceOfBirth = address;
// Getter:
Console.WriteLine($"State where decedent was born: {ExampleDeathRecord.PlaceOfBirth["placeOfBirthState"]}");
Place of Injury.
// Setter:
Dictionary<string, string> elevel = new Dictionary<string, string>();
elevel.Add("code", "LA14084-0");
elevel.Add("system", CodeSystems.LOINC);
elevel.Add("display", "Home");
ExampleDeathRecord.PlaceOfInjury = elevel;
// Getter:
Console.WriteLine($"PlaceOfInjury: {ExampleDeathRecord.PlaceOfInjury['display']}");
Decedent's Place of Injury Helper
// Setter:
ExampleDeathRecord.PlaceOfInjuryHelper = ValueSets.PlaceOfInjury.Home;
// Getter:
Console.WriteLine($"Place of Injury: {ExampleDeathRecord.PlaceOfInjuryHelper}");
Pregnancy Status At Death.
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "1");
code.Add("system", VRDR.CodeSystems.PregnancyStatus);
code.Add("display", "Not pregnant within past year");
ExampleDeathRecord.PregnancyObs = code;
// Getter:
Console.WriteLine($"Pregnancy Status: {ExampleDeathRecord.PregnancyObs['display']}");
Decedent's Pregnancy Status at Death Edit Flag.
// Setter:
Dictionary<string, string> elevel = new Dictionary<string, string>();
elevel.Add("code", "0");
elevel.Add("system", CodeSystems.BypassEditFlag);
elevel.Add("display", "Edit Passed");
ExampleDeathRecord.PregnancyStatusEditFlag = elevel;
// Getter:
Console.WriteLine($"Pregnancy Status Edit Flag: {ExampleDeathRecord.PregnancyStatusEditFlag['display']}");
Decedent's Pregnancy Status Edit Flag Helper
// Setter:
ExampleDeathRecord.DecedentPregnancyStatusEditFlag = VRDR.ValueSets.EditBypass012.EditPassed;
// Getter:
Console.WriteLine($"Decedent's Pregnancy Status Edit Flag: {ExampleDeathRecord.PregnancyStatusHelperEditFlag}");
Pregnancy Status At Death Helper.
// Setter:
ExampleDeathRecord.PregnancyStatusHelper = ValueSets.PregnancyStatus.Not_Pregnant_Within_Past_Year;
// Getter:
Console.WriteLine($"Pregnancy Status: {ExampleDeathRecord.PregnancyStatusHelper}");
Decedent's Race values.
// Setter:
ExampleDeathRecord.Race = {NvssRace.BlackOrAfricanAmerican, "Y"};
// Getter:
string boaa = ExampleDeathRecord.RaceBlackOfAfricanAmerican;
Decedent's Race MissingValueReason.
// Setter:
Dictionary<string, string> mvr = new Dictionary<string, string>();
mvr.Add("code", "R");
mvr.Add("system", CodeSystems.MissingValueReason);
mvr.Add("display", "Refused");
ExampleDeathRecord.RaceMissingValueReason = mvr;
// Getter:
Console.WriteLine($"Missing Race: {ExampleDeathRecord.RaceMissingValueReason['display']}");
Decedent's RaceMissingValueReason
// Setter:
ExampleDeathRecord.RaceMissingValueReasonHelper = VRDR.ValueSets.RaceMissingValueReason.R;
// Getter:
Console.WriteLine($"Decedent's RaceMissingValueReason: {ExampleDeathRecord.RaceMissingValueReasonHelper}");
Race Recode 40.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "09");
racecode.Add("system", CodeSystems.RaceRecode40CS);
racecode.Add("display", "Vietnamiese");
ExampleDeathRecord.RaceRecode40 = racecode;
// Getter:
Console.WriteLine($"RaceRecode40: {ExampleDeathRecord.RaceRecode40['display']}");
Race Recode 40 Helper
// Setter:
ExampleDeathRecord.RaceRecode40Helper = VRDR.ValueSets.RaceRecode40.AIAN ;
// Getter:
Console.WriteLine($"Race Recode 40: {ExampleDeathRecord.RaceRecode40Helper}");
Receipt Date.
// Setter:
ExampleDeathRecord.ReceiptDate = "2018-02-19";
// Getter:
Console.WriteLine($"Receipt Date: {ExampleDeathRecord.ReceiptDate}");
The day NCHS received the death record.
// Setter:
ExampleDeathRecord.ReceiptDay = 13
// Getter:
Console.WriteLine($"Receipt Day: {ExampleDeathRecord.ReceiptDay}");
The month NCHS received the death record.
// Setter:
ExampleDeathRecord.ReceiptMonth = 11
// Getter:
Console.WriteLine($"Receipt Month: {ExampleDeathRecord.ReceiptMonth}");
The year NCHS received the death record.
// Setter:
ExampleDeathRecord.ReceiptYear = 2022
// Getter:
Console.WriteLine($"Receipt Year: {ExampleDeathRecord.ReceiptYear}");
Record Axis Cause Of Death
// Setter:
Tuple<string, string, string>[] eac = new Tuple<string, string, string>{Tuple.Create("position", "code", "pregnancy")}
ExampleDeathRecord.RecordAxisCauseOfDeath = new [] { (Position: 1, Code: "T27.3", Pregnancy: true) };
// Getter:
Console.WriteLine($"First Record Axis Code: {ExampleDeathRecord.RecordAxisCauseOfDeath.ElememtAt(0).Code}");
Registered time.
// Setter:
ExampleDeathRecord.RegisteredTime = "2019-01-29T16:48:06-05:00";
// Getter:
Console.WriteLine($"Registered at: {ExampleDeathRecord.RegisteredTime}");
Replace Status.
// Setter:
Dictionary<string, string> replace = new Dictionary<string, string>();
replace.Add("code", "original");
replace.Add("system", CodeSystems.ReplaceStatus);
replace.Add("display", "original");
ExampleDeathRecord.ReplaceStatus = replace;
// Getter:
Console.WriteLine($"Filed method: {ExampleDeathRecord.ReplaceStatus}");
Replace Status Helper.
// Setter:
ExampleDeathRecord.ReplaceStatusHelper = ValueSets.ReplaceStatus.Original_Record;
// Getter:
Console.WriteLine($"ReplaceStatus: {ExampleDeathRecord.ReplaceStatusHelper}");
Decedent's Residence.
// Setter:
Dictionary<string, string> address = new Dictionary<string, string>();
address.Add("addressLine1", "123 Test Street");
address.Add("addressLine2", "Unit 3");
address.Add("addressCity", "Boston");
address.Add("addressCityC", "1234");
address.Add("addressCounty", "Suffolk");
address.Add("addressState", "MA");
address.Add("addressZip", "12345");
address.Add("addressCountry", "US");
SetterDeathRecord.Residence = address;
(addressStnum, 6)
// Getter:
Console.WriteLine($"State of residence: {ExampleDeathRecord.Residence["addressState"]}");
Decedent's residence is/is not within city limits.
// Setter:
Dictionary<string, string> within = new Dictionary<string, string>();
within.Add("code", "Y");
within.Add("system", CodeSystems.PH_YesNo_HL7_2x);
within.Add("display", "Yes");
SetterDeathRecord.ResidenceWithinCityLimits = within;
// Getter:
Console.WriteLine($"Residence within city limits: {ExampleDeathRecord.ResidenceWithinCityLimits['display']}");
Residence Within City Limits Helper
// Setter:
ExampleDeathRecord.ResidenceWithinCityLimitsHelper = VRDR.ValueSets.YesNoUnknown.Y;
// Getter:
Console.WriteLine($"Decedent's Residence within city limits: {ExampleDeathRecord.ResidenceWithinCityLimitsHelper}");
Decedent's Social Security Number.
// Setter:
ExampleDeathRecord.SSN = "12345678";
// Getter:
Console.WriteLine($"Decedent Suffix: {ExampleDeathRecord.SSN}");
Second American Indian Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.SecondAmericanIndianRaceCode = racecode;
// Getter:
Console.WriteLine($"Second American Indian Race Code: {ExampleDeathRecord.SecondAmericanIndianRaceCode['display']}");
Second American Indian Race Code Helper
// Setter:
ExampleDeathRecord.SecondAmericanIndianRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Second American Indian Race Code: {ExampleDeathRecord.SecondAmericanIndianRaceCodeHelper}");
Second Edited Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.SecondEditedRaceCode = racecode;
// Getter:
Console.WriteLine($"Second Edited Race Code: {ExampleDeathRecord.SecondEditedRaceCode['display']}");
Second Edited Race Code Helper
// Setter:
ExampleDeathRecord.SecondEditedRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Second Edited Race Code: {ExampleDeathRecord.SecondEditedRaceCodeHelper}");
Second Other Asian Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.SecondOtherAsianRaceCode = racecode;
// Getter:
Console.WriteLine($"Second Other Asian Race Code: {ExampleDeathRecord.SecondOtherAsianRaceCode['display']}");
Second Other Asian Race Code Helper
// Setter:
ExampleDeathRecord.SecondOtherAsianRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Second Other Asian Race Code: {ExampleDeathRecord.SecondOtherAsianRaceCodeHelper}");
Second Other Pacific Islander Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.SecondOtherPacificIslanderRaceCode = racecode;
// Getter:
Console.WriteLine($"Second Other Pacific Islander Race Code: {ExampleDeathRecord.SecondOtherPacificIslanderRaceCode['display']}");
Second Other Pacific Islander Race Code Helper
// Setter:
ExampleDeathRecord.SecondOtherPacificIslanderRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Second Other Pacific Islander Race Code: {ExampleDeathRecord.SecondOtherPacificIslanderRaceCodeHelper}");
Second Other Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.SecondOtherRaceCode = racecode;
// Getter:
Console.WriteLine($"Second Other Race Code: {ExampleDeathRecord.SecondOtherRaceCode['display']}");
Second Other Race Code Helper
// Setter:
ExampleDeathRecord.SecondOtherRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Second Other Race Code: {ExampleDeathRecord.SecondOtherRaceCodeHelper}");
Seventh Edited Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.SeventhEditedRaceCode = racecode;
// Getter:
Console.WriteLine($"Seventh Edited Race Code: {ExampleDeathRecord.SeventhEditedRaceCode['display']}");
Seventh Edited Race Code Helper
// Setter:
ExampleDeathRecord.SeventhEditedRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Seventh Edited Race Code: {ExampleDeathRecord.SeventhEditedRaceCodeHelper}");
Decedent's Sex at Death.
// Setter:
Dictionary<string, string> sex = new Dictionary<string, string>();
sex.Add("code", "female");
sex.Add("system", "http://hl7.org/fhir/administrative-gender");
sex.Add("display", "female");
ExampleDeathRecord.SexAtDeath = sex;
// Getter:
Console.WriteLine($"Sex at Time of Death: {ExampleDeathRecord.SexAtDeath}");
Decedent's Sex At Death Helper
// Setter:
ExampleDeathRecord.SexAtDeathHelper = VRDR.ValueSets.AdministrativeGender.Male;
// Getter:
Console.WriteLine($"Decedent's SexAtDeathHelper: {ExampleDeathRecord.SexAtDeathHelper}");
Shipment Number; TRX field with no IJE mapping
// Setter:
ExampleDeathRecord.ShipmentNumber = "abc123""; // Getter: Console.WriteLine($"Shipment Number{ExampleDeathRecord.ShipmentNumber}");
Sixth Edited Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.SixthEditedRaceCode = racecode;
// Getter:
Console.WriteLine($"Sixth Edited Race Code: {ExampleDeathRecord.SixthEditedRaceCode['display']}");
Sixth Edited Race Code Helper
// Setter:
ExampleDeathRecord.SixthEditedRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Sixth Edited Race Code: {ExampleDeathRecord.SixthEditedRaceCodeHelper}");
Spouse Alive.
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "Y");
code.Add("system", "http://terminology.hl7.org/CodeSystem/v2-0136");
code.Add("display", "Yes");
ExampleDeathRecord.SpouseAlive = code;
// Getter:
Console.WriteLine($"Marital status: {ExampleDeathRecord.SpouseAlive["display"]}");
Decedent's SpouseAlive
// Setter:
ExampleDeathRecord.SpouseAliveHelper = VRDR.ValueSets.YesNoUnknownNotApplicable.Y;
// Getter:
Console.WriteLine($"Decedent's Spouse Alive: {ExampleDeathRecord.SpouseAliveHelper}");
Family name of decedent's spouse.
// Setter:
ExampleDeathRecord.SpouseFamilyName = "Last";
// Getter:
Console.WriteLine($"Spouse's Last Name: {ExampleDeathRecord.SpouseFamilyName}");
Given name(s) of decedent's spouse.
// Setter:
string[] names = { "Spouse", "Middle" };
ExampleDeathRecord.SpouseGivenNames = names;
// Getter:
Console.WriteLine($"Spouse Given Name(s): {string.Join(", ", ExampleDeathRecord.SpouseGivenNames)}");
Spouse's Maiden Name.
// Setter:
ExampleDeathRecord.SpouseSuffix = "Jr.";
// Getter:
Console.WriteLine($"Spouse Suffix: {ExampleDeathRecord.SpouseSuffix}");
Spouse's Suffix.
// Setter:
ExampleDeathRecord.SpouseSuffix = "Jr.";
// Getter:
Console.WriteLine($"Spouse Suffix: {ExampleDeathRecord.SpouseSuffix}");
State Local Identifier1.
// Setter:
ExampleDeathRecord.StateLocalIdentifier1 = "MA";
// Getter:
Console.WriteLine($"State local identifier: {ExampleDeathRecord.StateLocalIdentifier1}");
State Local Identifier2.
// Setter:
ExampleDeathRecord.StateLocalIdentifier2 = "YC";
// Getter:
Console.WriteLine($"State local identifier: {ExampleDeathRecord.StateLocalIdentifier1}");
State Specific Data.
// Setter:
ExampleDeathRecord.StateSpecific = "Data";
// Getter:
Console.WriteLine($"State Specific Data: {ExampleDeathRecord.StateSpecific}");
Decedent's Suffix.
// Setter:
ExampleDeathRecord.Suffix = "Jr.";
// Getter:
Console.WriteLine($"Decedent Suffix: {ExampleDeathRecord.Suffix}");
Decedent's Surgery Date.
// Setter:
ExampleDeathRecord.SurgeryDate = "2018-02-19";
// Getter:
Console.WriteLine($"Decedent Surgery Date: {ExampleDeathRecord.SurgeryDate}");
Decedent's Day of Surgery.
// Setter:
ExampleDeathRecord.SurgeryDay = 16;
// Getter:
Console.WriteLine($"Decedent Day of Surgery: {ExampleDeathRecord.SurgeryDay}");
Decedent's Month of Surgery.
// Setter:
ExampleDeathRecord.SurgeryMonth = 6;
// Getter:
Console.WriteLine($"Decedent Month of Surgery: {ExampleDeathRecord.SurgeryMonth}");
Decedent's Year of Surgery.
// Setter:
ExampleDeathRecord.SurgeryYear = 2018;
// Getter:
Console.WriteLine($"Decedent Year of Surgery: {ExampleDeathRecord.SurgeryYear}");
Third Edited Race Code.
// Setter:
Dictionary<string, string> racecode = new Dictionary<string, string>();
racecode.Add("code", "300");
racecode.Add("system", CodeSystems.RaceCode);
racecode.Add("display", "African");
ExampleDeathRecord.ThirdEditedRaceCode = racecode;
// Getter:
Console.WriteLine($"Third Edited Race Code: {ExampleDeathRecord.ThirdEditedRaceCode['display']}");
Third Edited Race Code Helper
// Setter:
ExampleDeathRecord.ThirdEditedRaceCodeHelper = VRDR.ValueSets.RaceCode.African ;
// Getter:
Console.WriteLine($"Third Edited Race Code: {ExampleDeathRecord.ThirdEditedRaceCodeHelper}");
Tobacco Use Contributed To Death.
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "373066001");
code.Add("system", CodeSystems.SCT);
code.Add("display", "Yes");
ExampleDeathRecord.TobaccoUse = code;
// Getter:
Console.WriteLine($"Tobacco Use: {ExampleDeathRecord.TobaccoUse['display']}");
Tobacco Use Helper. This is a convenience method, to access the code use TobaccoUse instead.
// Setter:
ExampleDeathRecord.TobaccoUseHelper = "N";
// Getter:
Console.WriteLine($"Tobacco Use: {ExampleDeathRecord.TobaccoUseHelper}");
Transax Conversion Flag
// Setter:
Dictionary<string, string> tcf = new Dictionary<string, string>();
tcf.Add("code", "3");
tcf.Add("system", CodeSystems.TransaxConversion);
tcf.Add("display", "Conversion using non-ambivalent table entries");
ExampleDeathRecord.TransaxConversion = tcf;
// Getter:
Console.WriteLine($"Transax Conversion Code: {ExampleDeathRecord.TransaxConversion}");
TransaxConversion Helper.
// Setter:
ExampleDeathRecord.TransaxConversionHelper = ValueSets.TransaxConversion.Conversion_Using_Non_Ambivalent_Table_Entries;
// Getter:
Console.WriteLine($"Filing Format: {ExampleDeathRecord.TransaxConversionHelper}");
Transportation Role in death.
// Setter:
Dictionary<string, string> code = new Dictionary<string, string>();
code.Add("code", "257500003");
code.Add("system", CodeSystems.SCT);
code.Add("display", "Passenger");
ExampleDeathRecord.TransportationRole = code;
// Getter:
Console.WriteLine($"Transportation Role: {ExampleDeathRecord.TransportationRole['display']}");
Transportation Role in death helper.
// Setter:
ExampleDeathRecord.TransportationRoleHelper = VRDR.TransportationRoles.Passenger;
// Getter:
Console.WriteLine($"Transportation Role: {ExampleDeathRecord.TransportationRoleHelper");
Decedent's Usual Industry (Text).
// Setter:
ExampleDeathRecord.UsualIndustry = "Accounting";
// Getter:
Console.WriteLine($"Usual Industry: {ExampleDeathRecord.UsualIndustry}");
Decedent's Usual Occupation.
// Setter:
ExampleDeathRecord.UsualOccupation = "Biomedical engineering";
// Getter:
Console.WriteLine($"Usual Occupation: {ExampleDeathRecord.UsualOccupation}");
Helper method to return a the bundle.
a FHIR Bundle
This method has no parameters.
Helper method to return the subset of this record that makes up a CauseOfDeathCodedContent bundle.
a new FHIR Bundle
This method has no parameters.
Helper method to return the bundle that makes up a CauseOfDeathCodedContent bundle. This is actually the complete DeathRecord Bundle accessible via a method name that aligns with the other specific GetBundle methods (GetCauseOfDeathCodedContentBundle and GetDemographicCodedContentBundle).
a FHIR Bundle
This method has no parameters.
Helper method to return the subset of this record that makes up a DemographicCodedContent bundle.
a new FHIR Bundle
This method has no parameters.
Returns a JSON encoded structure that maps to the various property annotations found in the DeathRecord class. This is useful for scenarios where you may want to display the data in user interfaces.
a string representation of this Death Record in a descriptive format.
This method has no parameters.
Helper method to return a JSON string representation of this Death Record.
a string representation of this Death Record in JSON format
This method has no parameters.
Helper method to return a JSON string representation of this Death Record.
a string representation of this Death Record in JSON format
This method has no parameters.
Helper method to return a XML string representation of this Death Record.
a string representation of this Death Record in XML format
This method has no parameters.
Helper method to return a XML string representation of this Death Record.
a string representation of this Death Record in XML format
This method has no parameters.
A "wrapper" class to convert between a FHIR based DeathRecord and a record in IJE Mortality format. Each property of this class corresponds exactly with a field in the IJE Mortality format. The getters convert from the embedded FHIR based DeathRecord to the IJE format for a specific field, and the setters convert from IJE format for a specific field and set that value on the embedded FHIR based DeathRecord.
Constructor that takes a DeathRecord.
This constructor has no parameters.
Constructor that takes an IJE string and builds a corresponding internal DeathRecord.
This constructor has no parameters.
Constructor that creates a completely empty record for constructing records using the IJE properties.
This constructor has no parameters.
IJE data lookup helper. Thread-safe singleton!
Utility location to provide support for setting MRE-only fields that have no mapping in IJE when creating coding response records
FHIR based death record.
Utility location to provide support for setting TRX-only fields that have no mapping in IJE when creating coding response records
Validation errors encountered while converting a record
ACME Underlying Cause
Long String address for place of death
Long string address for decedent's place of residence same as above but allows states to choose the way they capture information.
Decedent's Age–Units
Decedent's Age–Type
Decedent's Age–Edit Flag
Decedent's Legal Name–Alias
Decedent ever served in Armed Forces?
Was Autopsy performed
Were Autopsy Findings Available to Complete the Cause of Death?
Auxiliary State file number
Auxiliary State file number
Infant Death/Birth Linking - birth certificate number
For possible future change in transax
Blank for future expansion
Blank for Jurisdictional Use Only
Birthplace–Country
State, U.S. Territory or Canadian Province of Birth - code
Infant Death/Birth Linking - Birth state
Long string address for Certifier same as above but allows states to choose the way they capture information.
Certifier - City or Town name
Certifier Date Signed
Certifier's First Name
Title of Certifier
Certifier's Last Name
Certifier's Middle Name
Certifier - Post Directional
Certifier - Pre Directional
State, U.S. Territory or Canadian Province of Certifier - literal
State, U.S. Territory or Canadian Province of Certifier - code
Certifier - Street number
Certifier - Street designator
Certifier - Street name
Certifier's Suffix Name
Certifier - Unit or apt number
Certifier - Zip
Decedent's Residence–City
Place of death. City FIPS code
Town/city of Injury code
Place of death. City or Town name
Town/city of Injury - literal
Decedent's Residence - City or Town name
County of Death Occurrence
Cause of Death Part I Line a
Cause of Death Part I Line b
Cause of Death Part I Line c
Cause of Death Part I Line d
Decedent's Residence–Country
Decedent's Residence - COUNTRY name
Decedent's Residence–County
County of Injury code
Place of death. County of Death
County of Injury - literal
Decedent's Residence - County
Decedent's Birth Place City - Literal
Decedent's Birth Place City - Code
Father's First Name
Father's Middle Name
Decedent's Education
Decedent's Education–Edit Flag
Decedent of Hispanic Origin?–Mexican
Decedent of Hispanic Origin?–Puerto Rican
Decedent of Hispanic Origin?–Cuban
Decedent of Hispanic Origin?–Other
Decedent of Hispanic Origin?–Other, Literal
Hispanic Code for Literal
Hispanic
Death Institution name
Method of Disposition
Disposition City - Literal
Disposition City - Code
Disposition State or Territory - Literal
State, U.S. Territory or Canadian Province of Disposition - code
Decedent's Maiden Name
Middle Name of Decedent
Mother's First Name
Mother's Maiden Surname
Mother's Middle Name
Date of Birth–Day
Date of Birth–Month
Date of Birth–Year
Date of Death–Day
Date of Death–Month
Date of Death–Year
Date of injury–day
Date of injury–month
Date of injury–year
Date of Registration–Day
Date of Registration–Month
Date of Registration–Year
Place of Death
State, U.S. Territory or Canadian Province of Death - code
Country of Death - Literal
Country of Death - Code
Entity-axis codes
Father's Suffix
Date Filed
Certificate Number
FILLER 2 for expansion
Father's Surname
Funeral Facility - City or Town name
Long string address for Funeral Facility same as above but allows states to choose the way they capture information.
Funeral Facility Name
Funeral Facility - Pre Directional
Funeral Facility - Street number
Funeral Facility - Street designator
Funeral Facility - Street name
Funeral Facility - Post Directional
State, U.S. Territory or Canadian Province of Funeral Facility - literal
State, U.S. Territory or Canadian Province of Funeral Facility - code
Funeral Facility - Unit or apt number
Funeral Facility - ZIP
Decedent's Legal Name–Given
Hispanic - old NCHS single ethnicity codes
Hispanic Origin - Specify
Describe How Injury Occurred
Infant Death/Birth Linking - year of birth
Activity at time of death (computer generated)
Industry – Literal (OPTIONAL)
Industry – Code
Industry – 4 digit Code (OPTIONAL)
Informant's Relationship
Place of Injury (computer generated)
Cause of Death Part I Interval, Line a
Cause of Death Part I Interval, Line b
Cause of Death Part I Interval, Line c
Cause of Death Part I Interval, Line d
Intentional Reject
Place of Death. Latitude
Place of injury. Latitude
Decedent's Residence–Inside City Limits
Decedent's Legal Name–Last
Place of death. Longitude
Place of injury. Longitude
Manner of Death
Manual Underlying Cause
Marital Status
Marital Status–Edit Flag
Marital Descriptor
Source flag: paper/electronic
Decedent's Legal Name–Middle
Mother's Suffix
Bridged Race
Occupation – Literal (OPTIONAL)
Occupation – Code
Occupation – 4 digit Code (OPTIONAL)
Old NCHS education code if collected - receiving state will recode as they prefer
Cause of Death Part II
Blank for One-Byte Field 1
Blank for One-Byte Field 2
Blank for One-Byte Field 3
Blank for One-Byte Field 4
Blank for One-Byte Field 5
Blank for One-Byte Field 6
Blank for Twenty-Byte Field
Blank for Eight-Byte Field 1
Blank for Eight-Byte Field 2
Blank for Eight-Byte Field 3
Place of Injury- literal
Place of death. Post Directional
Post Directional
Person Pronouncing Date Signed
Person Pronouncing Time Pronounced
Place of death. Pre Directional
Pre directional
Pregnancy
If Female–Edit Flag: From EDR only
Record-axis codes
Decedent's Race–White
Decedent's Race–Other Asian
Decedent's Race–Native Hawaiian
Decedent's Race–Guamanian or Chamorro
Decedent's Race–Samoan
Decedent's Race–Other Pacific Islander
Decedent's Race–Other
Decedent's Race–First American Indian or Alaska Native Literal
First American Indian Code
Decedent's Race–Second American Indian or Alaska Native Literal
Second American Indian Code
Decedent's Race–First Other Asian Literal
First Other Asian Code
Decedent's Race–Second Other Asian Literal
Second Other Asian Code
First Edited Code
Decedent's Race–Black or African American
Decedent's Race–First Other Pacific Islander Literal
First Other Pacific Islander Code
Decedent's Race–Second Other Pacific Islander Literalr
Second Other Pacific Islander Code
Decedent's Race–First Other Literal
First Other Race Code
Decedent's Race–Second Other Literal
Second Other Race Code
Second Edited Code
Decedent's Race–American Indian or Alaska Native
Third Edited Code
Decedent's Race–Asian Indian
Fourth Edited Code
Decedent's Race–Chinese
Fifth Edited Code
Decedent's Race–Filipino
Sixth Edited Code
Decedent's Race–Japanese
Seventh Edited Code
Decedent's Race–Korean
Eighth Edited Code
Decedent's Race–Vietnamese
Race - old NCHS single race codes
Race - Specify
Decedent's Race–Missing
Was case Referred to Medical Examiner/Coroner?
Replacement Record – suggested codes
Old NCHS residence city/county combo code
Old NCHS residence state code
Receipt date – Day
Receipt date – Month
Receipt date – Year
Sex
Sex–Edit Flag
Spouse's First Name
Husband's Surname/Wife's Maiden Last Name
Decedent's spouse living at decedent's DOD?
Spouse's Middle Name
Spouse's Suffix
SSA Date of State Transmission
SSA Date of SSN Verification
SSA State Source of Death
SSA Foreign Country Indicator
SSA EDR Verify Code
Social Security Number
State, U.S. Territory or Canadian Province of Birth - literal
State, U.S. Territory or Canadian Province of Decedent's residence - code
State, U.S. Territory or Canadian Province of Injury - code
State Specific Data
Place of death. State name literal
Decedent's Residence - State name
Place of death. Street designator
Street designator
State, U.S. Territory or Canadian Province of Injury - literal
Place of death. Street name
Street name
Place of death. Street number
Place of death. City FIPS code
Decedent's Legal Name–Suffix
Surgery Date–day
Surgery Date–month
Surgery Date–year
Acme System Reject Codes
Did Tobacco Use Contribute to Death?
Time of Death
Time of injury
Time of Injury Unit
If Transportation Accident, Specify
Transax conversion flag: Computer Generated
Unit number
Void flag
Time of injury
Place of death. Zip code
Decedent's Residence - ZIP code