PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.physical-activity.r4b@1.0.0
    http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-relatedperson
description: A profile on RelatedPerson that mirrors the requirements of future US Core versions
package_name: hl7.fhir.us.physical-activity.r4b
derivation: constraint
name: PARelatedPerson
type: RelatedPerson
elements:
  implicitRules: {index: 0}
  modifierExtension: {index: 1}
  active: {mustSupport: true, index: 2}
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 3
  relationship:
    mustSupport: true
    index: 4
    elements:
      text: {mustSupport: true, index: 5}
    required: [text]
  name:
    constraint:
      pa-relatedperson-1: {human: At least one of given and family must exist, source: 'http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-relatedperson', severity: error, expression: given.exists() or family.exists()}
    mustSupport: true
    index: 6
    elements:
      family: {mustSupport: true, index: 7}
      given: {mustSupport: true, index: 8}
  telecom:
    mustSupport: true
    index: 9
    elements:
      system: {mustSupport: true, index: 10}
      value: {mustSupport: true, index: 11}
      use: {mustSupport: true, index: 12}
    required: [value, system]
  address:
    mustSupport: true
    index: 13
    elements:
      line: {mustSupport: true, index: 14}
      city: {mustSupport: true, index: 15}
      state: {mustSupport: true, index: 16}
      postalCode: {mustSupport: true, index: 17}
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-relatedperson
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 1.0.0