Aiidera FHIR-definitioner
0.22.0 - Draft
Aiidera FHIR-definitioner 0.22.0, utkast. Utgiven av Aiidera på fhir.aiidera.se. Varje publicerad utgåva ligger kvar under sin version, som fhir.aiidera.se/0.22.0.
| Official URL: https://fhir.aiidera.se/StructureDefinition/AiideraJournalDocument | Version: 0.22.0 | |||
| Draft as of 2026-11-18 | Computable Name: AiideraJournalDocument | |||
Den kliniska journalhandlingen som document-Bundle. Det här är vad som serialiseras, signeras och lagras som Binary.
Den signerade informationsmängden. Signaturen går över de råa bytesen av precis den här Bundlen — inte över den lagrade formen och inte över en rendering.
Användningar:
Du kan också kontrollera användningar i FHIR IG-statistiken
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Contains a collection of resources Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, aiidera-dokument-uppdragets-kedja, aiidera-dokument-formularsvarets-kopia |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Σ | 1..1 | Identifier | Persistent identifier for the bundle |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Bindning: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Exempel General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 |
![]() ![]() |
Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Bindning: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Fast värde: document |
![]() ![]() |
Σ | 1..1 | instant | When the bundle was assembled |
![]() ![]() |
ΣC | 7..* | BackboneElement | Entry in the bundle - will have a resource or information Skiva: Ordnad, Öppen av type:resource, profile:resource Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() |
Innehåll/regler för alla skivor | |||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Resource | A resource in the bundle |
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Handlingens Composition. Ska ligga först. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Patienten handlingen gäller. Composition.subject pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | SEBasePatient | Information about an individual or animal receiving health care services | |
![]() ![]() ![]() |
ΣC | 1..* | BackboneElement | Människan som skrev och signerade. Uppdraget pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | SEBasePractitioner | A person with a formal responsibility in the provisioning of healthcare or related services | |
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Uppdraget handlingen signerades i. Composition.author pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalUppdrag | Roles/organizations the practitioner is associated with | |
![]() ![]() ![]() |
ΣC | 2..* | BackboneElement | Vårdenheten uppdraget gällde, och vårdgivaren den hör till — som de var när handlingen signerades. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | SEBaseOrganization | A grouping of people or organizations with a common purpose | |
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Vårdkontakten handlingen dokumenterar. Composition.encounter pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | AiideraVardkontakt | An interaction during which services are provided to the patient | |
![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Kopian av patientens formulärsvar, när handlingen för in ett. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | QuestionnaireResponse | A resource in the bundle |
![]() ![]() ![]() |
ΣC | 0..* | BackboneElement | Ett kodat mätvärde ur registret. Sektionen det skrevs i refererar det. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | AiideraStatusfynd | Measurements and simple assertions | |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Bundle.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Bundle.type | Base | required | BundleType | 📍4.0.1 | FHIR-std. |
| Bundle.entry.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:komposition.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:patient.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:praktiker.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:uppdrag.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:organisation.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:vardkontakt.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:formularsvar.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:statusfynd.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-dokument-formularsvarets-kopia | error | Bundle | Ett formulärsvar i handlingen är patientens: patienten är author och source, inskicket står i authored, och svaret bär sin identifierare. |
entry.resource.ofType(QuestionnaireResponse).all(status = 'completed' and authored.exists() and author.exists() and source.exists() and identifier.where(system = 'https://id.aiidera.se/formularsvar' and value.exists()).exists())
|
| aiidera-dokument-uppdragets-kedja | error | Bundle | Uppdraget pekar ut människan och vårdenheten, vårdenheten sin vårdgivare, och var och en bär sin identifierare. |
entry.resource.ofType(PractitionerRole).all(identifier.exists() and practitioner.exists() and organization.exists()) and entry.resource.ofType(Organization).all(identifier.exists() and name.exists()) and entry.resource.ofType(Organization).where(partOf.exists()).exists()
|
| bdl-1 | error | Bundle | total only when a search or history |
total.empty() or (type = 'searchset') or (type = 'history')
|
| bdl-2 | error | Bundle | entry.search only when a search |
entry.search.empty() or (type = 'searchset')
|
| bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited |
entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
|
| bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited |
entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
|
| bdl-5 | error | Bundle.entry, Bundle.entry:komposition, Bundle.entry:patient, Bundle.entry:praktiker, Bundle.entry:uppdrag, Bundle.entry:organisation, Bundle.entry:vardkontakt, Bundle.entry:formularsvar, Bundle.entry:statusfynd | must be a resource unless there's a request or response |
resource.exists() or request.exists() or response.exists()
|
| bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) |
(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
|
| bdl-8 | error | Bundle.entry, Bundle.entry:komposition, Bundle.entry:patient, Bundle.entry:praktiker, Bundle.entry:uppdrag, Bundle.entry:organisation, Bundle.entry:vardkontakt, Bundle.entry:formularsvar, Bundle.entry:statusfynd | fullUrl cannot be a version specific reference |
fullUrl.contains('/_history/').not()
|
| bdl-9 | error | Bundle | A document must have an identifier with a system and a value |
type = 'document' implies (identifier.system.exists() and identifier.value.exists())
|
| bdl-10 | error | Bundle | A document must have a date |
type = 'document' implies (timestamp.hasValue())
|
| bdl-11 | error | Bundle | A document must have a Composition as the first resource |
type = 'document' implies entry.first().resource.is(Composition)
|
| bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource |
type = 'message' implies entry.first().resource.is(MessageHeader)
|
| ele-1 | error | **ALLA** element | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALLA** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Bundle
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Contains a collection of resources Constraints: aiidera-dokument-uppdragets-kedja, aiidera-dokument-formularsvarets-kopia |
![]() ![]() |
1..1 | Identifier | Persistent identifier for the bundle | |
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Fast värde: document | |
![]() ![]() |
1..1 | instant | When the bundle was assembled | |
![]() ![]() |
7..* | BackboneElement | Entry in the bundle - will have a resource or information Skiva: Ordnad, Öppen av type:resource, profile:resource | |
![]() ![]() ![]() |
Innehåll/regler för alla skivor | |||
![]() ![]() ![]() ![]() |
1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | |
![]() ![]() ![]() ![]() |
1..1 | Resource | A resource in the bundle | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Handlingens Composition. Ska ligga först. | |
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Patienten handlingen gäller. Composition.subject pekar hit. | |
![]() ![]() ![]() ![]() |
1..1 | SEBasePatient | Information about an individual or animal receiving health care services | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..* | BackboneElement | Människan som skrev och signerade. Uppdraget pekar hit. | |
![]() ![]() ![]() ![]() |
1..1 | SEBasePractitioner | A person with a formal responsibility in the provisioning of healthcare or related services | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Uppdraget handlingen signerades i. Composition.author pekar hit. | |
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalUppdrag | Roles/organizations the practitioner is associated with | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
2..* | BackboneElement | Vårdenheten uppdraget gällde, och vårdgivaren den hör till — som de var när handlingen signerades. | |
![]() ![]() ![]() ![]() |
1..1 | SEBaseOrganization | A grouping of people or organizations with a common purpose | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Vårdkontakten handlingen dokumenterar. Composition.encounter pekar hit. | |
![]() ![]() ![]() ![]() |
1..1 | AiideraVardkontakt | An interaction during which services are provided to the patient | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..1 | BackboneElement | Kopian av patientens formulärsvar, när handlingen för in ett. | |
![]() ![]() ![]() ![]() |
1..1 | QuestionnaireResponse | A resource in the bundle | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..* | BackboneElement | Ett kodat mätvärde ur registret. Sektionen det skrevs i refererar det. | |
![]() ![]() ![]() ![]() |
1..1 | AiideraStatusfynd | Measurements and simple assertions | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() |
0..0 | Digital Signature | ||
Dokumentation för detta format | ||||
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-dokument-formularsvarets-kopia | error | Bundle | Ett formulärsvar i handlingen är patientens: patienten är author och source, inskicket står i authored, och svaret bär sin identifierare. |
entry.resource.ofType(QuestionnaireResponse).all(status = 'completed' and authored.exists() and author.exists() and source.exists() and identifier.where(system = 'https://id.aiidera.se/formularsvar' and value.exists()).exists())
|
| aiidera-dokument-uppdragets-kedja | error | Bundle | Uppdraget pekar ut människan och vårdenheten, vårdenheten sin vårdgivare, och var och en bär sin identifierare. |
entry.resource.ofType(PractitionerRole).all(identifier.exists() and practitioner.exists() and organization.exists()) and entry.resource.ofType(Organization).all(identifier.exists() and name.exists()) and entry.resource.ofType(Organization).where(partOf.exists()).exists()
|
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Contains a collection of resources Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, aiidera-dokument-uppdragets-kedja, aiidera-dokument-formularsvarets-kopia | ||||
![]() ![]() |
Σ | 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 Bindning: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
Σ | 1..1 | Identifier | Persistent identifier for the bundle | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Bindning: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Bindning: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Exempel General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Bindning: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Fast värde: document | ||||
![]() ![]() |
Σ | 1..1 | instant | When the bundle was assembled | ||||
![]() ![]() |
ΣC | 0..1 | unsignedInt | If search, the total number of matches | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Links related to this Bundle | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Reference details for the link | ||||
![]() ![]() |
ΣC | 7..* | BackboneElement | Entry in the bundle - will have a resource or information Skiva: Ordnad, Öppen av type:resource, profile:resource Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() |
Innehåll/regler för alla skivor | |||||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Resource | A resource in the bundle | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Handlingens Composition. Ska ligga först. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Patienten handlingen gäller. Composition.subject pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | SEBasePatient | Information about an individual or animal receiving health care services | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..* | BackboneElement | Människan som skrev och signerade. Uppdraget pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | SEBasePractitioner | A person with a formal responsibility in the provisioning of healthcare or related services | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Uppdraget handlingen signerades i. Composition.author pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalUppdrag | Roles/organizations the practitioner is associated with | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 2..* | BackboneElement | Vårdenheten uppdraget gällde, och vårdgivaren den hör till — som de var när handlingen signerades. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | SEBaseOrganization | A grouping of people or organizations with a common purpose | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Vårdkontakten handlingen dokumenterar. Composition.encounter pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | AiideraVardkontakt | An interaction during which services are provided to the patient | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Kopian av patientens formulärsvar, när handlingen för in ett. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | QuestionnaireResponse | A resource in the bundle | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 0..* | BackboneElement | Ett kodat mätvärde ur registret. Sektionen det skrevs i refererar det. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | AiideraStatusfynd | Measurements and simple assertions | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
Dokumentation för detta format | ||||||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Bundle.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR-std. |
| Bundle.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Bundle.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR-std. |
| Bundle.type | Base | required | BundleType | 📍4.0.1 | FHIR-std. |
| Bundle.entry.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:komposition.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:komposition.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:patient.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:patient.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:praktiker.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:praktiker.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:uppdrag.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:uppdrag.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:organisation.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:organisation.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:vardkontakt.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:vardkontakt.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:formularsvar.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:formularsvar.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:statusfynd.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:statusfynd.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-dokument-formularsvarets-kopia | error | Bundle | Ett formulärsvar i handlingen är patientens: patienten är author och source, inskicket står i authored, och svaret bär sin identifierare. |
entry.resource.ofType(QuestionnaireResponse).all(status = 'completed' and authored.exists() and author.exists() and source.exists() and identifier.where(system = 'https://id.aiidera.se/formularsvar' and value.exists()).exists())
|
| aiidera-dokument-uppdragets-kedja | error | Bundle | Uppdraget pekar ut människan och vårdenheten, vårdenheten sin vårdgivare, och var och en bär sin identifierare. |
entry.resource.ofType(PractitionerRole).all(identifier.exists() and practitioner.exists() and organization.exists()) and entry.resource.ofType(Organization).all(identifier.exists() and name.exists()) and entry.resource.ofType(Organization).where(partOf.exists()).exists()
|
| bdl-1 | error | Bundle | total only when a search or history |
total.empty() or (type = 'searchset') or (type = 'history')
|
| bdl-2 | error | Bundle | entry.search only when a search |
entry.search.empty() or (type = 'searchset')
|
| bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited |
entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
|
| bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited |
entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
|
| bdl-5 | error | Bundle.entry, Bundle.entry:komposition, Bundle.entry:patient, Bundle.entry:praktiker, Bundle.entry:uppdrag, Bundle.entry:organisation, Bundle.entry:vardkontakt, Bundle.entry:formularsvar, Bundle.entry:statusfynd | must be a resource unless there's a request or response |
resource.exists() or request.exists() or response.exists()
|
| bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) |
(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
|
| bdl-8 | error | Bundle.entry, Bundle.entry:komposition, Bundle.entry:patient, Bundle.entry:praktiker, Bundle.entry:uppdrag, Bundle.entry:organisation, Bundle.entry:vardkontakt, Bundle.entry:formularsvar, Bundle.entry:statusfynd | fullUrl cannot be a version specific reference |
fullUrl.contains('/_history/').not()
|
| bdl-9 | error | Bundle | A document must have an identifier with a system and a value |
type = 'document' implies (identifier.system.exists() and identifier.value.exists())
|
| bdl-10 | error | Bundle | A document must have a date |
type = 'document' implies (timestamp.hasValue())
|
| bdl-11 | error | Bundle | A document must have a Composition as the first resource |
type = 'document' implies entry.first().resource.is(Composition)
|
| bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource |
type = 'message' implies entry.first().resource.is(MessageHeader)
|
| ele-1 | error | **ALLA** element | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALLA** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Bundle
Sammanfattning
Obligatorisk: 10 elements(1 nästlade obligatoriska element)
Fast: 1 element
Förbjuden: 19 elements
Strukturer
Denna struktur refererar till dessa andra strukturer:
Skivor
Denna struktur definierar följande skivor:
Key Elements View
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Contains a collection of resources Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, aiidera-dokument-uppdragets-kedja, aiidera-dokument-formularsvarets-kopia |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Σ | 1..1 | Identifier | Persistent identifier for the bundle |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Bindning: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Exempel General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 |
![]() ![]() |
Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Bindning: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Fast värde: document |
![]() ![]() |
Σ | 1..1 | instant | When the bundle was assembled |
![]() ![]() |
ΣC | 7..* | BackboneElement | Entry in the bundle - will have a resource or information Skiva: Ordnad, Öppen av type:resource, profile:resource Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() |
Innehåll/regler för alla skivor | |||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | Resource | A resource in the bundle |
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Handlingens Composition. Ska ligga först. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Patienten handlingen gäller. Composition.subject pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | SEBasePatient | Information about an individual or animal receiving health care services | |
![]() ![]() ![]() |
ΣC | 1..* | BackboneElement | Människan som skrev och signerade. Uppdraget pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | SEBasePractitioner | A person with a formal responsibility in the provisioning of healthcare or related services | |
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Uppdraget handlingen signerades i. Composition.author pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalUppdrag | Roles/organizations the practitioner is associated with | |
![]() ![]() ![]() |
ΣC | 2..* | BackboneElement | Vårdenheten uppdraget gällde, och vårdgivaren den hör till — som de var när handlingen signerades. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | SEBaseOrganization | A grouping of people or organizations with a common purpose | |
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Vårdkontakten handlingen dokumenterar. Composition.encounter pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | AiideraVardkontakt | An interaction during which services are provided to the patient | |
![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Kopian av patientens formulärsvar, när handlingen för in ett. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | QuestionnaireResponse | A resource in the bundle |
![]() ![]() ![]() |
ΣC | 0..* | BackboneElement | Ett kodat mätvärde ur registret. Sektionen det skrevs i refererar det. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) |
![]() ![]() ![]() ![]() |
1..1 | AiideraStatusfynd | Measurements and simple assertions | |
Dokumentation för detta format | ||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Bundle.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Bundle.type | Base | required | BundleType | 📍4.0.1 | FHIR-std. |
| Bundle.entry.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:komposition.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:patient.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:praktiker.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:uppdrag.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:organisation.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:vardkontakt.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:formularsvar.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:statusfynd.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-dokument-formularsvarets-kopia | error | Bundle | Ett formulärsvar i handlingen är patientens: patienten är author och source, inskicket står i authored, och svaret bär sin identifierare. |
entry.resource.ofType(QuestionnaireResponse).all(status = 'completed' and authored.exists() and author.exists() and source.exists() and identifier.where(system = 'https://id.aiidera.se/formularsvar' and value.exists()).exists())
|
| aiidera-dokument-uppdragets-kedja | error | Bundle | Uppdraget pekar ut människan och vårdenheten, vårdenheten sin vårdgivare, och var och en bär sin identifierare. |
entry.resource.ofType(PractitionerRole).all(identifier.exists() and practitioner.exists() and organization.exists()) and entry.resource.ofType(Organization).all(identifier.exists() and name.exists()) and entry.resource.ofType(Organization).where(partOf.exists()).exists()
|
| bdl-1 | error | Bundle | total only when a search or history |
total.empty() or (type = 'searchset') or (type = 'history')
|
| bdl-2 | error | Bundle | entry.search only when a search |
entry.search.empty() or (type = 'searchset')
|
| bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited |
entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
|
| bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited |
entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
|
| bdl-5 | error | Bundle.entry, Bundle.entry:komposition, Bundle.entry:patient, Bundle.entry:praktiker, Bundle.entry:uppdrag, Bundle.entry:organisation, Bundle.entry:vardkontakt, Bundle.entry:formularsvar, Bundle.entry:statusfynd | must be a resource unless there's a request or response |
resource.exists() or request.exists() or response.exists()
|
| bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) |
(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
|
| bdl-8 | error | Bundle.entry, Bundle.entry:komposition, Bundle.entry:patient, Bundle.entry:praktiker, Bundle.entry:uppdrag, Bundle.entry:organisation, Bundle.entry:vardkontakt, Bundle.entry:formularsvar, Bundle.entry:statusfynd | fullUrl cannot be a version specific reference |
fullUrl.contains('/_history/').not()
|
| bdl-9 | error | Bundle | A document must have an identifier with a system and a value |
type = 'document' implies (identifier.system.exists() and identifier.value.exists())
|
| bdl-10 | error | Bundle | A document must have a date |
type = 'document' implies (timestamp.hasValue())
|
| bdl-11 | error | Bundle | A document must have a Composition as the first resource |
type = 'document' implies entry.first().resource.is(Composition)
|
| bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource |
type = 'message' implies entry.first().resource.is(MessageHeader)
|
| ele-1 | error | **ALLA** element | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALLA** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Bundle
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Contains a collection of resources Constraints: aiidera-dokument-uppdragets-kedja, aiidera-dokument-formularsvarets-kopia |
![]() ![]() |
1..1 | Identifier | Persistent identifier for the bundle | |
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Fast värde: document | |
![]() ![]() |
1..1 | instant | When the bundle was assembled | |
![]() ![]() |
7..* | BackboneElement | Entry in the bundle - will have a resource or information Skiva: Ordnad, Öppen av type:resource, profile:resource | |
![]() ![]() ![]() |
Innehåll/regler för alla skivor | |||
![]() ![]() ![]() ![]() |
1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | |
![]() ![]() ![]() ![]() |
1..1 | Resource | A resource in the bundle | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Handlingens Composition. Ska ligga först. | |
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Patienten handlingen gäller. Composition.subject pekar hit. | |
![]() ![]() ![]() ![]() |
1..1 | SEBasePatient | Information about an individual or animal receiving health care services | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..* | BackboneElement | Människan som skrev och signerade. Uppdraget pekar hit. | |
![]() ![]() ![]() ![]() |
1..1 | SEBasePractitioner | A person with a formal responsibility in the provisioning of healthcare or related services | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Uppdraget handlingen signerades i. Composition.author pekar hit. | |
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalUppdrag | Roles/organizations the practitioner is associated with | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
2..* | BackboneElement | Vårdenheten uppdraget gällde, och vårdgivaren den hör till — som de var när handlingen signerades. | |
![]() ![]() ![]() ![]() |
1..1 | SEBaseOrganization | A grouping of people or organizations with a common purpose | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Vårdkontakten handlingen dokumenterar. Composition.encounter pekar hit. | |
![]() ![]() ![]() ![]() |
1..1 | AiideraVardkontakt | An interaction during which services are provided to the patient | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..1 | BackboneElement | Kopian av patientens formulärsvar, när handlingen för in ett. | |
![]() ![]() ![]() ![]() |
1..1 | QuestionnaireResponse | A resource in the bundle | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() ![]() |
0..* | BackboneElement | Ett kodat mätvärde ur registret. Sektionen det skrevs i refererar det. | |
![]() ![]() ![]() ![]() |
1..1 | AiideraStatusfynd | Measurements and simple assertions | |
![]() ![]() ![]() ![]() |
0..0 | Additional execution information (transaction/batch/history) | ||
![]() ![]() ![]() ![]() |
0..0 | Results of execution (transaction/batch/history) | ||
![]() ![]() |
0..0 | Digital Signature | ||
Dokumentation för detta format | ||||
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-dokument-formularsvarets-kopia | error | Bundle | Ett formulärsvar i handlingen är patientens: patienten är author och source, inskicket står i authored, och svaret bär sin identifierare. |
entry.resource.ofType(QuestionnaireResponse).all(status = 'completed' and authored.exists() and author.exists() and source.exists() and identifier.where(system = 'https://id.aiidera.se/formularsvar' and value.exists()).exists())
|
| aiidera-dokument-uppdragets-kedja | error | Bundle | Uppdraget pekar ut människan och vårdenheten, vårdenheten sin vårdgivare, och var och en bär sin identifierare. |
entry.resource.ofType(PractitionerRole).all(identifier.exists() and practitioner.exists() and organization.exists()) and entry.resource.ofType(Organization).all(identifier.exists() and name.exists()) and entry.resource.ofType(Organization).where(partOf.exists()).exists()
|
Snapshot View
| Namn | Flaggor | Kard. | Typ | Beskrivning & begränsningar Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Bundle | Contains a collection of resources Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12, aiidera-dokument-uppdragets-kedja, aiidera-dokument-formularsvarets-kopia | ||||
![]() ![]() |
Σ | 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 Bindning: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
Σ | 1..1 | Identifier | Persistent identifier for the bundle | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Skiva: Oordnad, Öppen av value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Bindning: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Bindning: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Exempel General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Exempel General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Bindning: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Fast värde: document | ||||
![]() ![]() |
Σ | 1..1 | instant | When the bundle was assembled | ||||
![]() ![]() |
ΣC | 0..1 | unsignedInt | If search, the total number of matches | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Links related to this Bundle | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Reference details for the link | ||||
![]() ![]() |
ΣC | 7..* | BackboneElement | Entry in the bundle - will have a resource or information Skiva: Ordnad, Öppen av type:resource, profile:resource Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() |
Innehåll/regler för alla skivor | |||||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Resource | A resource in the bundle | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Handlingens Composition. Ska ligga först. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalComposition | A set of resources composed into a single coherent clinical statement with clinical attestation | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Patienten handlingen gäller. Composition.subject pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | SEBasePatient | Information about an individual or animal receiving health care services | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..* | BackboneElement | Människan som skrev och signerade. Uppdraget pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | SEBasePractitioner | A person with a formal responsibility in the provisioning of healthcare or related services | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Uppdraget handlingen signerades i. Composition.author pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | AiideraJournalUppdrag | Roles/organizations the practitioner is associated with | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 2..* | BackboneElement | Vårdenheten uppdraget gällde, och vårdgivaren den hör till — som de var när handlingen signerades. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | SEBaseOrganization | A grouping of people or organizations with a common purpose | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 1..1 | BackboneElement | Vårdkontakten handlingen dokumenterar. Composition.encounter pekar hit. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | AiideraVardkontakt | An interaction during which services are provided to the patient | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Kopian av patientens formulärsvar, när handlingen för in ett. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | QuestionnaireResponse | A resource in the bundle | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
![]() ![]() ![]() |
ΣC | 0..* | BackboneElement | Ett kodat mätvärde ur registret. Sektionen det skrevs i refererar det. Constraints: bdl-5, bdl-8 Denna upprepande elements ordning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Se link (Bundle) | Links related to this entry | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | ||||
![]() ![]() ![]() ![]() |
1..1 | AiideraStatusfynd | Measurements and simple assertions | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | BackboneElement | Search related information | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | code | match | include | outcome - why this is in the result set Bindning: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | ||||
Dokumentation för detta format | ||||||||
| Sökväg | Status | Användning | ValueSet | Version | Källa |
| Bundle.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR-std. |
| Bundle.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR-std. |
| Bundle.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR-std. |
| Bundle.type | Base | required | BundleType | 📍4.0.1 | FHIR-std. |
| Bundle.entry.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:komposition.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:komposition.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:patient.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:patient.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:praktiker.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:praktiker.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:uppdrag.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:uppdrag.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:organisation.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:organisation.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:vardkontakt.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:vardkontakt.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:formularsvar.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:formularsvar.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Bundle.entry:statusfynd.search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR-std. |
| Bundle.entry:statusfynd.request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR-std. |
| Id | Grad | Sökväg(ar) | Beskrivning | Uttryck |
| aiidera-dokument-formularsvarets-kopia | error | Bundle | Ett formulärsvar i handlingen är patientens: patienten är author och source, inskicket står i authored, och svaret bär sin identifierare. |
entry.resource.ofType(QuestionnaireResponse).all(status = 'completed' and authored.exists() and author.exists() and source.exists() and identifier.where(system = 'https://id.aiidera.se/formularsvar' and value.exists()).exists())
|
| aiidera-dokument-uppdragets-kedja | error | Bundle | Uppdraget pekar ut människan och vårdenheten, vårdenheten sin vårdgivare, och var och en bär sin identifierare. |
entry.resource.ofType(PractitionerRole).all(identifier.exists() and practitioner.exists() and organization.exists()) and entry.resource.ofType(Organization).all(identifier.exists() and name.exists()) and entry.resource.ofType(Organization).where(partOf.exists()).exists()
|
| bdl-1 | error | Bundle | total only when a search or history |
total.empty() or (type = 'searchset') or (type = 'history')
|
| bdl-2 | error | Bundle | entry.search only when a search |
entry.search.empty() or (type = 'searchset')
|
| bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited |
entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))
|
| bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited |
entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))
|
| bdl-5 | error | Bundle.entry, Bundle.entry:komposition, Bundle.entry:patient, Bundle.entry:praktiker, Bundle.entry:uppdrag, Bundle.entry:organisation, Bundle.entry:vardkontakt, Bundle.entry:formularsvar, Bundle.entry:statusfynd | must be a resource unless there's a request or response |
resource.exists() or request.exists() or response.exists()
|
| bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) |
(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()
|
| bdl-8 | error | Bundle.entry, Bundle.entry:komposition, Bundle.entry:patient, Bundle.entry:praktiker, Bundle.entry:uppdrag, Bundle.entry:organisation, Bundle.entry:vardkontakt, Bundle.entry:formularsvar, Bundle.entry:statusfynd | fullUrl cannot be a version specific reference |
fullUrl.contains('/_history/').not()
|
| bdl-9 | error | Bundle | A document must have an identifier with a system and a value |
type = 'document' implies (identifier.system.exists() and identifier.value.exists())
|
| bdl-10 | error | Bundle | A document must have a date |
type = 'document' implies (timestamp.hasValue())
|
| bdl-11 | error | Bundle | A document must have a Composition as the first resource |
type = 'document' implies entry.first().resource.is(Composition)
|
| bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource |
type = 'message' implies entry.first().resource.is(MessageHeader)
|
| ele-1 | error | **ALLA** element | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALLA** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Bundle
Sammanfattning
Obligatorisk: 10 elements(1 nästlade obligatoriska element)
Fast: 1 element
Förbjuden: 19 elements
Strukturer
Denna struktur refererar till dessa andra strukturer:
Skivor
Denna struktur definierar följande skivor:
Other representations of profile: CSV, Excel, Schematron