Mih File Structure enhancement

This commit is contained in:
2025-11-18 12:42:22 +02:00
parent f5c05d7431
commit b69a52a5a8
294 changed files with 2782 additions and 4473 deletions

View File

@@ -0,0 +1,23 @@
class ICD10Code {
final String icd10;
final String description;
const ICD10Code({
required this.icd10,
required this.description,
});
factory ICD10Code.fromJson(Map<String, dynamic> json) {
return switch (json) {
{
"icd10": String icd10,
'description': String description,
} =>
ICD10Code(
icd10: icd10,
description: description,
),
_ => throw const FormatException('Failed to load icd10 code object.'),
};
}
}