{
  "resourceType": "StructureDefinition",
  "id": "CodeSystem",
  "url": "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/CodeSystem/v1",
  "version": "1.0",
  "name": "CodeSystem",
  "status": "active",
  "date": "2024-01-12T12:29:40.7446861+00:00",
  "description": "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": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "CodeSystem",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CodeSystem",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CodeSystem.id",
        "path": "CodeSystem.id",
        "max": "0"
      },
      {
        "id": "CodeSystem.meta",
        "path": "CodeSystem.meta"
      },
      {
        "id": "CodeSystem.meta.id",
        "path": "CodeSystem.meta.id",
        "max": "0"
      },
      {
        "id": "CodeSystem.meta.versionId",
        "path": "CodeSystem.meta.versionId",
        "min": 1
      },
      {
        "id": "CodeSystem.meta.lastUpdated",
        "path": "CodeSystem.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "CodeSystem.meta.source",
        "path": "CodeSystem.meta.source",
        "max": "0"
      },
      {
        "id": "CodeSystem.meta.profile",
        "path": "CodeSystem.meta.profile",
        "max": "0"
      },
      {
        "id": "CodeSystem.meta.security",
        "path": "CodeSystem.meta.security",
        "max": "0"
      },
      {
        "id": "CodeSystem.meta.tag",
        "path": "CodeSystem.meta.tag",
        "max": "0"
      },
      {
        "id": "CodeSystem.implicitRules",
        "path": "CodeSystem.implicitRules",
        "max": "0"
      },
      {
        "id": "CodeSystem.language",
        "path": "CodeSystem.language",
        "max": "0"
      },
      {
        "id": "CodeSystem.text",
        "path": "CodeSystem.text",
        "max": "0"
      },
      {
        "id": "CodeSystem.contained",
        "path": "CodeSystem.contained",
        "max": "0"
      },
      {
        "id": "CodeSystem.url",
        "path": "CodeSystem.url",
        "definition": "Canonical identifier for this code system, represented as a URI (globally unique). The url\r\nmust include the version of the CodeSystem.\r\n\r\nContact reason (\"contact reason card\"): http://amphisystems.com/amphi/triage/contactreason/codesystem/{version}\r\n\r\nVital signs: http://amphisystems.com/amphi/triage/vitalsigns/codesystem/{version}"
      },
      {
        "id": "CodeSystem.identifier",
        "path": "CodeSystem.identifier",
        "max": "0"
      },
      {
        "id": "CodeSystem.version",
        "path": "CodeSystem.version",
        "definition": "Business version of the code system."
      },
      {
        "id": "CodeSystem.name",
        "path": "CodeSystem.name",
        "definition": "Name for this code system (computer friendly)."
      },
      {
        "id": "CodeSystem.title",
        "path": "CodeSystem.title",
        "max": "0"
      },
      {
        "id": "CodeSystem.status",
        "path": "CodeSystem.status",
        "definition": "The status of this code system."
      },
      {
        "id": "CodeSystem.experimental",
        "path": "CodeSystem.experimental",
        "max": "0"
      },
      {
        "id": "CodeSystem.date",
        "path": "CodeSystem.date",
        "max": "0"
      },
      {
        "id": "CodeSystem.publisher",
        "path": "CodeSystem.publisher",
        "max": "0"
      },
      {
        "id": "CodeSystem.contact",
        "path": "CodeSystem.contact",
        "max": "0"
      },
      {
        "id": "CodeSystem.description",
        "path": "CodeSystem.description",
        "definition": "Natural language description of the code system."
      },
      {
        "id": "CodeSystem.useContext",
        "path": "CodeSystem.useContext",
        "max": "0"
      },
      {
        "id": "CodeSystem.jurisdiction",
        "path": "CodeSystem.jurisdiction",
        "max": "0"
      },
      {
        "id": "CodeSystem.purpose",
        "path": "CodeSystem.purpose",
        "max": "0"
      },
      {
        "id": "CodeSystem.copyright",
        "path": "CodeSystem.copyright",
        "comment": "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/\r\n Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.\r\n Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.\r\n 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": "0"
      },
      {
        "id": "CodeSystem.caseSensitive",
        "path": "CodeSystem.caseSensitive",
        "definition": "If code comparison is case sensitive."
      },
      {
        "id": "CodeSystem.valueSet",
        "path": "CodeSystem.valueSet",
        "max": "0"
      },
      {
        "id": "CodeSystem.hierarchyMeaning",
        "path": "CodeSystem.hierarchyMeaning",
        "max": "0"
      },
      {
        "id": "CodeSystem.compositional",
        "path": "CodeSystem.compositional",
        "max": "0"
      },
      {
        "id": "CodeSystem.versionNeeded",
        "path": "CodeSystem.versionNeeded",
        "max": "0"
      },
      {
        "id": "CodeSystem.content",
        "path": "CodeSystem.content",
        "definition": "The extent of the content of the code system (the concepts and codes it defines).",
        "fixedCode": "complete"
      },
      {
        "id": "CodeSystem.supplements",
        "path": "CodeSystem.supplements",
        "max": "0"
      },
      {
        "id": "CodeSystem.count",
        "path": "CodeSystem.count",
        "max": "0"
      },
      {
        "id": "CodeSystem.filter",
        "path": "CodeSystem.filter",
        "max": "0"
      },
      {
        "id": "CodeSystem.property",
        "path": "CodeSystem.property",
        "definition": "Additional information supplied about each concept.\r\n\r\nUsed to add severity for specific triage concepts."
      },
      {
        "id": "CodeSystem.property.id",
        "path": "CodeSystem.property.id",
        "max": "0"
      },
      {
        "id": "CodeSystem.property.code",
        "path": "CodeSystem.property.code",
        "definition": "Identifies the property on the concepts.",
        "fixedCode": "severity"
      },
      {
        "id": "CodeSystem.property.uri",
        "path": "CodeSystem.property.uri",
        "max": "0"
      },
      {
        "id": "CodeSystem.property.description",
        "path": "CodeSystem.property.description",
        "definition": "Why the property is defined, and / or what it conveys.",
        "fixedString": "Triage severity"
      },
      {
        "id": "CodeSystem.property.type",
        "path": "CodeSystem.property.type",
        "definition": "The type of the property value.",
        "fixedCode": "Coding"
      },
      {
        "id": "CodeSystem.concept",
        "path": "CodeSystem.concept",
        "definition": "Concepts in the code system."
      },
      {
        "id": "CodeSystem.concept.id",
        "path": "CodeSystem.concept.id",
        "max": "0"
      },
      {
        "id": "CodeSystem.concept.code",
        "path": "CodeSystem.concept.code",
        "definition": "Code that identifies concept."
      },
      {
        "id": "CodeSystem.concept.display",
        "path": "CodeSystem.concept.display",
        "definition": "Text to display to the user."
      },
      {
        "id": "CodeSystem.concept.definition",
        "path": "CodeSystem.concept.definition",
        "max": "0"
      },
      {
        "id": "CodeSystem.concept.designation",
        "path": "CodeSystem.concept.designation",
        "max": "0"
      },
      {
        "id": "CodeSystem.concept.property",
        "path": "CodeSystem.concept.property",
        "definition": "A property value for this concept.\r\n\r\nUsed to add severity for specific triage concepts."
      },
      {
        "id": "CodeSystem.concept.property.id",
        "path": "CodeSystem.concept.property.id",
        "max": "0"
      },
      {
        "id": "CodeSystem.concept.property.code",
        "path": "CodeSystem.concept.property.code",
        "definition": "Reference to CodeSystem.property.code.",
        "fixedCode": "severity"
      },
      {
        "id": "CodeSystem.concept.property.value[x]",
        "path": "CodeSystem.concept.property.value[x]",
        "definition": "Value of the property for this concept.",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "CodeSystem.concept.property.value[x].id",
        "path": "CodeSystem.concept.property.value[x].id",
        "max": "0"
      },
      {
        "id": "CodeSystem.concept.property.value[x].system",
        "path": "CodeSystem.concept.property.value[x].system",
        "definition": "Identity of the terminology system.",
        "fixedUri": "http://amphisystems.com/amphi/triage/severity"
      },
      {
        "id": "CodeSystem.concept.property.value[x].version",
        "path": "CodeSystem.concept.property.value[x].version",
        "max": "0"
      },
      {
        "id": "CodeSystem.concept.property.value[x].code",
        "path": "CodeSystem.concept.property.value[x].code",
        "definition": "Code defined by the system.\r\n\r\nSee codes in document [7]."
      },
      {
        "id": "CodeSystem.concept.property.value[x].display",
        "path": "CodeSystem.concept.property.value[x].display",
        "max": "0"
      },
      {
        "id": "CodeSystem.concept.property.value[x].userSelected",
        "path": "CodeSystem.concept.property.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "CodeSystem.concept.concept",
        "path": "CodeSystem.concept.concept",
        "max": "0"
      }
    ]
  }
}