NoteActivity
type: StructureDefinition
node role: treeRoot
id:
  v: NoteActivity
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition NoteActivity Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Act <a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints ( should-text-ref-value )">C 1..1 Act XML Namespace: urn:hl7-org:v3 Base for all types and resources Instance of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) Constraints: should-text-ref-value #xD; Slices for templateId 1..* II Slice: Unordered, Open by value:root, value:extension #xD; templateId:note-activity 1..1 II #xD; @root 1..1 oid, uuid, ruid Required Pattern: 2.16.840.1.113883.10.20.22.4.202 #xD; @extension 1..1 st Required Pattern: 2026-05-01 #xD; @classCode 1..1 cs Fixed Value: ACT #xD; @moodCode 1..1 cs Fixed Value: EVN #xD; code 1..1 CD Binding: US Core DocumentReference Type (required) Additional Bindings Purpose Documentation US Core Clinical Note Type Preferred Clinical Note Type #xD; text <a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints ( 3250-16912, should-text-ref-value )">C 1..1 ED SHOULD reference the portion of section narrative text corresponding to this entry Constraints: 3250-16912 #xD; @mediaType 0..1 cs If the note was originally in another format, such as RTF, this element may also contain the base-64-encoded raw data of th…
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-target
    l: logical-target
  value: Boolean
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        l: data-absent-reason
      value: Code
        v: not-applicable
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-container
    l: logical-container
  value: Uri
    v: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument
    l: ClinicalDocument
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:v3
    l: v3
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: act
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/type-profile-style
    l: type-profile-style
  value: Code
    v: cda
url:
  v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
  l: NoteActivity
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:hl7ii:2.16.840.1.113883.10.20.22.4.202:2026-05-01
version:
  v: 5.0.0
name:
  v: NoteActivity
title:
  v: Note Activity
status:
  v: draft
date:
  v: 2026-06-13T01:56:42+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: The Note Activity represents a clinical note. Notes require authorship, authentication, timing information, and references to other discrete data such as encounters. Similar to the Comment Activity, the Note Activity permits a more specific code to characterize the type of information available in the note. The Note Activity template SHOULD NOT be used in place of a more specific C-CDA entry. Note information included needs to be relevant and pertinent to the information being communicated in the document. When the note information augments data represented in a more specific entry template, the Note Activity can be used in an entryRelationship to the associated standard C-CDA entry. For example, a Procedure Note added as an entryRelationship to a Procedure Activity Procedure entry). The Note Activity template can be used as a standalone entry within a standard C-CDA section (e.g., a note about various procedures which have occurred during a visit as an entry in the Procedures Section) when it does not augment another standard entry. It may also be used to provide additional data about the source of a currently narrative-only section, such as Hospital Course. Finally, if the type of data in the note is not known or no single C-CDA section is appropriate enough, the Note Activity should be placed in a Notes Section. (e.g., a free-text consultation note or a note which includes subjective, objective, assessment, and plan information combined). An alternative is to place the Note Activity as an entryRelationship to an Encounter Activity entry in the Encounters Section, but implementers may wish to group notes categorically into a separate location in CDA documents rather than overloading the Encounters Section. The narrative Clinical Notes required in USCDI, along with their associated LOINC codes, are outlined below. These note types are included in the [US Core Clinical Note Type value set](http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type), which is bo…
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: US
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.org/cda/stds/core/StructureDefinition/Act
  l: Act
base definition:
  v: http://hl7.org/cda/stds/core/StructureDefinition/Act
  l: Act
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 2.0.3-sd
  element:
    id:
      v: Act
    path:
      v: Act
    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: *
    constraint:
      key:
        v: should-text-ref-value
      severity:
        v: warning
      human:
        v: SHOULD contain text/reference/@value
      expression:
        v: text.reference.value.exists()
      source:
        v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
        l: NoteActivity
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: Act.nullFlavor
    path:
      v: Act.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
        l: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        l: cs-simple
    binding:
      strength:
        v: required
      value set:
        v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
        l: CDANullFlavor
  element:
    id:
      v: Act.realmCode
    path:
      v: Act.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

v: *

id:
  v: Act.typeId
path:
  v: Act.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Act.typeId.nullFlavor
path:
  v: Act.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.typeId.assigningAuthorityName
path:
  v: Act.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.typeId.displayable
path:
  v: Act.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.typeId.root
path:
  v: Act.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Act.typeId.extension
path:
  v: Act.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.templateId
path:
  v: Act.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
    l: II

id:
  v: Act.templateId:note-activity
path:
  v: Act.templateId
slice name:
  v: note-activity
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
    l: II

id:
  v: Act.templateId:note-activity.nullFlavor
path:
  v: Act.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.templateId:note-activity.assigningAuthorityName
path:
  v: Act.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.templateId:note-activity.displayable
path:
  v: Act.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.templateId:note-activity.root
path:
  v: Act.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
pattern: String
  v: 2.16.840.1.113883.10.20.22.4.202

id:
  v: Act.templateId:note-activity.extension
path:
  v: Act.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple
pattern: String
  v: 2026-05-01

id:
  v: Act.classCode
path:
  v: Act.classCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @classCode="ACT" Act (CONF:3250-16899).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Act.classCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: ACT
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xActClassDocumentEntryAct|2.0.0
    l: http://terminology.hl7.org/ValueSet/v3-xActClassDocumentEntryAct

id:
  v: Act.moodCode
path:
  v: Act.moodCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @moodCode="EVN" Event (CONF:3250-16900).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Act.moodCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: EVN
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xDocumentActMood|2.0.0
    l: http://terminology.hl7.org/ValueSet/v3-xDocumentActMood

id:
  v: Act.negationInd
path:
  v: Act.negationInd
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Act.negationInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

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

id:
  v: Act.code
path:
  v: Act.code
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Act.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
    l: CD
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type
    l: us-core-documentreference-type
  additional:
    purpose:
      v: preferred
    value set:
      v: http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type
      l: us-core-clinical-note-type
    documentation:
      v: If this is a Clinical Note, then this value set **SHOULD** be used.
    short doco:
      v: Clinical Note Type

id:
  v: Act.text
path:
  v: Act.text
short:
  v: SHOULD reference the portion of section narrative text corresponding to this entry
comment:
  v: SHALL contain exactly one [1..1] text (CONF:3250-16896).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Act.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED
    l: ED
condition:
  v: should-text-ref-value
constraint:
  key:
    v: 3250-16912
  severity:
    v: error
  human:
    v: If @mediaType is present, the text SHALL contain exactly one [1..1] @representation="B64" and mixed content corresponding to the contents of the note (CONF:3250-16912).
  expression:
    v: mediaType.exists() implies (representation = 'B64' and xmlText.exists())
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
    l: NoteActivity

