@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://kip.rkkp.dk/fhir/CodeSystem/HaandProblemer> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "HaandProblemer"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem HaandProblemer</b></p><a name=\"HaandProblemer\"> </a><a name=\"hcHaandProblemer\"> </a><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>comment</td><td>comment</td><td>http://hl7.org/fhir/concept-properties#comment</td><td>string</td><td>A string that provides additional detail pertinent to the use or understanding of the concept</td></tr><tr><td>effectiveDate</td><td>effectiveDate</td><td>http://hl7.org/fhir/concept-properties#effectiveDate</td><td>dateTime</td><td>The date at which the concept status was last changed</td></tr><tr><td>status</td><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>code</td><td>A code that indicates the status of the concept. Typical values are active, experimental, deprecated, and retired</td></tr><tr><td>Inactive</td><td>inactive</td><td>http://hl7.org/fhir/concept-properties#inactive</td><td>boolean</td><td>True if the concept is not considered active - e.g. not a valid concept any more. Property type is boolean, default value is false. Note that the status property may also be used to indicate that a concept is inactive</td></tr></table><p><b>Concepts</b></p><p>This  code system <code>https://kip.rkkp.dk/fhir/CodeSystem/HaandProblemer</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>comment</b></td><td><b>effectiveDate</b></td><td><b>status</b></td><td><b>Inactive</b></td></tr><tr><td style=\"white-space:nowrap\">ingenProblemer<a name=\"HaandProblemer-ingenProblemer\"> </a></td><td>Der er taget hånd om problemerne / Ingen problemer</td><td>Der er taget hånd om problemerne / Ingen problemer</td><td>Added</td><td>2026-06-24T00:00:00+02:00</td><td>active</td><td>false</td></tr><tr><td style=\"white-space:nowrap\">haandProblemer<a name=\"HaandProblemer-haandProblemer\"> </a></td><td>Der er for det meste taget hånd om problemerne</td><td>Der er for det meste taget hånd om problemerne</td><td>Added</td><td>2026-06-24T00:00:00+02:00</td><td>active</td><td>false</td></tr><tr><td style=\"white-space:nowrap\">delvistProblemer<a name=\"HaandProblemer-delvistProblemer\"> </a></td><td>Der er delvist taget hånd om problemerne</td><td>Der er delvist taget hånd om problemerne</td><td>Added</td><td>2026-06-24T00:00:00+02:00</td><td>active</td><td>false</td></tr><tr><td style=\"white-space:nowrap\">stortHaandProblemer<a name=\"HaandProblemer-stortHaandProblemer\"> </a></td><td>Der er stort set ikke taget hånd om problemerne</td><td>Der er stort set ikke taget hånd om problemerne</td><td>Added</td><td>2026-06-24T00:00:00+02:00</td><td>active</td><td>false</td></tr><tr><td style=\"white-space:nowrap\">ikkeHaandProblemer<a name=\"HaandProblemer-ikkeHaandProblemer\"> </a></td><td>Der er ikke taget hånd om problemerne</td><td>Der er ikke taget hånd om problemerne</td><td>Added</td><td>2026-06-24T00:00:00+02:00</td><td>active</td><td>false</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://kip.rkkp.dk/fhir/CodeSystem/HaandProblemer"] ;
  fhir:CodeSystem.version [ fhir:value "2.23.2"] ;
  fhir:CodeSystem.name [ fhir:value "HaandProblemerCS"] ;
  fhir:CodeSystem.title [ fhir:value "Taget hånd om problemer"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.date [ fhir:value "2026-06-24T00:00:00+02:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Sundhedsvæsenets Kvalitetsinstitut with Trifork Digital Health A/S"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Sundhedsvæsenets Kvalitetsinstitut with Trifork Digital Health A/S" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://trifork.com" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "rbk@trifork.com" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Taget hånd om problemer, PRO-PAL-skema 1"] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "5"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.property [
     fhir:index 0 ;
     fhir:CodeSystem.property.code [ fhir:value "comment" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://hl7.org/fhir/concept-properties#comment" ] ;
     fhir:CodeSystem.property.description [ fhir:value "A string that provides additional detail pertinent to the use or understanding of the concept" ] ;
     fhir:CodeSystem.property.type [ fhir:value "string" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.property.code [ fhir:value "effectiveDate" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://hl7.org/fhir/concept-properties#effectiveDate" ] ;
     fhir:CodeSystem.property.description [ fhir:value "The date at which the concept status was last changed" ] ;
     fhir:CodeSystem.property.type [ fhir:value "dateTime" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.property.code [ fhir:value "status" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://hl7.org/fhir/concept-properties#status" ] ;
     fhir:CodeSystem.property.description [ fhir:value "A code that indicates the status of the concept. Typical values are active, experimental, deprecated, and retired" ] ;
     fhir:CodeSystem.property.type [ fhir:value "code" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.property.code [ fhir:value "inactive" ] ;
     fhir:CodeSystem.property.uri [ fhir:value "http://hl7.org/fhir/concept-properties#inactive" ] ;
     fhir:CodeSystem.property.description [ fhir:value "True if the concept is not considered active - e.g. not a valid concept any more. Property type is boolean, default value is false. Note that the status property may also be used to indicate that a concept is inactive" ] ;
     fhir:CodeSystem.property.type [ fhir:value "boolean" ]
  ] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "ingenProblemer" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Der er taget hånd om problemerne / Ingen problemer" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Der er taget hånd om problemerne / Ingen problemer" ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "comment" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "Added" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "effectiveDate" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2026-06-24T00:00:00+02:00"^^xsd:dateTime ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ] ;
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "active" ]
     ], [
       fhir:index 3 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "inactive" ] ;
       fhir:CodeSystem.concept.property.valueBoolean [ fhir:value "false"^^xsd:boolean ]
     ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "haandProblemer" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Der er for det meste taget hånd om problemerne" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Der er for det meste taget hånd om problemerne" ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "comment" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "Added" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "effectiveDate" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2026-06-24T00:00:00+02:00"^^xsd:dateTime ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ] ;
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "active" ]
     ], [
       fhir:index 3 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "inactive" ] ;
       fhir:CodeSystem.concept.property.valueBoolean [ fhir:value "false"^^xsd:boolean ]
     ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "delvistProblemer" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Der er delvist taget hånd om problemerne" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Der er delvist taget hånd om problemerne" ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "comment" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "Added" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "effectiveDate" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2026-06-24T00:00:00+02:00"^^xsd:dateTime ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ] ;
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "active" ]
     ], [
       fhir:index 3 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "inactive" ] ;
       fhir:CodeSystem.concept.property.valueBoolean [ fhir:value "false"^^xsd:boolean ]
     ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "stortHaandProblemer" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Der er stort set ikke taget hånd om problemerne" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Der er stort set ikke taget hånd om problemerne" ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "comment" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "Added" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "effectiveDate" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2026-06-24T00:00:00+02:00"^^xsd:dateTime ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ] ;
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "active" ]
     ], [
       fhir:index 3 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "inactive" ] ;
       fhir:CodeSystem.concept.property.valueBoolean [ fhir:value "false"^^xsd:boolean ]
     ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "ikkeHaandProblemer" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Der er ikke taget hånd om problemerne" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Der er ikke taget hånd om problemerne" ] ;
     fhir:CodeSystem.concept.property [
       fhir:index 0 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "comment" ] ;
       fhir:CodeSystem.concept.property.valueString [ fhir:value "Added" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "effectiveDate" ] ;
       fhir:CodeSystem.concept.property.valueDateTime [ fhir:value "2026-06-24T00:00:00+02:00"^^xsd:dateTime ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ] ;
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "active" ]
     ], [
       fhir:index 3 ;
       fhir:CodeSystem.concept.property.code [ fhir:value "inactive" ] ;
       fhir:CodeSystem.concept.property.valueBoolean [ fhir:value "false"^^xsd:boolean ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://kip.rkkp.dk/fhir/CodeSystem/HaandProblemer.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

