Example CodeSystem/relationship (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Code SystemBeneficiary Relationship Codes
<?xml version="1.0" encoding="UTF-8"?>
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="relationship"/>
<meta>
<lastUpdated value="2022-09-10T04:52:37.223+10:00"/>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> This 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>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fm"/>
</extension>
<url value="http://hl7.org/fhir/relationship"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.4.36"/>
</identifier>
<version value="5.0.0-ballot"/>
<name value="Beneficiary Relationship Codes"/>
<status value="draft"/>
<experimental value="true"/>
<publisher value="FHIR Project team"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<description value="This value set includes the Patient to subscriber relationship codes."/>
<copyright value="This is an example set."/>
<caseSensitive value="true"/>
<valueSet value="http://hl7.org/fhir/ValueSet/relationship"/>
<content value="complete"/>
<concept>
<code value="1"/>
<display value="Self"/>
<definition value="The patient is the subscriber (policy holder)"/>
</concept>
<concept>
<code value="2"/>
<display value="Spouse"/>
<definition value="The patient is the spouse or equivalent of the subscriber (policy holder)"/>
</concept>
<concept>
<code value="3"/>
<display value="Child"/>
<definition value="The patient is the child of the subscriber (policy holder)"/>
</concept>
<concept>
<code value="4"/>
<display value="Common Law Spouse"/>
<definition value="The patient is the common law spouse of the subscriber (policy holder)"/>
</concept>
<concept>
<code value="5"/>
<display value="Other"/>
<definition value="The patient has some other relationship, such as parent, to the subscriber (policy
holder)"/>
</concept>
</CodeSystem>
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.