id:
  v: Act.text.nullFlavor
path:
  v: Act.text.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.text.compression
path:
  v: Act.text.compression
representation:
  v: xmlAttr
label:
  v: Compression
definition:
  v: Indicates whether the raw byte data is compressed, and what compression algorithm was used.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.compression
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm
    l: CDACompressionAlgorithm

id:
  v: Act.text.integrityCheck
path:
  v: Act.text.integrityCheck
representation:
  v: xmlAttr
label:
  v: Integrity Check
definition:
  v: The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.integrityCheck
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bin
    l: bin

id:
  v: Act.text.integrityCheckAlgorithm
path:
  v: Act.text.integrityCheckAlgorithm
representation:
  v: xmlAttr
label:
  v: Integrity Check Algorithm
definition:
  v: Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.integrityCheckAlgorithm
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0
    l: http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm

id:
  v: Act.text.language
path:
  v: Act.text.language
representation:
  v: xmlAttr
label:
  v: Language
definition:
  v: For character based information the language property specifies the human language of the text.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple

id:
  v: Act.text.mediaType
path:
  v: Act.text.mediaType
representation:
  v: xmlAttr
label:
  v: Media Type
short:
  v: If the note was originally in another format, such as RTF, this element may also contain the base-64-encoded raw data of the note in addition to a reference to the narrative.
definition:
  v: Identifies the type of the encapsulated data and identifies a method to interpret or render the data.
comment:
  v: This text MAY contain zero or one [0..1] @mediaType, which SHOULD be selected from ValueSet SupportedFileFormats urn:oid:2.16.840.1.113883.11.20.7.1 DYNAMIC (CONF:3250-16906).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.mediaType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: preferred
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.7.1
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.7.1

id:
  v: Act.text.representation
path:
  v: Act.text.representation
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.representation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding
    l: BinaryDataEncoding

id:
  v: Act.text.xmlText
path:
  v: Act.text.xmlText
representation:
  v: xmlText
short:
  v: Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
definition:
  v: Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)
comment:
  v: This element is represented in XML as textual content. The actual name "xmlText" will not appear in a CDA instance.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.xmlText
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.text.reference
path:
  v: Act.text.reference
label:
  v: Reference
definition:
  v: A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data.
comment:
  v: This text SHALL contain exactly one [1..1] reference (CONF:3250-16897).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ED.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TEL
    l: TEL
constraint:
  key:
    v: value-starts-octothorpe
  severity:
    v: error
  human:
    v: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
  expression:
    v: value.exists() implies value.startsWith('#')
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
    l: NoteActivity

id:
  v: Act.text.reference.nullFlavor
path:
  v: Act.text.reference.nullFlavor
representation:
  v: xmlAttr
label:
  v: Exceptional Value Detail
short:
  v: The note activity must reference human-readable content in the narrative, so this reference must not be null.
definition:
  v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
comment:
  v: This reference SHALL NOT contain [0..0] @nullFlavor (CONF:3250-16920).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: ANY.nullFlavor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.text.reference.value
path:
  v: Act.text.reference.value
representation:
  v: xmlAttr
comment:
  v: This reference SHALL contain exactly one [1..1] @value (CONF:3250-16898).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TEL.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: url
    l: url
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/url
    l: url

id:
  v: Act.text.reference.useablePeriod
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype
    l: elementdefinition-defaulttype
  value: Canonical
    v: http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS
    l: SXPR-TS
path:
  v: Act.text.reference.useablePeriod
representation:
  v: typeAttr
label:
  v: Useable Period
definition:
  v: Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address.
min:
  v: 0
max:
  v: *
base:
  path:
    v: TEL.useablePeriod
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
    l: IVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS
    l: EIVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS
    l: PIVL-TS
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS
    l: SXPR-TS

id:
  v: Act.text.reference.use
path:
  v: Act.text.reference.use
representation:
  v: xmlAttr
label:
  v: Use Code
definition:
  v: One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need.
min:
  v: 0
max:
  v: *
base:
  path:
    v: TEL.use
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse|2.0.0
    l: http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse

id:
  v: Act.text.thumbnail
path:
  v: Act.text.thumbnail
label:
  v: Thumbnail
definition:
  v: An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ED.thumbnail
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED
    l: ED
constraint:
  key:
    v: ED-1
  severity:
    v: error
  human:
    v: Thumbnails cannot contain their own thumbnails
  expression:
    v: thumbnail.empty()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Act
    l: Act

id:
  v: Act.statusCode
path:
  v: Act.statusCode
short:
  v: Indicates the status of the note. The most common statusCode is completed indicating the note is signed and finalized.
comment:
  v: SHALL contain exactly one [1..1] statusCode (CONF:3250-16916).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Act.statusCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
    l: CS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActStatus
    l: v3-ActStatus

id:
  v: Act.effectiveTime
path:
  v: Act.effectiveTime
short:
  v: The effectiveTime represents the clinically relevant time of the note. The precise timestamp of creation / updating should be conveyed in author/time.
comment:
  v: SHALL contain exactly one [1..1] effectiveTime (CONF:3250-16903).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Act.effectiveTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
    l: IVL-TS
constraint:
  key:
    v: should-value-att
  severity:
    v: warning
  human:
    v: SHOULD contain @value
  expression:
    v: value.exists()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
    l: NoteActivity

id:
  v: Act.effectiveTime.nullFlavor
path:
  v: Act.effectiveTime.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.effectiveTime.value
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format
    l: elementdefinition-date-format
  value: String
    v: YYYYMMDDHHMMSS.UUUU[+|-ZZzz]
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-rules
    l: elementdefinition-date-rules
  value: String
    v: year-valid
path:
  v: Act.effectiveTime.value
representation:
  v: xmlAttr
definition:
  v: A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression.
comment:
  v: This effectiveTime SHOULD contain zero or one [0..1] @value (CONF:3250-16917).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TS.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ts-simple
    l: ts-simple

id:
  v: Act.effectiveTime.operator
path:
  v: Act.effectiveTime.operator
representation:
  v: xmlAttr
definition:
  v: A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SXCM_TS.operator
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
default value: Code
  v: I
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDASetOperator
    l: CDASetOperator

id:
  v: Act.effectiveTime.low
path:
  v: Act.effectiveTime.low
label:
  v: Low Boundary
definition:
  v: This is the low limit of the interval.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: IVL_TS.low
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVXB-TS
    l: IVXB-TS

id:
  v: Act.effectiveTime.center
path:
  v: Act.effectiveTime.center
label:
  v: Central Value
definition:
  v: The arithmetic mean of the interval (low plus high divided by 2). The purpose of distinguishing the center as a semantic property is for conversions of intervals from and to point values.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: IVL_TS.center
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TS
    l: TS

