<ValueSet xmlns="http://hl7.org/fhir">
  <id value="security-labels" />
  <meta>
    <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLValueSet" />
  </meta>
  <url value="http://ehalsomyndigheten.se/fhir/ValueSet/security-labels" />
  <version value="1.1.1" />
  <name value="security-labels" />
  <title value="Säkerhetsklassning" />
  <status value="active" />
  <date value="2024-05-14T22:00:00+00:00" />
  <publisher value="E-hälsomyndigheten" />
  <description value="Koder som används för att ange informationssäkerhetsklass för en resurs. NB! Koderna 'sekretessmarkering', 'skyddadFolkbokforing' samt 'DEMO' används enbart för Patient-resursen." />
  <compose>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason" />
      <version value="4.0.1" />
      <concept>
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="To perform one or more operations on information that is simulated or synthetic health data used for testing system capabilities outside of a production or operational system environment.&#xD;&#xA;&#xA;                        &#xA;                           Usage Note: Data marked with a HTEST security label enables an access control system to permit interfacing systems or end users provisioned with a clearance, which includes a HTEST purpose of use attribute, to test, verify, or validate that a system or application will operate in production as intended based on design specifications." />
        </extension>
        <code value="HTEST" />
        <display value="test health data" />
      </concept>
    </include>
    <include>
      <system value="http://hl7.se/fhir/ig/base/CodeSystem/SecurityLabel" />
      <version value="1.0.0" />
      <concept>
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="Protected demographic information according to 22 kap. 1 § OSL (Offentlighets- och sekretesslagen)" />
        </extension>
        <code value="sekretessmarkering" />
        <display value="Sekretessmarkering" />
      </concept>
      <concept>
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="Protected demographic information according to Skatteverket" />
        </extension>
        <code value="skyddadFolkbokforing" />
        <display value="Skyddad folkbokföring" />
      </concept>
    </include>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ObservationValue" />
      <version value="4.0.1" />
      <concept>
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="Metadata observation used to indicate that some information has been removed from the source object when the view this object contains was constructed because of configuration options when the view was created. The content may not be suitable for use as the basis of a record update&#xD;&#xA;&#xA;                        &#xA;                           Usage Note: This is not suitable to be used when information is removed for security reasons - see the code REDACTED for this use." />
        </extension>
        <code value="SUBSETTED" />
        <display value="subsetted" />
      </concept>
    </include>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
      <version value="4.0.1" />
      <concept>
        <extension url="http://hl7.org/fhir/StructureDefinition/valueset-concept-definition">
          <valueString value="Policy for handling all demographic information about an information subject, which will be afforded heightened confidentiality. Policies may govern sensitivity of information related to all demographic about an information subject, the disclosure of which could impact the privacy, well-being, or safety of that subject.&#xD;&#xA;&#xA;                        &#xA;                           Usage Note: If there is a jurisdictional mandate, then use the applicable ActPrivacyLaw code system, and specify the law rather than or in addition to this more generic code." />
        </extension>
        <code value="DEMO" />
        <display value="all demographic information sensitivity" />
      </concept>
    </include>
  </compose>
</ValueSet>