https://cacontology.projectvic.org/prevention#PrimaryPreventionShape
Validation shape for primary prevention instances.
Focus nodes of this shape (cacontology-prevention:PrimaryPrevention) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-prevention:participantCount | Number of participants in prevention program. sh:message Primary prevention participant count must be between 1 and 1000000 when specified. |
0 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
1
sh:maxInclusive
1000000
|
@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:PrimaryPreventionShape a sh:NodeShape ;
rdfs:label "Primary Prevention Shape"@en ;
rdfs:comment "Validation shape for primary prevention instances."@en ;
sh:property [ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 1000000 ;
sh:message "Primary prevention participant count must be between 1 and 1000000 when specified."@en ;
sh:minCount 0 ;
sh:minInclusive 1 ;
sh:path cacontology-prevention:participantCount ] ;
sh:targetClass cacontology-prevention:PrimaryPrevention .