{
  "resourceType": "CodeSystem",
  "status": "draft",
  "content": "complete",
  "name": "NexusFormChartValueCS",
  "id": "nexus-form-chart-value",
  "title": "Form Chart Value CodeSystem",
  "description": "The values a form template's field mapping may draw from a patient's chart. Codes are dotted\npaths naming what is read (`patient.address`) and, where a form splits a value across boxes, the\npart of it (`patient.address.city`, `patient.birthDate.year`).\n\nEach code resolves to text from the patient record; how that text lands depends on the field it\nis mapped to (see the Form Template Field Mapping extension): a text field takes it as text, a\ncheckbox or radio button is checked when its export value equals it, and a choice field selects\nthe option whose export or display value equals it. Where the chart holds no value, or nothing on\nthe field matches, the field is left blank. Names come from the patient's official name; the\naddress is the residential address, falling back to the mailing address; the phone is the first\nof home, mobile and work; the Social Insurance Number is the identifier typed `SS`, as stored; the\nhealth number is the identifier typed `JHN`, its version code read from that identifier's\nversion-code extension; the most responsible provider is the practitioner the patient's\n`generalPractitioner` names.",
  "url": "https://fhir.apps.health/CodeSystem/nexus-form-chart-value",
  "concept": [
    {
      "code": "patient.fullName",
      "display": "Full name",
      "definition": "The patient's first given name and family name, from the official name, joined with a space."
    },
    {
      "code": "patient.firstName",
      "display": "First name",
      "definition": "The patient's first given name, from the official name."
    },
    {
      "code": "patient.lastName",
      "display": "Last name",
      "definition": "The patient's family name, from the official name."
    },
    {
      "code": "patient.birthDate",
      "display": "Date of birth",
      "definition": "The full date of birth as an ISO 8601 date, `YYYY-MM-DD`. A date of birth recorded to less than the full day yields nothing, and the field is left blank."
    },
    {
      "code": "patient.birthDate.day",
      "display": "Day of birth",
      "definition": "The day of the month of the date of birth, two digits, zero-padded (`07`)."
    },
    {
      "code": "patient.birthDate.month",
      "display": "Month of birth",
      "definition": "The month of the date of birth, two digits, zero-padded (`03`)."
    },
    {
      "code": "patient.birthDate.year",
      "display": "Year of birth",
      "definition": "The year of the date of birth, four digits."
    },
    {
      "code": "patient.gender",
      "display": "Gender",
      "definition": "The patient's administrative gender as its FHIR code: `male`, `female`, `other` or `unknown`. On a checkbox group the box whose export value equals the code is checked; on a text field the code is written as text."
    },
    {
      "code": "patient.phone",
      "display": "Phone number",
      "definition": "The patient's phone number as recorded, taking the first present of the home, mobile and work numbers."
    },
    {
      "code": "patient.address",
      "display": "Address",
      "definition": "The patient's residential address (or mailing address when no residential one is recorded) as a single line: street, city, province, postal code."
    },
    {
      "code": "patient.address.street",
      "display": "Street address",
      "definition": "The street lines of the address, joined with a space."
    },
    {
      "code": "patient.address.city",
      "display": "City",
      "definition": "The address's city."
    },
    {
      "code": "patient.address.province",
      "display": "Province",
      "definition": "The address's province or state as its two-letter code (`ON`). On a choice field the option whose export or display value equals the code is selected."
    },
    {
      "code": "patient.address.postalCode",
      "display": "Postal code",
      "definition": "The address's postal code as recorded."
    },
    {
      "code": "patient.socialInsuranceNumber",
      "display": "Social Insurance Number",
      "definition": "The patient's Social Insurance Number as recorded on the identifier typed `SS` (the HL7 identifier type for a social insurance or security number): the digits as stored, with no grouping or other reformatting."
    },
    {
      "code": "patient.healthNumber",
      "display": "Health number",
      "definition": "The patient's provincial health card number as recorded on the identifier typed `JHN` (the HL7 identifier type for a jurisdictional health number), followed by a single space and the card's version code when one is recorded. The version code is carried in the identifier's version-code extension, or embedded at the end of a legacy value. A card with no version code yields the number alone; a record with no health card leaves the field blank. The digits are written as stored, with no grouping or other reformatting."
    },
    {
      "code": "patient.healthNumber.number",
      "display": "Health number, number only",
      "definition": "The health card number alone, without its version code, as recorded."
    },
    {
      "code": "patient.healthNumber.versionCode",
      "display": "Health number version code",
      "definition": "The health card's version code alone, in upper-case letters. A card with no version code leaves the field blank."
    },
    {
      "code": "patient.mrp",
      "display": "Most responsible provider",
      "definition": "The display name of the patient's most responsible provider: the practitioner the record names under `generalPractitioner`. A record naming no provider leaves the field blank."
    }
  ],
  "experimental": false,
  "caseSensitive": true,
  "count": 19
}
