Ontology Version: 3.1.0

cacontology-impact:TherapeuticInterventionShape leaf node


URI

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

Label

Therapeutic Intervention Shape

Description

Validation shape for therapeutic intervention instances.

Targets (1)

Property Constraints (6)

Focus nodes of this shape (cacontology-impact:TherapeuticIntervention) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-impact:interventionType Type of therapeutic intervention (individual, family, group, crisis).
sh:message Therapeutic intervention must specify intervention type from the allowed list.
1 1 xsd:string
sh:in individual_therapy, group_therapy, family_therapy, trauma_therapy, cognitive_behavioral, play_therapy, art_therapy, emdr
cacontology-impact:sessionCount Number of therapy sessions completed.
sh:message Session count must be between 1 and 200 when specified.
0 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 200
cacontology-impact:treatmentDuration Duration of treatment in months.
sh:message Treatment duration must be between 1 and 104 weeks.
0 1 xsd:decimal
sh:minInclusive 1.0
sh:maxInclusive 104.0
cacontology-impact:treatmentModality Therapeutic modality used (CBT, EMDR, play_therapy, art_therapy).
sh:message Therapeutic intervention must specify treatment modality from the allowed list.
1 1 xsd:string
sh:in CBT, TF_CBT, EMDR, DBT, play_therapy, narrative_therapy, somatic_therapy, psychodynamic
uco-core:endTime
sh:message Therapeutic intervention may have an end time.
0 1 xsd:dateTime
uco-core:startTime
sh:message Therapeutic intervention may have a start time.
0 1 xsd:dateTime

Implementation

@prefix cacontology-impact: <https://cacontology.projectvic.org/victim-impact#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-impact:TherapeuticInterventionShape a sh:NodeShape ;
    rdfs:label "Therapeutic Intervention Shape"@en ;
    rdfs:comment "Validation shape for therapeutic intervention instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 200 ;
            sh:message "Session count must be between 1 and 200 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-impact:sessionCount ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 104.0 ;
            sh:message "Treatment duration must be between 1 and 104 weeks."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-impact:treatmentDuration ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Therapeutic intervention may have a start time."@en ;
            sh:minCount 0 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Therapeutic intervention may have an end time."@en ;
            sh:minCount 0 ;
            sh:path uco-core:endTime ],
        [ sh:datatype xsd:string ;
            sh:in ( "individual_therapy" "group_therapy" "family_therapy" "trauma_therapy" "cognitive_behavioral" "play_therapy" "art_therapy" "emdr" ) ;
            sh:maxCount 1 ;
            sh:message "Therapeutic intervention must specify intervention type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:interventionType ],
        [ sh:datatype xsd:string ;
            sh:in ( "CBT" "TF_CBT" "EMDR" "DBT" "play_therapy" "narrative_therapy" "somatic_therapy" "psychodynamic" ) ;
            sh:maxCount 1 ;
            sh:message "Therapeutic intervention must specify treatment modality from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:treatmentModality ] ;
    sh:targetClass cacontology-impact:TherapeuticIntervention .