<?xml version="1.0" encoding="UTF-8"?>

<PlanDefinition xmlns="http://hl7.org/fhir">
  <id value="cpg-common-registration"/>
  <meta>
    <profile value="http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-workflowdefinition"/>
    <profile value="http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computableplandefinition"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml">
  <table class="narrative-table">
    <tbody>
<tr>


<th colspan="2" scope="row" class="row-header">Metadata</th>


</tr>

<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">PlanDefinition - CPG Common Registration</td>


</tr>



<tr>


<th scope="row" class="row-header">Version</th>



<td class="content-container">2.0.0</td>


</tr>







  
<tr>


<th scope="row" class="row-header">Identifier</th>



<td class="content-container">urn:oid:2.16.840.1.113883.4.642.40.48.34.37</td>


</tr>








<tr>


<th scope="row" class="row-header">Experimental</th>



<td class="content-container">true</td>


</tr>





<tr>


<th scope="row" class="row-header">Jurisdiction</th>



<td class="content-container">
    World


</td>


</tr>








<tr>


<th scope="row" class="row-header">Steward (Publisher)</th>



<td class="content-container">HL7 International / Clinical Decision Support</td>


</tr>



<tr>


<th scope="row" class="row-header">Steward Contact</th>



<td class="content-container">HL7 International / Clinical Decision Support</td>


</tr>







<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container"><div><p>Plan for registering patient</p>
</div></td>


</tr>



<tr>


<th scope="row" class="row-header">Copyright</th>



<td class="content-container"><div><p>© WHO 2019+.</p>
</div></td>


</tr>




<tr>


<th scope="row" class="row-header">Type</th>



<td class="content-container">
    Workflow Definition


</td>


</tr>




<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Action</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Registration</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Registration</td>


</tr>




<tr>


<th scope="row" class="row-header">Code</th>



<td class="content-container">
    registration from <a href="CodeSystem-cpg-common-process-cs.html">http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-process-cs</a> 


</td>


</tr>




















  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: Registration)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Gather identifying information</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Gather identifying information</td>


</tr>











<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: QuestionnaireResponse
    <br/>
   
   
   
  </td>
</tr>









<tr>


<th scope="row" class="row-header">Definition</th>



<td class="content-container"><a href="Questionnaire-cpg-common-identity.html">CPG Common Questionnaire - Identifying information</a></td>


</tr>





    
  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: Registration)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Patient match</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Patient match</td>


</tr>










<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: QuestionnaireResponse
    <br/>
   
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: questionnaire</span>
    <br/>
  
  
  
  
    <span class="tab-one"><em>Code(s)</em>: 
    
      
      unknown: http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity (http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity)
      
    
    </span>
    <br/>
  
  
   
  </td>
</tr>


<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
   
   
   
  </td>
</tr>









<tr>


<th scope="row" class="row-header">Definition</th>



<td class="content-container"><a href="http://hl7.org/fhir/OperationDefinition/Patient-match">Find patient matches using MPI based logic</a></td>


</tr>





    
  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: Registration)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Resolve patient match results</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Resolve patient match results</td>


</tr>










<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
   
   
   
  </td>
</tr>


<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
   
   
   
  </td>
</tr>









<tr>


<th scope="row" class="row-header">Definition</th>



<td class="content-container"><a href="Questionnaire-cpg-common-resolve-patient-match.html">CPG Common Questionnaire - Resolve Patient Match</a></td>


</tr>





    
  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: Registration)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">New patient</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">New patient</td>


</tr>









<tr>
  <th scope="row" class="row-header">Condition</th>
  <td class="content-container">
  <em>Kind</em>: Applicability
  
    <br/>
    
      
      <em>Logic Definition</em>: <a href="null">not exists %input i where i is Patient</a> 
    
   
  </td>
</tr>


<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
   
   
   
  </td>
</tr>














  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: New patient)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Gather patient information</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Gather patient information</td>


</tr>










<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: QuestionnaireResponse
    <br/>
   
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: questionnaire</span>
    <br/>
  
  
  
  
    <span class="tab-one"><em>Code(s)</em>: 
    
      
      unknown: http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity (http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity)
      
    
    </span>
    <br/>
  
  
   
  </td>
</tr>


<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: QuestionnaireResponse
    <br/>
   
   
   
  </td>
</tr>









<tr>


<th scope="row" class="row-header">Definition</th>



<td class="content-container"><a href="Questionnaire-cpg-common-patient-profile.html">CPG Common Questionnaire - Patient information</a></td>


</tr>





    
  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: New patient)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Record patient data</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Record patient data</td>


</tr>










<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: QuestionnaireResponse
    <br/>
   
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: questionnaire</span>
    <br/>
  
  
  
  
    <span class="tab-one"><em>Code(s)</em>: 
    
      
      unknown: http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile (http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile)
      
    
    </span>
    <br/>
  
  
   
  </td>
</tr>


<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
   
   
   
  </td>
</tr>









<tr>


<th scope="row" class="row-header">Definition</th>



<td class="content-container"><a href="http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-restful-interaction.html">http://hl7.org/fhir/restful-interaction#create</a></td>


</tr>





    
  

    
  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: Registration)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Existing patient</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Existing patient</td>


</tr>









<tr>
  <th scope="row" class="row-header">Condition</th>
  <td class="content-container">
  <em>Kind</em>: Applicability
  
    <br/>
    
      
      <em>Logic Definition</em>: <a href="null">exists %input i where i is Patient</a> 
    
   
  </td>
</tr>


<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
   
   
   
  </td>
</tr>














  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: Existing patient)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Ensure patient information is up to date</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Ensure patient information is up to date</td>


</tr>










<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: QuestionnaireResponse
    <br/>
   
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: questionnaire</span>
    <br/>
  
  
  
  
    <span class="tab-one"><em>Code(s)</em>: 
    
      
      unknown: http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity (http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity)
      
    
    </span>
    <br/>
  
  
   
  </td>
</tr>


<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: QuestionnaireResponse
    <br/>
   
   
   
  </td>
</tr>









<tr>


<th scope="row" class="row-header">Definition</th>



<td class="content-container"><a href="Questionnaire-cpg-common-patient-profile.html">CPG Common Questionnaire - Patient information</a></td>


</tr>





    
  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: Existing patient)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Record patient data</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Record patient data</td>


</tr>










<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: QuestionnaireResponse
    <br/>
   
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: questionnaire</span>
    <br/>
  
  
  
  
    <span class="tab-one"><em>Code(s)</em>: 
    
      
      unknown: http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile (http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile)
      
    
    </span>
    <br/>
  
  
   
  </td>
</tr>


<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
   
   
   
  </td>
</tr>









<tr>


<th scope="row" class="row-header">Definition</th>



<td class="content-container"><a href="http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-restful-interaction.html">http://hl7.org/fhir/restful-interaction#update</a></td>


</tr>





    
  

    
  
    
    
      
      
<tr>


<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action Title: Registration)</th>


</tr>




<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Patient summary lookup</td>


</tr>


<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container">Patient summary lookup</td>


</tr>










<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
   
   
   
  </td>
</tr>


<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
   
   
   
  </td>
</tr>









<tr>


<th scope="row" class="row-header">Definition</th>



<td class="content-container"><a href="OperationDefinition-cpg-common-patient-summary.html">CPG Common Patient Summary</a></td>


</tr>





    
  





<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.5.4 of the sample-content-ig Liquid templates</th>
</tr>

    </tbody>
  </table>
</div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability">
    <valueCode value="shareable"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability">
    <valueCode value="computable"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability">
    <valueCode value="publishable"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cds"/>
  </extension>
  <url value="http://hl7.org/fhir/uv/cpg/PlanDefinition/cpg-common-registration"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.40.48.34.37"/>
  </identifier>
  <version value="2.0.0"/>
  <name value="PlanDefinition_CPG_Common_Registration"/>
  <title value="PlanDefinition - CPG Common Registration"/>
  <type>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/plan-definition-type"/>
      <code value="workflow-definition"/>
      <display value="Workflow Definition"/>
    </coding>
  </type>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2026-04-29T15:06:55+00:00"/>
  <publisher value="HL7 International / Clinical Decision Support"/>
  <contact>
    <name value="HL7 International / Clinical Decision Support"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/dss"/>
    </telecom>
  </contact>
  <description value="Plan for registering patient"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <copyright value="© WHO 2019+."/>
  <action>
    <title value="Registration"/>
    <description value="Registration"/>
    <code>
      <coding>
        <system value="http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-process-cs"/>
        <code value="registration"/>
      </coding>
    </code>
    <participant>
      <type value="patient"/>
      <role>
        <coding>
          <system value="http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona-cs"/>
          <code value="C000"/>
        </coding>
      </role>
    </participant>
    <participant>
      <type value="practitioner"/>
      <role>
        <coding>
          <system value="http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona-cs"/>
          <code value="W000"/>
          <display value="Clerical support worker"/>
        </coding>
      </role>
    </participant>
    <action>
      <title value="Gather identifying information"/>
      <description value="Gather identifying information"/>
      <output>
        <type value="QuestionnaireResponse"/>
      </output>
      <participant>
        <type value="patient"/>
        <role>
          <coding>
            <system value="http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona-cs"/>
            <code value="C000"/>
          </coding>
        </role>
      </participant>
      <definitionCanonical value="http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity"/>
    </action>
    <action>
      <title value="Patient match"/>
      <description value="Patient match"/>
      <input>
        <type value="QuestionnaireResponse"/>
        <codeFilter>
          <path value="questionnaire"/>
          <code>
            <system value="urn:ietf:rfc:3986"/>
            <code value="http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity"/>
          </code>
        </codeFilter>
      </input>
      <output>
        <type value="Bundle"/>
      </output>
      <participant>
        <extension url="http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-participantCapabilityStatement">
          <valueCanonical value="http://hl7.org/fhir/uv/cpg/CapabilityStatement/cpg-common-patient-registry"/>
        </extension>
        <type value="device"/>
      </participant>
      <definitionUri value="http://hl7.org/fhir/OperationDefinition/Patient-match"/>
    </action>
    <action>
      <title value="Resolve patient match results"/>
      <description value="Resolve patient match results"/>
      <input>
        <type value="Bundle"/>
      </input>
      <output>
        <type value="Patient"/>
      </output>
      <participant>
        <type value="practitioner"/>
        <role>
          <coding>
            <system value="http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-common-persona-cs"/>
            <code value="W000"/>
            <display value="Clerical support worker"/>
          </coding>
        </role>
      </participant>
      <definitionCanonical value="http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-resolve-patient-match"/>
    </action>
    <action>
      <title value="New patient"/>
      <description value="New patient"/>
      <condition>
        <kind value="applicability"/>
        <expression>
          <language value="text/cql"/>
          <expression value="not exists %input i where i is Patient"/>
        </expression>
      </condition>
      <input>
        <type value="Patient"/>
      </input>
      <action>
        <title value="Gather patient information"/>
        <description value="Gather patient information"/>
        <input>
          <type value="QuestionnaireResponse"/>
          <codeFilter>
            <path value="questionnaire"/>
            <code>
              <system value="urn:ietf:rfc:3986"/>
              <code value="http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity"/>
            </code>
          </codeFilter>
        </input>
        <output>
          <type value="QuestionnaireResponse"/>
        </output>
        <definitionCanonical value="http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile"/>
      </action>
      <action>
        <title value="Record patient data"/>
        <description value="Record patient data"/>
        <input>
          <type value="QuestionnaireResponse"/>
          <codeFilter>
            <path value="questionnaire"/>
            <code>
              <system value="urn:ietf:rfc:3986"/>
              <code value="http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile"/>
            </code>
          </codeFilter>
        </input>
        <output>
          <type value="Patient"/>
        </output>
        <participant>
          <extension url="http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-participantCapabilityStatement">
            <valueCanonical value="http://hl7.org/fhir/uv/cpg/CapabilityStatement/cpg-common-patient-registry"/>
          </extension>
          <type value="device"/>
        </participant>
        <definitionUri value="http://hl7.org/fhir/restful-interaction#create"/>
      </action>
    </action>
    <action>
      <title value="Existing patient"/>
      <description value="Existing patient"/>
      <condition>
        <kind value="applicability"/>
        <expression>
          <language value="text/cql"/>
          <expression value="exists %input i where i is Patient"/>
        </expression>
      </condition>
      <input>
        <type value="Patient"/>
      </input>
      <action>
        <title value="Ensure patient information is up to date"/>
        <description value="Ensure patient information is up to date"/>
        <input>
          <type value="QuestionnaireResponse"/>
          <codeFilter>
            <path value="questionnaire"/>
            <code>
              <system value="urn:ietf:rfc:3986"/>
              <code value="http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-identity"/>
            </code>
          </codeFilter>
        </input>
        <output>
          <type value="QuestionnaireResponse"/>
        </output>
        <definitionCanonical value="http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile"/>
      </action>
      <action>
        <title value="Record patient data"/>
        <description value="Record patient data"/>
        <input>
          <type value="QuestionnaireResponse"/>
          <codeFilter>
            <path value="questionnaire"/>
            <code>
              <system value="urn:ietf:rfc:3986"/>
              <code value="http://hl7.org/fhir/uv/cpg/Questionnaire/cpg-common-patient-profile"/>
            </code>
          </codeFilter>
        </input>
        <output>
          <type value="Patient"/>
        </output>
        <participant>
          <extension url="http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-participantCapabilityStatement">
            <valueCanonical value="http://hl7.org/fhir/uv/cpg/CapabilityStatement/cpg-common-patient-registry"/>
          </extension>
          <type value="device"/>
        </participant>
        <definitionUri value="http://hl7.org/fhir/restful-interaction#update"/>
      </action>
    </action>
    <action>
      <title value="Patient summary lookup"/>
      <description value="Patient summary lookup"/>
      <input>
        <type value="Patient"/>
      </input>
      <output>
        <type value="Bundle"/>
      </output>
      <participant>
        <extension url="http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-participantCapabilityStatement">
          <valueCanonical value="http://hl7.org/fhir/uv/cpg/CapabilityStatement/cpg-common-patient-registry"/>
        </extension>
        <type value="device"/>
      </participant>
      <definitionUri value="http://hl7.org/fhir/uv/cpg/OperationDefinition/cpg-common-patient-summary"/>
    </action>
  </action>
</PlanDefinition>