Common FHIR profile vendor collaboration

1.0.1 - update Sweden flag

This page is part of the Common FHIR profile vendor collaboration (v1.0.1: Release) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: ServiceRequestSelfReferralSEVendorLite

Official URL: https://commonprofiles.care/fhir/StructureDefinition/ServiceRequestSelfReferralSEVendorLite Version: 1.0.1
Active as of 2023-06-12 Computable Name: ServiceRequestSelfReferralSEVendorLite

This profile aims to support use cases concerning nationally defined chief complaints (SWE sökorsak) in Sweden. It can also be used to support a self referral (SWE Vårdbegäran för egen räkning) in a broader perspective.

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest 0..*ServiceRequestA request for a service to be performed
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..0
... replaces 0..0
... requisition 0..0
... intent 1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... category 0..0
... priority 0..0
... doNotPerform 0..0
... code 0..0
... orderDetail 0..0
... quantity[x] 0..0
... encounter 0..0
... occurrence[x] 0..0
... asNeeded[x] 0..0
... authoredOn S1..1dateTimeDate request signed
... performerType 0..0
... performer S1..1Reference(Organization)Requested performer
.... type 0..1uriType the reference refers to (e.g. "Patient")
Required Pattern: Organization
... locationCode 0..0
... locationReference 0..0
... Slices for reasonCode S0..1CodeableConceptExplanation/Justification for procedure or service
Slice: Unordered, Closed by pattern:coding.code
.... reasonCode:chiefComplaint S0..1CodeableConceptExplanation/Justification for procedure or service
Binding: http://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100 (required)
..... coding S1..1CodingCode defined by a terminology system
...... system S1..1uriIdentity of the terminology system
...... code S1..1codeSymbol in syntax defined by the system
... reasonReference 0..0
... insurance 0..0
... supportingInfo 0..0
... specimen 0..0
... bodySite 0..0
... note 0..0
... patientInstruction 0..0
... relevantHistory 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
ServiceRequest.reasonCode:chiefComplaintrequiredhttp://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): The status of a service order.

... subject Σ1..1Reference(Patient | Group | Location | Device)Individual or Entity the service is ordered for
... authoredOn SΣ1..1dateTimeDate request signed
... performer SΣ1..1Reference(Organization)Requested performer
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Organization
... Slices for reasonCode SΣ0..1CodeableConceptExplanation/Justification for procedure or service
Slice: Unordered, Closed by pattern:coding.code
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.


.... reasonCode:chiefComplaint SΣ0..1CodeableConceptExplanation/Justification for procedure or service
Binding: http://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100 (required)
..... coding SΣ1..1CodingCode defined by a terminology system
...... system SΣ1..1uriIdentity of the terminology system
...... code SΣ1..1codeSymbol in syntax defined by the system

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.statusrequiredRequestStatus
ServiceRequest.intentrequiredPattern: order
ServiceRequest.performer.typeextensiblePattern: Organization
ServiceRequest.reasonCodeexampleProcedureReasonCodes
ServiceRequest.reasonCode:chiefComplaintrequiredhttp://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierIdentifiers assigned to this order
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): The status of a service order.

... intent ?!Σ1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


Required Pattern: order
... subject Σ1..1Reference(Patient | Group | Location | Device)Individual or Entity the service is ordered for
... authoredOn SΣ1..1dateTimeDate request signed
... requester Σ0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Who/what is requesting service
... performer SΣ1..1Reference(Organization)Requested performer
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Organization
.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... Slices for reasonCode SΣ0..1CodeableConceptExplanation/Justification for procedure or service
Slice: Unordered, Closed by pattern:coding.code
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.


.... reasonCode:chiefComplaint SΣ0..1CodeableConceptExplanation/Justification for procedure or service
Binding: http://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100 (required)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ1..1CodingCode defined by a terminology system
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ1..1uriIdentity of the terminology system
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... text Σ0..1stringPlain text representation of the concept

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
ServiceRequest.statusrequiredRequestStatus
ServiceRequest.intentrequiredPattern: order
ServiceRequest.performer.typeextensiblePattern: Organization
ServiceRequest.reasonCodeexampleProcedureReasonCodes
ServiceRequest.reasonCode:chiefComplaintrequiredhttp://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from ServiceRequest

Summary

Mandatory: 2 elements (3 nested mandatory elements)
Must-Support: 7 elements
Prohibited: 25 elements