id:
  v: Act.effectiveTime.width
path:
  v: Act.effectiveTime.width
label:
  v: Width
definition:
  v: The difference between high and low boundary. The purpose of distinguishing a width property is to handle all cases of incomplete information symmetrically. In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: IVL_TS.width
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PQ
    l: PQ

id:
  v: Act.effectiveTime.high
path:
  v: Act.effectiveTime.high
label:
  v: High Boundary
definition:
  v: This is the high limit of the interval.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: IVL_TS.high
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVXB-TS
    l: IVXB-TS

id:
  v: Act.priorityCode
path:
  v: Act.priorityCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Act.priorityCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActPriority
    l: v3-ActPriority

id:
  v: Act.languageCode
path:
  v: Act.languageCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Act.languageCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
    l: CS
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages
    l: all-languages

id:
  v: Act.subject
path:
  v: Act.subject
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Act.subject
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Subject
    l: Subject

id:
  v: Act.specimen
path:
  v: Act.specimen
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.specimen
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Specimen
    l: Specimen

id:
  v: Act.performer
path:
  v: Act.performer
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Performer2
    l: Performer2

id:
  v: Act.author
path:
  v: Act.author
short:
  v: Represents the person(s) who wrote the note.
comment:
  v: SHALL contain at least one [1..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:3250-16913).
min:
  v: 1
max:
  v: *
base:
  path:
    v: Act.author
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Author
    l: Author
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation
    l: AuthorParticipation

id:
  v: Act.informant
path:
  v: Act.informant
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.informant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Informant
    l: Informant

id:
  v: Act.participant
path:
  v: Act.participant
slicing:
  discriminator:
    type:
      v: value
    path:
      v: typeCode
  rules:
    v: open
comment:
  v: MAY contain zero or more [0..*] participant (CONF:3250-16923) such that it
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.participant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Participant2
    l: Participant2

id:
  v: Act.participant:legalAuthenticator
path:
  v: Act.participant
slice name:
  v: legalAuthenticator
short:
  v: Represents the person(s) legally responsible for the contents of the note.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.participant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Participant2
    l: Participant2

id:
  v: Act.participant:legalAuthenticator.nullFlavor
path:
  v: Act.participant.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.participant:legalAuthenticator.realmCode
path:
  v: Act.participant.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
    l: CS

id:
  v: Act.participant:legalAuthenticator.typeId
path:
  v: Act.participant.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Act.participant:legalAuthenticator.typeId.nullFlavor
path:
  v: Act.participant.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.participant:legalAuthenticator.typeId.assigningAuthorityName
path:
  v: Act.participant.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.participant:legalAuthenticator.typeId.displayable
path:
  v: Act.participant.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.participant:legalAuthenticator.typeId.root
path:
  v: Act.participant.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Act.participant:legalAuthenticator.typeId.extension
path:
  v: Act.participant.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.participant:legalAuthenticator.templateId
path:
  v: Act.participant.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
    l: II

id:
  v: Act.participant:legalAuthenticator.typeCode
path:
  v: Act.participant.typeCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @typeCode="LA" Legal Authenticator (CONF:3250-16925).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Participant2.typeCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: LA
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType
    l: CDAParticipationType

id:
  v: Act.participant:legalAuthenticator.contextControlCode
path:
  v: Act.participant.contextControlCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Participant2.contextControlCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: OP
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDAContextControl
    l: CDAContextControl

id:
  v: Act.participant:legalAuthenticator.sdtcFunctionCode
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: functionCode
path:
  v: Act.participant.sdtcFunctionCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Participant2.sdtcFunctionCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE

id:
  v: Act.participant:legalAuthenticator.time
path:
  v: Act.participant.time
short:
  v: Indicates the time of signing the note.
comment:
  v: SHALL contain exactly one [1..1] US Realm Date and Time (Interval) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.3) (CONF:3250-16926).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Participant2.time
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
    l: IVL-TS
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateTimeInterval
    l: USRealmDateTimeInterval

id:
  v: Act.participant:legalAuthenticator.awarenessCode
path:
  v: Act.participant.awarenessCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Participant2.awarenessCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE

id:
  v: Act.participant:legalAuthenticator.participantRole
path:
  v: Act.participant.participantRole
comment:
  v: SHALL contain exactly one [1..1] participantRole (CONF:3250-16924).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Participant2.participantRole
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole
    l: ParticipantRole
constraint:
  key:
    v: 3250-16930
  severity:
    v: error
  human:
    v: If no id matches an author or participant elsewhere in the document, then playingEntity SHALL be present (CONF:3250-16930).
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
    l: NoteActivity

id:
  v: Act.participant:legalAuthenticator.participantRole.nullFlavor
path:
  v: Act.participant.participantRole.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.participant:legalAuthenticator.participantRole.realmCode
path:
  v: Act.participant.participantRole.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
    l: CS

id:
  v: Act.participant:legalAuthenticator.participantRole.typeId
path:
  v: Act.participant.participantRole.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Act.participant:legalAuthenticator.participantRole.typeId.nullFlavor
path:
  v: Act.participant.participantRole.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.participant:legalAuthenticator.participantRole.typeId.assigningAuthorityName
path:
  v: Act.participant.participantRole.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.participant:legalAuthenticator.participantRole.typeId.displayable
path:
  v: Act.participant.participantRole.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.participant:legalAuthenticator.participantRole.typeId.root
path:
  v: Act.participant.participantRole.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Act.participant:legalAuthenticator.participantRole.typeId.extension
path:
  v: Act.participant.participantRole.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.participant:legalAuthenticator.participantRole.templateId
path:
  v: Act.participant.participantRole.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
    l: II

id:
  v: Act.participant:legalAuthenticator.participantRole.classCode
path:
  v: Act.participant.participantRole.classCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ParticipantRole.classCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
default value: Code
  v: ROL
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDARoleClassRoot
    l: CDARoleClassRoot

id:
  v: Act.participant:legalAuthenticator.participantRole.id
path:
  v: Act.participant.participantRole.id
short:
  v: This may be the ID of the note author. If so, no additional information in this participant is required.
comment:
  v: This participantRole SHALL contain at least one [1..*] id (CONF:3250-16927).
min:
  v: 1
max:
  v: *
base:
  path:
    v: ParticipantRole.id
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II
    l: II

id:
  v: Act.participant:legalAuthenticator.participantRole.sdtcIdentifiedBy
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: identifiedBy
path:
  v: Act.participant.participantRole.sdtcIdentifiedBy
min:
  v: 0
max:
  v: *
base:
  path:
    v: ParticipantRole.sdtcIdentifiedBy
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy
    l: IdentifiedBy

id:
  v: Act.participant:legalAuthenticator.participantRole.code
path:
  v: Act.participant.participantRole.code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ParticipantRole.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE
binding:
  strength:
    v: example
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDARoleCode
    l: CDARoleCode

id:
  v: Act.participant:legalAuthenticator.participantRole.sdtcSpecialty
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: specialty
path:
  v: Act.participant.participantRole.sdtcSpecialty
min:
  v: 0
max:
  v: *
base:
  path:
    v: ParticipantRole.sdtcSpecialty
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE
binding:
  strength:
    v: preferred
  value set:
    v: http://hl7.org/fhir/ValueSet/c80-practice-codes
    l: c80-practice-codes

id:
  v: Act.participant:legalAuthenticator.participantRole.addr
path:
  v: Act.participant.participantRole.addr
min:
  v: 0
max:
  v: *
base:
  path:
    v: ParticipantRole.addr
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/AD
    l: AD

id:
  v: Act.participant:legalAuthenticator.participantRole.telecom
path:
  v: Act.participant.participantRole.telecom
min:
  v: 0
max:
  v: *
base:
  path:
    v: ParticipantRole.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TEL
    l: TEL

id:
  v: Act.participant:legalAuthenticator.participantRole.playingDevice
path:
  v: Act.participant.participantRole.playingDevice
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ParticipantRole.playingDevice
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Device
    l: Device

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity
path:
  v: Act.participant.participantRole.playingEntity
comment:
  v: This participantRole MAY contain zero or one [0..1] playingEntity (CONF:3250-16928).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ParticipantRole.playingEntity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PlayingEntity
    l: PlayingEntity

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.nullFlavor
path:
  v: Act.participant.participantRole.playingEntity.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.realmCode
path:
  v: Act.participant.participantRole.playingEntity.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
    l: CS

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.typeId
path:
  v: Act.participant.participantRole.playingEntity.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.typeId.nullFlavor
path:
  v: Act.participant.participantRole.playingEntity.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.typeId.assigningAuthorityName
path:
  v: Act.participant.participantRole.playingEntity.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.typeId.displayable
path:
  v: Act.participant.participantRole.playingEntity.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.typeId.root
path:
  v: Act.participant.participantRole.playingEntity.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.typeId.extension
path:
  v: Act.participant.participantRole.playingEntity.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.templateId
path:
  v: Act.participant.participantRole.playingEntity.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
    l: II

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.classCode
path:
  v: Act.participant.participantRole.playingEntity.classCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PlayingEntity.classCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
default value: Code
  v: ENT
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-EntityClassRoot
    l: v3-EntityClassRoot

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.determinerCode
path:
  v: Act.participant.participantRole.playingEntity.determinerCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PlayingEntity.determinerCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: INSTANCE
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-EntityDeterminer
    l: v3-EntityDeterminer

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.code
path:
  v: Act.participant.participantRole.playingEntity.code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PlayingEntity.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE
binding:
  strength:
    v: example
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDAEntityCode
    l: CDAEntityCode

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.quantity
path:
  v: Act.participant.participantRole.playingEntity.quantity
min:
  v: 0
max:
  v: *
base:
  path:
    v: PlayingEntity.quantity
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PQ
    l: PQ

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.name
path:
  v: Act.participant.participantRole.playingEntity.name
comment:
  v: The playingEntity, if present, 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:3250-16929).
min:
  v: 1
max:
  v: *
base:
  path:
    v: PlayingEntity.name
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PN
    l: PN
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED
    l: USRealmPersonNamePNUSFIELDED

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.sdtcBirthTime
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: birthTime
path:
  v: Act.participant.participantRole.playingEntity.sdtcBirthTime
definition:
  v: The purpose of this extension is to allow the recording of the subscriber or member of a health plan in cases where the health plan eligibility system has different information on file than the provider does for the patient.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PlayingEntity.sdtcBirthTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/TS
    l: TS

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.desc
path:
  v: Act.participant.participantRole.playingEntity.desc
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PlayingEntity.desc
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED
    l: ED

id:
  v: Act.participant:legalAuthenticator.participantRole.scopingEntity
path:
  v: Act.participant.participantRole.scopingEntity
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ParticipantRole.scopingEntity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Entity
    l: Entity

id:
  v: Act.entryRelationship
path:
  v: Act.entryRelationship
slicing:
  discriminator:
    type:
      v: exists
    path:
      v: encounter
  rules:
    v: open
comment:
  v: SHOULD contain zero or more [0..*] entryRelationship (CONF:3250-16907) such that it
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.entryRelationship
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
    l: EntryRelationship

id:
  v: Act.entryRelationship:encounter
path:
  v: Act.entryRelationship
slice name:
  v: encounter
short:
  v: Links the note to an encounter. If the Note Activity is present within a document containing an encompassingEncounter, then this entryRelationship is optional and the note is associated with the encounter represented by the encompassingEncounter.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.entryRelationship
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
    l: EntryRelationship

id:
  v: Act.entryRelationship:encounter.nullFlavor
path:
  v: Act.entryRelationship.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.entryRelationship:encounter.realmCode
path:
  v: Act.entryRelationship.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
    l: CS

id:
  v: Act.entryRelationship:encounter.typeId
path:
  v: Act.entryRelationship.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Act.entryRelationship:encounter.typeId.nullFlavor
path:
  v: Act.entryRelationship.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.entryRelationship:encounter.typeId.assigningAuthorityName
path:
  v: Act.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.entryRelationship:encounter.typeId.displayable
path:
  v: Act.entryRelationship.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.entryRelationship:encounter.typeId.root
path:
  v: Act.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Act.entryRelationship:encounter.typeId.extension
path:
  v: Act.entryRelationship.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.entryRelationship:encounter.templateId
path:
  v: Act.entryRelationship.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
    l: II

id:
  v: Act.entryRelationship:encounter.typeCode
path:
  v: Act.entryRelationship.typeCode
representation:
  v: xmlAttr
comment:
  v: SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:3250-16921).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.typeCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: COMP
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship
    l: v3-xActRelationshipEntryRelationship

id:
  v: Act.entryRelationship:encounter.inversionInd
path:
  v: Act.entryRelationship.inversionInd
representation:
  v: xmlAttr
definition:
  v: The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed.
comment:
  v: SHALL contain exactly one [1..1] @inversionInd="true" (CONF:3250-16922).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.inversionInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple
fixed: Boolean
  v: true

id:
  v: Act.entryRelationship:encounter.contextConductionInd
path:
  v: Act.entryRelationship.contextConductionInd
representation:
  v: xmlAttr
definition:
  v: The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.contextConductionInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple
default value: Boolean
  v: true

id:
  v: Act.entryRelationship:encounter.negationInd
path:
  v: Act.entryRelationship.negationInd
representation:
  v: xmlAttr
