102 points out that there was the external insulin event type that was only ever used by NS.
This PR prefixes the external insulin event type with ns to signify that is an nightscout only event type, and moves the logic for creating the NightscoutTreatment from a PumpHistoryEvent into a NightscoutTreatment initializer.
Also fixes typo NigtscoutTreatment -> NightscoutTreatment
102 points out that there was the external insulin event type that was only ever used by NS.
This PR prefixes the external insulin event type with
ns
to signify that is an nightscout only event type, and moves the logic for creating the NightscoutTreatment from a PumpHistoryEvent into a NightscoutTreatment initializer.Also fixes typo NigtscoutTreatment -> NightscoutTreatment