Class TimingCodeR5

java.lang.Object
io.github.jy95.fds.r5.translators.TimingCodeR5
All Implemented Interfaces:
Translator<org.hl7.fhir.r5.model.Timing>

public class TimingCodeR5 extends Object implements Translator<org.hl7.fhir.r5.model.Timing>
R5 class for translating "timing.code"
Author:
jy95
  • Constructor Details

    • TimingCodeR5

      public TimingCodeR5()
  • Method Details

    • convert

      public CompletableFuture<String> convert(org.hl7.fhir.r5.model.Timing data)
      Converts a field into a human-readable string representation asynchronously.
      Specified by:
      convert in interface Translator<org.hl7.fhir.r5.model.Timing>
      Parameters:
      data - the fhir element containing field to be converted
      Returns:
      a CompletableFuture that will complete with the human-readable string
    • isPresent

      public boolean isPresent(org.hl7.fhir.r5.model.Timing data)
      Checks whether a field is present and can be converted to a string.
      Specified by:
      isPresent in interface Translator<org.hl7.fhir.r5.model.Timing>
      Parameters:
      data - the fhir element containing field to check
      Returns:
      true if the field is present, false otherwise