Specyfikacja interoperacyjności prototypu SSIDL
0.1.4 - ci-build

Specyfikacja interoperacyjności prototypu SSIDL, published by Uniwersytet Medyczny w Łodzi. This guide is not an authorized publication; it is the continuous build for version 0.1.4 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/SSIDL/ssidl-ig/ and changes regularly. See the Directory of published versions

Resource Profile: Composition: Laboratory Document Header

Official URL: http://loinc-ssidl.umed.pl/fhir/ig/ssidl/StructureDefinition/pl-lab-composition Version: 0.1.4
Active as of 2025-11-28 Computable Name: PLLabComposition

Nagłówek dokumentu sprawozdania z badania laboratoryjnego

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* PLBaseComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version S 1..1 string Composition: Version
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-version
.... extension:informationRecipient S 0..* Reference(PractitionerRole: Odbiorca informacji) Composition: Information Recipient
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-informationRecipient
.... extension:basedOnOrder S 0..* Reference(Service Request: Zlecenie usługi medycznej) Composition: Based On Order
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-basedOnOrder
.... extension:payorIdentifier S 0..1 (Complex) Composition: Payor Identifier
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-payorIdentifier
... identifier SΣ 1..1 Identifier Version-independent identifier for the Composition
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string The value that is unique
Example General: 123456
... status ?!Σ 1..1 code registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
... type SΣ 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.
.... Slices for coding SΣ 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:loincDocumentType SΣ 1..1 Coding Code defined by a terminology system
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.com
...... code SΣC 1..1 code Symbol in syntax defined by the system
Binding: FHIRDocumentTypeCodes (required)
..... coding:p1DocumentType SΣ 1..1 Coding Code defined by a terminology system
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://hl7.org.pl/fhir/CodeSystem/pl-p1DocumentType-CS
...... code SΣC 1..1 code Symbol in syntax defined by the system
Binding: Typ dokumentu medycznego wg P1 (PL) (required)
... subject SΣ 1..1 Reference(Patient: Pacjent) Who and/or what the composition is about
... encounter SΣ 1..1 Reference(Encounter: Wizyta/pobyt) Context of the Composition
... date SΣ 1..1 dateTime Composition editing time
... author SΣ 1..1 Reference(PractitionerRole: Autor dokumentu) Who and/or what authored the composition
... title SΣ 1..1 string Human Readable name/title
... Slices for attester S 1..* BackboneElement Attests to accuracy of composition
Slice: Unordered, Open by value:mode
.... attester:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
.... attester:legalAuthenticator S 1..1 BackboneElement Attests to accuracy of composition
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode S 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 0..1 uri Identity of the terminology system
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: legal
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... time S 1..1 dateTime When the composition was attested
..... party S 1..1 Reference(Practitioner: Pracownik medyczny) Who attested the composition
.... attester:authenticator S 0..* BackboneElement Attests to accuracy of composition
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode S 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 0..1 uri Identity of the terminology system
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: professional
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
... custodian SΣ 1..1 Reference(Organization) Organization which maintains the composition
... Slices for relatesTo S 0..* RelatedArtifact Relationships to other compositions/documents
Slice: Unordered, Open by value:type
.... relatesTo:documentPreviousVersion S 0..1 RelatedArtifact Relationships to other compositions/documents
..... type SΣ 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.
Required Pattern: predecessor
..... resourceReference SΣ 1..1 Reference(Resource) What artifact, if not a conformance resource
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... reference 1..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: StructureDefinition/pl-base-documentIdentity
...... type 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
...... identifier 0..1 Identifier Logical reference, when literal reference is not known
...... display 0..1 string Text alternative for the resource
... event SΣ 0..* BackboneElement The clinical service(s) being documented
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... detail SΣ 1..1 CodeableReference(Resource) The event(s) being documented, as code(s), reference(s), or both
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.
..... concept SΣ 1..1 CodeableConcept Reference to a concept (by class)
...... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:icd9PLCode SΣ 1..1 Coding Code defined by a terminology system
Binding: Kod usługi medycznej wg ICD-9-PL (required)
... Slices for section SC 1..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code.system
Constraints: cmp-1, cmp-2
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... entry C 0..* Reference(Resource) A reference to data that supports this section
.... section:labReportSection SC 1..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 30954-2
....... display 1..1 string Representation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... text SC 1..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 0..* Reference(Observation: Laboratory Results (PL)) A reference to data that supports this section
.... section:attachmentsSection SC 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... title S 1..1 string Label for section (e.g. for ToC)
Required Pattern: Załączniki
..... code S 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 77599-9
....... display 1..1 string Representation defined by the system
Fixed Value: Additional documentation
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... entry C 0..* Reference(Resource) A reference to data that supports this section

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Composition.status Base required Composition Status 📍5.0.0 FHIR Std.
Composition.type Base preferred FHIR Document Type Codes 📍5.0.0 FHIR Std.
Composition.type.coding:loincDocumentType.​code Base required FHIR Document Type Codes 📦5.0.0 FHIR Std.
Composition.type.coding:p1DocumentType.​code Base required Typ dokumentu medycznego wg P1 (PL) 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.attester.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.attester:legalAuthenticator.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.attester:authenticator.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.relatesTo:documentPreviousVersion.​type Base required RelatedArtifactType 📍5.0.0 FHIR Std.
Composition.event.detail Base example v3 Code System ActCode 📦3.0.0 THO v7.0
Composition.event.detail.​concept.coding:icd9PLCode Base required Kod usługi medycznej wg ICD-9-PL 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.section:labReportSection.​code Base example Document Section Codes 📍5.0.0 FHIR Std.
Composition.section:attachmentsSection.​code Base example Document Section Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:labReportSection, Composition.section:attachmentsSection A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:labReportSection, Composition.section:attachmentsSection A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If 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-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from PLBaseComposition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* PLBaseComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... Slices for section S 1..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code.system
.... section:labReportSection S 1..1 BackboneElement Composition is broken into sections
..... code S 1..1 CodeableConcept Classification of section (recommended)
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 30954-2
....... display 1..1 string Representation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data
..... text S 1..1 Narrative Text summary of the section, for human interpretation
..... entry S 0..* Reference(Observation: Laboratory Results (PL)) A reference to data that supports this section
.... section:attachmentsSection S 0..1 BackboneElement Composition is broken into sections
..... title S 1..1 string Label for section (e.g. for ToC)
Required Pattern: Załączniki
..... code S 1..1 CodeableConcept Classification of section (recommended)
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 77599-9
....... display 1..1 string Representation defined by the system
Fixed Value: Additional documentation

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* PLBaseComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... id Σ 0..1 id Logical id of this artifact
... 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: Język dokumentu medycznego (Language) (required)
Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version S 1..1 string Composition: Version
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-version
.... extension:informationRecipient S 0..* Reference(PractitionerRole: Odbiorca informacji) Composition: Information Recipient
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-informationRecipient
.... extension:basedOnOrder S 0..* Reference(Service Request: Zlecenie usługi medycznej) Composition: Based On Order
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-basedOnOrder
.... extension:payorIdentifier S 0..1 (Complex) Composition: Payor Identifier
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-payorIdentifier
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... url Σ 0..1 uri Canonical identifier for this Composition, represented as a URI (globally unique)
... identifier SΣ 1..1 Identifier Version-independent identifier for the Composition
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... version Σ 0..1 string An explicitly assigned identifer of a variation of the content in the Composition
... status ?!Σ 1..1 code registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
... type SΣ 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:loincDocumentType SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.com
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣC 1..1 code Symbol in syntax defined by the system
Binding: FHIRDocumentTypeCodes (required)
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:p1DocumentType SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://hl7.org.pl/fhir/CodeSystem/pl-p1DocumentType-CS
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣC 1..1 code Symbol in syntax defined by the system
Binding: Typ dokumentu medycznego wg P1 (PL) (required)
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... category Σ 0..* CodeableConcept Categorization of Composition
Binding: ReferencedItemCategoryValueSet (example): High-level kind of a clinical document at a macro level.
... subject SΣ 1..1 Reference(Patient: Pacjent) Who and/or what the composition is about
... encounter SΣ 1..1 Reference(Encounter: Wizyta/pobyt) Context of the Composition
... date SΣ 1..1 dateTime Composition editing time
... useContext Σ 0..* UsageContext The context that the content is intended to support
... author SΣ 1..1 Reference(PractitionerRole: Autor dokumentu) Who and/or what authored the composition
... name Σ 0..1 string Name for this Composition (computer friendly)
... title SΣ 1..1 string Human Readable name/title
... note 0..* Annotation For any additional notes
... Slices for attester S 1..* BackboneElement Attests to accuracy of composition
Slice: Unordered, Open by value:mode
.... attester:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
..... time 0..1 dateTime When the composition was attested
..... party 0..1 Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) Who attested the composition
.... attester:legalAuthenticator S 1..1 BackboneElement Attests to accuracy of composition
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode S 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 0..1 uri Identity of the terminology system
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: legal
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... time S 1..1 dateTime When the composition was attested
..... party S 1..1 Reference(Practitioner: Pracownik medyczny) Who attested the composition
.... attester:authenticator S 0..* BackboneElement Attests to accuracy of composition
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode S 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 0..1 uri Identity of the terminology system
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: professional
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... time 0..1 dateTime When the composition was attested
..... party 0..1 Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) Who attested the composition
... custodian SΣ 1..1 Reference(Organization) Organization which maintains the composition
... Slices for relatesTo S 0..* RelatedArtifact Relationships to other compositions/documents
Slice: Unordered, Open by value:type
.... relatesTo:documentPreviousVersion S 0..1 RelatedArtifact Relationships to other compositions/documents
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type SΣ 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.
Required Pattern: predecessor
..... classifier Σ 0..* CodeableConcept Additional classifiers
Binding: CitationArtifactClassifier (example): Additional classifiers for the related artifact.
..... label Σ 0..1 string Short label
..... display Σ 0..1 string Brief description of the related artifact
..... citation Σ 0..1 markdown Bibliographic citation for the artifact
..... document Σ 0..1 Attachment What document is being referenced
..... resourceReference SΣ 1..1 Reference(Resource) What artifact, if not a conformance resource
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... reference 1..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: StructureDefinition/pl-base-documentIdentity
...... type 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
...... identifier 0..1 Identifier Logical reference, when literal reference is not known
...... display 0..1 string Text alternative for the resource
..... publicationStatus Σ 0..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): Publication status of an artifact being referred to.
..... publicationDate Σ 0..1 date Date of publication of the artifact being referred to
... event SΣ 0..* BackboneElement The clinical service(s) being documented
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... detail SΣ 1..1 CodeableReference(Resource) The event(s) being documented, as code(s), reference(s), or both
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... concept SΣ 1..1 CodeableConcept Reference to a concept (by class)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:icd9PLCode SΣ 1..1 Coding Code defined by a terminology system
Binding: Kod usługi medycznej wg ICD-9-PL (required)
...... text Σ 0..1 string Plain text representation of the concept
... Slices for section SC 1..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code.system
Constraints: cmp-1, cmp-2
.... section:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... title 0..1 string Label for section (e.g. for ToC)
..... code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
..... author 0..* Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) Who and/or what authored the section
..... focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
..... text C 0..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
..... entry C 0..* Reference(Resource) A reference to data that supports this section
..... emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
..... section 0..* See section (Composition) Nested Section
.... section:labReportSection SC 1..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... title 0..1 string Label for section (e.g. for ToC)
..... code S 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 30954-2
....... display 1..1 string Representation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... author 0..* Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) Who and/or what authored the section
..... focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
..... text SC 1..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
..... entry SC 0..* Reference(Observation: Laboratory Results (PL)) A reference to data that supports this section
..... emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
..... section 0..* See section (Composition) Nested Section
.... section:attachmentsSection SC 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... title S 1..1 string Label for section (e.g. for ToC)
Required Pattern: Załączniki
..... code S 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 77599-9
....... display 1..1 string Representation defined by the system
Fixed Value: Additional documentation
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... author 0..* Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) Who and/or what authored the section
..... focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
..... text C 0..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
..... entry C 0..* Reference(Resource) A reference to data that supports this section
..... emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
..... section 0..* See section (Composition) Nested Section

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.language Base required Język dokumentu medycznego (Language) 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Composition.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Composition.status Base required Composition Status 📍5.0.0 FHIR Std.
Composition.type Base preferred FHIR Document Type Codes 📍5.0.0 FHIR Std.
Composition.type.coding:loincDocumentType.​code Base required FHIR Document Type Codes 📦5.0.0 FHIR Std.
Composition.type.coding:p1DocumentType.​code Base required Typ dokumentu medycznego wg P1 (PL) 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.category Base example Referenced Item Category Value Set 📍5.0.0 FHIR Std.
Composition.attester.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.attester:legalAuthenticator.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.attester:authenticator.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.relatesTo:documentPreviousVersion.​type Base required RelatedArtifactType 📍5.0.0 FHIR Std.
Composition.relatesTo:documentPreviousVersion.​classifier Base example Citation Artifact Classifier 📍5.0.0 FHIR Std.
Composition.relatesTo:documentPreviousVersion.​publicationStatus Base required PublicationStatus 📍5.0.0 FHIR Std.
Composition.event.detail Base example v3 Code System ActCode 📦3.0.0 THO v7.0
Composition.event.detail.​concept.coding:icd9PLCode Base required Kod usługi medycznej wg ICD-9-PL 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.section.​code Base example Document Section Codes 📍5.0.0 FHIR Std.
Composition.section.​orderedBy Base preferred List Order Codes 📍5.0.0 FHIR Std.
Composition.section.​emptyReason Base preferred List Empty Reasons 📍5.0.0 FHIR Std.
Composition.section:labReportSection.​code Base example Document Section Codes 📍5.0.0 FHIR Std.
Composition.section:labReportSection.​orderedBy Base preferred List Order Codes 📍5.0.0 FHIR Std.
Composition.section:labReportSection.​emptyReason Base preferred List Empty Reasons 📍5.0.0 FHIR Std.
Composition.section:attachmentsSection.​code Base example Document Section Codes 📍5.0.0 FHIR Std.
Composition.section:attachmentsSection.​orderedBy Base preferred List Order Codes 📍5.0.0 FHIR Std.
Composition.section:attachmentsSection.​emptyReason Base preferred List Empty Reasons 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:labReportSection, Composition.section:attachmentsSection A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:labReportSection, Composition.section:attachmentsSection A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If 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-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from PLBaseComposition

