@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 -------------------------------------------------------------------

<http://digitalhealth.gov.au/fhir/cc/CodeSystem/medicationdispense-repeat-status-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "medicationdispense-repeat-status-cs"] ;
  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 medicationdispense-repeat-status-cs</b></p><a name=\"medicationdispense-repeat-status-cs\"> </a><a name=\"hcmedicationdispense-repeat-status-cs\"> </a><p>This case-sensitive code system <code>http://digitalhealth.gov.au/fhir/cc/CodeSystem/medicationdispense-repeat-status-cs</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></tr><tr><td style=\"white-space:nowrap\">repeat-active<a name=\"medicationdispense-repeat-status-cs-repeat-active\"> </a></td><td>Repeat Active</td><td>There are more repeats to be dispensed for this prescription.</td></tr><tr><td style=\"white-space:nowrap\">repeat-completed<a name=\"medicationdispense-repeat-status-cs-repeat-completed\"> </a></td><td>Repeat Completed</td><td>The last repeat has been dispensed for this prescription.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "http://digitalhealth.gov.au/fhir/cc/CodeSystem/medicationdispense-repeat-status-cs"] ;
  fhir:CodeSystem.version [ fhir:value "26.0.0"] ;
  fhir:CodeSystem.name [ fhir:value "MedicationDispenseRepeatStatusCS"] ;
  fhir:CodeSystem.title [ fhir:value "MedicationDispense Repeat Status"] ;
  fhir:CodeSystem.status [ fhir:value "draft"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-07-14T04:17:55+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Australian Digital Health Agency"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Australian Digital Health Agency" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.digitalhealth.gov.au/" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "help@digitalhealth.gov.au" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:ContactDetail.name [ fhir:value "Australian Digital Health Agency" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "mailto:help@digitalhealth.gov.au" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Status codes indicating whether a medication dispense represents an active repeat (more repeats to be dispensed) or a completed repeat (last repeat has been dispensed)."] ;
  fhir:CodeSystem.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "AU" ] ;
       fhir:Coding.display [ fhir:value "Australia" ]
     ]
  ] ;
  fhir:CodeSystem.copyright [ fhir:value "This content is licensed under a Creative Commons Attribution 4.0 International License. See [https://creativecommons.org/licenses/by/4.0/](https://creativecommons.org/licenses/by/4.0/)"] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "2"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "repeat-active" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Repeat Active" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "There are more repeats to be dispensed for this prescription." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "repeat-completed" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Repeat Completed" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "The last repeat has been dispensed for this prescription." ]
  ] .

# - ontology header ------------------------------------------------------------

<http://digitalhealth.gov.au/fhir/cc/CodeSystem/medicationdispense-repeat-status-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