short:
  v: To communicate that the note is not associated with any encounter, this entryRelationship MAY be included with @negationInd="true" and encounter/id/@nullFlavor="NA". The negationInd + encounter indicate this note is not associated with any encounter.
comment:
  v: MAY contain zero or one [0..1] @negationInd (CONF:3250-16931).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.negationInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.entryRelationship:encounter.sequenceNumber
path:
  v: Act.entryRelationship.sequenceNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.sequenceNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT
    l: INT

id:
  v: Act.entryRelationship:encounter.seperatableInd
path:
  v: Act.entryRelationship.seperatableInd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.seperatableInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/BL
    l: BL

id:
  v: Act.entryRelationship:encounter.act
path:
  v: Act.entryRelationship.act
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.act
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Act
    l: Act

id:
  v: Act.entryRelationship:encounter.encounter
path:
  v: Act.entryRelationship.encounter
comment:
  v: SHALL contain exactly one [1..1] encounter (CONF:3250-16908).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EntryRelationship.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Encounter
    l: Encounter

id:
  v: Act.entryRelationship:encounter.encounter.nullFlavor
path:
  v: Act.entryRelationship.encounter.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.entryRelationship:encounter.encounter.realmCode
path:
  v: Act.entryRelationship.encounter.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
    l: CS

id:
  v: Act.entryRelationship:encounter.encounter.typeId
path:
  v: Act.entryRelationship.encounter.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Act.entryRelationship:encounter.encounter.typeId.nullFlavor
path:
  v: Act.entryRelationship.encounter.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.entryRelationship:encounter.encounter.typeId.assigningAuthorityName
path:
  v: Act.entryRelationship.encounter.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.entryRelationship:encounter.encounter.typeId.displayable
path:
  v: Act.entryRelationship.encounter.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.entryRelationship:encounter.encounter.typeId.root
path:
  v: Act.entryRelationship.encounter.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Act.entryRelationship:encounter.encounter.typeId.extension
path:
  v: Act.entryRelationship.encounter.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.entryRelationship:encounter.encounter.templateId
path:
  v: Act.entryRelationship.encounter.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
    l: II

id:
  v: Act.entryRelationship:encounter.encounter.classCode
path:
  v: Act.entryRelationship.encounter.classCode
representation:
  v: xmlAttr
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.classCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: ENC
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDAActClass
    l: CDAActClass

id:
  v: Act.entryRelationship:encounter.encounter.moodCode
path:
  v: Act.entryRelationship.encounter.moodCode
representation:
  v: xmlAttr
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.moodCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xDocumentEncounterMood|2.0.0
    l: http://terminology.hl7.org/ValueSet/v3-xDocumentEncounterMood

id:
  v: Act.entryRelationship:encounter.encounter.id
path:
  v: Act.entryRelationship.encounter.id
comment:
  v: This encounter SHALL contain at least one [1..*] id (CONF:3250-16909).
min:
  v: 1
max:
  v: *
base:
  path:
    v: Encounter.id
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II
    l: II
constraint:
  key:
    v: 3250-16914
  severity:
    v: error
  human:
    v: If the id does not match an encounter/id from the Encounters Section or encompassingEncounter within the same document and the id does not contain @nullFlavor="NA", then this entry SHALL conform to the Encounter Activity (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.49:2015-08-01) (CONF:3250-16914).
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
    l: NoteActivity

id:
  v: Act.entryRelationship:encounter.encounter.code
path:
  v: Act.entryRelationship.encounter.code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
    l: CD
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
    l: v3-ActEncounterCode

id:
  v: Act.entryRelationship:encounter.encounter.text
path:
  v: Act.entryRelationship.encounter.text
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED
    l: ED

id:
  v: Act.entryRelationship:encounter.encounter.statusCode
path:
  v: Act.entryRelationship.encounter.statusCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.statusCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CS
    l: CS
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActStatus
    l: v3-ActStatus

id:
  v: Act.entryRelationship:encounter.encounter.effectiveTime
path:
  v: Act.entryRelationship.encounter.effectiveTime
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.effectiveTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
    l: IVL-TS

id:
  v: Act.entryRelationship:encounter.encounter.sdtcDischargeDispositionCode
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: dischargeDispositionCode
path:
  v: Act.entryRelationship.encounter.sdtcDischargeDispositionCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.sdtcDischargeDispositionCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE

id:
  v: Act.entryRelationship:encounter.encounter.priorityCode
path:
  v: Act.entryRelationship.encounter.priorityCode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.priorityCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CE
    l: CE
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActPriority
    l: v3-ActPriority

id:
  v: Act.entryRelationship:encounter.encounter.subject
path:
  v: Act.entryRelationship.encounter.subject
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.subject
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Subject
    l: Subject

id:
  v: Act.entryRelationship:encounter.encounter.specimen
path:
  v: Act.entryRelationship.encounter.specimen
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.specimen
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Specimen
    l: Specimen

id:
  v: Act.entryRelationship:encounter.encounter.performer
path:
  v: Act.entryRelationship.encounter.performer
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Performer2
    l: Performer2

id:
  v: Act.entryRelationship:encounter.encounter.author
path:
  v: Act.entryRelationship.encounter.author
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.author
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Author
    l: Author

id:
  v: Act.entryRelationship:encounter.encounter.informant
path:
  v: Act.entryRelationship.encounter.informant
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.informant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Informant
    l: Informant

id:
  v: Act.entryRelationship:encounter.encounter.participant
path:
  v: Act.entryRelationship.encounter.participant
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.participant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Participant2
    l: Participant2

id:
  v: Act.entryRelationship:encounter.encounter.entryRelationship
path:
  v: Act.entryRelationship.encounter.entryRelationship
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.entryRelationship
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship
    l: EntryRelationship

id:
  v: Act.entryRelationship:encounter.encounter.reference
path:
  v: Act.entryRelationship.encounter.reference
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.reference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Reference
    l: Reference

id:
  v: Act.entryRelationship:encounter.encounter.precondition
path:
  v: Act.entryRelationship.encounter.precondition
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.precondition
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Precondition
    l: Precondition

id:
  v: Act.entryRelationship:encounter.encounter.sdtcPrecondition2
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: precondition2
path:
  v: Act.entryRelationship.encounter.sdtcPrecondition2
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.sdtcPrecondition2
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Precondition2
    l: Precondition2

id:
  v: Act.entryRelationship:encounter.encounter.sdtcInFulfillmentOf1
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: inFulfillmentOf1
path:
  v: Act.entryRelationship.encounter.sdtcInFulfillmentOf1
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.sdtcInFulfillmentOf1
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf1
    l: InFulfillmentOf1

id:
  v: Act.entryRelationship:encounter.observation
