{
  "id": "epi_week",
  "kind": "datatype",
  "status": "draft",
  "name": "Epidemiological week (CDC MMWR week)",
  "doc": "Week number used by the US Centers for Disease Control and Prevention (CDC) to report notifiable diseases in the Morbidity and Mortality Weekly Report (MMWR). MMWR weeks start on Sunday. Week 1 is the first week of the year with at least four days in that calendar year, so the last days of December can fall in week 1 of the next year. Values run from 1 to 53. Some data sets combine year and week as YYYYWW (202101); that form looks like a year and month, so it is not covered by the regexp.",
  "parent": "week_of_year",
  "is_pii": false,
  "categories": [
    "datetime",
    "medical"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:0?[1-9]|[1-4]\\d|5[0-3])$",
  "examples": [
    {
      "value": "1",
      "description": "first MMWR week",
      "valid": true
    },
    {
      "value": "52",
      "description": "last week of a 52-week MMWR year",
      "valid": true
    },
    {
      "value": "54",
      "description": "out of range",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://ndc.services.cdc.gov/wp-content/uploads/MMWR_Week_overview.pdf"
    },
    {
      "type": "other",
      "url": "https://cmu-delphi.github.io/delphi-epidata/api/date_formats.html"
    }
  ],
  "translations": {
    "es": {
      "name": "Semana epidemiológica"
    },
    "ru": {
      "name": "Эпидемиологическая неделя (MMWR)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/datetime/epi_week.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/datetime/epi_week.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/epi_week.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/epi_week",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/epi_week.json"
  }
}