SHIFT SLS Reference Implementation Guide
0.1.0 - ci-build

SHIFT SLS Reference Implementation Guide, published by SHIFT-Task-Force. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/SHIFT-Task-Force/sls-ri-ig/ and changes regularly. See the Directory of published versions

## : SLS FHIR Server Capability Statement - TTL Representation

Draft as of 2026-02-05

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:CapabilityStatement ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "fhir-sls-server"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CapabilityStatement fhir-sls-server</b></p><a name=\"fhir-sls-server\"> </a><a name=\"hcfhir-sls-server\"> </a><h2 id=\"title\">FHIR Security Labeling Service - Server Capability Statement</h2><ul><li>Implementation Guide Version: 0.1.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>application/fhir+json</code>, <code>json</code></li><li>Published on: 2026-02-05 </li><li>Published by: SHIFT-Task-Force </li></ul><blockquote class=\"impl-note\"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h2 id=\"rest\">FHIR RESTful Capabilities</h2><div class=\"panel panel-default\"><div class=\"panel-heading\"><h3 id=\"mode1\" class=\"panel-title\">Mode: <code>server</code></h3></div><div class=\"panel-body\"><div><p>FHIR Security Labeling Service providing operations to process ValueSets defining sensitive topics and to analyze resources for security labeling.</p>\n</div><div class=\"lead\"><em>Security</em></div><div class=\"row\"><div class=\"col-lg-6\">Enable CORS: yes</div><div class=\"col-lg-6\">Security services supported: </div></div><blockquote><div><p>This is a reference implementation with CORS enabled. Production deployments should implement appropriate authentication and authorization.</p>\n</div></blockquote><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Summary of System-wide Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-sls-load-valuesets.html\">$sls-load-valuesets</a></td><td><div><p>Processes a Bundle containing ValueSet resources to establish security labeling rules. Supports ValueSets with multiple topic codes via topic[] or useContext[].focus. If a ValueSet lacks an expansion, it will be expanded using tx.fhir.org.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-sls-tag.html\">$sls-tag</a></td><td><div><p>Analyzes a Bundle of clinical resources and applies security labels based on loaded ValueSets. Supports two modes: 'batch' (modified resources only) and 'full' (all resources, preserving Bundle structure). Applies confidentiality code 'R' and topic-specific labels to matching resources.</p>\n</div></td></tr></tbody></table></div></div></div></div></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:url [
    fhir:v "http://SHIFT-Task-Force.github.io/sls-ri/CapabilityStatement/fhir-sls-server"^^xsd:anyURI ;
    fhir:l <http://SHIFT-Task-Force.github.io/sls-ri/CapabilityStatement/fhir-sls-server>
      ] ; #
      fhir:version [ fhir:v "0.1.0"] ; #
      fhir:name [ fhir:v "FHIRSecurityLabelingServiceCapabilityStatement"] ; #
      fhir:title [ fhir:v "FHIR Security Labeling Service - Server Capability Statement"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:experimental [ fhir:v true] ; #
      fhir:date [ fhir:v "2026-02-05"^^xsd:date] ; #
      fhir:publisher [ fhir:v "SHIFT-Task-Force"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "SHIFT-Task-Force" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://shift-project.org" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "Capability Statement describing the FHIR Security Labeling Service (SLS) reference implementation. This service analyzes FHIR resources for sensitive information and applies appropriate security labels based on ValueSet-defined rules."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
    fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>       ] ;
    fhir:code [ fhir:v "001" ]     ] )
      ] ) ; #
      fhir:kind [ fhir:v "instance"] ; #
      fhir:implementation [
    fhir:description [ fhir:v "FHIR Security Labeling Service Reference Implementation" ] ;
    fhir:url [
    fhir:v "http://localhost:3000"^^xsd:anyURI ;
    fhir:l <http://localhost:3000>     ]
      ] ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:format ( [ fhir:v "application/fhir+json"] [ fhir:v "json"] ) ; #
      fhir:rest ( [
    fhir:mode [ fhir:v "server" ] ;
    fhir:documentation [ fhir:v "FHIR Security Labeling Service providing operations to process ValueSets defining sensitive topics and to analyze resources for security labeling." ] ;
    fhir:security [
    fhir:cors [ fhir:v true ] ;
    fhir:description [ fhir:v "This is a reference implementation with CORS enabled. Production deployments should implement appropriate authentication and authorization." ]     ] ;
        ( fhir:operation [
    fhir:name [ fhir:v "sls-load-valuesets" ] ;
    fhir:definition [
    fhir:v "http://SHIFT-Task-Force.github.io/sls-ri/OperationDefinition/sls-load-valuesets"^^xsd:anyURI ;
    fhir:l <http://SHIFT-Task-Force.github.io/sls-ri/OperationDefinition/sls-load-valuesets>       ] ;
    fhir:documentation [ fhir:v "Processes a Bundle containing ValueSet resources to establish security labeling rules. Supports ValueSets with multiple topic codes via topic[] or useContext[].focus. If a ValueSet lacks an expansion, it will be expanded using tx.fhir.org." ]     ] [
    fhir:name [ fhir:v "sls-tag" ] ;
    fhir:definition [
    fhir:v "http://SHIFT-Task-Force.github.io/sls-ri/OperationDefinition/sls-tag"^^xsd:anyURI ;
    fhir:l <http://SHIFT-Task-Force.github.io/sls-ri/OperationDefinition/sls-tag>       ] ;
    fhir:documentation [ fhir:v "Analyzes a Bundle of clinical resources and applies security labels based on loaded ValueSets. Supports two modes: 'batch' (modified resources only) and 'full' (all resources, preserving Bundle structure). Applies confidentiality code 'R' and topic-specific labels to matching resources." ]     ] )
      ] ) . #