CompartmentEnumMap top-level constant

Map<Compartment, String> const CompartmentEnumMap

Map to convert from an Enum to a String for making the request

Implementation

const Map<Compartment, String> CompartmentEnumMap = <Compartment, String>{
  Compartment.patient: 'patient',
  Compartment.encounter: 'encounter',
  Compartment.relatedPerson: 'relatedPerson',
  Compartment.practitioner: 'practitioner',
  Compartment.device: 'device',
};