<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="CodingOPS" />
  <url value="http://fhir.de/StructureDefinition/CodingOPS" />
  <version value="1.6.0-ballot" />
  <name value="CodingOPS" />
  <title value="Coding-Profil für OPS" />
  <status value="active" />
  <experimental value="false" />
  <date value="2025-12-23" />
  <publisher value="HL7 Deutschland e.V. (Technisches Komitee FHIR)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.de/technische-komitees/fhir/" />
    </telecom>
  </contact>
  <description value="Abbildung der Mindestanforderungen eines OPS Prozedurencodes" />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <type value="Coding" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Coding" />
  <derivation value="constraint" />
  <differential>
    <element id="Coding.extension:Seitenlokalisation">
      <path value="Coding.extension" />
      <sliceName value="Seitenlokalisation" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://fhir.de/StructureDefinition/seitenlokalisation" />
      </type>
    </element>
    <element id="Coding.system">
      <path value="Coding.system" />
      <short value="Canonische CodeSystem URL für OPS" />
      <min value="1" />
      <fixedUri value="http://fhir.de/CodeSystem/bfarm/ops" />
    </element>
    <element id="Coding.version">
      <path value="Coding.version" />
      <short value="Die Jahresversion des OPS Kataloges. Angegeben wird immer die vierstellige Jahreszahl (z.B. &quot;2017&quot;)" />
      <definition value="Bie Verwendung von OPS ist die Angabe der Version zwingend erforderlich.&#xD;&#xA;Hierdurch wird der Tatsache Rechnung getragen, dass jede der jährlich neu erscheinenden Fassung von OPS ein neues Codesystem darstellt." />
      <min value="1" />
    </element>
    <element id="Coding.code">
      <path value="Coding.code" />
      <short value="Der OPS-Code" />
      <min value="1" />
      <example>
        <label value="Einfacher OPS-Code" />
        <valueCode value="5-470" />
      </example>
      <constraint>
        <key value="ops-regex" />
        <severity value="warning" />
        <human value="In code sind nur gültige OPS-Codes ohne Zusätze erlaubt" />
        <expression value="matches('^[1|3|5|6|8|9]-[a-zA-Z0-9]{3}([.][a-zA-Z0-9]{1,2})?$')" />
        <source value="http://fhir.de/StructureDefinition/CodingOPS" />
      </constraint>
    </element>
  </differential>
</StructureDefinition>