@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/CodeSystem/composition-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "composition-status"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2026-05-20T15:02:53.575+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem composition-status</b></p><a name=\"composition-status\"> </a><a name=\"hccomposition-status\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/composition-status</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">registered<a name=\"composition-status-registered\"> </a></td><td>Registered</td><td>The existence of the composition is registered, but there is nothing yet available.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">partial<a name=\"composition-status-partial\"> </a></td><td>Partial</td><td>This is a partial (e.g. initial, interim or preliminary) composition: data in the composition may be incomplete or unverified.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  preliminary<a name=\"composition-status-preliminary\"> </a></td><td>Preliminary</td><td>Verified early results are available, but not all results are final.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">final<a name=\"composition-status-final\"> </a></td><td>Final</td><td>This version of the composition is complete and verified by an appropriate person and no further work is planned. Any subsequent updates would be on a new version of the composition.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">amended<a name=\"composition-status-amended\"> </a></td><td>Amended</td><td>The composition content or the referenced resources have been modified (edited or added to) subsequent to being released as \"final\" and the composition is complete and verified by an authorized person.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  corrected<a name=\"composition-status-corrected\"> </a></td><td>Corrected</td><td>Subsequent to being final, the composition content has been modified to correct an error in the composition or referenced results.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  appended<a name=\"composition-status-appended\"> </a></td><td>Appended</td><td>Subsequent to being final, the composition content has been modified by adding new content. The existing content is unchanged.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">cancelled<a name=\"composition-status-cancelled\"> </a></td><td>Cancelled</td><td>The composition is unavailable because the measurement was not started or not completed (also sometimes called \"aborted\").</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">entered-in-error<a name=\"composition-status-entered-in-error\"> </a></td><td>Entered in Error</td><td>The composition or document was originally created/issued in error, and this is an amendment that marks that the entire series should not be considered as valid.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">deprecated<a name=\"composition-status-deprecated\"> </a></td><td>Deprecated</td><td>This composition has been withdrawn or superseded and should no longer be used.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">unknown<a name=\"composition-status-unknown\"> </a></td><td>Unknown</td><td>The authoring/source system does not know which of the status values currently applies for this observation. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "sd"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "normative"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 5
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/composition-status"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/composition-status>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.242" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.237" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.2.123" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:name [ fhir:v "CompositionStatus"] ; # 
  fhir:title [ fhir:v "Composition Status"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The workflow/clinical status of the composition."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/composition-status"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/composition-status>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "registered" ] ;
     fhir:display [ fhir:v "Registered" ] ;
     fhir:definition [ fhir:v "The existence of the composition is registered, but there is nothing yet available." ]
  ] [
     fhir:code [ fhir:v "partial" ] ;
     fhir:display [ fhir:v "Partial" ] ;
     fhir:definition [ fhir:v "This is a partial (e.g. initial, interim or preliminary) composition: data in the composition may be incomplete or unverified." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "preliminary" ] ;
       fhir:display [ fhir:v "Preliminary" ] ;
       fhir:definition [ fhir:v "Verified early results are available, but not all results are final." ]
     ] )
  ] [
     fhir:code [ fhir:v "final" ] ;
     fhir:display [ fhir:v "Final" ] ;
     fhir:definition [ fhir:v "This version of the composition is complete and verified by an appropriate person and no further work is planned. Any subsequent updates would be on a new version of the composition." ]
  ] [
     fhir:code [ fhir:v "amended" ] ;
     fhir:display [ fhir:v "Amended" ] ;
     fhir:definition [ fhir:v "The composition content or the referenced resources have been modified (edited or added to) subsequent to being released as \"final\" and the composition is complete and verified by an authorized person." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "corrected" ] ;
       fhir:display [ fhir:v "Corrected" ] ;
       fhir:definition [ fhir:v "Subsequent to being final, the composition content has been modified to correct an error in the composition or referenced results." ]
     ] [
       fhir:code [ fhir:v "appended" ] ;
       fhir:display [ fhir:v "Appended" ] ;
       fhir:definition [ fhir:v "Subsequent to being final, the composition content has been modified by adding new content. The existing content is unchanged." ]
     ] )
  ] [
     fhir:code [ fhir:v "cancelled" ] ;
     fhir:display [ fhir:v "Cancelled" ] ;
     fhir:definition [ fhir:v "The composition is unavailable because the measurement was not started or not completed (also sometimes called \"aborted\")." ]
  ] [
     fhir:code [ fhir:v "entered-in-error" ] ;
     fhir:display [ fhir:v "Entered in Error" ] ;
     fhir:definition [ fhir:v "The composition or document was originally created/issued in error, and this is an amendment that marks that the entire series should not be considered as valid." ]
  ] [
     fhir:code [ fhir:v "deprecated" ] ;
     fhir:display [ fhir:v "Deprecated" ] ;
     fhir:definition [ fhir:v "This composition has been withdrawn or superseded and should no longer be used." ]
  ] [
     fhir:code [ fhir:v "unknown" ] ;
     fhir:display [ fhir:v "Unknown" ] ;
     fhir:definition [ fhir:v "The authoring/source system does not know which of the status values currently applies for this observation. Note: This concept is not to be used for \"other\" - one of the listed statuses is presumed to apply, but the authoring/source system does not know which." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

