pattern_name: abnormalNumberOfAnatomicalEntity
pattern_iri: http://purl.obolibrary.org/obo/upheno/patterns-dev/abnormalNumberOfAnatomicalEntity.yaml
description: "abnormal or altered number of anatomical enities. For example, has abnormal number of heads."

contributors: 
  - https://orcid.org/0000-0002-3528-5267

classes:
  amount: PATO:0000070
  abnormal: PATO:0000460
  anatomical entity: UBERON:0001062

relations:
  inheres_in: RO:0000052
  has_modifier: RO:0002573
  has_part: BFO:0000051

annotationProperties:
  exact_synonym: oio:hasExactSynonym

vars:
  anatomical_entity: "'anatomical entity'"

name:
  text: "abnormal number of anatomical enitites of type %s"
  vars:
   - anatomical_entity

annotations:
  -
    annotationProperty: exact_synonym
    text: "altered number of %ss"
    vars:
     - anatomical_entity
  -
    annotationProperty: exact_synonym
    text: "abnormal number of %ss"
    vars:
     - anatomical_entity

def:
  text: "Any structural anomaly that causes there to be an abnormal number %s."
  vars:
    - anatomical_entity

equivalentTo:
  text: "'has_part' some ('amount' and ('inheres_in' some %s) and ('has_modifier' some 'abnormal'))"
  vars:
    - anatomical_entity
