Example
OLD - Sample with bolus advice timeblock converted to mins
NOTE to developer: This is only a sample resource. For the resource structure and valusets always refer the section "Overview" under each profile definition in the Implementation guide. If an element is defined as an array (0..*) in the standard and in RDC profile as an object (0..1), please note that it should still carry the structure of an array with one occurance. The structure for all resources as per the FHIR standard can be found at https://www.hl7.org/fhir/STU3/resourcelist.html
This FHIR example has been created from the following ACSPIX file tags:
<BOLUS_ADVICE>
<TIMEBLOCKS>
<TIMEBLOCK StartTime="14:00" EndTime="15:00" LowerLimit="80" UpperLimit="130" CarbRatioInsulin="1.3" CarbRatioCarb="40" InsulinSensitivityInsulin="1.3" InsulinSensitivityBG="10"/>
</TIMEBLOCKS>
<ADVICE_OPTIONS ActingTime="01:30" OffsetTime="15:00" MealRise="50" SnackSize="20" />
<HEALTH_EVENTS Exercise1="20" Illness="30"/>
</BOLUS_ADVICE>
NEW - Sample with bolus advice timeblock without conversion
NOTE to developer: This is only a sample resource. For the resource structure and valusets always refer the section "Overview" under each profile definition in the Implementation guide. If an element is defined as an array (0..*) in the standard and in RDC profile as an object (0..1), please note that it should still carry the structure of an array with one occurance. The structure for all resources as per the FHIR standard can be found at https://www.hl7.org/fhir/STU3/resourcelist.html
With FHIRSTACK release 5.2.0, time conversions were removed to avoid data loss. Therefore, the timeblock start and end time for Bolus Advice is now directly set to the extensions starTtime and endTime
This FHIR example has been created from the following ACSPIX file tags:
<BOLUS_ADVICE>
<TIMEBLOCKS>
<TIMEBLOCK StartTime="08:00" EndTime="11:59" LowerLimit="80" UpperLimit="130" CarbRatioInsulin="1.3" CarbRatioCarb="40" InsulinSensitivityInsulin="1.3" InsulinSensitivityBG="10"/>
</TIMEBLOCKS>
<ADVICE_OPTIONS ActingTime="01:30" OffsetTime="15:00" MealRise="50" SnackSize="20" />
<HEALTH_EVENTS Exercise1="-20" Illness="-30"/>
</BOLUS_ADVICE>