Inera Core Implementation Guide
0.2.0 - ci-build
Sweden
Inera Core Implementation Guide - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://inera.se/fhir/core/StructureDefinition/careplan-documentreference-inera | Version: 0.2.0 | |||
| Draft as of 2026-01-09 | Computable Name: CarePlanDocumentReferenceInera | |||
Svensk profil för vårdplansdokument baserad på TKB GetCarePlan v2.0.
Denna profil används för TKB GetCarePlan v2.0-tjänsten som returnerar vårdplaner som dokument (PDF, HTML, bilder) snarare än strukturerade aktiviteter. Se ConceptMap GetCarePlan TKB to FHIR DocumentReference.
Användningsområden:
Vårdplansdokument som bilagor:
Multi-organisatorisk samordning:
Källa: TKB GetCarePlan v2.0 (clinicalprocess:logistics:logistics) ConceptMap: ConceptMapGetCarePlanTKBToDocumentReference
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..1 | Identifier | Vårdplansdokument-ID | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Ytterligare identifierare | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Dokumentstatus Binding: DocumentReferenceStatus (required) | ||||
![]() ![]() |
SΣ | 0..1 | code | Kompositionsstatus Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Vårdplanstyp Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Vårdplanstyp (text) | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Dokumentkategori Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient Base Inera) | Patient | ||||
![]() ![]() |
SΣ | 1..1 | instant | Skapad tidpunkt | ||||
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera) | Författare | ||||
![]() ![]() |
S | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera) | Signerare | ||||
![]() ![]() |
S | 1..1 | Reference(Organization Base Inera) | Dokumentansvarig vårdgivare | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | Relation till andra dokument | ||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | Relationstyp Binding: DocumentRelationshipType (required): The type of relationship between documents. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(DocumentReference) | Relaterat dokument | ||||
![]() ![]() |
SΣ | 0..1 | string | Dokumenttitel | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Säkerhetsmärkning Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() |
SΣ | 1..* | BackboneElement | Dokumentinnehåll | ||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Attachment | Bilaga | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | MIME-typ Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Språk Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Inline data (base64) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | url | Extern URL Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | unsignedInt | Storlek (bytes) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | base64Binary | Hash (SHA-1) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Bilagetitel Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Skapad tidpunkt | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Coding | Dokumentformat Binding: DocumentReferenceFormatCodeSet (preferred): Document Format Codes. | ||||
![]() ![]() |
SΣ | 0..1 | BackboneElement | Dokumentkontext | ||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Encounter Base Inera) | Vårdkontakt | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Händelse Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Period | Tidsperiod | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Vårdenhettyp Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Verksamhetsområde Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(Patient Base Inera) | Patientinformation vid dokumenttillfället | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Deltagande vårdenheter | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📦4.0.1 | FHIR Std. |
| DocumentReference.docStatus | Base | required | CompositionStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.category | Base | example | Document Class Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | DocumentRelationshipType | 📍4.0.1 | FHIR Std. |
| DocumentReference.securityLabel | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.attachment.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.attachment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.format | Base | preferred | DocumentReference Format Code Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v7.0 |
| DocumentReference.context.facilityType | Base | example | Facility Type Code Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.practiceSetting | Base | example | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | 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 | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | 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 DocumentReference
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |
![]() ![]() |
S | 1..1 | Identifier | Vårdplansdokument-ID |
![]() ![]() |
S | 0..* | Identifier | Ytterligare identifierare |
![]() ![]() |
S | 1..1 | code | Dokumentstatus Binding: DocumentReferenceStatus (required) |
![]() ![]() |
S | 0..1 | code | Kompositionsstatus |
![]() ![]() |
S | 1..1 | CodeableConcept | Vårdplanstyp |
![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | |
![]() ![]() ![]() |
S | 0..1 | string | Vårdplanstyp (text) |
![]() ![]() |
S | 1..* | CodeableConcept | Dokumentkategori |
![]() ![]() |
S | 1..1 | Reference(Patient Base Inera) | Patient |
![]() ![]() |
S | 1..1 | instant | Skapad tidpunkt |
![]() ![]() |
S | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera) | Författare |
![]() ![]() |
S | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera) | Signerare |
![]() ![]() |
S | 1..1 | Reference(Organization Base Inera) | Dokumentansvarig vårdgivare |
![]() ![]() |
S | 0..* | BackboneElement | Relation till andra dokument |
![]() ![]() ![]() |
S | 1..1 | code | Relationstyp |
![]() ![]() ![]() |
S | 1..1 | Reference(DocumentReference) | Relaterat dokument |
![]() ![]() |
S | 0..1 | string | Dokumenttitel |
![]() ![]() |
S | 0..* | CodeableConcept | Säkerhetsmärkning |
![]() ![]() |
S | 1..* | BackboneElement | Dokumentinnehåll |
![]() ![]() ![]() |
S | 1..1 | Attachment | Bilaga |
![]() ![]() ![]() ![]() |
S | 1..1 | code | MIME-typ |
![]() ![]() ![]() ![]() |
S | 0..1 | code | Språk |
![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Inline data (base64) |
![]() ![]() ![]() ![]() |
S | 0..1 | url | Extern URL |
![]() ![]() ![]() ![]() |
S | 0..1 | unsignedInt | Storlek (bytes) |
![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Hash (SHA-1) |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Bilagetitel |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Skapad tidpunkt |
![]() ![]() ![]() |
S | 0..1 | Coding | Dokumentformat |
![]() ![]() |
S | 0..1 | BackboneElement | Dokumentkontext |
![]() ![]() ![]() |
S | 0..* | Reference(Encounter Base Inera) | Vårdkontakt |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Händelse |
![]() ![]() ![]() |
S | 0..1 | Period | Tidsperiod |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Vårdenhettyp |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Verksamhetsområde |
![]() ![]() ![]() |
S | 0..1 | Reference(Patient Base Inera) | Patientinformation vid dokumenttillfället |
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Deltagande vårdenheter |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📦4.0.1 | FHIR Std. |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..1 | Identifier | Vårdplansdokument-ID | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Ytterligare identifierare | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Dokumentstatus Binding: DocumentReferenceStatus (required) | ||||
![]() ![]() |
SΣ | 0..1 | code | Kompositionsstatus Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Vårdplanstyp Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Vårdplanstyp (text) | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Dokumentkategori Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient Base Inera) | Patient | ||||
![]() ![]() |
SΣ | 1..1 | instant | Skapad tidpunkt | ||||
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera) | Författare | ||||
![]() ![]() |
S | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera) | Signerare | ||||
![]() ![]() |
S | 1..1 | Reference(Organization Base Inera) | Dokumentansvarig vårdgivare | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | Relation till andra dokument | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | Relationstyp Binding: DocumentRelationshipType (required): The type of relationship between documents. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(DocumentReference) | Relaterat dokument | ||||
![]() ![]() |
SΣ | 0..1 | string | Dokumenttitel | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Säkerhetsmärkning Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() |
SΣ | 1..* | BackboneElement | Dokumentinnehåll | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Attachment | Bilaga | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | MIME-typ Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Språk Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Inline data (base64) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | url | Extern URL Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | unsignedInt | Storlek (bytes) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | base64Binary | Hash (SHA-1) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Bilagetitel Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Skapad tidpunkt | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Coding | Dokumentformat Binding: DocumentReferenceFormatCodeSet (preferred): Document Format Codes. | ||||
![]() ![]() |
SΣ | 0..1 | BackboneElement | Dokumentkontext | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Encounter Base Inera) | Vårdkontakt | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Händelse Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Period | Tidsperiod | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Vårdenhettyp Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Verksamhetsområde Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(Patient Base Inera) | Patientinformation vid dokumenttillfället | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Deltagande vårdenheter | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📦4.0.1 | FHIR Std. |
| DocumentReference.docStatus | Base | required | CompositionStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.category | Base | example | Document Class Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | DocumentRelationshipType | 📍4.0.1 | FHIR Std. |
| DocumentReference.securityLabel | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.attachment.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.attachment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.format | Base | preferred | DocumentReference Format Code Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v7.0 |
| DocumentReference.context.facilityType | Base | example | Facility Type Code Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.practiceSetting | Base | example | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | 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 | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | 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 DocumentReference
Summary
Mandatory: 7 elements
Must-Support: 36 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..1 | Identifier | Vårdplansdokument-ID | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Ytterligare identifierare | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Dokumentstatus Binding: DocumentReferenceStatus (required) | ||||
![]() ![]() |
SΣ | 0..1 | code | Kompositionsstatus Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Vårdplanstyp Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Vårdplanstyp (text) | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Dokumentkategori Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient Base Inera) | Patient | ||||
![]() ![]() |
SΣ | 1..1 | instant | Skapad tidpunkt | ||||
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera) | Författare | ||||
![]() ![]() |
S | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera) | Signerare | ||||
![]() ![]() |
S | 1..1 | Reference(Organization Base Inera) | Dokumentansvarig vårdgivare | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | Relation till andra dokument | ||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | Relationstyp Binding: DocumentRelationshipType (required): The type of relationship between documents. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(DocumentReference) | Relaterat dokument | ||||
![]() ![]() |
SΣ | 0..1 | string | Dokumenttitel | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Säkerhetsmärkning Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() |
SΣ | 1..* | BackboneElement | Dokumentinnehåll | ||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Attachment | Bilaga | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | MIME-typ Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Språk Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Inline data (base64) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | url | Extern URL Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | unsignedInt | Storlek (bytes) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | base64Binary | Hash (SHA-1) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Bilagetitel Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Skapad tidpunkt | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Coding | Dokumentformat Binding: DocumentReferenceFormatCodeSet (preferred): Document Format Codes. | ||||
![]() ![]() |
SΣ | 0..1 | BackboneElement | Dokumentkontext | ||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Encounter Base Inera) | Vårdkontakt | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Händelse Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Period | Tidsperiod | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Vårdenhettyp Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Verksamhetsområde Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(Patient Base Inera) | Patientinformation vid dokumenttillfället | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Deltagande vårdenheter | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📦4.0.1 | FHIR Std. |
| DocumentReference.docStatus | Base | required | CompositionStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.category | Base | example | Document Class Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | DocumentRelationshipType | 📍4.0.1 | FHIR Std. |
| DocumentReference.securityLabel | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.attachment.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.attachment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.format | Base | preferred | DocumentReference Format Code Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v7.0 |
| DocumentReference.context.facilityType | Base | example | Facility Type Code Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.practiceSetting | Base | example | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | 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 | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | 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 DocumentReference
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |
![]() ![]() |
S | 1..1 | Identifier | Vårdplansdokument-ID |
![]() ![]() |
S | 0..* | Identifier | Ytterligare identifierare |
![]() ![]() |
S | 1..1 | code | Dokumentstatus Binding: DocumentReferenceStatus (required) |
![]() ![]() |
S | 0..1 | code | Kompositionsstatus |
![]() ![]() |
S | 1..1 | CodeableConcept | Vårdplanstyp |
![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | |
![]() ![]() ![]() |
S | 0..1 | string | Vårdplanstyp (text) |
![]() ![]() |
S | 1..* | CodeableConcept | Dokumentkategori |
![]() ![]() |
S | 1..1 | Reference(Patient Base Inera) | Patient |
![]() ![]() |
S | 1..1 | instant | Skapad tidpunkt |
![]() ![]() |
S | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera) | Författare |
![]() ![]() |
S | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera) | Signerare |
![]() ![]() |
S | 1..1 | Reference(Organization Base Inera) | Dokumentansvarig vårdgivare |
![]() ![]() |
S | 0..* | BackboneElement | Relation till andra dokument |
![]() ![]() ![]() |
S | 1..1 | code | Relationstyp |
![]() ![]() ![]() |
S | 1..1 | Reference(DocumentReference) | Relaterat dokument |
![]() ![]() |
S | 0..1 | string | Dokumenttitel |
![]() ![]() |
S | 0..* | CodeableConcept | Säkerhetsmärkning |
![]() ![]() |
S | 1..* | BackboneElement | Dokumentinnehåll |
![]() ![]() ![]() |
S | 1..1 | Attachment | Bilaga |
![]() ![]() ![]() ![]() |
S | 1..1 | code | MIME-typ |
![]() ![]() ![]() ![]() |
S | 0..1 | code | Språk |
![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Inline data (base64) |
![]() ![]() ![]() ![]() |
S | 0..1 | url | Extern URL |
![]() ![]() ![]() ![]() |
S | 0..1 | unsignedInt | Storlek (bytes) |
![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Hash (SHA-1) |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Bilagetitel |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | Skapad tidpunkt |
![]() ![]() ![]() |
S | 0..1 | Coding | Dokumentformat |
![]() ![]() |
S | 0..1 | BackboneElement | Dokumentkontext |
![]() ![]() ![]() |
S | 0..* | Reference(Encounter Base Inera) | Vårdkontakt |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Händelse |
![]() ![]() ![]() |
S | 0..1 | Period | Tidsperiod |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Vårdenhettyp |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Verksamhetsområde |
![]() ![]() ![]() |
S | 0..1 | Reference(Patient Base Inera) | Patientinformation vid dokumenttillfället |
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Deltagande vårdenheter |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📦4.0.1 | FHIR Std. |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DocumentReference | A reference to a document | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..1 | Identifier | Vårdplansdokument-ID | ||||
![]() ![]() |
SΣ | 0..* | Identifier | Ytterligare identifierare | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Dokumentstatus Binding: DocumentReferenceStatus (required) | ||||
![]() ![]() |
SΣ | 0..1 | code | Kompositionsstatus Binding: CompositionStatus (required): Status of the underlying document. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Vårdplanstyp Binding: DocumentTypeValueSet (preferred): Precise type of clinical document. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Vårdplanstyp (text) | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Dokumentkategori Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level. | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient Base Inera) | Patient | ||||
![]() ![]() |
SΣ | 1..1 | instant | Skapad tidpunkt | ||||
![]() ![]() |
SΣ | 0..* | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera) | Författare | ||||
![]() ![]() |
S | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera) | Signerare | ||||
![]() ![]() |
S | 1..1 | Reference(Organization Base Inera) | Dokumentansvarig vårdgivare | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | Relation till andra dokument | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | Relationstyp Binding: DocumentRelationshipType (required): The type of relationship between documents. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(DocumentReference) | Relaterat dokument | ||||
![]() ![]() |
SΣ | 0..1 | string | Dokumenttitel | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Säkerhetsmärkning Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() |
SΣ | 1..* | BackboneElement | Dokumentinnehåll | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Attachment | Bilaga | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | MIME-typ Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | Språk Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | Inline data (base64) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | url | Extern URL Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | unsignedInt | Storlek (bytes) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | base64Binary | Hash (SHA-1) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Bilagetitel Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | dateTime | Skapad tidpunkt | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Coding | Dokumentformat Binding: DocumentReferenceFormatCodeSet (preferred): Document Format Codes. | ||||
![]() ![]() |
SΣ | 0..1 | BackboneElement | Dokumentkontext | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Encounter Base Inera) | Vårdkontakt | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Händelse Binding: v3 Code System ActCode (example): This list of codes represents the main clinical acts being documented. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Period | Tidsperiod | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Vårdenhettyp Binding: FacilityTypeCodeValueSet (example): XDS Facility Type. | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Verksamhetsområde Binding: PracticeSettingCodeValueSet (example): Additional details about where the content was created (e.g. clinical specialty). | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(Patient Base Inera) | Patientinformation vid dokumenttillfället | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Resource) | Deltagande vårdenheter | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DocumentReference.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DocumentReference.status | Base | required | DocumentReferenceStatus | 📦4.0.1 | FHIR Std. |
| DocumentReference.docStatus | Base | required | CompositionStatus | 📍4.0.1 | FHIR Std. |
| DocumentReference.type | Base | preferred | Document Type Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.category | Base | example | Document Class Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.relatesTo.code | Base | required | DocumentRelationshipType | 📍4.0.1 | FHIR Std. |
| DocumentReference.securityLabel | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.attachment.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.attachment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DocumentReference.content.format | Base | preferred | DocumentReference Format Code Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.event | Base | example | v3 Code System ActCode | 📦3.0.0 | THO v7.0 |
| DocumentReference.context.facilityType | Base | example | Facility Type Code Value Set | 📍4.0.1 | FHIR Std. |
| DocumentReference.context.practiceSetting | Base | example | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DocumentReference | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DocumentReference | 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 | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DocumentReference | 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 DocumentReference
Summary
Mandatory: 7 elements
Must-Support: 36 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron