Ontology Version: 2.2.0

cacontology-impact:TraumaIndicatorShape leaf node


URI

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

Label

Trauma Indicator Shape

Description

Validation shape for trauma indicator instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-impact:TraumaIndicator
cacontology-impact:frequency 0 1 xsd:string
1 1 xsd:string
cacontology-impact:indicatorType 1 1 xsd:string

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:TraumaIndicatorShape a sh:NodeShape ;
    rdfs:label "Trauma Indicator Shape"@en ;
    rdfs:comment "Validation shape for trauma indicator instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "behavioral" "emotional" "cognitive" "physical" "social" "developmental" "academic" "relational" ) ;
            sh:maxCount 1 ;
            sh:message "Trauma indicator must specify indicator type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:indicatorType ],
        [ sh:datatype xsd:string ;
            sh:in ( "mild" "moderate" "severe" "extreme" "critical" ) ;
            sh:maxCount 1 ;
            sh:message "Trauma indicator must specify severity from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:indicatorSeverity ],
        [ sh:datatype xsd:string ;
            sh:in ( "rare" "occasional" "frequent" "daily" "constant" "episodic" ) ;
            sh:maxCount 1 ;
            sh:message "Indicator frequency must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-impact:frequency ] ;
    sh:targetClass cacontology-impact:TraumaIndicator .