RelatedPersonRelationshipAndNameParticipant
type: StructureDefinition
node role: treeRoot
id:
  v: RelatedPersonRelationshipAndNameParticipant
meta:
  version id:
    v: 4
  last updated:
    v: 2023-07-11T23:42:06.321Z
text:
  status:
    v: extensions
  div: Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Participant1 1..1 Participant1 XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @nullFlavor, realmCode, <a href="http://hl7.org/cda/stds/core/2.0.0-sd-snapshot1/StructureDefinition-InfrastructureRoot.html" title="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.">typeId, templateId, @typeCode, @contextControlCode, functionCode, time, associatedEntity Base for all types and resources Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Slices for templateId 1..* II Slice: Unordered, Open by value:root, value:extension templateId:related-person 1..1 II @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.5.8 @extension 1..1 st Required Pattern: 2023-05-01 @typeCode 1..1 cs Fixed Value: IND associatedEntity C 1..1 AssociatedEntity should-addr: SHOULD contain addr should-telecom: SHOULD contain telecom @classCode 1..1 cs Fixed Value: PRS code 1..1 CE (USCDI) Related Person's Relationship - This associatedEntity/code represents the person's relationship to the patient. Binding: Personal And Legal Relationship Role Type (required) addr 0..* USRealmAddress Base for all types and resources telecom 0..* TEL associatedPerson 1..1 Person The associatedPerson represents the name and contact information of the related person name 1..* USRealmPersonNamePNUSFIELDED (USCDI) Related Person's Name <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-target
  value: boolean
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/data-absent-reason
      value:
        v: not-applicable
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:v3
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: participant
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-container
  value:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/type-profile-style
  value:
    v: cda
url:
  v: http://hl7.org/cda/us/ccda/StructureDefinition/RelatedPersonRelationshipAndNameParticipant
identifier:
  value:
    v: urn:hl7ii:2.16.840.1.113883.10.20.22.5.8:2023-05-01
version:
  v: 3.0.0-ballot
name:
  v: RelatedPersonRelationshipAndNameParticipant
title:
  v: Related Person Relationship and Name Participant
status:
  v: draft
date:
  v: 2023-12-21T01:13:10+10:00
publisher:
  v: Health Level Seven
contact:
  name:
    v: HL7 International - Structured Documents
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/structure
description:
  v: This template represents a generic participant person that has a relationship to the patient. (e.g., parent, next-of-kin, neighbor). The related person's name is required and it is recommended that the person's contact information is present. The more specific CDA participant of Guardian (recordTarget/patientRole/patient/guardian) can be used to represent a legally responsible guardian of the patient within the header. This template may be used to represent a person with any relationship to the patient within the header, or at the entry level when pertinent to a particular clinical statement.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: US
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.org/cda/stds/core/StructureDefinition/Participant1
base definition:
  v: http://hl7.org/cda/stds/core/StructureDefinition/Participant1
  link: http://hl7.org/cda/stds/core/StructureDefinition/Participant1
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: Participant1
    path:
      v: Participant1
    short:
      v: Base for all types and resources
    definition:
      v: Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: Participant1.nullFlavor
    path:
      v: Participant1.nullFlavor
    representation:
      v: xmlAttr
    label:
      v: Exceptional Value Detail
    definition:
      v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: ANY.nullFlavor
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    binding:
      strength:
        v: required
      value set:
        v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
        link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
  element:
    id:
      v: Participant1.realmCode
    path:
      v: Participant1.realmCode
    definition:
      v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: InfrastructureRoot.realmCode
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: http://hl7.org/cda/stds/core/StructureDefinition/CS
  element:
    id:
      v: Participant1.typeId
    path:
      v: Participant1.typeId
    definition:
      v: When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: InfrastructureRoot.typeId
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/cda/stds/core/StructureDefinition/II
  element:
    id:
      v: Participant1.typeId.nullFlavor

v: Participant1.typeId.nullFlavor

v: xmlAttr

v: Exceptional Value Detail

v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.

v: 0

v: 1

path:
  v: ANY.nullFlavor
min:
  v: 0
max:
  v: 1

code:
  v: code
profile:
  v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
  link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple

strength:
  v: required
value set:
  v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
  link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Participant1.typeId.assigningAuthorityName
path:
  v: Participant1.typeId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Participant1.typeId.displayable
path:
  v: Participant1.typeId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Participant1.typeId.root
path:
  v: Participant1.typeId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: Identifies the type as an HL7 Registered model
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
fixed:
  v: 2.16.840.1.113883.1.3

id:
  v: Participant1.typeId.extension
path:
  v: Participant1.typeId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Participant1.templateId
