C-CDA on FHIR Implementation Guide STU 1 (v1.0.0)

This page is part of the C-CDA on FHIR Implementation Guide (v1.0.0: STU 1) based on FHIR R3. The current version which supercedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions

D.4.1 StructureDefinition: CCDA-on-FHIR-US-Realm-Header

D.4.1.1 Formal Views of Profile Content

The official URL for this profile is:

http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-US-Realm-Header

This profile defines constraints that represent common administrative and demographic concepts for US Realm clinical documents. Further specification, such as type, are provided in document profiles that conform to this profile.

This profile builds on Clinical Document Profile for Composition.

This profile was published on Sat Apr 07 06:53:01 AEST 2018 as a draft by null.

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Clinical Document Profile for Composition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*
... language 1..1codelanguage
... CCDA-on-FHIR-Data-Enterer 0..1Reference(US Core Practitioner Profile)Extension
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Data-Enterer
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Data-Enterer"
... CCDA-on-FHIR-Informant 0..*Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)informant
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Informant
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Informant"
... CCDA-on-FHIR-Information-Recipient 0..*Reference(US Core Practitioner Profile)informationRecipient
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Information-Recipient
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Information-Recipient"
... CCDA-on-FHIR-Participant 0..*Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)participant
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Participant
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Participant"
... CCDA-on-FHIR-Performer 0..*Reference(US Core Practitioner Profile)performer
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Performer
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Performer"
... CCDA-on-FHIR-Authorization 0..*Reference(C-CDA on FHIR Consent)authorization
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Authorization
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Authorization"
... CCDA-on-FHIR-In-Fulfillment-Of-Order 0..*Reference(ProcedureRequest)authorization
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-In-Fulfillment-Of-Order
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-In-Fulfillment-Of-Order"
... identifier 1..1Identifieridentifier
... subject 1..1Reference(US Core Patient Profile | Group)
... date 1..1dateTimedate
... author 1..*Reference(US Core Practitioner Profile | PractitionerRole | US Core Patient Profile | Device | RelatedPerson)
... title 1..1stringDocument Title
... confidentiality 1..1codeconfidentiality
... attester BackboneElementSlice: Unordered, Open by value:mode
... attester 0..1BackboneElementattester
.... mode 1..1codemode
Fixed Value: legal
.... party 1..1Reference(US Core Practitioner Profile)party
... attester 0..*BackboneElementattester
.... mode 1..*codemode
Fixed Value: professional
.... party 1..1Reference(US Core Practitioner Profile)party
... attester 0..*BackboneElementattester
.... mode 1..*codemode
Fixed Value: personal
.... party 1..1Reference(US Core Patient Profile)party
... custodian 1..1Reference(US Core Organization Profile)custodian

doco Documentation for this format

This structure is derived from Clinical Document Profile for Composition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition I0..*A set of resources composed into a single coherent clinical statement with clinical attestation
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 1..1codelanguage
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... CCDA-on-FHIR-Data-Enterer I0..1Reference(US Core Practitioner Profile)Extension
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Data-Enterer
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Data-Enterer"
.... valueReference 0..1Reference(US Core Practitioner Profile)Value of extension
... CCDA-on-FHIR-Informant I0..*Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)informant
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Informant
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Informant"
.... valueReference 0..1Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)Value of extension
... CCDA-on-FHIR-Information-Recipient I0..*Reference(US Core Practitioner Profile)informationRecipient
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Information-Recipient
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Information-Recipient"
.... valueReference 0..1Reference(US Core Practitioner Profile)Value of extension
... CCDA-on-FHIR-Participant I0..*Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)participant
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Participant
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Participant"
.... valueReference 0..1Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)Value of extension
... CCDA-on-FHIR-Performer I0..*Reference(US Core Practitioner Profile)performer
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Performer
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Performer"
.... valueReference 0..1Reference(US Core Practitioner Profile)Value of extension
... CCDA-on-FHIR-Authorization I0..*Reference(C-CDA on FHIR Consent)authorization
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Authorization"
.... valueReference 0..1Reference(C-CDA on FHIR Consent)Value of extension
... CCDA-on-FHIR-In-Fulfillment-Of-Order I0..*Reference(ProcedureRequest)authorization
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-In-Fulfillment-Of-Order
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-In-Fulfillment-Of-Order"
.... valueReference 0..1Reference(ProcedureRequest)Value of extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1Identifieridentifier
... status ?!Σ1..1codepreliminary | final | amended | entered-in-error
Binding: CompositionStatus (required)
... type Σ1..1CodeableConceptKind of composition (LOINC if possible)
Binding: FHIR Document Type Codes (preferred)
... class Σ0..1CodeableConceptCategorization of Composition
Binding: FHIR Document Class Codes (example)
... subject Σ1..1Reference(US Core Patient Profile | Group)Who and/or what the composition is about
... encounter Σ0..1Reference(Encounter)Context of the Composition
... date Σ1..1dateTimedate
... author Σ1..*Reference(US Core Practitioner Profile | PractitionerRole | US Core Patient Profile | Device | RelatedPerson)Who and/or what authored the composition
... title Σ1..1stringDocument Title
... confidentiality ?!Σ1..1codeconfidentiality
Binding: ConfidentialityClassification (required)
... attester ΣIBackboneElementAttests to accuracy of composition
Slice: Unordered, Open by value:mode
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... mode Σ1..*codepersonal | professional | legal | official
Binding: CompositionAttestationMode (required)
.... time Σ0..1dateTimeWhen the composition was attested
.... party Σ0..1Reference(Patient | Practitioner | Organization)Who attested the composition
... attester ΣI0..1BackboneElementattester
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... mode Σ1..1codemode
Binding: CompositionAttestationMode (required)

