Skip to content

DiagnosisInput

The diagnosis of a patient.

We are using the WHO ICD-11 classification.

Inheritance
Annotations

Constructors

DiagnosisInput.fromJson

DiagnosisInput.fromJson(
  1. Map<String, dynamic> json
)

DiagnosisInput

DiagnosisInput({
  1. DateTime? effectiveDate,
  2. String? diagnosis,
  3. required String icd11Code,
  4. String? conclusion,
})

Properties

conclusion

String? conclusion
getter/setter pair

Any conclusion or notes from the physician.

diagnosis

String? diagnosis
getter/setter pair

A free text description of the diagnosis.

effectiveDate

DateTime? effectiveDate
getter/setter pair

The date this diagnosis was effective.

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

icd11Code

String icd11Code
getter/setter pair

The ICD-11 code of this diagnosis.

type

String get type
override

The type of this input data.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.