@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/discriminator-type> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "discriminator-type"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2026-06-11T13:08:54.712+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 discriminator-type</b></p><a name=\"discriminator-type\"> </a><a name=\"hcdiscriminator-type\"> </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>Status</td><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>code</td><td>A property that indicates the status of the concept. One of active, experimental, deprecated, retired</td></tr><tr><td>Deprecation Date</td><td>deprecationDate</td><td>http://hl7.org/fhir/concept-properties#deprecationDate</td><td>dateTime</td><td>The date at which a concept was deprecated. Concepts that are deprecated but not inactive can still be used, but their use is discouraged</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://hl7.org/fhir/discriminator-type</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>Deprecated</b></td><td><b>Status</b></td><td><b>Deprecation Date</b></td></tr><tr><td style=\"white-space:nowrap\">value<a name=\"discriminator-type-value\"> </a></td><td>Value</td><td>The slices have different values in the nominated element, as determined by the applicable fixed value, pattern, or required ValueSet binding.</td><td/><td/><td/></tr><tr><td style=\"white-space:nowrap\">exists<a name=\"discriminator-type-exists\"> </a></td><td>Exists</td><td>The slices are differentiated by the presence or absence of the nominated element. There SHALL be no more than two slices. The slices are differentiated by the fact that one must have a max of 0 and the other must have a min of 1 (or more).  The order in which the slices are declared doesn't matter.</td><td/><td/><td/></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">pattern<a name=\"discriminator-type-pattern\"> </a></td><td>Pattern</td><td>The slices have different values in the nominated element, as determined by the applicable fixed value, pattern, or required ValueSet binding. This has the same meaning as 'value' and is deprecated.</td><td>Deprecated<div><p>Pattern' is deprecated - it works exactly the same as 'value'</p>\n</div></td><td>deprecated</td><td>2022-08-19T00:00:00.000Z</td></tr><tr><td style=\"white-space:nowrap\">type<a name=\"discriminator-type-type\"> </a></td><td>Type</td><td>The slices are differentiated by type of the nominated element.</td><td/><td/><td/></tr><tr><td style=\"white-space:nowrap\">profile<a name=\"discriminator-type-profile\"> </a></td><td>Profile</td><td>The slices are differentiated by conformance of the nominated element to a specified profile. Note that if the path specifies .resolve() then the profile is the target profile on the reference. In this case, validation by the possible profiles is required to differentiate the slices.</td><td/><td/><td/></tr><tr><td style=\"white-space:nowrap\">position<a name=\"discriminator-type-position\"> </a></td><td>Position</td><td>The slices are differentiated by their index. This is only possible if all but the last slice have min=max cardinality, and the (optional) last slice contains other undifferentiated elements.</td><td/><td/><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 "fhir"
     ]
  ] [
     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/discriminator-type"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/discriminator-type>
  ] ; # 
  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.1.92" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:name [ fhir:v "DiscriminatorType"] ; # 
  fhir:title [ fhir:v "DiscriminatorType"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-06-11T13:08:54+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  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:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "How an element value is interpreted when discrimination is evaluated."] ; # 
  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/discriminator-type"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/discriminator-type>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [
       fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/concept-properties#status>
     ] ;
     fhir:description [ fhir:v "A property that indicates the status of the concept. One of active, experimental, deprecated, retired" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "deprecationDate" ] ;
     fhir:uri [
       fhir:v "http://hl7.org/fhir/concept-properties#deprecationDate"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/concept-properties#deprecationDate>
     ] ;
     fhir:description [ fhir:v "The date at which a concept was deprecated. Concepts that are deprecated but not inactive can still be used, but their use is discouraged" ] ;
     fhir:type [ fhir:v "dateTime" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "value" ] ;
     fhir:display [ fhir:v "Value" ] ;
     fhir:definition [ fhir:v "The slices have different values in the nominated element, as determined by the applicable fixed value, pattern, or required ValueSet binding." ]
  ] [
     fhir:code [ fhir:v "exists" ] ;
     fhir:display [ fhir:v "Exists" ] ;
     fhir:definition [ fhir:v "The slices are differentiated by the presence or absence of the nominated element. There SHALL be no more than two slices. The slices are differentiated by the fact that one must have a max of 0 and the other must have a min of 1 (or more).  The order in which the slices are declared doesn't matter." ]
  ] [
     fhir:extension ( [
       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 "deprecated" ;
         fhir:extension ( [
           fhir:url [
             fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason>
           ] ;
           fhir:value [
             a fhir:Markdown ;
             fhir:v "Pattern' is deprecated - it works exactly the same as 'value'"
           ]
         ] )
       ]
     ] ) ;
     fhir:code [ fhir:v "pattern" ] ;
     fhir:display [ fhir:v "Pattern" ] ;
     fhir:definition [ fhir:v "The slices have different values in the nominated element, as determined by the applicable fixed value, pattern, or required ValueSet binding. This has the same meaning as 'value' and is deprecated." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "deprecated"
       ]
     ] [
       fhir:code [ fhir:v "deprecationDate" ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2022-08-19T00:00:00.000Z"^^xsd:dateTime
       ]
     ] )
  ] [
     fhir:code [ fhir:v "type" ] ;
     fhir:display [ fhir:v "Type" ] ;
     fhir:definition [ fhir:v "The slices are differentiated by type of the nominated element." ]
  ] [
     fhir:code [ fhir:v "profile" ] ;
     fhir:display [ fhir:v "Profile" ] ;
     fhir:definition [ fhir:v "The slices are differentiated by conformance of the nominated element to a specified profile. Note that if the path specifies .resolve() then the profile is the target profile on the reference. In this case, validation by the possible profiles is required to differentiate the slices." ]
  ] [
     fhir:code [ fhir:v "position" ] ;
     fhir:display [ fhir:v "Position" ] ;
     fhir:definition [ fhir:v "The slices are differentiated by their index. This is only possible if all but the last slice have min=max cardinality, and the (optional) last slice contains other undifferentiated elements." ]
  ] ) . # 

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