Fixed Value: legal
.... time Σ0..1dateTimeWhen the composition was attested
.... party Σ1..1Reference(US Core Practitioner Profile)party
... attester ΣI0..*BackboneElementattester
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... mode Σ1..*codemode
Binding: CompositionAttestationMode (required)

Fixed Value: professional
.... time Σ0..1dateTimeWhen the composition was attested
.... party Σ1..1Reference(US Core Practitioner Profile)party
... attester ΣI0..*BackboneElementattester
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... mode Σ1..*codemode
Binding: CompositionAttestationMode (required)

Fixed Value: personal
.... time Σ0..1dateTimeWhen the composition was attested
.... party Σ1..1Reference(US Core Patient Profile)party
... custodian Σ1..1Reference(US Core Organization Profile)custodian
... relatesTo ΣI0..*BackboneElementRelationships to other compositions/documents
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... code Σ1..1codereplaces | transforms | signs | appends
Binding: DocumentRelationshipType (required)
.... target[x] Σ1..1Identifier, Reference(Composition)Target of the relationship
... event ΣI0..*BackboneElementThe clinical service(s) being documented
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... code Σ0..*CodeableConceptCode(s) that apply to the event being documented
Binding: v3 Code System ActCode (example)
.... period Σ0..1PeriodThe period covered by the documentation
.... detail Σ0..*Reference(Resource)The event(s) being documented
... section I0..*BackboneElementComposition is broken into sections
cmp-1: A section must at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... title 0..1stringLabel for section (e.g. for ToC)
.... code 0..1CodeableConceptClassification of section (recommended)
Binding: Document Section Codes (example)
.... text I0..1NarrativeText summary of the section, for human interpretation
.... mode ?!Σ0..1codeworking | snapshot | changes
Binding: ListMode (required)
.... orderedBy 0..1CodeableConceptOrder of section entries
Binding: List Order Codes (preferred)
.... entry I0..*Reference(Resource)A reference to data that supports this section
.... emptyReason I0..1CodeableConceptWhy the section is empty
Binding: List Empty Reasons (preferred)
.... section I0..*Unknown reference to #Composition.section
Nested Section

doco Documentation for this format

Differential View

