FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CodeSystem/relationship (Turtle)

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

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

Definition for Code SystemBeneficiaryRelationshipCodes

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

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

[a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "relationship"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2025-02-16T15:32:40.206+00:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem relationship</b></p><a name=\"relationship\"> </a><a name=\"hcrelationship\"> </a><a name=\"relationship-en-US\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/relationship</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></tr><tr><td style=\"white-space:nowrap\">1<a name=\"relationship-1\"> </a></td><td>Self</td><td>The patient is the subscriber (policy holder)</td></tr><tr><td style=\"white-space:nowrap\">2<a name=\"relationship-2\"> </a></td><td>Spouse</td><td>The patient is the spouse or equivalent of the subscriber (policy holder)</td></tr><tr><td style=\"white-space:nowrap\">3<a name=\"relationship-3\"> </a></td><td>Child</td><td>The patient is the child of the subscriber (policy holder)</td></tr><tr><td style=\"white-space:nowrap\">4<a name=\"relationship-4\"> </a></td><td>Common Law Spouse</td><td>The patient is the common law spouse of the subscriber (policy holder)</td></tr><tr><td style=\"white-space:nowrap\">5<a name=\"relationship-5\"> </a></td><td>Other</td><td>The patient has some other relationship, such as parent, to the subscriber (policy holder)</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "fm" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/relationship"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.36" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.35" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.2.23" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot2"] ; # 
  fhir:name [ fhir:v "BeneficiaryRelationshipCodes"] ; # 
  fhir:title [ fhir:v "Beneficiary Relationship Codes"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:publisher [ fhir:v "HL7 International / Financial Management"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This value set includes the Patient to subscriber relationship codes."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "This is an example set."] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/relationship"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/relationship>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "1" ] ;
     fhir:display [ fhir:v "Self" ] ;
     fhir:definition [ fhir:v "The patient is the subscriber (policy holder)" ]
  ] [
     fhir:code [ fhir:v "2" ] ;
     fhir:display [ fhir:v "Spouse" ] ;
     fhir:definition [ fhir:v "The patient is the spouse or equivalent of the subscriber (policy holder)" ]
  ] [
     fhir:code [ fhir:v "3" ] ;
     fhir:display [ fhir:v "Child" ] ;
     fhir:definition [ fhir:v "The patient is the child of the subscriber (policy holder)" ]
  ] [
     fhir:code [ fhir:v "4" ] ;
     fhir:display [ fhir:v "Common Law Spouse" ] ;
     fhir:definition [ fhir:v "The patient is the common law spouse of the subscriber (policy holder)" ]
  ] [
     fhir:code [ fhir:v "5" ] ;
     fhir:display [ fhir:v "Other" ] ;
     fhir:definition [ fhir:v "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.