-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new test case for additional code system validation, and update o…
…ther test cases for new errors
- Loading branch information
Grahame Grieve
committed
Jan 9, 2025
1 parent
161b1d2
commit ca72362
Showing
2 changed files
with
402 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,257 @@ | ||
{ | ||
"resourceType" : "CodeSystem", | ||
"id" : "v2-0066", | ||
"text" : { | ||
"status" : "generated", | ||
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem v2-0066</b></p><a name=\"v2-0066\"> </a><a name=\"hcv2-0066\"> </a><a name=\"v2-0066-en-US\"> </a><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>status</td><td>status</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#status</td><td>code</td><td>Status of the concept</td></tr><tr><td>deprecated</td><td>deprecated</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated</td><td>code</td><td>Version of HL7 in which the code was deprecated</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v2-0066</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>deprecated</b></td><td><b>Deutsch (German, de)</b></td></tr><tr><td style=\"white-space:nowrap\">1<a name=\"v2-0066-1\"> </a></td><td>Full time employed</td><td>Full time employed</td><td/><td>Vollzeit</td></tr><tr><td style=\"white-space:nowrap\">F<a name=\"v2-0066-F\"> </a></td><td>Full Time</td><td>Full Time</td><td>2.9</td><td/></tr><tr><td style=\"white-space:nowrap\">...<a name=\"v2-0066-.46.46.46\"> </a></td><td>see chapter 6</td><td>see chapter 6</td><td>2.9</td><td/></tr><tr><td style=\"white-space:nowrap\">2<a name=\"v2-0066-2\"> </a></td><td>Part time employed</td><td>Part time employed</td><td/><td>Teilzeit</td></tr><tr><td style=\"white-space:nowrap\">P<a name=\"v2-0066-P\"> </a></td><td>Part Time</td><td>Part Time</td><td>2.9</td><td/></tr><tr><td style=\"white-space:nowrap\">4<a name=\"v2-0066-4\"> </a></td><td>Self-employed</td><td>Self-employed,</td><td/><td>Selbständig</td></tr><tr><td style=\"white-space:nowrap\">D<a name=\"v2-0066-D\"> </a></td><td>Per Diem</td><td>Per Diem</td><td>2.9</td><td/></tr><tr><td style=\"white-space:nowrap\">C<a name=\"v2-0066-C\"> </a></td><td>Contract, per diem</td><td>Contract, per diem</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">L<a name=\"v2-0066-L\"> </a></td><td>Leave of absence (e.g., family leave, sabbatical, etc.)</td><td>Leave of absence (e.g., family leave, sabbatical, etc.)</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">T<a name=\"v2-0066-T\"> </a></td><td>Temporarily unemployed</td><td>Temporarily unemployed</td><td/><td>zeitweise ohne Anstellung</td></tr><tr><td style=\"white-space:nowrap\">3<a name=\"v2-0066-3\"> </a></td><td>Unemployed</td><td>Unemployed</td><td/><td>Nicht erwerbstätig</td></tr><tr><td style=\"white-space:nowrap\">5<a name=\"v2-0066-5\"> </a></td><td>Retired</td><td>Retired</td><td/><td>Pensioniert</td></tr><tr><td style=\"white-space:nowrap\">6<a name=\"v2-0066-6\"> </a></td><td>On active military duty</td><td>On active military duty</td><td/><td>Militärdienst</td></tr><tr><td style=\"white-space:nowrap\">O<a name=\"v2-0066-O\"> </a></td><td>Other</td><td>Other</td><td/><td>Andere</td></tr><tr><td style=\"white-space:nowrap\">9<a name=\"v2-0066-9\"> </a></td><td>Unknown</td><td>Unknown</td><td/><td>unbekannt</td></tr></table></div>" | ||
}, | ||
"extension" : [{ | ||
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", | ||
"valueCode" : "fm" | ||
}], | ||
"url" : "http://terminology.hl7.org/CodeSystem/v2-0066", | ||
"identifier" : [{ | ||
"system" : "urn:ietf:rfc:3986", | ||
"value" : "urn:oid:2.16.840.1.113883.18.26" | ||
}], | ||
"version" : "2.0.0", | ||
"name" : "EmploymentStatus", | ||
"title" : "employmentStatus", | ||
"status" : "active", | ||
"experimental" : false, | ||
"date" : "2019-12-01", | ||
"publisher" : "Health Level Seven International", | ||
"contact" : [{ | ||
"telecom" : [{ | ||
"system" : "url", | ||
"value" : "http://hl7.org" | ||
}, | ||
{ | ||
"system" : "email", | ||
"value" : "[email protected]" | ||
}] | ||
}], | ||
"description" : "HL7-defined code system of concepts which specify an employment status of a person. Used in HL7 Version 2 messaging in the GT1 segment.", | ||
"purpose" : "Underlying Master Code System for V2 table 0066 (Employment Status)", | ||
"copyright" : "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.html", | ||
"caseSensitive" : true, | ||
"valueSet" : "http://terminology.hl7.org/ValueSet/v2-0066", | ||
"hierarchyMeaning" : "is-a", | ||
"compositional" : false, | ||
"versionNeeded" : false, | ||
"content" : "complete", | ||
"property" : [{ | ||
"code" : "status", | ||
"uri" : "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status", | ||
"description" : "Status of the concept", | ||
"type" : "code" | ||
}, | ||
{ | ||
"code" : "deprecated", | ||
"uri" : "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated", | ||
"description" : "Version of HL7 in which the code was deprecated", | ||
"type" : "code" | ||
}], | ||
"concept" : [{ | ||
"id" : "879", | ||
"code" : "1", | ||
"display" : "Full time employed", | ||
"definition" : "Full time employed", | ||
"designation" : [{ | ||
"language" : "de", | ||
"value" : "Vollzeit" | ||
}], | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "880", | ||
"code" : "F", | ||
"display" : "Full Time", | ||
"definition" : "Full Time", | ||
"property" : [{ | ||
"code" : "deprecated", | ||
"valueCode" : "2.9" | ||
}, | ||
{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "881", | ||
"code" : "...", | ||
"display" : "see chapter 6", | ||
"definition" : "see chapter 6", | ||
"property" : [{ | ||
"code" : "deprecated", | ||
"valueCode" : "2.9" | ||
}, | ||
{ | ||
"code" : "status", | ||
"valueCode" : "D" | ||
}] | ||
}, | ||
{ | ||
"id" : "882", | ||
"code" : "2", | ||
"display" : "Part time employed", | ||
"definition" : "Part time employed", | ||
"designation" : [{ | ||
"language" : "de", | ||
"value" : "Teilzeit" | ||
}], | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "883", | ||
"code" : "P", | ||
"display" : "Part Time", | ||
"definition" : "Part Time", | ||
"property" : [{ | ||
"code" : "deprecated", | ||
"valueCode" : "2.9" | ||
}, | ||
{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "884", | ||
"code" : "4", | ||
"display" : "Self-employed", | ||
"definition" : "Self-employed,", | ||
"designation" : [{ | ||
"language" : "de", | ||
"value" : "Selbständig" | ||
}], | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "885", | ||
"code" : "D", | ||
"display" : "Per Diem", | ||
"definition" : "Per Diem", | ||
"property" : [{ | ||
"code" : "deprecated", | ||
"valueCode" : "2.9" | ||
}, | ||
{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "886", | ||
"code" : "C", | ||
"display" : "Contract, per diem", | ||
"definition" : "Contract, per diem", | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "887", | ||
"code" : "L", | ||
"display" : "Leave of absence (e.g., family leave, sabbatical, etc.)", | ||
"definition" : "Leave of absence (e.g., family leave, sabbatical, etc.)", | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "888", | ||
"code" : "T", | ||
"display" : "Temporarily unemployed", | ||
"definition" : "Temporarily unemployed", | ||
"designation" : [{ | ||
"language" : "de", | ||
"value" : "zeitweise ohne Anstellung" | ||
}], | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "889", | ||
"code" : "3", | ||
"display" : "Unemployed", | ||
"definition" : "Unemployed", | ||
"designation" : [{ | ||
"language" : "de", | ||
"value" : "Nicht erwerbstätig" | ||
}], | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "890", | ||
"code" : "5", | ||
"display" : "Retired", | ||
"definition" : "Retired", | ||
"designation" : [{ | ||
"language" : "de", | ||
"value" : "Pensioniert" | ||
}], | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "891", | ||
"code" : "6", | ||
"display" : "On active military duty", | ||
"definition" : "On active military duty", | ||
"designation" : [{ | ||
"language" : "de", | ||
"value" : "Militärdienst" | ||
}], | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "892", | ||
"code" : "O", | ||
"display" : "Other", | ||
"definition" : "Other", | ||
"designation" : [{ | ||
"language" : "de", | ||
"value" : "Andere" | ||
}], | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}, | ||
{ | ||
"id" : "893", | ||
"code" : "9", | ||
"display" : "Unknown", | ||
"definition" : "Unknown", | ||
"designation" : [{ | ||
"language" : "de", | ||
"value" : "unbekannt" | ||
}], | ||
"property" : [{ | ||
"code" : "status", | ||
"valueCode" : "A" | ||
}] | ||
}] | ||
} |
Oops, something went wrong.