This structure is derived from Clinical Document Profile for Composition

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..*
... language 1..1codelanguage
... CCDA-on-FHIR-Data-Enterer 0..1Reference(US Core Practitioner Profile)Extension
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Data-Enterer
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Data-Enterer"
... CCDA-on-FHIR-Informant 0..*Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)informant
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Informant
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Informant"
... CCDA-on-FHIR-Information-Recipient 0..*Reference(US Core Practitioner Profile)informationRecipient
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Information-Recipient
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Information-Recipient"
... CCDA-on-FHIR-Participant 0..*Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)participant
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Participant
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Participant"
... CCDA-on-FHIR-Performer 0..*Reference(US Core Practitioner Profile)performer
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Performer
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Performer"
... CCDA-on-FHIR-Authorization 0..*Reference(C-CDA on FHIR Consent)authorization
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Authorization
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Authorization"
... CCDA-on-FHIR-In-Fulfillment-Of-Order 0..*Reference(ProcedureRequest)authorization
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-In-Fulfillment-Of-Order
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-In-Fulfillment-Of-Order"
... identifier 1..1Identifieridentifier
... subject 1..1Reference(US Core Patient Profile | Group)
... date 1..1dateTimedate
... author 1..*Reference(US Core Practitioner Profile | PractitionerRole | US Core Patient Profile | Device | RelatedPerson)
... title 1..1stringDocument Title
... confidentiality 1..1codeconfidentiality
... attester BackboneElementSlice: Unordered, Open by value:mode
... attester 0..1BackboneElementattester
.... mode 1..1codemode
Fixed Value: legal
.... party 1..1Reference(US Core Practitioner Profile)party
... attester 0..*BackboneElementattester
.... mode 1..*codemode
Fixed Value: professional
.... party 1..1Reference(US Core Practitioner Profile)party
... attester 0..*BackboneElementattester
.... mode 1..*codemode
Fixed Value: personal
.... party 1..1Reference(US Core Patient Profile)party
... custodian 1..1Reference(US Core Organization Profile)custodian

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition I0..*A set of resources composed into a single coherent clinical statement with clinical attestation
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 1..1codelanguage
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... CCDA-on-FHIR-Data-Enterer I0..1Reference(US Core Practitioner Profile)Extension
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Data-Enterer
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Data-Enterer"
.... valueReference 0..1Reference(US Core Practitioner Profile)Value of extension
... CCDA-on-FHIR-Informant I0..*Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)informant
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Informant
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Informant"
.... valueReference 0..1Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)Value of extension
... CCDA-on-FHIR-Information-Recipient I0..*Reference(US Core Practitioner Profile)informationRecipient
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Information-Recipient
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Information-Recipient"
.... valueReference 0..1Reference(US Core Practitioner Profile)Value of extension
... CCDA-on-FHIR-Participant I0..*Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)participant
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Participant
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Participant"
.... valueReference 0..1Reference(US Core Practitioner Profile | US Core Patient Profile | RelatedPerson)Value of extension
... CCDA-on-FHIR-Performer I0..*Reference(US Core Practitioner Profile)performer
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Performer
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Performer"
.... valueReference 0..1Reference(US Core Practitioner Profile)Value of extension
... CCDA-on-FHIR-Authorization I0..*Reference(C-CDA on FHIR Consent)authorization
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-Authorization"
.... valueReference 0..1Reference(C-CDA on FHIR Consent)Value of extension
... CCDA-on-FHIR-In-Fulfillment-Of-Order I0..*Reference(ProcedureRequest)authorization
URL: http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-In-Fulfillment-Of-Order
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/ccda/StructureDefinition/CCDA-on-FHIR-In-Fulfillment-Of-Order"
.... valueReference 0..1Reference(ProcedureRequest)Value of extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1Identifieridentifier
... status ?!Σ1..1codepreliminary | final | amended | entered-in-error
Binding: CompositionStatus (required)
... type Σ1..1CodeableConceptKind of composition (LOINC if possible)
Binding: FHIR Document Type Codes (preferred)
... class Σ0..1CodeableConceptCategorization of Composition
Binding: FHIR Document Class Codes (example)
... subject Σ1..1Reference(US Core Patient Profile | Group)Who and/or what the composition is about
... encounter Σ0..1Reference(Encounter)Context of the Composition
... date Σ1..1dateTimedate
... author Σ1..*Reference(US Core Practitioner Profile | PractitionerRole | US Core Patient Profile | Device | RelatedPerson)Who and/or what authored the composition
... title Σ1..1stringDocument Title
... confidentiality ?!Σ1..1codeconfidentiality
Binding: ConfidentialityClassification (required)
... attester ΣIBackboneElementAttests to accuracy of composition
Slice: Unordered, Open by value:mode
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... mode Σ1..*codepersonal | professional | legal | official
Binding: CompositionAttestationMode (required)
.... time Σ0..1dateTimeWhen the composition was attested
.... party Σ0..1Reference(Patient | Practitioner | Organization)Who attested the composition
... attester ΣI0..1BackboneElementattester
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... mode Σ1..1codemode
Binding: CompositionAttestationMode (required)

