{
  "resourceType": "StructureDefinition",
  "id": "fparpatient",
  "url": "http://fhir.org/guides/hspc/StructureDefinition/fparpatient",
  "version": "2.0.0",
  "name": "FPAR Patient Profile",
  "status": "draft",
  "date": "2017-05-02",
  "publisher": "HSPC on behalf of FPAR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://healthcaresoa.org"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.0",
  "mapping": [
    {
      "identity": "argonaut-dq-dstu2",
      "uri": "http://unknown.org/Argonaut DQ DSTU2",
      "name": "Argonaut DQ DSTU2"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://fhir.org/guides/hspc/StructureDefinition/hspc-patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient:fparpatient",
        "path": "Patient",
        "sliceName": "FPARPatient",
        "short": "FPAR Patient Profile",
        "definition": "The FPAR Patient profile is based on the HSPC Patient Profile.  Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.extension:race",
        "path": "Patient.extension",
        "sliceName": "race",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.extension"
          },
          {
            "identity": "LOINC",
            "map": "32624-9"
          },
          {
            "identity": "valueSet_VSAC_OID",
            "map": "2.16.840.1.113883.3.2074.1.1.3"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.extension:ethnicity",
        "path": "Patient.extension",
        "sliceName": "ethnicity",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.extension"
          },
          {
            "identity": "LOINC",
            "map": "69490-1"
          },
          {
            "identity": "valueSet_VSAC_OID",
            "map": "2.16.840.1.114222.4.11.837"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.extension:birthsex",
        "path": "Patient.extension",
        "sliceName": "birthsex",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "strength": "required",
          "description": "Code for sex assigned at birth",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-birthsex"
          }
        },
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.extension"
          },
          {
            "identity": "valueSet_VSAC_OID",
            "map": "2.16.840.1.113883.1.11.1"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.identifier",
        "path": "Patient.identifier",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.identifier"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.identifier.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.identifier.system"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.identifier.value",
        "path": "Patient.identifier.value",
        "short": "The value that is unique within the system.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.identifier.value"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.name",
        "path": "Patient.name",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.name"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.name.family",
        "path": "Patient.name.family",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.name.family"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.name.given",
        "path": "Patient.name.given",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.name.given"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.gender",
        "path": "Patient.gender",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
          }
        },
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.gender"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.address",
        "path": "Patient.address",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Patient:fparpatient.address.extension:addressprimaryind",
        "path": "Patient.address.extension",
        "sliceName": "addressprimaryind",
        "comment": "Make general extension.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "preferred",
          "description": "The set of values to indicate affirmative or negative",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/v2-0136"
          }
        }
      },
      {
        "id": "Patient:fparpatient.contact:emergencycontact",
        "path": "Patient.contact",
        "sliceName": "EmergencyContact",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "contact.name"
            }
          ],
          "ordered": false,
          "rules": "openAtEnd"
        },
        "alias": [
          "Emergency Contact"
        ],
        "min": 0,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Patient:fparpatient.contact:emergencycontact.extension:contactpartyid",
        "path": "Patient.contact.extension",
        "sliceName": "contactPartyId",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Patient:fparpatient.contact:emergencycontact.relationship",
        "path": "Patient.contact.relationship",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/v2/0131",
              "code": "C",
              "display": "Emergency Contact"
            }
          ]
        },
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Patient:fparpatient.contact:contact",
        "path": "Patient.contact",
        "sliceName": "Contact",
        "alias": [
          "Contact"
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Patient:fparpatient.contact:contact.extension:contactpartyid",
        "path": "Patient.contact.extension",
        "sliceName": "contactPartyId",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Patient:fparpatient.communication",
        "path": "Patient.communication",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Patient:fparpatient.communication.extension:communicationmode",
        "path": "Patient.communication.extension",
        "sliceName": "communicationmode",
        "comment": "HL7 Comm. Mode. TBD.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "preferred",
          "description": "A set of codes that describe the method by which an individual communicates",
          "valueSetReference": {
            "reference": "ValueSet/communicationMode"
          }
        }
      },
      {
        "id": "Patient:fparpatient.communication.language",
        "path": "Patient.communication.language",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference": {
                "reference": "http://hl7.org/fhir/us/core/ValueSet/simple-language"
              }
            }
          ],
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/us/core/ValueSet/simple-language"
          }
        },
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.communication.language"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.birthDate",
        "path": "Patient.birthDate",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Patient.birthDate"
          }
        ]
      },
      {
        "id": "Patient:fparpatient.birthDate.extension:birthdateverificationmethod",
        "path": "Patient.birthDate.extension",
        "sliceName": "birthDateVerificationMethod",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "preferred",
          "description": "A set of codes that describe the kind of documentation used to validate a date of birth",
          "valueSetReference": {
            "reference": "ValueSet/hspc-bdverifiedmethod"
          }
        }
      },
      {
        "id": "Patient:fparpatient.animal",
        "path": "Patient.animal",
        "min": 0,
        "max": "0"
      }
    ]
  }
}