Data type RPT in FHIR

How the components of data type RPT (Repeat Pattern) become FHIR R4 elements, from the HL7 Version 2 to FHIR guide.

HL7 v2 definition
Definition of RPT in HL7 v2 2.8
Maps
Timing

To Timing7 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
RPT.1Repeat Pattern Code
CWEcodeCodeableConcept
Code map v2-0335
RPT.3Phase Range Begin Value
NMrepeat.dayOfWeek[1]code
If IF RPT.2 = "DW"Value /translate number to day/
RPT.4Phase Range End Value
NMrepeat.dayOfWeek[2]code
If IF RPT.2 = "DW"Value /translate number to day/
RPT.5Period Quantity
NMrepeat.perioddecimal
RPT.6Period Units
CWErepeat.periodUnitcode
RPT.8Event
IDrepeat.whencode
RPT.9Event Offset Quantity
NMrepeat.offsetunsignedInt
Value /convert to minutes based on RPT.10/