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: R4B R4

Example CodeSystem/gender-identity (Turtle)

Patient Administration Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Code SystemGenderIdentity

@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 "gender-identity"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-10T04:52:37.223+10:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "pa" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/gender-identity"];
  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.4.973" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "GenderIdentity"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "true"];
  fhir:CanonicalResource.description [ fhir:value "This example code system defines a set of codes that can be used to indicate a individual's gender identity."];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/gender-identity"];
  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.4.973" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "GenderIdentity"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "true"];
  fhir:CodeSystem.description [ fhir:value "This example code system defines a set of codes that can be used to indicate a individual's gender identity."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "non-binary" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Non-binary" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "the individual identifies with neither/both female and male" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "male" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Male" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "the individual identifies as male" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "female" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Female" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "the individual identifies as female" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "other" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Other" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "other gender identity" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "non-disclose" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Does not wish to disclose" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "the individual does not wish to disclose their gender identity" ]
  ] .

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


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.