<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="shr-entity-RelationshipType" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>SHR RelationshipType Profile</b>
      </p>
      <p>The relationship of the subject to another person in the same extended family or extended family. May or may not be a blood relative.</p>
      <p>
        <b>SHR Mapping Summary</b>
      </p>
      <p>
        <pre>shr.entity.RelationshipType maps to Basic:
</pre>
      </p>
    </div>
  </text>
  <url value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-RelationshipType" />
  <identifier>
    <system value="http://standardhealthrecord.org" />
    <value value="shr.entity.RelationshipType" />
  </identifier>
  <version value="0.0.1" />
  <name value="SHR RelationshipType Profile" />
  <status value="draft" />
  <date value="2017-12-20" />
  <publisher value="The MITRE Corporation: Standard Health Record Collaborative" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://standardhealthrecord.org" />
    </telecom>
  </contact>
  <description value="The relationship of the subject to another person in the same extended family or extended family. May or may not be a blood relative." />
  <purpose value="Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources." />
  <fhirVersion value="3.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Basic" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Basic" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <element id="Basic:shr-entity-RelationshipType">
      <path value="Basic" />
      <short value="SHR RelationshipType Profile" />
      <definition value="The relationship of the subject to another person in the same extended family or extended family. May or may not be a blood relative." />
    </element>
    <element id="Basic:shr-entity-RelationshipType.extension:codeableconcept">
      <path value="Basic.extension" />
      <sliceName value="codeableconcept" />
      <definition value="A set of codes drawn from different coding systems, representing the same concept." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" />
      </type>
    </element>
    <element id="Basic:shr-entity-RelationshipType.extension:codeableconcept.valueCodeableConcept">
      <path value="Basic.extension.valueCodeableConcept" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Basic:shr-entity-RelationshipType.code">
      <path value="Basic.code" />
      <patternCodeableConcept>
        <coding>
          <system value="http://standardhealthrecord.org/fhir/basic-resource-type" />
          <code value="shr-entity-RelationshipType" />
        </coding>
      </patternCodeableConcept>
    </element>
  </differential>
</StructureDefinition>