path:
  v: Participant1.templateId
slicing:
  discriminator:
    type:
      v: value
    path:
      v: root
  discriminator:
    type:
      v: value
    path:
      v: extension
  rules:
    v: open
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 1
max:
  v: *
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Participant1.templateId:related-person
path:
  v: Participant1.templateId
slice name:
  v: related-person
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 1
max:
  v: 1
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Participant1.templateId:related-person.nullFlavor
path:
  v: Participant1.templateId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Participant1.templateId:related-person.assigningAuthorityName
path:
  v: Participant1.templateId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Participant1.templateId:related-person.displayable
path:
  v: Participant1.templateId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Participant1.templateId:related-person.root
path:
  v: Participant1.templateId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
pattern:
  v: 2.16.840.1.113883.10.20.22.5.8

id:
  v: Participant1.templateId:related-person.extension
path:
  v: Participant1.templateId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
pattern:
  v: 2023-05-01

id:
  v: Participant1.typeCode
path:
  v: Participant1.typeCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @typeCode="IND" Indirect (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90) (CONF:4537-32982).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Participant1.typeCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: IND
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ParticipationType
    link: http://terminology.hl7.org/ValueSet/v3-ParticipationType

id:
  v: Participant1.contextControlCode
path:
  v: Participant1.contextControlCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Participant1.contextControlCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: OP
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ContextControl
    link: http://terminology.hl7.org/ValueSet/v3-ContextControl

id:
  v: Participant1.functionCode
path:
  v: Participant1.functionCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Participant1.functionCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE

id:
  v: Participant1.time
path:
  v: Participant1.time
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Participant1.time
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS

id:
  v: Participant1.associatedEntity
path:
  v: Participant1.associatedEntity
comment:
  v: SHALL contain exactly one [1..1] associatedEntity (CONF:4537-32978).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Participant1.associatedEntity
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/AssociatedEntity
constraint:
  key:
    v: should-addr
  severity:
    v: warning
  human:
    v: SHOULD contain addr
  expression:
    v: addr.exists()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/RelatedPersonRelationshipAndNameParticipant
    link: http://hl7.org/cda/us/ccda/StructureDefinition/RelatedPersonRelationshipAndNameParticipant
constraint:
  key:
    v: should-telecom
  severity:
    v: warning
  human:
    v: SHOULD contain telecom
  expression:
    v: telecom.exists()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/RelatedPersonRelationshipAndNameParticipant
    link: http://hl7.org/cda/us/ccda/StructureDefinition/RelatedPersonRelationshipAndNameParticipant

id:
  v: Participant1.associatedEntity.nullFlavor
path:
  v: Participant1.associatedEntity.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Participant1.associatedEntity.realmCode
path:
  v: Participant1.associatedEntity.realmCode
definition:
  v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.realmCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS

id:
  v: Participant1.associatedEntity.typeId
path:
  v: Participant1.associatedEntity.typeId
definition:
  v: When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: InfrastructureRoot.typeId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Participant1.associatedEntity.typeId.nullFlavor
path:
  v: Participant1.associatedEntity.typeId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Participant1.associatedEntity.typeId.assigningAuthorityName
path:
  v: Participant1.associatedEntity.typeId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Participant1.associatedEntity.typeId.displayable
path:
  v: Participant1.associatedEntity.typeId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Participant1.associatedEntity.typeId.root
path:
  v: Participant1.associatedEntity.typeId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: Identifies the type as an HL7 Registered model
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
fixed:
  v: 2.16.840.1.113883.1.3

id:
  v: Participant1.associatedEntity.typeId.extension
path:
  v: Participant1.associatedEntity.typeId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Participant1.associatedEntity.templateId
path:
  v: Participant1.associatedEntity.templateId
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Participant1.associatedEntity.classCode
path:
  v: Participant1.associatedEntity.classCode
representation:
  v: xmlAttr
comment:
  v: This associatedEntity SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet Personal And Legal Relationship Role Type 2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:4537-32985).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: AssociatedEntity.classCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: PRS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-RoleClassAssociative
    link: http://terminology.hl7.org/ValueSet/v3-RoleClassAssociative

id:
  v: Participant1.associatedEntity.id
path:
  v: Participant1.associatedEntity.id
min:
  v: 0
max:
  v: *
base:
  path:
    v: AssociatedEntity.id
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Participant1.associatedEntity.sdtcIdentifiedBy
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: identifiedBy
path:
  v: Participant1.associatedEntity.sdtcIdentifiedBy
min:
  v: 0
max:
  v: *
base:
  path:
    v: AssociatedEntity.sdtcIdentifiedBy
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy

