Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example CodeSystem/discriminator-type (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Code SystemDiscriminatorType

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "discriminator-type"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-10T04:52:37.223+10:00" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "normative" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ];
     fhir:Extension.value [ fhir:value "4.0.0" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "5" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/discriminator-type"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.1.92" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "DiscriminatorType"];
  fhir:CanonicalResource.title [ fhir:value "DiscriminatorType"];
  fhir:CanonicalResource.status [ fhir:value "active"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.date [ fhir:value "2022-09-10T04:52:37+10:00"];
  fhir:CanonicalResource.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "How an element value is interpreted when discrimination is evaluated."];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/discriminator-type"];
  fhir:CodeSystem.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.1.92" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "DiscriminatorType"];
  fhir:CodeSystem.title [ fhir:value "DiscriminatorType"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2022-09-10T04:52:37+10:00"];
  fhir:CodeSystem.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CodeSystem.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "How an element value is interpreted when discrimination is evaluated."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/discriminator-type"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.property [
     fhir:PropertyComponent.code [ fhir:value "status" ];
     fhir:PropertyComponent.uri [ fhir:value "http://hl7.org/fhir/concept-properties#status" ];
     fhir:PropertyComponent.description [ fhir:value "A property that indicates the status of the concept. One of active, experimental, deprecated, retired" ];
     fhir:PropertyComponent.type [ fhir:value "code" ]
  ], [
     fhir:PropertyComponent.code [ fhir:value "deprecationDate" ];
     fhir:PropertyComponent.uri [ fhir:value "http://hl7.org/fhir/concept-properties#deprecationDate" ];
     fhir:PropertyComponent.description [ fhir:value "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:PropertyComponent.type [ fhir:value "dateTime" ]
  ];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "value" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Value" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The slices have different values in the nominated element, as determined by the applicable fixed value, pattern, or required ValueSet binding." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "exists" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Exists" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "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:ConceptDefinitionComponent.code [ fhir:value "pattern" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Pattern" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "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:ConceptDefinitionComponent.property [
       fhir:ConceptPropertyComponent.code [ fhir:value "status" ];
       fhir:ConceptPropertyComponent.value [ fhir:value "deprecated" ]
     ], [
       fhir:ConceptPropertyComponent.code [ fhir:value "deprecationDate" ];
       fhir:ConceptPropertyComponent.value [ fhir:value "2022-08-19T00:00:00.000" ]
     ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "type" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Type" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The slices are differentiated by type of the nominated element." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "profile" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Profile" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "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:ConceptDefinitionComponent.code [ fhir:value "position" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Position" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "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." ]
  ] .

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


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.