EpisodeofcareDiagnosis constructor
EpisodeofcareDiagnosis({
- @Default('') @JsonKey(name: 'ID') String? id,
- @JsonKey(name: 'Condition') Reference? condition,
- @JsonKey(name: 'Role') CodeableConcept? role,
- @JsonKey(name: 'Rank') int? rank,
Implementation
factory EpisodeofcareDiagnosis({
@Default('') @JsonKey(name: 'ID') String? id,
/// Conditions/problems/diagnoses that this episode of care is intended to be providing care for.
@JsonKey(name: 'Condition') Reference? condition,
/// Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …).
@JsonKey(name: 'Role') CodeableConcept? role,
/// Ranking of the diagnosis (for each role type).
@JsonKey(name: 'Rank') int? rank,
}) = _EpisodeofcareDiagnosis;