id:
  v: Participant1.associatedEntity.code
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Participant1.associatedEntity.code
short:
  v: (USCDI) Related Person's Relationship - This associatedEntity/code represents the person's relationship to the patient.
comment:
  v: This associatedEntity SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet Personal And Legal Relationship Role Type urn:oid:2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:4537-32985).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: AssociatedEntity.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
binding:
  strength:
    v: required
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1
    link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1

id:
  v: Participant1.associatedEntity.addr
path:
  v: Participant1.associatedEntity.addr
short:
  v: Base for all types and resources
definition:
  v: Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc.
comment:
  v: This associatedEntity SHOULD contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-32979).
min:
  v: 0
max:
  v: *
base:
  path:
    v: AssociatedEntity.addr
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/AD
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
constraint:
  key:
    v: shall-city
  severity:
    v: error
  human:
    v: SHALL contain exactly one [1..1] city (CONF:81-7292).
  expression:
    v: nullFlavor.exists() or item.city.count() = 1
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
constraint:
  key:
    v: shall-streetAddressLine
  severity:
    v: error
  human:
    v: SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).
  expression:
    v: nullFlavor.exists() or (item.streetAddressLine.count() >= 1 and item.streetAddressLine.count() <= 4)
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
constraint:
  key:
    v: should-use
  severity:
    v: warning
  human:
    v: SHOULD contain @use
  expression:
    v: nullFlavor.exists() or use.exists()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
constraint:
  key:
    v: should-country
  severity:
    v: warning
  human:
    v: SHOULD contain country
  expression:
    v: nullFlavor.exists() or item.country.exists()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
constraint:
  key:
    v: 81-7296
  severity:
    v: error
  human:
    v: **SHALL NOT** have mixed content except for white space (CONF:81-7296)
  expression:
    v: item.xmlText.empty()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
constraint:
  key:
    v: 81-10024
  severity:
    v: error
  human:
    v: If the country is US, the state element is required and SHALL be selected from ValueSet StateValueSet but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).
  expression:
    v: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.state.exists(nullFlavor.exists() or xmlText.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state'))
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
constraint:
  key:
    v: 81-10025
  severity:
    v: error
  human:
    v: If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).
  expression:
    v: nullFlavor.exists() or (item.country.exists() and item.country.xmlText != 'US' and item.country.xmlText != 'USA') or item.postalCode.exists(nullFlavor.exists() or xmlText.matches('[0-9]{5}(-[0-9]{4})?'))
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
constraint:
  key:
    v: shall-max-ad-parts
  severity:
    v: error
  human:
    v: SHALL have at most one of each: state, city, postalCode, and country
  expression:
    v: (item.state.empty() or item.state.count() = 1) and (item.city.empty() or item.city.count() = 1) and (item.postalCode.empty() or item.postalCode.count() = 1) and (item.country.empty() or item.country.count() = 1)
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
is modifier:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Participant1.associatedEntity.telecom
path:
  v: Participant1.associatedEntity.telecom
comment:
  v: This associatedEntity SHOULD contain zero or more [0..*] telecom (CONF:4537-32986).
min:
  v: 0
max:
  v: *
base:
  path:
    v: AssociatedEntity.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TEL

id:
  v: Participant1.associatedEntity.associatedPerson
path:
  v: Participant1.associatedEntity.associatedPerson
short:
  v: The associatedPerson represents the name and contact information of the related person
comment:
  v: This associatedEntity SHALL contain exactly one [1..1] associatedPerson (CONF:4537-32980).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: AssociatedEntity.associatedPerson
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Person

id:
  v: Participant1.associatedEntity.associatedPerson.nullFlavor
path:
  v: Participant1.associatedEntity.associatedPerson.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Participant1.associatedEntity.associatedPerson.realmCode
path:
  v: Participant1.associatedEntity.associatedPerson.realmCode
definition:
  v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.realmCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS

id:
  v: Participant1.associatedEntity.associatedPerson.typeId
path:
  v: Participant1.associatedEntity.associatedPerson.typeId
definition:
  v: When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: InfrastructureRoot.typeId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Participant1.associatedEntity.associatedPerson.typeId.nullFlavor
path:
  v: Participant1.associatedEntity.associatedPerson.typeId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Participant1.associatedEntity.associatedPerson.typeId.assigningAuthorityName
path:
  v: Participant1.associatedEntity.associatedPerson.typeId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Participant1.associatedEntity.associatedPerson.typeId.displayable
path:
  v: Participant1.associatedEntity.associatedPerson.typeId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Participant1.associatedEntity.associatedPerson.typeId.root
