<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Extension-CareConnect-RelatedProblemHeader-1" />
  <meta>
    <lastUpdated value="2018-04-16T13:31:02.095+01:00" />
  </meta>
  <url value="https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-RelatedProblemHeader-1" />
  <version value="1.1.0" />
  <name value="Extension-CareConnect-RelatedProblemHeader-1" />
  <status value="draft" />
  <date value="2024-01-22T11:39:06.3872207+00:00" />
  <publisher value="HL7 UK" />
  <contact>
    <name value="INTEROPen" />
    <telecom>
      <system value="email" />
      <value value="admin@interopen.org" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="A reference to another related problem header condition (target) whose relationship is defined by the relationship type code." />
  <purpose value="CURATED BY INTEROPen see: http://www.interopen.org/careconnect-curation-methodology/" />
  <copyright value="Copyright © 2019 HL7 UK  Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.  HL7® FHIR® standard Copyright © 2011+ HL7  The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html" />
  <fhirVersion value="3.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Condition" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="Related problem header condition (target)" />
      <definition value="Related problem header condition (target)." />
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Extension.extension:type">
      <path value="Extension.extension" />
      <sliceName value="type" />
    </element>
    <element id="Extension.extension:type.url">
      <path value="Extension.extension.url" />
      <fixedUri value="type" />
    </element>
    <element id="Extension.extension:type.valueCode:valueCode">
      <path value="Extension.extension.valueCode" />
      <sliceName value="valueCode" />
      <short value="Condition relationship type" />
      <definition value="Condition relationship type." />
      <type>
        <code value="code" />
      </type>
      <binding>
        <strength value="required" />
        <description value="A set of codes specifying the kind of relationship that exists with a target problem header condition." />
        <valueSetReference>
          <reference value="https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-ConditionRelationship-1" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Extension.extension:target">
      <path value="Extension.extension" />
      <sliceName value="target" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Extension.extension:target.url">
      <path value="Extension.extension.url" />
      <fixedUri value="target" />
    </element>
    <element id="Extension.extension:target.valueReference:valueReference">
      <path value="Extension.extension.valueReference" />
      <sliceName value="valueReference" />
      <short value="Target problem header condition" />
      <definition value="Target problem header condition." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ProblemHeader-Condition-1" />
      </type>
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-RelatedProblemHeader-1" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>