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

<Parameters xmlns="http://hl7.org/fhir">
  <id value="AlignmentRequestExample"/>
  <meta>
    <profile value="https://dsacms.github.io/cmmi-access-model/StructureDefinition/access-align-in"/>
  </meta>
  <language value="en"/>
  <parameter>
    <name value="participantID"/>
    <valueIdentifier>
      <system value="https://dsacms.github.io/cmmi-access-model/participant-id"/>
      <value value="ACCES12345"/>
    </valueIdentifier>
  </parameter>
  <parameter>
    <name value="payerID"/>
    <valueIdentifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType"/>
          <code value="payerid"/>
          <display value="Payer ID"/>
        </coding>
      </type>
      <system value="urn:oid:2.16.840.1.113883.3.221.5"/>
      <value value="12345"/>
    </valueIdentifier>
  </parameter>
  <parameter>
    <name value="patient"/>
    <resource>
      <Patient>
        <id value="PatientExample"/>
        <meta>
          <profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|6.1.0"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">Patient John Doe, male, born 1950-01-01, Medicare ID: 1EG4TE5MK73</div>
        </text>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="MC"/>
            </coding>
          </type>
          <system value="http://terminology.hl7.org/NamingSystem/cmsMBI"/>
          <value value="1EG4TE5MK73"/>
        </identifier>
        <name>
          <family value="Doe"/>
          <given value="John"/>
        </name>
        <gender value="male"/>
        <birthDate value="1950-01-01"/>
      </Patient>
    </resource>
  </parameter>
  <parameter>
    <name value="track"/>
    <valueCodeableConcept>
      <coding>
        <system value="https://dsacms.github.io/cmmi-access-model/CodeSystem/ACCESSTrackCS"/>
        <code value="CKM"/>
        <display value="Cardio-kidney-metabolic track"/>
      </coding>
    </valueCodeableConcept>
  </parameter>
  <parameter>
    <name value="condition"/>
    <resource>
      <Condition>
        <id value="ConditionDiabetesExample"/>
        <meta>
          <profile value="https://dsacms.github.io/cmmi-access-model/StructureDefinition/access-ckm-condition"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">Type 2 diabetes mellitus without complications</div>
        </text>
        <clinicalStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
            <code value="active"/>
          </coding>
        </clinicalStatus>
        <verificationStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
            <code value="confirmed"/>
          </coding>
        </verificationStatus>
        <category>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-category"/>
            <code value="problem-list-item"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="http://hl7.org/fhir/sid/icd-10-cm"/>
            <code value="E11.9"/>
            <display value="Type 2 diabetes mellitus without complications"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/PatientExample"/>
        </subject>
        <onsetDateTime value="2020-01-15"/>
      </Condition>
    </resource>
  </parameter>
  <parameter>
    <name value="isProviderReferral"/>
    <valueBoolean value="true"/>
  </parameter>
</Parameters>