path:
  v: Participant1.associatedEntity.associatedPerson.typeId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: Identifies the type as an HL7 Registered model
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
fixed:
  v: 2.16.840.1.113883.1.3

id:
  v: Participant1.associatedEntity.associatedPerson.typeId.extension
path:
  v: Participant1.associatedEntity.associatedPerson.typeId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Participant1.associatedEntity.associatedPerson.templateId
path:
  v: Participant1.associatedEntity.associatedPerson.templateId
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Participant1.associatedEntity.associatedPerson.classCode
path:
  v: Participant1.associatedEntity.associatedPerson.classCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Person.classCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: PSN
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject
    link: http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject

id:
  v: Participant1.associatedEntity.associatedPerson.determinerCode
path:
  v: Participant1.associatedEntity.associatedPerson.determinerCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Person.determinerCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: INSTANCE
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-EntityDeterminer
    link: http://terminology.hl7.org/ValueSet/v3-EntityDeterminer

id:
  v: Participant1.associatedEntity.associatedPerson.name
extension:
  url:
    v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
  value:
    v: true
path:
  v: Participant1.associatedEntity.associatedPerson.name
short:
  v: (USCDI) Related Person's Name
definition:
  v: A name for a person. A sequence of name parts, such as given name or family name, prefix, suffix, etc. Examples for person name values are "Jim Bob Walton, Jr.", "Adam Everyman", etc. A person name may be as simple as a character string or may consist of several person name parts, such as, "Jim", "Bob", "Walton", and "Jr.". PN differs from EN because the qualifier type cannot include LS (Legal Status).
comment:
  v: This associatedPerson SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:4537-32987).
min:
  v: 1
max:
  v: *
base:
  path:
    v: Person.name
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PN
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED
constraint:
  key:
    v: pn-no-ls
  severity:
    v: error
  human:
    v: No PN name part may have a qualifier of LS.
  expression:
    v: (item.delimiter | item.family | item.given | item.prefix | item.suffix).where(qualifier.where($this = 'LS').exists()).empty()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PN
    link: http://hl7.org/cda/stds/core/StructureDefinition/PN
constraint:
  key:
    v: 81-9371
  severity:
    v: error
  human:
    v: The content of name **SHALL** be either a conformant Patient Name (PTN.US.FIELDED), or a string (CONF:81-9371).
  expression:
    v: conformsTo('http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPatientNamePTNUSFIELDED') or item.xmlText.exists()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED
constraint:
  key:
    v: 81-9372
  severity:
    v: error
  human:
    v: The string **SHALL NOT** contain name parts (CONF:81-9372).
  expression:
    v: item.xmlText.exists() implies (item.delimiter | item.family | item.given | item.prefix | item.suffix).empty()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED
    link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED
is modifier:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcDesc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: desc
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcDesc
definition:
  v: The desc extension allows multimedia depictions of patients, healthcare providers, or other individuals to be included in a CDA document.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Person.sdtcDesc
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
  value:
    v: asPatientRelationship
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship
definition:
  v: Each participant role other than an informant/relatedEntity may have zero or more relationship roles with the patient. Each of these roles can be expressed with an asPatientRelationship element which further describes the type of role using a code element.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Person.sdtcAsPatientRelationship
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.nullFlavor
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.realmCode
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.realmCode
definition:
  v: When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.realmCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId
definition:
  v: When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: InfrastructureRoot.typeId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.nullFlavor
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.assigningAuthorityName
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.assigningAuthorityName
representation:
  v: xmlAttr
label:
  v: Assigning Authority Name
definition:
  v: A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.assigningAuthorityName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.displayable
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.displayable
representation:
  v: xmlAttr
label:
  v: Displayable
definition:
  v: Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: II.displayable
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.root
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.root
representation:
  v: xmlAttr
label:
  v: Root
definition:
  v: Identifies the type as an HL7 Registered model
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.root
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    link: http://hl7.org/cda/stds/core/StructureDefinition/oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    link: http://hl7.org/cda/stds/core/StructureDefinition/uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    link: http://hl7.org/cda/stds/core/StructureDefinition/ruid
fixed:
  v: 2.16.840.1.113883.1.3

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.extension
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.typeId.extension
representation:
  v: xmlAttr
label:
  v: Extension
definition:
  v: A character string as a unique identifier within the scope of the identifier root.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: II.extension
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/st-simple

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.templateId
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.templateId
definition:
  v: When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question
min:
  v: 0
max:
  v: *
base:
  path:
    v: InfrastructureRoot.templateId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.classCode
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.classCode
representation:
  v: xmlAttr
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Person.sdtcAsPatientRelationship.classCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: PRS

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.determinerCode
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.determinerCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Person.sdtcAsPatientRelationship.determinerCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
fixed:
  v: INSTANCE

id:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.code
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value:
    v: urn:hl7-org:sdtc
path:
  v: Participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship.code
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Person.sdtcAsPatientRelationship.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE

id:
  v: Participant1.associatedEntity.scopingOrganization
path:
  v: Participant1.associatedEntity.scopingOrganization
min:
  v: 0
max:
  v: 1
base:
  path:
    v: AssociatedEntity.scopingOrganization
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Organization

element:
  id:
    v: Participant1
  path:
    v: Participant1
element:
  id:
    v: Participant1.templateId
  path:
    v: Participant1.templateId
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: root
    discriminator:
      type:
        v: value
      path:
        v: extension
    rules:
      v: open
  min:
    v: 1
element:
  id:
    v: Participant1.templateId:related-person
  path:
    v: Participant1.templateId
  slice name:
    v: related-person
  min:
    v: 1
  max:
    v: 1
element:
  id:
    v: Participant1.templateId:related-person.root
  path:
    v: Participant1.templateId.root
  min:
    v: 1
  pattern:
    v: 2.16.840.1.113883.10.20.22.5.8
element:
  id:
    v: Participant1.templateId:related-person.extension
  path:
    v: Participant1.templateId.extension
  min:
    v: 1
  pattern:
    v: 2023-05-01
element:
  id:
    v: Participant1.typeCode
  path:
    v: Participant1.typeCode
  comment:
    v: SHALL contain exactly one [1..1] @typeCode="IND" Indirect (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90) (CONF:4537-32982).
  fixed:
    v: IND
element:
  id:
    v: Participant1.associatedEntity
  path:
    v: Participant1.associatedEntity
  comment:
    v: SHALL contain exactly one [1..1] associatedEntity (CONF:4537-32978).
  constraint:
    key:
      v: should-addr
    severity:
      v: warning
    human:
      v: SHOULD contain addr
    expression:
      v: addr.exists()
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/RelatedPersonRelationshipAndNameParticipant
      link: http://hl7.org/cda/us/ccda/StructureDefinition/RelatedPersonRelationshipAndNameParticipant
  constraint:
    key:
      v: should-telecom
    severity:
      v: warning
    human:
      v: SHOULD contain telecom
    expression:
      v: telecom.exists()
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/RelatedPersonRelationshipAndNameParticipant
      link: http://hl7.org/cda/us/ccda/StructureDefinition/RelatedPersonRelationshipAndNameParticipant
element:
  id:
    v: Participant1.associatedEntity.classCode
  path:
    v: Participant1.associatedEntity.classCode
  comment:
    v: This associatedEntity SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet Personal And Legal Relationship Role Type 2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:4537-32985).
  fixed:
    v: PRS
element:
  id:
    v: Participant1.associatedEntity.code
  extension:
    url:
      v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
    value:
      v: true
  path:
    v: Participant1.associatedEntity.code
  short:
    v: (USCDI) Related Person's Relationship - This associatedEntity/code represents the person's relationship to the patient.
  comment:
    v: This associatedEntity SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet Personal And Legal Relationship Role Type urn:oid:2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:4537-32985).
  min:
    v: 1
  binding:
    strength:
      v: required
    value set:
      v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1
      link: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1
element:
  id:
    v: Participant1.associatedEntity.addr
  path:
    v: Participant1.associatedEntity.addr
  comment:
    v: This associatedEntity SHOULD contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-32979).
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/AD
    profile:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
      link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddress
element:
  id:
    v: Participant1.associatedEntity.telecom
  path:
    v: Participant1.associatedEntity.telecom
  comment:
    v: This associatedEntity SHOULD contain zero or more [0..*] telecom (CONF:4537-32986).
element:
  id:
    v: Participant1.associatedEntity.associatedPerson
  path:
    v: Participant1.associatedEntity.associatedPerson
  short:
    v: The associatedPerson represents the name and contact information of the related person
  comment:
    v: This associatedEntity SHALL contain exactly one [1..1] associatedPerson (CONF:4537-32980).
  min:
    v: 1
element:
  id:
    v: Participant1.associatedEntity.associatedPerson.name
  extension:
    url:
      v: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement
    value:
      v: true
  path:
    v: Participant1.associatedEntity.associatedPerson.name
  short:
    v: (USCDI) Related Person's Name
  comment:
    v: This associatedPerson SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:4537-32987).
  min:
    v: 1
  type:
    code:
      v: http://hl7.org/cda/stds/core/StructureDefinition/PN
    profile:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED
      link: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED