fromDbJson static method
Likewise, if you're using one of those DBs, then you may need to get that resource back, and so we'll need to switch those IDs back before we turn them into a Dart class again
Implementation
static Resource fromDbJson(Map<String, dynamic> json) {
/// Set the dbId to the current Id (integer from the database)
json['dbId'] = json['id'];
/// Classic json format where the fhirId is stored as id
json['id'] = json['fhirId'];
return Resource.fromJson(json);
}