<commit_before>'use strict';
var mongoose = require('mongoose');
var Schema = mongoose.Schema;


var ProviderSchema = new Schema({
    name: {
        type: String,
        Required: 'Kindly enter the name of the provider'
    },
    Created_date: {
        type: Date,
        default: Date.now
    },
    status: {
        type: [{
            type: String,
            enum: ['pending', 'ongoing', 'completed']
        }],
        default: ['pending']
    }
});

module.exports = mongoose.model('Provider', ProviderSchema);

/*  {
        "Provider Name": "SOUTHEAST ALABAMA MEDICAL CENTER",
        "Provider Street Address": "1108 ROSS CLARK CIRCLE",
        "Provider City": "DOTHAN",
        "Provider State": "AL",
        "Provider Zip Code": "36301",
        "Hospital Referral Region Description": "AL - Dothan",
        "Total Discharges": 91,
        "Average Covered Charges": "$32,963.07",<commit_msg>added additonal params for provider<commit_after>'use strict';
var mongoose = require('mongoose');
var Schema = mongoose.Schema;


var ProviderSchema = new Schema({
    provider_name: {
        type: String,
        Required: 'Kindly enter the name of the provider'
    },
    provider_street: {
        type: String,
    },
    provider_city: {
        type: String,
    },
    provider_state: {
        type: String,
    },
    provider_zip: {
        type: Number
    },
    Created_date: {
        type: Date,
        default: Date.now
    },
    status: {
        type: [{
            type: String,
            enum: ['pending', 'ongoing', 'completed']
        }],
        default: ['pending']
    }
});

module.exports = mongoose.model('Provider', ProviderSchema);

/*  {
        "Provider Name": "SOUTHEAST ALABAMA MEDICAL CENTER",
        "Provider Street Address": "1108 ROSS CLARK CIRCLE",
        "Provider City": "DOTHAN",
        "Provider State": "AL",
        "Provider Zip Code": "36301",
        "Hospital Referral Region Description": "AL - Dothan",
        "Total Discharges": 91,
        "Average Covered Charges": "$32,963.07",
{'fraction_non_alphanumeric': 0.13420542635658914, 'fraction_numerical': 0.01744186046511628, 'mean_word_length': 2.2622432859399684, 'pattern_counts': {'":': 16, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2615186', 'n_tokens_mistral': 651, 'n_tokens_neox': 613, 'n_words': 169}