Class ErxMedicationDispenseBaseFaker<M extends ErxMedicationDispenseBase,F extends ErxMedicationDispenseBaseFaker<M,F,B>,B extends ErxMedicationDispenseBaseBuilder<M,B>>

java.lang.Object
de.gematik.test.erezept.fhir.builder.erp.ErxMedicationDispenseBaseFaker<M,F,B>
Direct Known Subclasses:
ErxMedicationDispenseDiGAFaker, ErxMedicationDispenseFaker

public abstract class ErxMedicationDispenseBaseFaker<M extends ErxMedicationDispenseBase,F extends ErxMedicationDispenseBaseFaker<M,F,B>,B extends ErxMedicationDispenseBaseBuilder<M,B>> extends Object
  • Field Details

  • Constructor Details

    • ErxMedicationDispenseBaseFaker

      protected ErxMedicationDispenseBaseFaker()
  • Method Details

    • self

      protected final F self()
    • withKvnr

      public F withKvnr(de.gematik.bbriccs.fhir.de.value.KVNR kvnr)
    • withVersion

      public F withVersion(ErpWorkflowVersion version)
    • withPerformer

      public F withPerformer(String perfomerId)
    • withPrescriptionId

      public F withPrescriptionId(PrescriptionId prescriptionId)
    • withPrescriptionId

      public F withPrescriptionId(String prescriptionId)
    • withMedication

      public F withMedication(GemErpMedication medication)
    • withStatus

      public F withStatus(org.hl7.fhir.r4.model.MedicationDispense.MedicationDispenseStatus status)
    • withStatus

      public F withStatus(String status)
    • withHandedOverDate

      public F withHandedOverDate(Date whenHandedOver)
    • toBuilder

      public abstract B toBuilder()
    • fake

      public final M fake()