This page is part of the FHIR Specification (v0.5.0: DSTU 2 Ballot 2). The current version which supercedes this version is 5.0.0.  For a full list of available versions, see the Directory of published versions 

The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/composition-clindoc-clinicaldocument
The base Composition is a general resource for compositions or documents about any kind of subject that might be encountered in healthcare including such things as guidelines, medicines, etc. A clinical document is focused on documents related to the provision of care process, where the subject is a patient, a group of patients, or a closely related concept. A clinical document has additional reqiurements around confidentiality that do not apply in the same way to other kinds of documents
This profile was published on Tue, Mar 17, 2015 00:00+1100 as a draft by Health Level Seven, Inc. - Structured Documents WG.

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Composition.
This structure is derived from Composition.
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Composition | 1..1 | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
|    meta | 0..1 | Meta | Metadata about the resource | |
|    implicitRules | ?! | 0..1 | uri | A set of rules under which this content was created | 
|    language | 0..1 | code | Language of the resource content Binding: Language (required) | |
|    text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation | 
|    contained | 0..* | Resource | Contained, inline Resources | |
|    extension | 0..* | Extension | Additional Content defined by implementations | |
|    modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|    identifier | Σ | 0..1 | Identifier | Logical identifier of composition (version-independent) | 
|    date | Σ | 1..1 | dateTime | Composition editing time | 
|    type | Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: DocumentType (required) | 
|    class | Σ | 0..1 | CodeableConcept | Categorization of Composition Binding: DocumentC80Class (preferred) | 
|    title | Σ | 0..1 | string | Human Readable name/title | 
|    status | ?! Σ | 1..1 | code | preliminary | final | appended | amended | entered-in-error Binding: CompositionStatus (required) | 
|    confidentiality | ?! Σ | 0..1 | code | As defined by affinity domain Binding: DocumentConfidentiality (required) | 
|    subject | Σ | 1..1 | Patient, Practitioner, Group, Device, Location | Who and/or what the composition is about | 
|    author | Σ | 1..* | Practitioner, Device, Patient, RelatedPerson | Who and/or what authored the composition | 
|    attester | Σ | 0..* | Attests to accuracy of composition | |
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|     mode | Σ | 1..* | code | personal | professional | legal | official Binding: CompositionAttestationMode (required) | 
|     time | Σ | 0..1 | dateTime | When composition attested | 
|     party | Σ | 0..1 | Patient, Practitioner, Organization | Who attested the composition | 
|    custodian | Σ | 0..1 | Organization | Org which maintains the composition | 
|    event | Σ | 0..* | The clinical service(s) being documented | |
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|     code | Σ | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: DocumentEventType (required) | 
|     period | Σ | 0..1 | Period | The period covered by the documentation | 
|     detail | Σ | 0..* | Resource | Full details for the event(s) the composition consents | 
|    encounter | Σ | 0..1 | Encounter | Context of the conposition | 
|    section | I | 0..* | Composition is broken into sections cmp-1: A section must have either subsections or content | |
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|     title | 0..1 | string | Label for section (e.g. for ToC) | |
|     code | 0..1 | CodeableConcept | Classification of section (recommended) Binding: CompositionSectionType (required) | |
|     content | I | 0..1 | List | The Content of the section (narrative + data entries) | 
|     section | I | 0..* | Nested Section | 
todo
This structure is derived from Composition.
Differential View
This structure is derived from Composition.
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Composition | 1..1 | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
|    meta | 0..1 | Meta | Metadata about the resource | |
|    implicitRules | ?! | 0..1 | uri | A set of rules under which this content was created | 
|    language | 0..1 | code | Language of the resource content Binding: Language (required) | |
|    text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation | 
|    contained | 0..* | Resource | Contained, inline Resources | |
|    extension | 0..* | Extension | Additional Content defined by implementations | |
|    modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|    identifier | Σ | 0..1 | Identifier | Logical identifier of composition (version-independent) | 
|    date | Σ | 1..1 | dateTime | Composition editing time | 
|    type | Σ | 1..1 | CodeableConcept | Kind of composition (LOINC if possible) Binding: DocumentType (required) | 
|    class | Σ | 0..1 | CodeableConcept | Categorization of Composition Binding: DocumentC80Class (preferred) | 
|    title | Σ | 0..1 | string | Human Readable name/title | 
|    status | ?! Σ | 1..1 | code | preliminary | final | appended | amended | entered-in-error Binding: CompositionStatus (required) | 
|    confidentiality | ?! Σ | 0..1 | code | As defined by affinity domain Binding: DocumentConfidentiality (required) | 
|    subject | Σ | 1..1 | Patient, Practitioner, Group, Device, Location | Who and/or what the composition is about | 
|    author | Σ | 1..* | Practitioner, Device, Patient, RelatedPerson | Who and/or what authored the composition | 
|    attester | Σ | 0..* | Attests to accuracy of composition | |
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|     mode | Σ | 1..* | code | personal | professional | legal | official Binding: CompositionAttestationMode (required) | 
|     time | Σ | 0..1 | dateTime | When composition attested | 
|     party | Σ | 0..1 | Patient, Practitioner, Organization | Who attested the composition | 
|    custodian | Σ | 0..1 | Organization | Org which maintains the composition | 
|    event | Σ | 0..* | The clinical service(s) being documented | |
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|     code | Σ | 0..* | CodeableConcept | Code(s) that apply to the event being documented Binding: DocumentEventType (required) | 
|     period | Σ | 0..1 | Period | The period covered by the documentation | 
|     detail | Σ | 0..* | Resource | Full details for the event(s) the composition consents | 
|    encounter | Σ | 0..1 | Encounter | Context of the conposition | 
|    section | I | 0..* | Composition is broken into sections cmp-1: A section must have either subsections or content | |
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|     title | 0..1 | string | Label for section (e.g. for ToC) | |
|     code | 0..1 | CodeableConcept | Classification of section (recommended) Binding: CompositionSectionType (required) | |
|     content | I | 0..1 | List | The Content of the section (narrative + data entries) | 
|     section | I | 0..* | Nested Section | 
XML Template
JSON Template
todo
Other representations of profile: (todo)

| Path | Name | Conformance | ValueSet | 
| Composition.language | Language | required | http://tools.ietf.org/html/bcp47 | 
| Composition.type | DocumentType | required | FHIR Document Type Codes | 
| Composition.class | DocumentC80Class | preferred | Document Class Value Set | 
| Composition.status | CompositionStatus | required | CompositionStatus | 
| Composition.confidentiality | DocumentConfidentiality | required | v3 Code System Confidentiality | 
| Composition.attester.mode | CompositionAttestationMode | required | CompositionAttestationMode | 
| Composition.event.code | DocumentEventType | required | v3 Code System ActCode | 
| Composition.section.code | CompositionSectionType | required | Document Section Codes | 

| Id | Path | Name | Details | 
| cmp-1 | Composition.section | Section Content | A section must have either subsections or content XPath: (exists(f:content) and not(exists(f:section))) or (exists(f:section) and not(exists(f:content))) |