Ontology Version: 2.2.0

cacontology-impact:InterventionHarmAlignmentShape leaf node


URI

https://cacontology.projectvic.org/victim-impact#InterventionHarmAlignmentShape

Label

Intervention Harm Alignment Shape

Description

Validates alignment between intervention and harm addressed.

Shape Properties

Instances of cacontology-impact:TherapeuticIntervention can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-impact:TherapeuticIntervention
cacontology-impact:interventionType 1 1 xsd:string
cacontology-impact:sessionCount 0 1 xsd:nonNegativeInteger
cacontology-impact:treatmentDuration 0 1 xsd:decimal
cacontology-impact:treatmentModality 1 1 xsd:string
0 1 xsd:dateTime
0 1 xsd:dateTime

Implementation

@prefix cacontology-impact: <https://cacontology.projectvic.org/victim-impact#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-impact:InterventionHarmAlignmentShape a sh:NodeShape ;
    rdfs:label "Intervention Harm Alignment Shape"@en ;
    rdfs:comment "Validates alignment between intervention and harm addressed."@en ;
    sh:sparql [ sh:message "Trauma therapy should address trauma-related harm."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-impact:TraumaTherapy ;
                      cacontology-impact:addressesHarm ?harm .
                ?harm cacontology-impact:harmType ?type .
                FILTER (?type NOT IN ("trauma", "ptsd", "complex_trauma"))
            }
        """ ] ;
    sh:targetClass cacontology-impact:TherapeuticIntervention .