PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.identity-matching@2.0.0-ballot
    http://hl7.org/fhir/us/identity-matching/StructureDefinition/FASTIDUDAPPerson
description: Profile on Person for use with the Interoperable Digital Identity and Patient Matching IG
package_name: hl7.fhir.us.identity-matching
derivation: constraint
name: FASTIDUDAPPerson
type: Person
elements:
  name:
    elements:
      family: {index: 0}
      given: {index: 1}
    required: [given, family]
  telecom:
    array: true
    min: 2
    index: 2
    slicing:
      rules: open
      description: Forcing both a phone and an email contact
      discriminator:
      - {path: system, type: pattern}
      min: 2
      slices:
        tphone:
          match: {system: phone}
          schema:
            array: true
            min: 1
            _required: true
            index: 3
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 4
            required: [system]
        email:
          match: {system: email}
          schema:
            array: true
            min: 1
            _required: true
            index: 5
            elements:
              system:
                pattern: {type: Code, value: email}
                index: 6
            required: [system]
  birthDate: {index: 7}
  address:
    elements:
      line: {index: 8}
      city: {index: 9}
      state: {index: 10}
      postalCode: {index: 11}
    required: [city, postalCode, line, state]
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/identity-matching/StructureDefinition/FASTIDUDAPPerson
base: http://hl7.org/fhir/StructureDefinition/Person
version: 2.0.0-ballot
required: [birthDate]