{
  "id": "dbgap_study_accession",
  "kind": "datatype",
  "status": "draft",
  "name": "dbGaP study accession",
  "doc": "Accession of a study in dbGaP, the NCBI database that archives and distributes the results of studies of how genotype and phenotype interact. It is phs and six digits, optionally followed by the version of the study and of its participant set, as in phs000768.v2.p1.",
  "is_pii": false,
  "categories": [
    "science"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^phs[0-9]{6}(\\.v\\d+\\.p\\d+)?$",
  "examples": [
    {
      "value": "phs000768.v2.p1",
      "description": "Study with version and participant set; Bioregistry example",
      "valid": true
    },
    {
      "value": "phs000768",
      "description": "The same study without versions",
      "valid": true
    },
    {
      "value": "phs768",
      "description": "Fewer than six digits",
      "valid": false
    }
  ],
  "mappings": {
    "bioregistry": "dbgap"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://www.ncbi.nlm.nih.gov/gap/"
    },
    {
      "type": "other",
      "url": "https://bioregistry.io/registry/dbgap"
    }
  ],
  "quality": {
    "score": 85,
    "missing": [
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/science/dbgap_study_accession.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/science/dbgap_study_accession.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/science/dbgap_study_accession.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/dbgap_study_accession",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/dbgap_study_accession.json"
  }
}