Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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/relationship (Turtle)

Financial Management Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Code SystemBeneficiary Relationship Codes

@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 "relationship"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+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 "fm" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/relationship"];
  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.36" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "Beneficiary Relationship Codes"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "true"];
  fhir:CanonicalResource.publisher [ fhir:value "FHIR Project team"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "This value set includes the Patient to subscriber relationship codes."];
  fhir:CanonicalResource.copyright [ fhir:value "This is an example set."];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/relationship"];
  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.36" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "Beneficiary Relationship Codes"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "true"];
  fhir:CodeSystem.publisher [ fhir:value "FHIR Project team"];
  fhir:CodeSystem.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "This value set includes the Patient to subscriber relationship codes."];
  fhir:CodeSystem.copyright [ fhir:value "This is an example set."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/relationship"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "1" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Self" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The patient is the subscriber (policy holder)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "2" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Spouse" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The patient is the spouse or equivalent of the subscriber (policy holder)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "3" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Child" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The patient is the child of the subscriber (policy holder)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "4" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Common Law Spouse" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The patient is the common law spouse of the subscriber (policy holder)" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "5" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Other" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The patient has some other relationship, such as parent, to the subscriber (policy holder)" ]
  ] .

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


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.