path:
  v: Act.entryRelationship.observation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.observation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Observation
    l: Observation

id:
  v: Act.entryRelationship:encounter.observationMedia
path:
  v: Act.entryRelationship.observationMedia
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.observationMedia
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia
    l: ObservationMedia

id:
  v: Act.entryRelationship:encounter.organizer
path:
  v: Act.entryRelationship.organizer
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.organizer
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
    l: Organizer

id:
  v: Act.entryRelationship:encounter.procedure
path:
  v: Act.entryRelationship.procedure
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.procedure
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Procedure
    l: Procedure

id:
  v: Act.entryRelationship:encounter.regionOfInterest
path:
  v: Act.entryRelationship.regionOfInterest
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.regionOfInterest
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest
    l: RegionOfInterest

id:
  v: Act.entryRelationship:encounter.substanceAdministration
path:
  v: Act.entryRelationship.substanceAdministration
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.substanceAdministration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration
    l: SubstanceAdministration

id:
  v: Act.entryRelationship:encounter.supply
path:
  v: Act.entryRelationship.supply
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EntryRelationship.supply
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Supply
    l: Supply

id:
  v: Act.reference
path:
  v: Act.reference
slicing:
  discriminator:
    type:
      v: exists
    path:
      v: externalDocument
  rules:
    v: open
comment:
  v: MAY contain zero or more [0..*] reference (CONF:3250-16910) such that it
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.reference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Reference
    l: Reference

id:
  v: Act.reference:externalDocument
path:
  v: Act.reference
slice name:
  v: externalDocument
short:
  v: Represents an unstructured C-CDA document containing the original contents of the note in the original format.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.reference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Reference
    l: Reference

id:
  v: Act.reference:externalDocument.nullFlavor
path:
  v: Act.reference.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.reference:externalDocument.realmCode
path:
  v: Act.reference.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
    l: CS

id:
  v: Act.reference:externalDocument.typeId
path:
  v: Act.reference.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Act.reference:externalDocument.typeId.nullFlavor
path:
  v: Act.reference.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.reference:externalDocument.typeId.assigningAuthorityName
path:
  v: Act.reference.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.reference:externalDocument.typeId.displayable
path:
  v: Act.reference.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.reference:externalDocument.typeId.root
path:
  v: Act.reference.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Act.reference:externalDocument.typeId.extension
path:
  v: Act.reference.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.reference:externalDocument.templateId
path:
  v: Act.reference.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
    l: II

id:
  v: Act.reference:externalDocument.typeCode
path:
  v: Act.reference.typeCode
representation:
  v: xmlAttr
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Reference.typeCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-xActRelationshipExternalReference
    l: v3-xActRelationshipExternalReference

id:
  v: Act.reference:externalDocument.seperatableInd
path:
  v: Act.reference.seperatableInd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.seperatableInd
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/BL
    l: BL

id:
  v: Act.reference:externalDocument.externalAct
path:
  v: Act.reference.externalAct
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.externalAct
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ExternalAct
    l: ExternalAct

id:
  v: Act.reference:externalDocument.externalObservation
path:
  v: Act.reference.externalObservation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.externalObservation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ExternalObservation
    l: ExternalObservation

id:
  v: Act.reference:externalDocument.externalProcedure
path:
  v: Act.reference.externalProcedure
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.externalProcedure
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ExternalProcedure
    l: ExternalProcedure

id:
  v: Act.reference:externalDocument.externalDocument
path:
  v: Act.reference.externalDocument
comment:
  v: SHALL contain exactly one [1..1] externalDocument (CONF:3250-16911).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Reference.externalDocument
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ExternalDocument
    l: ExternalDocument
constraint:
  key:
    v: should-code
  severity:
    v: warning
  human:
    v: SHOULD contain code
  expression:
    v: code.exists()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
    l: NoteActivity

id:
  v: Act.reference:externalDocument.externalDocument.nullFlavor
path:
  v: Act.reference.externalDocument.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.reference:externalDocument.externalDocument.realmCode
path:
  v: Act.reference.externalDocument.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
    l: CS

id:
  v: Act.reference:externalDocument.externalDocument.typeId
path:
  v: Act.reference.externalDocument.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
    l: II
constraint:
  key:
    v: II-1
  severity:
    v: error
  human:
    v: An II instance must have either a root or an nullFlavor.
  expression:
    v: root.exists() or nullFlavor.exists()
  source:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot
    l: InfrastructureRoot

id:
  v: Act.reference:externalDocument.externalDocument.typeId.nullFlavor
path:
  v: Act.reference.externalDocument.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
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
    l: CDANullFlavor

id:
  v: Act.reference:externalDocument.externalDocument.typeId.assigningAuthorityName
path:
  v: Act.reference.externalDocument.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.reference:externalDocument.externalDocument.typeId.displayable
path:
  v: Act.reference.externalDocument.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
    l: boolean
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/bl-simple
    l: bl-simple

id:
  v: Act.reference:externalDocument.externalDocument.typeId.root
path:
  v: Act.reference.externalDocument.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/oid
    l: oid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/uuid
    l: uuid
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ruid
    l: ruid
fixed: String
  v: 2.16.840.1.113883.1.3

id:
  v: Act.reference:externalDocument.externalDocument.typeId.extension
path:
  v: Act.reference.externalDocument.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
    l: string
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
    l: st-simple

id:
  v: Act.reference:externalDocument.externalDocument.templateId
path:
  v: Act.reference.externalDocument.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
    l: II

id:
  v: Act.reference:externalDocument.externalDocument.classCode
path:
  v: Act.reference.externalDocument.classCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ExternalDocument.classCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
default value: Code
  v: DOC
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ActClassDocument
    l: v3-ActClassDocument

id:
  v: Act.reference:externalDocument.externalDocument.moodCode
path:
  v: Act.reference.externalDocument.moodCode
representation:
  v: xmlAttr
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ExternalDocument.moodCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
  profile:
    v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    l: cs-simple
fixed: Code
  v: EVN
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/cda/stds/core/ValueSet/CDAActMood
    l: CDAActMood

id:
  v: Act.reference:externalDocument.externalDocument.id
path:
  v: Act.reference.externalDocument.id
comment:
  v: This externalDocument SHALL contain exactly one [1..1] id (CONF:3250-16915).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ExternalDocument.id
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II
    l: II

id:
  v: Act.reference:externalDocument.externalDocument.code
path:
  v: Act.reference.externalDocument.code
comment:
  v: This externalDocument SHOULD contain zero or one [0..1] code (CONF:3250-16918).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ExternalDocument.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/CD
    l: CD
binding:
  strength:
    v: example
  value set:
    v: http://hl7.org/fhir/ValueSet/doc-typecodes
    l: doc-typecodes

