Example ValueSet/relatedperson-relationshiptype (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Value SetPatientRelationshipType
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet xmlns="http://hl7.org/fhir">
<id value="relatedperson-relationshiptype"/>
<meta>
<lastUpdated value="2022-12-14T07:12:54.019+11:00"/>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p> This value set includes codes based on the following rules:</p>
<ul>
<li> Include all codes defined in
<a href="http://terminology.hl7.org/4.0.0/CodeSystem-v2-0131.html">
<code> http://terminology.hl7.org/CodeSystem/v2-0131</code>
</a>
</li>
<li> Include codes from
<a href="http://terminology.hl7.org/4.0.0/CodeSystem-v3-RoleCode.html">
<code> http://terminology.hl7.org/CodeSystem/v3-RoleCode</code>
</a> where concept is-a
<a href="http://terminology.hl7.org/4.0.0/CodeSystem-v3-RoleCode.html#v3-RoleCode-_PersonalRelationshi
pRoleType">_PersonalRelationshipRoleType</a>
</li>
</ul>
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="pa"/>
</extension>
<url value="http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.3.449"/>
</identifier>
<identifier>
<use value="old"/>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.3.442"/>
</identifier>
<identifier>
<use value="old"/>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.16.840.1.113883.4.642.2.259"/>
</identifier>
<version value="5.0.0-snapshot3"/>
<name value="PatientRelationshipType"/>
<status value="draft"/>
<experimental value="false"/>
<publisher value="FHIR Project team"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<description value="A set of codes that can be used to indicate the relationship between a Patient
and a Related Person."/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
<display value="World"/>
</coding>
</jurisdiction>
<compose>
<include>
<system value="http://terminology.hl7.org/CodeSystem/v2-0131"/>
</include>
<include>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<filter>
<property value="concept"/>
<op value="is-a"/>
<value value="_PersonalRelationshipRoleType"/>
</filter>
</include>
</compose>
</ValueSet>
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.