<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="CodeSystem" />
  <url value="http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/CodeSystem/v1" />
  <version value="1.0" />
  <name value="CodeSystem" />
  <status value="active" />
  <date value="2024-01-12T12:29:40.7446861+00:00" />
  <description value="A ValueSet consists of one or more CodeSystem. Therefore, it is obvious to subscribe to CodeSystems if you subscribe to ValueSets. A CodeSystem is used to express all the codes used in the Triage contact cause maps, one for vital parameters, etc." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="CodeSystem" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/CodeSystem" />
  <derivation value="constraint" />
  <differential>
    <element id="CodeSystem.id">
      <path value="CodeSystem.id" />
      <max value="0" />
    </element>
    <element id="CodeSystem.meta">
      <path value="CodeSystem.meta" />
    </element>
    <element id="CodeSystem.meta.id">
      <path value="CodeSystem.meta.id" />
      <max value="0" />
    </element>
    <element id="CodeSystem.meta.versionId">
      <path value="CodeSystem.meta.versionId" />
      <min value="1" />
    </element>
    <element id="CodeSystem.meta.lastUpdated">
      <path value="CodeSystem.meta.lastUpdated" />
      <min value="1" />
    </element>
    <element id="CodeSystem.meta.source">
      <path value="CodeSystem.meta.source" />
      <max value="0" />
    </element>
    <element id="CodeSystem.meta.profile">
      <path value="CodeSystem.meta.profile" />
      <max value="0" />
    </element>
    <element id="CodeSystem.meta.security">
      <path value="CodeSystem.meta.security" />
      <max value="0" />
    </element>
    <element id="CodeSystem.meta.tag">
      <path value="CodeSystem.meta.tag" />
      <max value="0" />
    </element>
    <element id="CodeSystem.implicitRules">
      <path value="CodeSystem.implicitRules" />
      <max value="0" />
    </element>
    <element id="CodeSystem.language">
      <path value="CodeSystem.language" />
      <max value="0" />
    </element>
    <element id="CodeSystem.text">
      <path value="CodeSystem.text" />
      <max value="0" />
    </element>
    <element id="CodeSystem.contained">
      <path value="CodeSystem.contained" />
      <max value="0" />
    </element>
    <element id="CodeSystem.url">
      <path value="CodeSystem.url" />
      <definition value="Canonical identifier for this code system, represented as a URI (globally unique). The url&#xD;&#xA;must include the version of the CodeSystem.&#xD;&#xA;&#xD;&#xA;Contact reason (&quot;contact reason card&quot;): http://amphisystems.com/amphi/triage/contactreason/codesystem/{version}&#xD;&#xA;&#xD;&#xA;Vital signs: http://amphisystems.com/amphi/triage/vitalsigns/codesystem/{version}" />
    </element>
    <element id="CodeSystem.identifier">
      <path value="CodeSystem.identifier" />
      <max value="0" />
    </element>
    <element id="CodeSystem.version">
      <path value="CodeSystem.version" />
      <definition value="Business version of the code system." />
    </element>
    <element id="CodeSystem.name">
      <path value="CodeSystem.name" />
      <definition value="Name for this code system (computer friendly)." />
    </element>
    <element id="CodeSystem.title">
      <path value="CodeSystem.title" />
      <max value="0" />
    </element>
    <element id="CodeSystem.status">
      <path value="CodeSystem.status" />
      <definition value="The status of this code system." />
    </element>
    <element id="CodeSystem.experimental">
      <path value="CodeSystem.experimental" />
      <max value="0" />
    </element>
    <element id="CodeSystem.date">
      <path value="CodeSystem.date" />
      <max value="0" />
    </element>
    <element id="CodeSystem.publisher">
      <path value="CodeSystem.publisher" />
      <max value="0" />
    </element>
    <element id="CodeSystem.contact">
      <path value="CodeSystem.contact" />
      <max value="0" />
    </element>
    <element id="CodeSystem.description">
      <path value="CodeSystem.description" />
      <definition value="Natural language description of the code system." />
    </element>
    <element id="CodeSystem.useContext">
      <path value="CodeSystem.useContext" />
      <max value="0" />
    </element>
    <element id="CodeSystem.jurisdiction">
      <path value="CodeSystem.jurisdiction" />
      <max value="0" />
    </element>
    <element id="CodeSystem.purpose">
      <path value="CodeSystem.purpose" />
      <max value="0" />
    </element>
    <element id="CodeSystem.copyright">
      <path value="CodeSystem.copyright" />
      <comment value="Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/&#xD;&#xA; Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.&#xD;&#xA; Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.&#xD;&#xA; Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required." />
      <max value="0" />
    </element>
    <element id="CodeSystem.caseSensitive">
      <path value="CodeSystem.caseSensitive" />
      <definition value="If code comparison is case sensitive." />
    </element>
    <element id="CodeSystem.valueSet">
      <path value="CodeSystem.valueSet" />
      <max value="0" />
    </element>
    <element id="CodeSystem.hierarchyMeaning">
      <path value="CodeSystem.hierarchyMeaning" />
      <max value="0" />
    </element>
    <element id="CodeSystem.compositional">
      <path value="CodeSystem.compositional" />
      <max value="0" />
    </element>
    <element id="CodeSystem.versionNeeded">
      <path value="CodeSystem.versionNeeded" />
      <max value="0" />
    </element>
    <element id="CodeSystem.content">
      <path value="CodeSystem.content" />
      <definition value="The extent of the content of the code system (the concepts and codes it defines)." />
      <fixedCode value="complete" />
    </element>
    <element id="CodeSystem.supplements">
      <path value="CodeSystem.supplements" />
      <max value="0" />
    </element>
    <element id="CodeSystem.count">
      <path value="CodeSystem.count" />
      <max value="0" />
    </element>
    <element id="CodeSystem.filter">
      <path value="CodeSystem.filter" />
      <max value="0" />
    </element>
    <element id="CodeSystem.property">
      <path value="CodeSystem.property" />
      <definition value="Additional information supplied about each concept.&#xD;&#xA;&#xD;&#xA;Used to add severity for specific triage concepts." />
    </element>
    <element id="CodeSystem.property.id">
      <path value="CodeSystem.property.id" />
      <max value="0" />
    </element>
    <element id="CodeSystem.property.code">
      <path value="CodeSystem.property.code" />
      <definition value="Identifies the property on the concepts." />
      <fixedCode value="severity" />
    </element>
    <element id="CodeSystem.property.uri">
      <path value="CodeSystem.property.uri" />
      <max value="0" />
    </element>
    <element id="CodeSystem.property.description">
      <path value="CodeSystem.property.description" />
      <definition value="Why the property is defined, and / or what it conveys." />
      <fixedString value="Triage severity" />
    </element>
    <element id="CodeSystem.property.type">
      <path value="CodeSystem.property.type" />
      <definition value="The type of the property value." />
      <fixedCode value="Coding" />
    </element>
    <element id="CodeSystem.concept">
      <path value="CodeSystem.concept" />
      <definition value="Concepts in the code system." />
    </element>
    <element id="CodeSystem.concept.id">
      <path value="CodeSystem.concept.id" />
      <max value="0" />
    </element>
    <element id="CodeSystem.concept.code">
      <path value="CodeSystem.concept.code" />
      <definition value="Code that identifies concept." />
    </element>
    <element id="CodeSystem.concept.display">
      <path value="CodeSystem.concept.display" />
      <definition value="Text to display to the user." />
    </element>
    <element id="CodeSystem.concept.definition">
      <path value="CodeSystem.concept.definition" />
      <max value="0" />
    </element>
    <element id="CodeSystem.concept.designation">
      <path value="CodeSystem.concept.designation" />
      <max value="0" />
    </element>
    <element id="CodeSystem.concept.property">
      <path value="CodeSystem.concept.property" />
      <definition value="A property value for this concept.&#xD;&#xA;&#xD;&#xA;Used to add severity for specific triage concepts." />
    </element>
    <element id="CodeSystem.concept.property.id">
      <path value="CodeSystem.concept.property.id" />
      <max value="0" />
    </element>
    <element id="CodeSystem.concept.property.code">
      <path value="CodeSystem.concept.property.code" />
      <definition value="Reference to CodeSystem.property.code." />
      <fixedCode value="severity" />
    </element>
    <element id="CodeSystem.concept.property.value[x]">
      <path value="CodeSystem.concept.property.value[x]" />
      <definition value="Value of the property for this concept." />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element id="CodeSystem.concept.property.value[x].id">
      <path value="CodeSystem.concept.property.value[x].id" />
      <max value="0" />
    </element>
    <element id="CodeSystem.concept.property.value[x].system">
      <path value="CodeSystem.concept.property.value[x].system" />
      <definition value="Identity of the terminology system." />
      <fixedUri value="http://amphisystems.com/amphi/triage/severity" />
    </element>
    <element id="CodeSystem.concept.property.value[x].version">
      <path value="CodeSystem.concept.property.value[x].version" />
      <max value="0" />
    </element>
    <element id="CodeSystem.concept.property.value[x].code">
      <path value="CodeSystem.concept.property.value[x].code" />
      <definition value="Code defined by the system.&#xD;&#xA;&#xD;&#xA;See codes in document [7]." />
    </element>
    <element id="CodeSystem.concept.property.value[x].display">
      <path value="CodeSystem.concept.property.value[x].display" />
      <max value="0" />
    </element>
    <element id="CodeSystem.concept.property.value[x].userSelected">
      <path value="CodeSystem.concept.property.value[x].userSelected" />
      <max value="0" />
    </element>
    <element id="CodeSystem.concept.concept">
      <path value="CodeSystem.concept.concept" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>