id:
  v: Act.reference:externalDocument.externalDocument.text
path:
  v: Act.reference.externalDocument.text
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ExternalDocument.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/ED
    l: ED

id:
  v: Act.reference:externalDocument.externalDocument.setId
path:
  v: Act.reference.externalDocument.setId
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ExternalDocument.setId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/II
    l: II

id:
  v: Act.reference:externalDocument.externalDocument.versionNumber
path:
  v: Act.reference.externalDocument.versionNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ExternalDocument.versionNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/INT
    l: INT

id:
  v: Act.reference:externalDocument.externalDocument.sdtcAuthor
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: author
path:
  v: Act.reference.externalDocument.sdtcAuthor
min:
  v: 0
max:
  v: *
base:
  path:
    v: ExternalDocument.sdtcAuthor
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Author
    l: Author

id:
  v: Act.precondition
path:
  v: Act.precondition
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.precondition
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Precondition
    l: Precondition

id:
  v: Act.sdtcPrecondition2
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: precondition2
path:
  v: Act.sdtcPrecondition2
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.sdtcPrecondition2
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Precondition2
    l: Precondition2

id:
  v: Act.sdtcInFulfillmentOf1
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
    l: xml-namespace
  value: Uri
    v: urn:hl7-org:sdtc
    l: sdtc
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-name
    l: xml-name
  value: String
    v: inFulfillmentOf1
path:
  v: Act.sdtcInFulfillmentOf1
min:
  v: 0
max:
  v: *
base:
  path:
    v: Act.sdtcInFulfillmentOf1
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf1
    l: InFulfillmentOf1

element:
  id:
    v: Act
  path:
    v: Act
  constraint:
    key:
      v: should-text-ref-value
    severity:
      v: warning
    human:
      v: SHOULD contain text/reference/@value
    expression:
      v: text.reference.value.exists()
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
      l: NoteActivity
element:
  id:
    v: Act.templateId
  path:
    v: Act.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: Act.templateId:note-activity
  path:
    v: Act.templateId
  slice name:
    v: note-activity
  min:
    v: 1
  max:
    v: 1
element:
  id:
    v: Act.templateId:note-activity.root
  path:
    v: Act.templateId.root
  min:
    v: 1
  pattern: String
    v: 2.16.840.1.113883.10.20.22.4.202
element:
  id:
    v: Act.templateId:note-activity.extension
  path:
    v: Act.templateId.extension
  min:
    v: 1
  pattern: String
    v: 2026-05-01
element:
  id:
    v: Act.classCode
  path:
    v: Act.classCode
  comment:
    v: SHALL contain exactly one [1..1] @classCode="ACT" Act (CONF:3250-16899).
  fixed: Code
    v: ACT
element:
  id:
    v: Act.moodCode
  path:
    v: Act.moodCode
  comment:
    v: SHALL contain exactly one [1..1] @moodCode="EVN" Event (CONF:3250-16900).
  fixed: Code
    v: EVN
element:
  id:
    v: Act.code
  path:
    v: Act.code
  binding:
    strength:
      v: required
    value set:
      v: http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type
      l: us-core-documentreference-type
    additional:
      purpose:
        v: preferred
      value set:
        v: http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type
        l: us-core-clinical-note-type
      documentation:
        v: If this is a Clinical Note, then this value set **SHOULD** be used.
      short doco:
        v: Clinical Note Type
element:
  id:
    v: Act.text
  path:
    v: Act.text
  short:
    v: SHOULD reference the portion of section narrative text corresponding to this entry
  comment:
    v: SHALL contain exactly one [1..1] text (CONF:3250-16896).
  min:
    v: 1
  condition:
    v: should-text-ref-value
  constraint:
    key:
      v: 3250-16912
    severity:
      v: error
    human:
      v: If @mediaType is present, the text SHALL contain exactly one [1..1] @representation="B64" and mixed content corresponding to the contents of the note (CONF:3250-16912).
    expression:
      v: mediaType.exists() implies (representation = 'B64' and xmlText.exists())
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
      l: NoteActivity
element:
  id:
    v: Act.text.mediaType
  path:
    v: Act.text.mediaType
  short:
    v: If the note was originally in another format, such as RTF, this element may also contain the base-64-encoded raw data of the note in addition to a reference to the narrative.
  comment:
    v: This text MAY contain zero or one [0..1] @mediaType, which SHOULD be selected from ValueSet SupportedFileFormats urn:oid:2.16.840.1.113883.11.20.7.1 DYNAMIC (CONF:3250-16906).
  binding:
    strength:
      v: preferred
    value set:
      v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.7.1
      l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.7.1
element:
  id:
    v: Act.text.reference
  path:
    v: Act.text.reference
  comment:
    v: This text SHALL contain exactly one [1..1] reference (CONF:3250-16897).
  min:
    v: 1
  constraint:
    key:
      v: value-starts-octothorpe
    severity:
      v: error
    human:
      v: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
    expression:
      v: value.exists() implies value.startsWith('#')
    source:
      v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
      l: NoteActivity
element:
  id:
    v: Act.text.reference.nullFlavor
  path:
    v: Act.text.reference.nullFlavor
  short:
    v: The note activity must reference human-readable content in the narrative, so this reference must not be null.
  comment:
    v: This reference SHALL NOT contain [0..0] @nullFlavor (CONF:3250-16920).
  max:
    v: 0
element:
  id:
    v: Act.text.reference.value
  path:
    v: Act.text.reference.value
  comment:
    v: This reference SHALL contain exactly one [1..1] @value (CONF:3250-16898).
  min:
    v: 1
element:
  id:
    v: Act.statusCode
  path:
    v: Act.statusCode
  short:
    v: Indicates the status of the note. The most common statusCode is completed indicating the note is signed and finalized.
  comment:
    v: SHALL contain exactly one [1..1] statusCode (CONF:3250-16916).
  min:
    v: 1
element:
  id:
    v: Act.effectiveTime
  path:
    v: Act.effectiveTime

v: The effectiveTime represents the clinically relevant time of the note. The precise timestamp of creation / updating should be conveyed in author/time.

v: SHALL contain exactly one [1..1] effectiveTime (CONF:3250-16903).

v: 1

key:
  v: should-value-att
severity:
  v: warning
human:
  v: SHOULD contain @value
expression:
  v: value.exists()
source:
  v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
  l: NoteActivity

id:
  v: Act.effectiveTime.value
path:
  v: Act.effectiveTime.value
comment:
  v: This effectiveTime SHOULD contain zero or one [0..1] @value (CONF:3250-16917).

id:
  v: Act.author
path:
  v: Act.author
short:
  v: Represents the person(s) who wrote the note.
comment:
  v: SHALL contain at least one [1..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:3250-16913).
min:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/Author
    l: Author
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation
    l: AuthorParticipation

id:
  v: Act.participant
path:
  v: Act.participant
slicing:
  discriminator:
    type:
      v: value
    path:
      v: typeCode
  rules:
    v: open
comment:
  v: MAY contain zero or more [0..*] participant (CONF:3250-16923) such that it

id:
  v: Act.participant:legalAuthenticator
path:
  v: Act.participant
slice name:
  v: legalAuthenticator
short:
  v: Represents the person(s) legally responsible for the contents of the note.
min:
  v: 0
max:
  v: *

id:
  v: Act.participant:legalAuthenticator.typeCode
path:
  v: Act.participant.typeCode
comment:
  v: SHALL contain exactly one [1..1] @typeCode="LA" Legal Authenticator (CONF:3250-16925).
fixed: Code
  v: LA

id:
  v: Act.participant:legalAuthenticator.time
path:
  v: Act.participant.time
short:
  v: Indicates the time of signing the note.
comment:
  v: SHALL contain exactly one [1..1] US Realm Date and Time (Interval) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.3) (CONF:3250-16926).
min:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
    l: IVL-TS
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateTimeInterval
    l: USRealmDateTimeInterval

id:
  v: Act.participant:legalAuthenticator.participantRole
path:
  v: Act.participant.participantRole
comment:
  v: SHALL contain exactly one [1..1] participantRole (CONF:3250-16924).
constraint:
  key:
    v: 3250-16930
  severity:
    v: error
  human:
    v: If no id matches an author or participant elsewhere in the document, then playingEntity SHALL be present (CONF:3250-16930).
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
    l: NoteActivity

id:
  v: Act.participant:legalAuthenticator.participantRole.id
path:
  v: Act.participant.participantRole.id
short:
  v: This may be the ID of the note author. If so, no additional information in this participant is required.
comment:
  v: This participantRole SHALL contain at least one [1..*] id (CONF:3250-16927).
min:
  v: 1

id:
  v: Act.participant:legalAuthenticator.participantRole.sdtcSpecialty
path:
  v: Act.participant.participantRole.sdtcSpecialty
binding:
  strength:
    v: preferred
  value set:
    v: http://hl7.org/fhir/ValueSet/c80-practice-codes
    l: c80-practice-codes

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity
path:
  v: Act.participant.participantRole.playingEntity
comment:
  v: This participantRole MAY contain zero or one [0..1] playingEntity (CONF:3250-16928).

id:
  v: Act.participant:legalAuthenticator.participantRole.playingEntity.name
path:
  v: Act.participant.participantRole.playingEntity.name
comment:
  v: The playingEntity, if present, 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:3250-16929).
min:
  v: 1
type:
  code:
    v: http://hl7.org/cda/stds/core/StructureDefinition/PN
    l: PN
  profile:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED
    l: USRealmPersonNamePNUSFIELDED

id:
  v: Act.entryRelationship
path:
  v: Act.entryRelationship
slicing:
  discriminator:
    type:
      v: exists
    path:
      v: encounter
  rules:
    v: open
comment:
  v: SHOULD contain zero or more [0..*] entryRelationship (CONF:3250-16907) such that it

id:
  v: Act.entryRelationship:encounter
path:
  v: Act.entryRelationship
slice name:
  v: encounter
short:
  v: Links the note to an encounter. If the Note Activity is present within a document containing an encompassingEncounter, then this entryRelationship is optional and the note is associated with the encounter represented by the encompassingEncounter.
min:
  v: 0
max:
  v: *

id:
  v: Act.entryRelationship:encounter.typeCode
path:
  v: Act.entryRelationship.typeCode
comment:
  v: SHALL contain exactly one [1..1] @typeCode="COMP" (CONF:3250-16921).
fixed: Code
  v: COMP

id:
  v: Act.entryRelationship:encounter.inversionInd
path:
  v: Act.entryRelationship.inversionInd
comment:
  v: SHALL contain exactly one [1..1] @inversionInd="true" (CONF:3250-16922).
min:
  v: 1
fixed: Boolean
  v: true

id:
  v: Act.entryRelationship:encounter.negationInd
path:
  v: Act.entryRelationship.negationInd
short:
  v: To communicate that the note is not associated with any encounter, this entryRelationship MAY be included with @negationInd="true" and encounter/id/@nullFlavor="NA". The negationInd + encounter indicate this note is not associated with any encounter.
comment:
  v: MAY contain zero or one [0..1] @negationInd (CONF:3250-16931).

id:
  v: Act.entryRelationship:encounter.encounter
path:
  v: Act.entryRelationship.encounter
comment:
  v: SHALL contain exactly one [1..1] encounter (CONF:3250-16908).
min:
  v: 1

id:
  v: Act.entryRelationship:encounter.encounter.id
path:
  v: Act.entryRelationship.encounter.id
comment:
  v: This encounter SHALL contain at least one [1..*] id (CONF:3250-16909).
min:
  v: 1
constraint:
  key:
    v: 3250-16914
  severity:
    v: error
  human:
    v: If the id does not match an encounter/id from the Encounters Section or encompassingEncounter within the same document and the id does not contain @nullFlavor="NA", then this entry SHALL conform to the Encounter Activity (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.49:2015-08-01) (CONF:3250-16914).
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
    l: NoteActivity

id:
  v: Act.reference
path:
  v: Act.reference
slicing:
  discriminator:
    type:
      v: exists
    path:
      v: externalDocument
  rules:
    v: open
comment:
  v: MAY contain zero or more [0..*] reference (CONF:3250-16910) such that it

id:
  v: Act.reference:externalDocument
path:
  v: Act.reference
slice name:
  v: externalDocument
short:
  v: Represents an unstructured C-CDA document containing the original contents of the note in the original format.
min:
  v: 0
max:
  v: *

id:
  v: Act.reference:externalDocument.externalDocument
path:
  v: Act.reference.externalDocument
comment:
  v: SHALL contain exactly one [1..1] externalDocument (CONF:3250-16911).
min:
  v: 1
constraint:
  key:
    v: should-code
  severity:
    v: warning
  human:
    v: SHOULD contain code
  expression:
    v: code.exists()
  source:
    v: http://hl7.org/cda/us/ccda/StructureDefinition/NoteActivity
    l: NoteActivity

id:
  v: Act.reference:externalDocument.externalDocument.id
path:
  v: Act.reference.externalDocument.id
comment:
  v: This externalDocument SHALL contain exactly one [1..1] id (CONF:3250-16915).
min:
  v: 1
max:
  v: 1

id:
  v: Act.reference:externalDocument.externalDocument.code
path:
  v: Act.reference.externalDocument.code
comment:
  v: This externalDocument SHOULD contain zero or one [0..1] code (CONF:3250-16918).