Ontology Version: 2.2.0

cacontology-prevention:TertiaryPreventionShape leaf node


URI

https://cacontology.projectvic.org/prevention#TertiaryPreventionShape

Label

Tertiary Prevention Shape

Description

Validation shape for tertiary prevention instances.

Shape Properties

Instances of cacontology-prevention:TertiaryPrevention can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-prevention:TertiaryPrevention
cacontology-prevention:participantCount 0 1 xsd:nonNegativeInteger
cacontology-prevention:PreventionProgram
cacontology-prevention:participantCount 0 1 xsd:nonNegativeInteger
cacontology-prevention:programDuration 0 1 xsd:decimal
0 1 xsd:dateTime
1 1 xsd:string
1 1 xsd:dateTime

Implementation

@prefix cacontology-prevention: <https://cacontology.projectvic.org/prevention#> .
@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-prevention:TertiaryPreventionShape a sh:NodeShape ;
    rdfs:label "Tertiary Prevention Shape"@en ;
    rdfs:comment "Validation shape for tertiary prevention instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000 ;
            sh:message "Tertiary prevention participant count must be between 1 and 10000 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-prevention:participantCount ] ;
    sh:targetClass cacontology-prevention:TertiaryPrevention .