{
  "id": "self_rated_health",
  "kind": "datatype",
  "status": "draft",
  "name": "Self-rated health",
  "doc": "Answer to the single survey question on how a person rates their own health in general (In general, how is your health? En general, ¿cómo es su estado de salud?). The scale has four or five steps: Excellent, Very good, Good, Fair, Poor in the wording of the US health surveys; Very good, Good, Fair, Bad, Very bad in the wording that the WHO and the European surveys use; in Spanish excelente, muy bueno, bueno, regular, malo. Data files hold the words, lower case or with underscores (muy_bueno), or the codes 1 to 5 with the labels in a codebook. Health surveys, censuses and cohort studies ask it because it predicts illness and mortality. It is health data of a person.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "medical",
    "persons"
  ],
  "langs": [
    "en",
    "es"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "Excellent",
      "valid": true
    },
    {
      "value": "Very good",
      "valid": true
    },
    {
      "value": "Fair",
      "valid": true
    },
    {
      "value": "Poor",
      "valid": true
    },
    {
      "value": "muy_bueno",
      "description": "Spanish option of a survey form, with an underscore",
      "valid": true
    },
    {
      "value": "regular",
      "description": "Spanish for fair",
      "valid": true
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Self-rated_health"
    }
  ],
  "translations": {
    "es": {
      "name": "Salud autopercibida"
    },
    "ru": {
      "name": "Самооценка здоровья"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "selfratedhealthbyname",
        "type": "field",
        "match": "regex",
        "file": "common/survey.yaml"
      }
    ]
  },
  "quality": {
    "score": 65,
    "missing": [
      "regexp",
      "negative example",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/medical/self_rated_health.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/medical/self_rated_health.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/medical/self_rated_health.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/self_rated_health",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/self_rated_health.json"
  }
}