PatientLink constructor

PatientLink({
  1. @JsonKey(name: 'ID') String? id,
  2. @JsonKey(name: 'Other') Reference? other,
  3. @JsonKey(name: 'Type', unknownEnumValue: PatientLinkTypeEnum.refer) PatientLinkTypeEnum? type,
})

Implementation

factory PatientLink({
  @JsonKey(name: 'ID') String? id,

  /// The other patient resource that the link refers to.
  @JsonKey(name: 'Other') Reference? other,

  /// The type of link between this patient resource and another patient
  ///  resource.
  @JsonKey(name: 'Type', unknownEnumValue: PatientLinkTypeEnum.refer)
      PatientLinkTypeEnum? type,
}) = _PatientLink;