<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="cf-1530786012384" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2018-05-02T09:11:33.85+00:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">Demographics Questionnaire<a name="mm" /></div>
  </text>
  <contained>
    <ValueSet>
      <id value="gender" />
      <identifier>
        <system value="http://hl7.org" />
        <value value="http://hl7.org/fhir/administrative-gender" />
      </identifier>
      <name value="Administrative Gender" />
      <status value="active" />
      <description value="Gender" />
      <compose>
        <include>
          <system value="http://hl7.org" />
          <concept>
            <code value="male" />
            <display value="male" />
          </concept>
          <concept>
            <code value="female" />
            <display value="female" />
          </concept>
          <concept>
            <code value="other" />
            <display value="Other" />
          </concept>
          <concept>
            <code value="unknown" />
            <display value="Unknown" />
          </concept>
        </include>
      </compose>
    </ValueSet>
  </contained>
  <url value="http://hapi.fhir.org/baseDstu3/Questionnaire/cf-1530786012384" />
  <identifier>
    <value value="awh-questionnaire-demographics" />
  </identifier>
  <version value="0.0.1" />
  <name value="Demographics Questionnaire" />
  <title value="Demographics Questionnaire" />
  <status value="active" />
  <experimental value="false" />
  <date value="2018-07-03" />
  <publisher value="Allied World Healthcare" />
  <description value="Questionnaire for Person Demographics" />
  <purpose value="Questionnaire for Person Demographics" />
  <approvalDate value="2018-07-03" />
  <lastReviewDate value="2018-07-03" />
  <effectivePeriod>
    <start value="2018-07-03" />
    <end value="2019-07-03" />
  </effectivePeriod>
  <copyright value="Creative Commons" />
  <subjectType value="Patient" />
  <subjectType value="Person" />
  <subjectType value="RelatedPerson" />
  <item>
    <linkId value="0" />
    <text value="name" />
    <type value="group" />
    <item>
      <linkId value="0.1" />
      <text value="official" />
      <type value="string" />
      <required value="false" />
      <maxLength value="20" />
      <initialString value="official" />
    </item>
    <item>
      <linkId value="0.2" />
      <text value="family" />
      <type value="string" />
      <required value="true" />
      <maxLength value="20" />
    </item>
    <item>
      <linkId value="0.3" />
      <text value="given" />
      <type value="string" />
      <required value="true" />
      <maxLength value="20" />
    </item>
  </item>
  <item>
    <linkId value="1" />
    <text value="telecom" />
    <type value="group" />
    <item>
      <linkId value="1.1" />
      <text value="system" />
      <type value="string" />
      <required value="false" />
      <readOnly value="true" />
      <maxLength value="20" />
      <initialString value="phone" />
    </item>
    <item>
      <linkId value="1.2" />
      <text value="value" />
      <type value="string" />
      <required value="false" />
      <maxLength value="20" />
    </item>
    <item>
      <linkId value="1.3" />
      <text value="use" />
      <type value="string" />
      <required value="false" />
      <readOnly value="true" />
      <maxLength value="20" />
      <initialString value="work" />
    </item>
  </item>
  <item>
    <linkId value="2" />
    <text value="what is your gender" />
    <type value="choice" />
    <required value="true" />
    <options>
      <reference value="#gender" />
    </options>
  </item>
  <item>
    <linkId value="3" />
    <text value="birthDate" />
    <type value="date" />
    <required value="false" />
  </item>
  <item>
    <linkId value="4" />
    <text value="active" />
    <type value="boolean" />
    <required value="false" />
  </item>
  <item>
    <linkId value="5" />
    <text value="address" />
    <type value="group" />
    <item>
      <linkId value="5.1" />
      <text value="use" />
      <type value="string" />
      <required value="false" />
      <readOnly value="true" />
      <maxLength value="20" />
      <initialString value="home" />
    </item>
    <item>
      <linkId value="5.2" />
      <text value="line" />
      <type value="string" />
      <required value="false" />
      <maxLength value="20" />
    </item>
    <item>
      <linkId value="5.3" />
      <text value="city" />
      <type value="string" />
      <required value="false" />
      <maxLength value="20" />
    </item>
    <item>
      <linkId value="5.4" />
      <text value="state" />
      <type value="string" />
      <required value="false" />
      <maxLength value="20" />
    </item>
    <item>
      <linkId value="5.5" />
      <text value="postalCode" />
      <type value="integer" />
      <required value="false" />
      <maxLength value="20" />
    </item>
  </item>
  <item>
    <linkId value="6" />
    <text value="link" />
    <type value="group" />
    <item>
      <linkId value="6.1" />
      <text value="target" />
      <type value="group" />
      <item>
        <linkId value="6.1.1" />
        <text value="Person" />
        <type value="reference" />
      </item>
      <item>
        <linkId value="6.1.2" />
        <text value="display" />
        <type value="string" />
        <required value="false" />
        <maxLength value="20" />
      </item>
    </item>
  </item>
</Questionnaire>