Fixed Value: legal
.... time Σ0..1dateTimeWhen the composition was attested
.... party Σ1..1Reference(US Core Practitioner Profile)party
... attester ΣI0..*BackboneElementattester
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... mode Σ1..*codemode
Binding: CompositionAttestationMode (required)

Fixed Value: professional
.... time Σ0..1dateTimeWhen the composition was attested
.... party Σ1..1Reference(US Core Practitioner Profile)party
... attester ΣI0..*BackboneElementattester
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... mode Σ1..*codemode
Binding: CompositionAttestationMode (required)

Fixed Value: personal
.... time Σ0..1dateTimeWhen the composition was attested
.... party Σ1..1Reference(US Core Patient Profile)party
... custodian Σ1..1Reference(US Core Organization Profile)custodian
... relatesTo ΣI0..*BackboneElementRelationships to other compositions/documents
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... code Σ1..1codereplaces | transforms | signs | appends
Binding: DocumentRelationshipType (required)
.... target[x] Σ1..1Identifier, Reference(Composition)Target of the relationship
... event ΣI0..*BackboneElementThe clinical service(s) being documented
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... code Σ0..*CodeableConceptCode(s) that apply to the event being documented
Binding: v3 Code System ActCode (example)
.... period Σ0..1PeriodThe period covered by the documentation
.... detail Σ0..*Reference(Resource)The event(s) being documented
... section I0..*BackboneElementComposition is broken into sections
cmp-1: A section must at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... title 0..1stringLabel for section (e.g. for ToC)
.... code 0..1CodeableConceptClassification of section (recommended)
Binding: Document Section Codes (example)
.... text I0..1NarrativeText summary of the section, for human interpretation
.... mode ?!Σ0..1codeworking | snapshot | changes
Binding: ListMode (required)
.... orderedBy 0..1CodeableConceptOrder of section entries
Binding: List Order Codes (preferred)
.... entry I0..*Reference(Resource)A reference to data that supports this section
.... emptyReason I0..1CodeableConceptWhy the section is empty
Binding: List Empty Reasons (preferred)
.... section I0..*Unknown reference to #Composition.section
Nested Section

doco Documentation for this format

 

D.4.1.2 Terminology Bindings

Terminology Bindings

PathNameConformanceValueSet
Composition.languageCommon LanguagesextensibleCommon Languages
Composition.statusCompositionStatusrequiredCompositionStatus
Composition.typeFHIR Document Type CodespreferredFHIR Document Type Codes
Composition.classFHIR Document Class CodesexampleFHIR Document Class Codes
Composition.confidentialityConfidentialityClassificationrequiredConfidentialityClassification
Composition.attester.modeCompositionAttestationModerequiredCompositionAttestationMode
Composition.attester.modeCompositionAttestationModerequiredCompositionAttestationMode
Composition.attester.modeCompositionAttestationModerequiredCompositionAttestationMode
Composition.attester.modeCompositionAttestationModerequiredCompositionAttestationMode
Composition.relatesTo.codeDocumentRelationshipTyperequiredDocumentRelationshipType
Composition.event.codev3 Code System ActCodeexamplev3 Code System ActCode
Composition.section.codeDocument Section CodesexampleDocument Section Codes
Composition.section.modeListModerequiredListMode
Composition.section.orderedByList Order CodespreferredList Order Codes
Composition.section.emptyReasonList Empty ReasonspreferredList Empty Reasons

D.4.1.3 Constraints

Constraints

IdPathDetailsRequirements
dom-2CompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1CompositionIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4CompositionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-3CompositionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
ele-1Composition.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Composition.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Composition.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Composition.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Composition.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Composition.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Composition.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Composition.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Composition.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Composition.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Composition.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Composition.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Composition.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Composition.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Composition.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1Composition.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Composition.attesterAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Composition.attesterAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Composition.attesterAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Composition.attesterAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Composition.relatesToAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Composition.eventAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Composition.sectionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
cmp-1Composition.sectionA section must at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2Composition.sectionA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
.