{"size": 881, "ext": "js", "max_stars_repo_path": "app/assets/javascripts/fhir/SubstanceAmount.js", "max_stars_repo_name": "MeasureAuthoringTool/fhir-mongoose-models", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/assets/javascripts/fhir/SubstanceAmount.js", "max_issues_repo_name": "MeasureAuthoringTool/fhir-mongoose-models", "max_issues_repo_issues_event_min_datetime": "2020-07-10T13:19:13.000Z", "max_issues_repo_issues_event_max_datetime": "2020-09-03T22:13:45.000Z", "max_forks_repo_path": "app/assets/javascripts/fhir/SubstanceAmount.js", "max_forks_repo_name": "MeasureAuthoringTool/fhir-mongoose-models", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 41.9523809524, "max_line_length": 81, "alphanum_fraction": 0.7922814983}
const { BackboneElementSchema } = require('./BackboneElement');
const { CodeableConceptSchema } = require('./allSchemaHeaders.js');
const { PrimitiveStringSchema } = require('./allSchemaHeaders.js');
const { QuantitySchema } = require('./allSchemaHeaders.js');
const { RangeSchema } = require('./allSchemaHeaders.js');
const { SubstanceAmountReferenceRangeSchema } = require('./allSchemaHeaders.js');
const { SubstanceAmountSchema } = require('./allSchemaHeaders.js');

SubstanceAmountSchema.add(BackboneElementSchema);
SubstanceAmountSchema.remove('id');
SubstanceAmountSchema.add({
  amountQuantity: QuantitySchema,
  amountRange: RangeSchema,
  amountString: PrimitiveStringSchema,
  amountType: CodeableConceptSchema,
  amountText: PrimitiveStringSchema,
  referenceRange: SubstanceAmountReferenceRangeSchema,
});

module.exports.SubstanceAmountSchema = SubstanceAmountSchema;
