FamilyMemberHistoryCondition constructor

const FamilyMemberHistoryCondition({
  1. @JsonKey(name: 'id') FhirId? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. required CodeableConcept code,
  5. CodeableConcept? outcome,
  6. FhirBoolean? contributedToDeath,
  7. @JsonKey(name: '_contributedToDeath') Element? contributedToDeathElement,
  8. Age? onsetAge,
  9. Range? onsetRange,
  10. Period? onsetPeriod,
  11. String? onsetString,
  12. @JsonKey(name: '_onsetString') Element? onsetStringElement,
  13. List<Annotation>? note,
})

FamilyMemberHistoryCondition Significant health conditions for a person related to the patient relevant in the context of care for the patient.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

extension_ May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

modifierExtension May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

code The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.

outcome Indicates what happened following the condition. If the condition resulted in death, deceased date is captured on the relation.

contributedToDeath This condition contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown.

contributedToDeathElement Extensions for contributedToDeath

onsetAge Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.

onsetRange Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.

onsetPeriod Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.

onsetString Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.

onsetStringElement Extensions for onsetString

note An area where general notes can be placed about this specific condition.

Implementation

const factory FamilyMemberHistoryCondition({
  @JsonKey(name: 'id') FhirId? fhirId,
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  List<FhirExtension>? modifierExtension,
  required CodeableConcept code,
  CodeableConcept? outcome,
  FhirBoolean? contributedToDeath,
  @JsonKey(name: '_contributedToDeath') Element? contributedToDeathElement,
  Age? onsetAge,
  Range? onsetRange,
  Period? onsetPeriod,
  String? onsetString,
  @JsonKey(name: '_onsetString') Element? onsetStringElement,
  List<Annotation>? note,
}) = _FamilyMemberHistoryCondition;