Ontology Version: 2.2.0

cacontology-impact:LongTermEffectShape leaf node


URI

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

Label

Long Term Effect Shape

Description

Validation shape for long-term effect instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-impact:LongTermEffectShape a sh:NodeShape ;
    rdfs:label "Long Term Effect Shape"@en ;
    rdfs:comment "Validation shape for long-term effect instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "psychological" "behavioral" "social" "academic" "occupational" "relational" "physical" "developmental" ) ;
            sh:maxCount 1 ;
            sh:message "Long-term effect must specify effect type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:effectType ],
        [ sh:datatype xsd:string ;
            sh:in ( "minimal" "mild" "moderate" "severe" "extreme" "life_altering" ) ;
            sh:maxCount 1 ;
            sh:message "Long-term effect must specify severity from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:effectSeverity ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 50.0 ;
            sh:message "Effect duration must be between 1 and 50 years."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-impact:effectDuration ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Long-term effect may specify functional impairment."@en ;
            sh:minCount 0 ;
            sh:path cacontology-impact:functionalImpairment ] ;
    sh:targetClass cacontology-impact:LongTermEffect .