Ontology Version: 2.2.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.

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 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 .