<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2020-12-03T07:50:40.537+00:00" />
  </meta>
  <url value="http://example.org/fhir/StructureDefinition/NHSDigitalEOLCPRStatus" />
  <name value="NHSDigitalEOLCPRStatus" />
  <status value="draft" />
  <description value="https://developer.nhs.uk/apis/eol-alpha/api_eol_cprstatus.html &#xD;&#xA;&#xD;&#xA;https://fhir.nhs.uk/STU3/StructureDefinition/EOL-CPRStatus-Flag-1" />
  <fhirVersion value="4.0.1" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://example.org/fhir/StructureDefinition/NHSDigitalEOLCPRStatus" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="NHSDigitalEOLCPRStatus">
      <path value="NHSDigitalEOLCPRStatus" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Element" />
      </type>
    </element>
    <element id="NHSDigitalEOLCPRStatus.cpr_status">
      <path value="NHSDigitalEOLCPRStatus.cpr_status" />
      <short value="CPR Status" />
      <definition value="If CPR status is transmitted, then the status code is mandatory.  This will be a straight binary choice of &quot;For&quot; or &quot;Not For&quot; resuscitation.&#xD;&#xA;&#xD;&#xA;Whilst there is a code for &quot;not aware of decision&quot;, this is not a logical requirement for this dataset.  Systems that are unaware of the status will logically not be sending this group.&#xD;&#xA;&#xD;&#xA;&quot;For CPR&quot; will generally be only used when reversing a &quot;Not for CPR&quot; status.  People who haven't yet had the discussion would just not have a recorded CPR decision in file.&#xD;&#xA;&#xD;&#xA;SCR Inclusion Dataset, and advised codes:&#xD;&#xA;450475007 | For cardiopulmonary resuscitation (finding)&#xD;&#xA;450476008 | Not for cardiopulmonary resuscitation (finding)&#xD;&#xA;&#xD;&#xA;Other codes in SCR Inclusion Dataset:&#xD;&#xA;304252001 | For resuscitation (finding)&#xD;&#xA;304253006 | Not for resuscitation (finding)&#xD;&#xA;143021000119109 | Do not resuscitate status with supporting documentation (finding)&#xD;&#xA;&#xD;&#xA;--------&#xD;&#xA;https://fhir.nhs.uk/STU3/ValueSet/EOL-CPRStatus-Code-1&#xD;&#xA;&#xD;&#xA;143021000119109 Do not resuscitate status with supporting documentation (finding)&#xD;&#xA;​ 304252001 For resuscitation (finding)&#xD;&#xA;​ 304253006 Not for resuscitation (finding)&#xD;&#xA;​ 450475007 For cardiopulmonary resuscitation (finding)&#xD;&#xA;​ 450476008 Not for cardiopulmonary resuscitation (finding)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/StructureDefinition/CodeableConcept" />
      </type>
    </element>
    <element id="NHSDigitalEOLCPRStatus.reason_for_cpr_status">
      <path value="NHSDigitalEOLCPRStatus.reason_for_cpr_status" />
      <definition value="It will be a strong recommendation that a reason for the status change is included although it is unlikely that it can be mandated from the start.  Also, as this is an MVP dataset, it could be argued that UEC are most keen on seeing the status rather than additional text.  However, in the example below if the text reads &quot;There is a valid advance decision to refuse CPR in the following circumstances...&quot;, then the DNACPR decision is not for all circumstances.  In that case, the business may wish to consider whether a non-blanket DNACPR would be better recorded as an Advance Treatment Preference so that where it is appropriate can be made clear.&#xD;&#xA;&#xD;&#xA;Example text strings could be:&#xD;&#xA;+ CPR is unlikely to be successful due to…&#xD;&#xA;+ CPR would be of no clinical benefit because of the following medical conditions...&#xD;&#xA;+ The outcome of the CPR would not be of overall benefit to the patient&#xD;&#xA;+ CPR may be successful, but followed by a length and quality of life which would not be of overall benefit to the person.&#xD;&#xA;+ There is a valid advance decision to refuse CPR in the following circumstances...&#xD;&#xA;+ CPR is against the wishes of the patient and is recorded in a valid advance decision&#xD;&#xA;+ CPR has been discussed with this patient.  It is against their wishes and they have the mental capacity to make that decision&#xD;&#xA;+ DNACPR cancelled due to..." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="NHSDigitalEOLCPRStatus.cpr_status_mental_capacity">
      <path value="NHSDigitalEOLCPRStatus.cpr_status_mental_capacity" />
      <definition value="'Systems should also deliver the mental capacity information as a textual field.  The exact text will vary from system to system - below is a selection.  Some refer to &quot;consent&quot; rather than the &quot;capacity to be involved&quot;.  This highlights a difference across England of this concept, which is not for the dataset to resolve.&#xD;&#xA;&#xD;&#xA;Example text strings could be:&#xD;&#xA;+ This person has the mental capacity to participate in making these recommendations.  They have been fully involved in the decision making process.&#xD;&#xA;+ This person lacks the capacity to to give consent (Mental Capacity Act 2005)&#xD;&#xA;+ This person is less than 18 (UK except Scotland) / 16 (Scotland) years old and has sufficient maturity and understanding to participate in making this decision&#xD;&#xA;+ This person is less than 18 (UK except Scotland) / 16 (Scotland) years old and does not currently have sufficient maturity and understanding to participate in making this decision&#xD;&#xA;+ This person has the mental capacity to participate in making these recommendations, but they have declined to discuss the decision." />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="NHSDigitalEOLCPRStatus.date_time_of_cpr_status">
      <path value="NHSDigitalEOLCPRStatus.date_time_of_cpr_status" />
      <definition value="We must record the effective date/time of the status.&#xD;&#xA;&#xD;&#xA;It seems sensible to include &quot;time&quot; as things may change rapidly for some patients over a day.  It is likely that most systems will only be recording a date." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
        <profile value="http://hl7.org/fhir/StructureDefinition/dateTime" />
      </type>
    </element>
  </differential>
</StructureDefinition>