DeviceUsCore.implantable constructor

DeviceUsCore.implantable({
  1. DeviceUdiCarrier? udiCarrier,
  2. String? distinctIdentifier,
  3. FhirDateTime? manufactureDate,
  4. FhirDateTime? expirationDate,
  5. String? lotNumber,
  6. required CodeableConcept type,
  7. required Reference patient,
})

Implementation

factory DeviceUsCore.implantable({
  DeviceUdiCarrier? udiCarrier,
  String? distinctIdentifier,
  FhirDateTime? manufactureDate,
  FhirDateTime? expirationDate,
  String? lotNumber,
  required CodeableConcept type,
  required Reference patient,
}) =>
    DeviceUsCore(
      udiCarrier: udiCarrier == null ? null : [udiCarrier],
      distinctIdentifier: distinctIdentifier,
      manufactureDate: manufactureDate,
      expirationDate: expirationDate,
      lotNumber: lotNumber,
      type: type,
      patient: patient,
    );