Summary

Mandatory: 4 elements(2 nested mandatory elements)
Must-Support: 8 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Composition.section

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* PLBaseComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version S 1..1 string Composition: Version
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-version
.... extension:informationRecipient S 0..* Reference(PractitionerRole: Odbiorca informacji) Composition: Information Recipient
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-informationRecipient
.... extension:basedOnOrder S 0..* Reference(Service Request: Zlecenie usługi medycznej) Composition: Based On Order
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-basedOnOrder
.... extension:payorIdentifier S 0..1 (Complex) Composition: Payor Identifier
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-payorIdentifier
... identifier SΣ 1..1 Identifier Version-independent identifier for the Composition
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string The value that is unique
Example General: 123456
... status ?!Σ 1..1 code registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
... type SΣ 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.
.... Slices for coding SΣ 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:loincDocumentType SΣ 1..1 Coding Code defined by a terminology system
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.com
...... code SΣC 1..1 code Symbol in syntax defined by the system
Binding: FHIRDocumentTypeCodes (required)
..... coding:p1DocumentType SΣ 1..1 Coding Code defined by a terminology system
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://hl7.org.pl/fhir/CodeSystem/pl-p1DocumentType-CS
...... code SΣC 1..1 code Symbol in syntax defined by the system
Binding: Typ dokumentu medycznego wg P1 (PL) (required)
... subject SΣ 1..1 Reference(Patient: Pacjent) Who and/or what the composition is about
... encounter SΣ 1..1 Reference(Encounter: Wizyta/pobyt) Context of the Composition
... date SΣ 1..1 dateTime Composition editing time
... author SΣ 1..1 Reference(PractitionerRole: Autor dokumentu) Who and/or what authored the composition
... title SΣ 1..1 string Human Readable name/title
... Slices for attester S 1..* BackboneElement Attests to accuracy of composition
Slice: Unordered, Open by value:mode
.... attester:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
.... attester:legalAuthenticator S 1..1 BackboneElement Attests to accuracy of composition
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode S 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 0..1 uri Identity of the terminology system
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: legal
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... time S 1..1 dateTime When the composition was attested
..... party S 1..1 Reference(Practitioner: Pracownik medyczny) Who attested the composition
.... attester:authenticator S 0..* BackboneElement Attests to accuracy of composition
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode S 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 0..1 uri Identity of the terminology system
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: professional
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
... custodian SΣ 1..1 Reference(Organization) Organization which maintains the composition
... Slices for relatesTo S 0..* RelatedArtifact Relationships to other compositions/documents
Slice: Unordered, Open by value:type
.... relatesTo:documentPreviousVersion S 0..1 RelatedArtifact Relationships to other compositions/documents
..... type SΣ 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.
Required Pattern: predecessor
..... resourceReference SΣ 1..1 Reference(Resource) What artifact, if not a conformance resource
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... reference 1..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: StructureDefinition/pl-base-documentIdentity
...... type 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
...... identifier 0..1 Identifier Logical reference, when literal reference is not known
...... display 0..1 string Text alternative for the resource
... event SΣ 0..* BackboneElement The clinical service(s) being documented
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... detail SΣ 1..1 CodeableReference(Resource) The event(s) being documented, as code(s), reference(s), or both
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.
..... concept SΣ 1..1 CodeableConcept Reference to a concept (by class)
...... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:icd9PLCode SΣ 1..1 Coding Code defined by a terminology system
Binding: Kod usługi medycznej wg ICD-9-PL (required)
... Slices for section SC 1..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code.system
Constraints: cmp-1, cmp-2
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... entry C 0..* Reference(Resource) A reference to data that supports this section
.... section:labReportSection SC 1..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 30954-2
....... display 1..1 string Representation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... text SC 1..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... entry SC 0..* Reference(Observation: Laboratory Results (PL)) A reference to data that supports this section
.... section:attachmentsSection SC 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... title S 1..1 string Label for section (e.g. for ToC)
Required Pattern: Załączniki
..... code S 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 77599-9
....... display 1..1 string Representation defined by the system
Fixed Value: Additional documentation
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... entry C 0..* Reference(Resource) A reference to data that supports this section

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Composition.status Base required Composition Status 📍5.0.0 FHIR Std.
Composition.type Base preferred FHIR Document Type Codes 📍5.0.0 FHIR Std.
Composition.type.coding:loincDocumentType.​code Base required FHIR Document Type Codes 📦5.0.0 FHIR Std.
Composition.type.coding:p1DocumentType.​code Base required Typ dokumentu medycznego wg P1 (PL) 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.attester.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.attester:legalAuthenticator.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.attester:authenticator.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.relatesTo:documentPreviousVersion.​type Base required RelatedArtifactType 📍5.0.0 FHIR Std.
Composition.event.detail Base example v3 Code System ActCode 📦3.0.0 THO v7.0
Composition.event.detail.​concept.coding:icd9PLCode Base required Kod usługi medycznej wg ICD-9-PL 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.section:labReportSection.​code Base example Document Section Codes 📍5.0.0 FHIR Std.
Composition.section:attachmentsSection.​code Base example Document Section Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:labReportSection, Composition.section:attachmentsSection A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:labReportSection, Composition.section:attachmentsSection A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If 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-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from PLBaseComposition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* PLBaseComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... Slices for section S 1..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code.system
.... section:labReportSection S 1..1 BackboneElement Composition is broken into sections
..... code S 1..1 CodeableConcept Classification of section (recommended)
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 30954-2
....... display 1..1 string Representation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data
..... text S 1..1 Narrative Text summary of the section, for human interpretation
..... entry S 0..* Reference(Observation: Laboratory Results (PL)) A reference to data that supports this section
.... section:attachmentsSection S 0..1 BackboneElement Composition is broken into sections
..... title S 1..1 string Label for section (e.g. for ToC)
Required Pattern: Załączniki
..... code S 1..1 CodeableConcept Classification of section (recommended)
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 77599-9
....... display 1..1 string Representation defined by the system
Fixed Value: Additional documentation

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* PLBaseComposition A set of resources composed into a single coherent clinical statement with clinical attestation
... id Σ 0..1 id Logical id of this artifact
... 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: Język dokumentu medycznego (Language) (required)
Additional BindingsPurpose
CommonLanguages Starter
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version S 1..1 string Composition: Version
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-version
.... extension:informationRecipient S 0..* Reference(PractitionerRole: Odbiorca informacji) Composition: Information Recipient
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-informationRecipient
.... extension:basedOnOrder S 0..* Reference(Service Request: Zlecenie usługi medycznej) Composition: Based On Order
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-basedOnOrder
.... extension:payorIdentifier S 0..1 (Complex) Composition: Payor Identifier
URL: http://hl7.org.pl/fhir/ig/pl-base/StructureDefinition/composition-payorIdentifier
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... url Σ 0..1 uri Canonical identifier for this Composition, represented as a URI (globally unique)
... identifier SΣ 1..1 Identifier Version-independent identifier for the Composition
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣC 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... version Σ 0..1 string An explicitly assigned identifer of a variation of the content in the Composition
... status ?!Σ 1..1 code registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
... type SΣ 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 2..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:loincDocumentType SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.com
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣC 1..1 code Symbol in syntax defined by the system
Binding: FHIRDocumentTypeCodes (required)
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:p1DocumentType SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://hl7.org.pl/fhir/CodeSystem/pl-p1DocumentType-CS
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣC 1..1 code Symbol in syntax defined by the system
Binding: Typ dokumentu medycznego wg P1 (PL) (required)
...... display ΣC 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... category Σ 0..* CodeableConcept Categorization of Composition
Binding: ReferencedItemCategoryValueSet (example): High-level kind of a clinical document at a macro level.
... subject SΣ 1..1 Reference(Patient: Pacjent) Who and/or what the composition is about
... encounter SΣ 1..1 Reference(Encounter: Wizyta/pobyt) Context of the Composition
... date SΣ 1..1 dateTime Composition editing time
... useContext Σ 0..* UsageContext The context that the content is intended to support
... author SΣ 1..1 Reference(PractitionerRole: Autor dokumentu) Who and/or what authored the composition
... name Σ 0..1 string Name for this Composition (computer friendly)
... title SΣ 1..1 string Human Readable name/title
... note 0..* Annotation For any additional notes
... Slices for attester S 1..* BackboneElement Attests to accuracy of composition
Slice: Unordered, Open by value:mode
.... attester:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
..... time 0..1 dateTime When the composition was attested
..... party 0..1 Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) Who attested the composition
.... attester:legalAuthenticator S 1..1 BackboneElement Attests to accuracy of composition
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode S 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 0..1 uri Identity of the terminology system
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: legal
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... time S 1..1 dateTime When the composition was attested
..... party S 1..1 Reference(Practitioner: Pracownik medyczny) Who attested the composition
.... attester:authenticator S 0..* BackboneElement Attests to accuracy of composition
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... mode S 1..1 CodeableConcept personal | professional | legal | official
Binding: CompositionAttestationMode (preferred): The way in which a person authenticated a composition.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 0..1 uri Identity of the terminology system
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: professional
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... time 0..1 dateTime When the composition was attested
..... party 0..1 Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) Who attested the composition
... custodian SΣ 1..1 Reference(Organization) Organization which maintains the composition
... Slices for relatesTo S 0..* RelatedArtifact Relationships to other compositions/documents
Slice: Unordered, Open by value:type
.... relatesTo:documentPreviousVersion S 0..1 RelatedArtifact Relationships to other compositions/documents
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type SΣ 1..1 code documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of | part-of | amends | amended-with | appends | appended-with | cites | cited-by | comments-on | comment-in | contains | contained-in | corrects | correction-in | replaces | replaced-with | retracts | retracted-by | signs | similar-to | supports | supported-with | transforms | transformed-into | transformed-with | documents | specification-of | created-with | cite-as
Binding: RelatedArtifactType (required): The type of relationship to the related artifact.
Required Pattern: predecessor
..... classifier Σ 0..* CodeableConcept Additional classifiers
Binding: CitationArtifactClassifier (example): Additional classifiers for the related artifact.
..... label Σ 0..1 string Short label
..... display Σ 0..1 string Brief description of the related artifact
..... citation Σ 0..1 markdown Bibliographic citation for the artifact
..... document Σ 0..1 Attachment What document is being referenced
..... resourceReference SΣ 1..1 Reference(Resource) What artifact, if not a conformance resource
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... reference 1..1 string Literal reference, Relative, internal or absolute URL
Fixed Value: StructureDefinition/pl-base-documentIdentity
...... type 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
...... identifier 0..1 Identifier Logical reference, when literal reference is not known
...... display 0..1 string Text alternative for the resource
..... publicationStatus Σ 0..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): Publication status of an artifact being referred to.
..... publicationDate Σ 0..1 date Date of publication of the artifact being referred to
... event SΣ 0..* BackboneElement The clinical service(s) being documented
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... detail SΣ 1..1 CodeableReference(Resource) The event(s) being documented, as code(s), reference(s), or both
Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented.
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... concept SΣ 1..1 CodeableConcept Reference to a concept (by class)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding SΣ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
....... coding:icd9PLCode SΣ 1..1 Coding Code defined by a terminology system
Binding: Kod usługi medycznej wg ICD-9-PL (required)
...... text Σ 0..1 string Plain text representation of the concept
... Slices for section SC 1..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code.system
Constraints: cmp-1, cmp-2
.... section:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... title 0..1 string Label for section (e.g. for ToC)
..... code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
..... author 0..* Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) Who and/or what authored the section
..... focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
..... text C 0..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
..... entry C 0..* Reference(Resource) A reference to data that supports this section
..... emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
..... section 0..* See section (Composition) Nested Section
.... section:labReportSection SC 1..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... title 0..1 string Label for section (e.g. for ToC)
..... code S 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 30954-2
....... display 1..1 string Representation defined by the system
Fixed Value: Relevant diagnostic tests/laboratory data
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... author 0..* Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) Who and/or what authored the section
..... focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
..... text SC 1..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
..... entry SC 0..* Reference(Observation: Laboratory Results (PL)) A reference to data that supports this section
..... emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
..... section 0..* See section (Composition) Nested Section
.... section:attachmentsSection SC 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... title S 1..1 string Label for section (e.g. for ToC)
Required Pattern: Załączniki
..... code S 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.com
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 77599-9
....... display 1..1 string Representation defined by the system
Fixed Value: Additional documentation
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... author 0..* Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) Who and/or what authored the section
..... focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
..... text C 0..1 Narrative Text summary of the section, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
..... entry C 0..* Reference(Resource) A reference to data that supports this section
..... emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
..... section 0..* See section (Composition) Nested Section

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.language Base required Język dokumentu medycznego (Language) 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
Composition.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
Composition.status Base required Composition Status 📍5.0.0 FHIR Std.
Composition.type Base preferred FHIR Document Type Codes 📍5.0.0 FHIR Std.
Composition.type.coding:loincDocumentType.​code Base required FHIR Document Type Codes 📦5.0.0 FHIR Std.
Composition.type.coding:p1DocumentType.​code Base required Typ dokumentu medycznego wg P1 (PL) 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.category Base example Referenced Item Category Value Set 📍5.0.0 FHIR Std.
Composition.attester.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.attester:legalAuthenticator.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.attester:authenticator.​mode Base preferred Composition Attestation Mode 📍5.0.0 FHIR Std.
Composition.relatesTo:documentPreviousVersion.​type Base required RelatedArtifactType 📍5.0.0 FHIR Std.
Composition.relatesTo:documentPreviousVersion.​classifier Base example Citation Artifact Classifier 📍5.0.0 FHIR Std.
Composition.relatesTo:documentPreviousVersion.​publicationStatus Base required PublicationStatus 📍5.0.0 FHIR Std.
Composition.event.detail Base example v3 Code System ActCode 📦3.0.0 THO v7.0
Composition.event.detail.​concept.coding:icd9PLCode Base required Kod usługi medycznej wg ICD-9-PL 📦0.1.4 Polska specyfikacja bazowa HL7 FHIR v0.1
Composition.section.​code Base example Document Section Codes 📍5.0.0 FHIR Std.
Composition.section.​orderedBy Base preferred List Order Codes 📍5.0.0 FHIR Std.
Composition.section.​emptyReason Base preferred List Empty Reasons 📍5.0.0 FHIR Std.
Composition.section:labReportSection.​code Base example Document Section Codes 📍5.0.0 FHIR Std.
Composition.section:labReportSection.​orderedBy Base preferred List Order Codes 📍5.0.0 FHIR Std.
Composition.section:labReportSection.​emptyReason Base preferred List Empty Reasons 📍5.0.0 FHIR Std.
Composition.section:attachmentsSection.​code Base example Document Section Codes 📍5.0.0 FHIR Std.
Composition.section:attachmentsSection.​orderedBy Base preferred List Order Codes 📍5.0.0 FHIR Std.
Composition.section:attachmentsSection.​emptyReason Base preferred List Empty Reasons 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section, Composition.section:labReportSection, Composition.section:attachmentsSection A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:labReportSection, Composition.section:attachmentsSection A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If 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-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from PLBaseComposition

Summary

Mandatory: 4 elements(2 nested mandatory elements)
Must-Support: 8 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Composition.section

 

Other representations of profile: CSV, Excel, Schematron