pattern_name: lesionInLocationByShape
pattern_iri: http://purl.obolibrary.org/obo/upheno/patterns/lesionInLocationByShape
description: "this pattern describes a phenotype that results in lesions with a defined shape in an anatomical entity. i.e., a star shaped lesion in the head"

classes:
  shape: PATO:0000052
  abnormal: PATO:0000460
  entity: UBERON:0001062
  lesion: NCIT:C3824

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

annotationProperties:
  exact_synonym: oio:hasExactSynonym

vars:
  entity: "'entity'"
  shape: "'shape'"


name:
  text: "abnormal %s with %s lesion"
  vars:
   - entity
   - shape

annotations:
  -
    annotationProperty: exact_synonym
    text: "%s lesion of the %s"
    vars:
     - shape
     - entity

def:
  text: "An abnormal %s with a lesion that is %s."
  vars:
    - entity
    - shape

equivalentTo:
  text: "'has_part' some (%s and ('inheres_in' some ('lesion' and ('part_of' some %s))) and ('has_modifier' some 'abnormal'))"
  vars:
    - shape
    - entity