Slices

This structure defines the following Slices:

  • The element ServiceRequest.reasonCode is sliced based on the value of pattern:coding.code (Closed)

Differential View

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest 0..*ServiceRequestA request for a service to be performed
... instantiatesCanonical 0..0
... instantiatesUri 0..0
... basedOn 0..0
... replaces 0..0
... requisition 0..0
... intent 1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Required Pattern: order
... category 0..0
... priority 0..0
... doNotPerform 0..0
... code 0..0
... orderDetail 0..0
... quantity[x] 0..0
... encounter 0..0
... occurrence[x] 0..0
... asNeeded[x] 0..0
... authoredOn S1..1dateTimeDate request signed
... performerType 0..0
... performer S1..1Reference(Organization)Requested performer
.... type 0..1uriType the reference refers to (e.g. "Patient")
Required Pattern: Organization
... locationCode 0..0
... locationReference 0..0
... Slices for reasonCode S0..1CodeableConceptExplanation/Justification for procedure or service
Slice: Unordered, Closed by pattern:coding.code
.... reasonCode:chiefComplaint S0..1CodeableConceptExplanation/Justification for procedure or service
Binding: http://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100 (required)
..... coding S1..1CodingCode defined by a terminology system
...... system S1..1uriIdentity of the terminology system
...... code S1..1codeSymbol in syntax defined by the system
... reasonReference 0..0
... insurance 0..0
... supportingInfo 0..0
... specimen 0..0
... bodySite 0..0
... note 0..0
... patientInstruction 0..0
... relevantHistory 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
ServiceRequest.reasonCode:chiefComplaintrequiredhttp://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): The status of a service order.

... subject Σ1..1Reference(Patient | Group | Location | Device)Individual or Entity the service is ordered for
... authoredOn SΣ1..1dateTimeDate request signed
... performer SΣ1..1Reference(Organization)Requested performer
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Organization
... Slices for reasonCode SΣ0..1CodeableConceptExplanation/Justification for procedure or service
Slice: Unordered, Closed by pattern:coding.code
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.


.... reasonCode:chiefComplaint SΣ0..1CodeableConceptExplanation/Justification for procedure or service
Binding: http://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100 (required)
..... coding SΣ1..1CodingCode defined by a terminology system
...... system SΣ1..1uriIdentity of the terminology system
...... code SΣ1..1codeSymbol in syntax defined by the system

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.statusrequiredRequestStatus
ServiceRequest.intentrequiredPattern: order
ServiceRequest.performer.typeextensiblePattern: Organization
ServiceRequest.reasonCodeexampleProcedureReasonCodes
ServiceRequest.reasonCode:chiefComplaintrequiredhttp://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf 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-4errorServiceRequestIf 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-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierIdentifiers assigned to this order
... status ?!Σ1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknown
Binding: RequestStatus (required): The status of a service order.

... intent ?!Σ1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


Required Pattern: order
... subject Σ1..1Reference(Patient | Group | Location | Device)Individual or Entity the service is ordered for
... authoredOn SΣ1..1dateTimeDate request signed
... requester Σ0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Who/what is requesting service
... performer SΣ1..1Reference(Organization)Requested performer
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Organization
.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... Slices for reasonCode SΣ0..1CodeableConceptExplanation/Justification for procedure or service
Slice: Unordered, Closed by pattern:coding.code
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.


.... reasonCode:chiefComplaint SΣ0..1CodeableConceptExplanation/Justification for procedure or service
Binding: http://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100 (required)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ1..1CodingCode defined by a terminology system
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ1..1uriIdentity of the terminology system
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... text Σ0..1stringPlain text representation of the concept

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ServiceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
ServiceRequest.statusrequiredRequestStatus
ServiceRequest.intentrequiredPattern: order
ServiceRequest.performer.typeextensiblePattern: Organization
ServiceRequest.reasonCodeexampleProcedureReasonCodes
ServiceRequest.reasonCode:chiefComplaintrequiredhttp://snomed.info/sct/45991000052106?fhir_vs=refset/60001000052100

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from ServiceRequest

Summary

Mandatory: 2 elements (3 nested mandatory elements)
Must-Support: 7 elements
Prohibited: 25 elements

Slices

This structure defines the following Slices:

  • The element ServiceRequest.reasonCode is sliced based on the value of pattern:coding.code (Closed)

 

Other representations of profile: CSV, Excel, Schematron