Ontology Version: 2.2.0

cacontology-impact:TraumaTherapyShape leaf node


URI

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

Label

Trauma Therapy Shape

Description

Validation shape for trauma therapy instances.

Shape Properties

Instances of cacontology-impact:TraumaTherapy 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#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-impact:TraumaTherapyShape a sh:NodeShape ;
    rdfs:label "Trauma Therapy Shape"@en ;
    rdfs:comment "Validation shape for trauma therapy instances."@en ;
    sh:property [ sh:datatype xsd:boolean ;
            sh:hasValue true ;
            sh:maxCount 1 ;
            sh:message "Trauma therapy must be trauma-focused."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:traumaFocused ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Trauma therapy must specify if it is evidence-based."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:evidenceBased ] ;
    sh:targetClass cacontology-impact:TraumaTherapy .