fromJSON static method
Implementation
static HealthcarePartyStatus fromJSON(String data) {
switch (data) {
case "trainee":
return HealthcarePartyStatus.trainee;
case "withconvention":
return HealthcarePartyStatus.withconvention;
case "accreditated":
return HealthcarePartyStatus.accreditated;
default:
throw ArgumentError('Invalid HealthcarePartyStatus entry value $data');
}
}