Codes, extension, profiles and more
1.2.0 - ci-build Norway flag

Codes, extension, profiles and more - Local Development build (v1.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: HnBasisServiceRequest

Official URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-serviceRequest Version: 1.2.0
Draft as of 2025-05-29 Computable Name: HnBasisServiceRequest

ServiceRequest sendes til tjenesteytere for å informere om hvilke tjenester som ønskes fra leverandøren.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
prr-1: orderDetail SHALL only be present if code is present
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... orderReceived 0..1 dateTime Timestamp when order was received
URL: http://helsenorge.no/fhir/StructureDefinition/order-received
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
.... system Σ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... status ?!Σ 1..1 code Extended valueset for status
Binding: Extended ServiceRequest Status (required)
ele-1: All FHIR elements must have a @value or children
Required Pattern: active
... intent ?!Σ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


ele-1: All FHIR elements must have a @value or children
Required Pattern: order
... category Σ 0..* CodeableConcept Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (preferred)
ele-1: All FHIR elements must have a @value or children
... priority ΣC 1..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.


ele-1: All FHIR elements must have a @value or children
PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
ele-1: All FHIR elements must have a @value or children
... orderDetail ΣC 0..* CodeableConcept Additional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


ele-1: All FHIR elements must have a @value or children
... subject ΣC 1..1 Reference(Patient) Subject identifiserer innbygger.
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
Required Pattern: Patient
... performerType Σ 0..1 CodeableConcept Performer role
Binding: ServiceRequest PerformerType Value Set (required)
ele-1: All FHIR elements must have a @value or children
... supportingInfo C 0..* Reference(Resource) Supporting info kan brukes for å sende informasjon når det er frykt for smitte.
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ServiceRequest.statusrequiredPattern: active
http://helsenorge.no/fhir/ValueSet/hn-extended-servicerequest-status
from this IG
ServiceRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
from the FHIR Standard
ServiceRequest.categorypreferredServiceRequestCategoryVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
from the FHIR Standard
ServiceRequest.subject.typeextensiblePattern: Patient
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs
from this IG

Constraints

IdGradePath(s)DetailsRequirements
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
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** elementsMust 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()
ref-1errorServiceRequest.subject, ServiceRequest.supportingInfoSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest 0..* ServiceRequest A request for a service to be performed
... Slices for extension Content/Rules for all slices
.... orderReceived 0..1 dateTime Timestamp when order was received
URL: http://helsenorge.no/fhir/StructureDefinition/order-received
... identifier 1..* Identifier Skal være UUID
.... system 1..1 uri The namespace for the identifier value
.... value 1..1 string The value that is unique
... status 1..1 code Extended valueset for status
Binding: Extended ServiceRequest Status (required)
Required Pattern: active
... category 0..* CodeableConcept Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (preferred)
... priority C 1..1 code routine | urgent | asap | stat
PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... subject 1..1 Reference(Patient) Subject identifiserer innbygger.
.... reference 0..0
.... type 0..1 uri Type the reference refers to (e.g. "Patient")
Required Pattern: Patient
.... identifier
..... system C 0..1 uri Det skal benyttes fødselsnummer eller d-nummer.
ValidSubjectSystemURL: system URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
... performerType 0..1 CodeableConcept Performer role
Binding: ServiceRequest PerformerType Value Set (required)
... supportingInfo 0..* Reference(Resource) Supporting info kan brukes for å sende informasjon når det er frykt for smitte.

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
ServiceRequest.statusrequiredPattern: active
http://helsenorge.no/fhir/ValueSet/hn-extended-servicerequest-status
from this IG
ServiceRequest.categorypreferredServiceRequestCategoryVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs
from this IG
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs
from this IG

Constraints

IdGradePath(s)DetailsRequirements
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
ValidSubjectSystemURLerrorServiceRequest.subject.identifier.systemsystem URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
: value='urn:oid:2.16.578.1.12.4.1.4.1' or value='urn:oid:2.16.578.1.12.4.1.4.2'
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... orderReceived 0..1 dateTime Timestamp when order was received
URL: http://helsenorge.no/fhir/StructureDefinition/order-received
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ 1..* Identifier Skal være UUID
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
.... period ΣC 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
.... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
... instantiatesCanonical Σ 0..* canonical(ActivityDefinition | PlanDefinition) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn ΣC 0..* Reference(CarePlan | ServiceRequest | MedicationRequest) What request fulfills
ref-1: SHALL have a contained resource if a local reference is provided
... replaces ΣC 0..* Reference(ServiceRequest) What request replaces
ref-1: SHALL have a contained resource if a local reference is provided
... requisition Σ 0..1 Identifier Composite Request ID
... status ?!Σ 1..1 code Extended valueset for status
Binding: Extended ServiceRequest Status (required)
Required Pattern: active
... intent ?!Σ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


Required Pattern: order
... category Σ 0..* CodeableConcept Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (preferred)
... priority ΣC 1..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.


PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code Σ 0..1 CodeableConcept What is being requested/ordered
Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred and a valueset using LOINC Order codes is available here.

... orderDetail ΣC 0..* CodeableConcept Additional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... quantity[x] Σ 0..1 Service amount
.... quantityQuantity Quantity
.... quantityRatio Ratio
.... quantityRange Range
... subject ΣC 1..1 Reference(Patient) Subject identifiserer innbygger.
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Patient
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system ΣC 0..1 uri Det skal benyttes fødselsnummer eller d-nummer.
ValidSubjectSystemURL: system URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
Example General: http://www.acme.com/identifiers/patient
..... value Σ 0..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
.... display Σ 0..1 string Text alternative for the resource
... encounter ΣC 0..1 Reference(Encounter) Encounter in which the request was created
ref-1: SHALL have a contained resource if a local reference is provided
... occurrence[x] Σ 0..1 When service should occur
.... occurrenceDateTime dateTime
.... occurrencePeriod Period
.... occurrenceTiming Timing
... asNeeded[x] Σ 0..1 Preconditions for service
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc.

.... asNeededBoolean boolean
.... asNeededCodeableConcept CodeableConcept
... authoredOn Σ 0..1 dateTime Date request signed
... requester ΣC 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/what is requesting service
ref-1: SHALL have a contained resource if a local reference is provided
... performerType Σ 0..1 CodeableConcept Performer role
Binding: ServiceRequest PerformerType Value Set (required)
... performer ΣC 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Requested performer
ref-1: SHALL have a contained resource if a local reference is provided
... locationCode Σ 0..* CodeableConcept Requested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.


... locationReference ΣC 0..* Reference(Location) Requested location
ref-1: SHALL have a contained resource if a local reference is provided
... reasonCode Σ 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.


... reasonReference ΣC 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Explanation/Justification for service or service
ref-1: SHALL have a contained resource if a local reference is provided
... insurance C 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
ref-1: SHALL have a contained resource if a local reference is provided
... supportingInfo C 0..* Reference(Resource) Supporting info kan brukes for å sende informasjon når det er frykt for smitte.
ref-1: SHALL have a contained resource if a local reference is provided
... specimen ΣC 0..* Reference(Specimen) Procedure Samples
ref-1: SHALL have a contained resource if a local reference is provided
... bodySite Σ 0..* CodeableConcept Location on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... note 0..* Annotation Comments
... patientInstruction Σ 0..1 string Patient or consumer-oriented instructions
... relevantHistory C 0..* Reference(Provenance) Request provenance
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
ServiceRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ServiceRequest.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
ServiceRequest.statusrequiredPattern: active
http://helsenorge.no/fhir/ValueSet/hn-extended-servicerequest-status
from this IG
ServiceRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
from the FHIR Standard
ServiceRequest.categorypreferredServiceRequestCategoryVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.codeexampleProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
from the FHIR Standard
ServiceRequest.subject.typeextensiblePattern: Patient
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
ServiceRequest.subject.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ServiceRequest.subject.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs
from this IG
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeexampleProcedureReasonCodes
http://hl7.org/fhir/ValueSet/procedure-reason
from the FHIR Standard
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
ValidSubjectSystemURLerrorServiceRequest.subject.identifier.systemsystem URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
: value='urn:oid:2.16.578.1.12.4.1.4.1' or value='urn:oid:2.16.578.1.12.4.1.4.2'
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** elementsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorServiceRequest.identifier.period, ServiceRequest.subject.identifier.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
ref-1errorServiceRequest.identifier.assigner, ServiceRequest.basedOn, ServiceRequest.replaces, ServiceRequest.subject, ServiceRequest.subject.identifier.assigner, ServiceRequest.encounter, ServiceRequest.requester, ServiceRequest.performer, ServiceRequest.locationReference, ServiceRequest.reasonReference, ServiceRequest.insurance, ServiceRequest.supportingInfo, ServiceRequest.specimen, ServiceRequest.relevantHistorySHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ServiceRequest

Summary

Mandatory: 4 elements
Prohibited: 1 element

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-6: A resource should have narrative for robust management
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
prr-1: orderDetail SHALL only be present if code is present
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... orderReceived 0..1 dateTime Timestamp when order was received
URL: http://helsenorge.no/fhir/StructureDefinition/order-received
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
.... system Σ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
... status ?!Σ 1..1 code Extended valueset for status
Binding: Extended ServiceRequest Status (required)
ele-1: All FHIR elements must have a @value or children
Required Pattern: active
... intent ?!Σ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


ele-1: All FHIR elements must have a @value or children
Required Pattern: order
... category Σ 0..* CodeableConcept Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (preferred)
ele-1: All FHIR elements must have a @value or children
... priority ΣC 1..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.


ele-1: All FHIR elements must have a @value or children
PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
ele-1: All FHIR elements must have a @value or children
... orderDetail ΣC 0..* CodeableConcept Additional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


ele-1: All FHIR elements must have a @value or children
... subject ΣC 1..1 Reference(Patient) Subject identifiserer innbygger.
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
Required Pattern: Patient
... performerType Σ 0..1 CodeableConcept Performer role
Binding: ServiceRequest PerformerType Value Set (required)
ele-1: All FHIR elements must have a @value or children
... supportingInfo C 0..* Reference(Resource) Supporting info kan brukes for å sende informasjon når det er frykt for smitte.
ele-1: All FHIR elements must have a @value or children
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ServiceRequest.statusrequiredPattern: active
http://helsenorge.no/fhir/ValueSet/hn-extended-servicerequest-status
from this IG
ServiceRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
from the FHIR Standard
ServiceRequest.categorypreferredServiceRequestCategoryVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
from the FHIR Standard
ServiceRequest.subject.typeextensiblePattern: Patient
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs
from this IG

Constraints

IdGradePath(s)DetailsRequirements
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
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** elementsMust 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()
ref-1errorServiceRequest.subject, ServiceRequest.supportingInfoSHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential View

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest 0..* ServiceRequest A request for a service to be performed
... Slices for extension Content/Rules for all slices
.... orderReceived 0..1 dateTime Timestamp when order was received
URL: http://helsenorge.no/fhir/StructureDefinition/order-received
... identifier 1..* Identifier Skal være UUID
.... system 1..1 uri The namespace for the identifier value
.... value 1..1 string The value that is unique
... status 1..1 code Extended valueset for status
Binding: Extended ServiceRequest Status (required)
Required Pattern: active
... category 0..* CodeableConcept Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (preferred)
... priority C 1..1 code routine | urgent | asap | stat
PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... subject 1..1 Reference(Patient) Subject identifiserer innbygger.
.... reference 0..0
.... type 0..1 uri Type the reference refers to (e.g. "Patient")
Required Pattern: Patient
.... identifier
..... system C 0..1 uri Det skal benyttes fødselsnummer eller d-nummer.
ValidSubjectSystemURL: system URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
... performerType 0..1 CodeableConcept Performer role
Binding: ServiceRequest PerformerType Value Set (required)
... supportingInfo 0..* Reference(Resource) Supporting info kan brukes for å sende informasjon når det er frykt for smitte.

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet / CodeURI
ServiceRequest.statusrequiredPattern: active
http://helsenorge.no/fhir/ValueSet/hn-extended-servicerequest-status
from this IG
ServiceRequest.categorypreferredServiceRequestCategoryVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs
from this IG
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs
from this IG

Constraints

IdGradePath(s)DetailsRequirements
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
ValidSubjectSystemURLerrorServiceRequest.subject.identifier.systemsystem URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
: value='urn:oid:2.16.578.1.12.4.1.4.1' or value='urn:oid:2.16.578.1.12.4.1.4.2'

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C 0..* ServiceRequest A request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... orderReceived 0..1 dateTime Timestamp when order was received
URL: http://helsenorge.no/fhir/StructureDefinition/order-received
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ 1..* Identifier Skal være UUID
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
.... period ΣC 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
.... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
... instantiatesCanonical Σ 0..* canonical(ActivityDefinition | PlanDefinition) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... basedOn ΣC 0..* Reference(CarePlan | ServiceRequest | MedicationRequest) What request fulfills
ref-1: SHALL have a contained resource if a local reference is provided
... replaces ΣC 0..* Reference(ServiceRequest) What request replaces
ref-1: SHALL have a contained resource if a local reference is provided
... requisition Σ 0..1 Identifier Composite Request ID
... status ?!Σ 1..1 code Extended valueset for status
Binding: Extended ServiceRequest Status (required)
Required Pattern: active
... intent ?!Σ 1..1 code proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Binding: RequestIntent (required): The kind of service request.


Required Pattern: order
... category Σ 0..* CodeableConcept Hvis category er brukt og det mangler code bør beskrivelse av bestilling være i note
Binding: ServiceRequest Category Value Set (preferred)
... priority ΣC 1..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.


PriorityUrgentOrRoutine: priority må være enten 'routine' eller 'urgent'.
... doNotPerform ?!Σ 0..1 boolean True if service/procedure should not be performed
... code Σ 0..1 CodeableConcept What is being requested/ordered
Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred and a valueset using LOINC Order codes is available here.

... orderDetail ΣC 0..* CodeableConcept Additional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... quantity[x] Σ 0..1 Service amount
.... quantityQuantity Quantity
.... quantityRatio Ratio
.... quantityRange Range
... subject ΣC 1..1 Reference(Patient) Subject identifiserer innbygger.
ref-1: SHALL have a contained resource if a local reference is provided
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).


Required Pattern: Patient
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

..... system ΣC 0..1 uri Det skal benyttes fødselsnummer eller d-nummer.
ValidSubjectSystemURL: system URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
Example General: http://www.acme.com/identifiers/patient
..... value Σ 0..1 string The value that is unique
Example General: 123456
..... period ΣC 0..1 Period Time period when id is/was valid for use
per-1: If present, start SHALL have a lower value than end
..... assigner ΣC 0..1 Reference(Organization) Organization that issued id (may be just text)
ref-1: SHALL have a contained resource if a local reference is provided
.... display Σ 0..1 string Text alternative for the resource
... encounter ΣC 0..1 Reference(Encounter) Encounter in which the request was created
ref-1: SHALL have a contained resource if a local reference is provided
... occurrence[x] Σ 0..1 When service should occur
.... occurrenceDateTime dateTime
.... occurrencePeriod Period
.... occurrenceTiming Timing
... asNeeded[x] Σ 0..1 Preconditions for service
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc.

.... asNeededBoolean boolean
.... asNeededCodeableConcept CodeableConcept
... authoredOn Σ 0..1 dateTime Date request signed
... requester ΣC 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/what is requesting service
ref-1: SHALL have a contained resource if a local reference is provided
... performerType Σ 0..1 CodeableConcept Performer role
Binding: ServiceRequest PerformerType Value Set (required)
... performer ΣC 0..* Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) Requested performer
ref-1: SHALL have a contained resource if a local reference is provided
... locationCode Σ 0..* CodeableConcept Requested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.


... locationReference ΣC 0..* Reference(Location) Requested location
ref-1: SHALL have a contained resource if a local reference is provided
... reasonCode Σ 0..* CodeableConcept Explanation/Justification for procedure or service
Binding: ProcedureReasonCodes (example): Diagnosis or problem codes justifying the reason for requesting the service investigation.


... reasonReference ΣC 0..* Reference(Condition | Observation | DiagnosticReport | DocumentReference) Explanation/Justification for service or service
ref-1: SHALL have a contained resource if a local reference is provided
... insurance C 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
ref-1: SHALL have a contained resource if a local reference is provided
... supportingInfo C 0..* Reference(Resource) Supporting info kan brukes for å sende informasjon når det er frykt for smitte.
ref-1: SHALL have a contained resource if a local reference is provided
... specimen ΣC 0..* Reference(Specimen) Procedure Samples
ref-1: SHALL have a contained resource if a local reference is provided
... bodySite Σ 0..* CodeableConcept Location on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... note 0..* Annotation Comments
... patientInstruction Σ 0..1 string Patient or consumer-oriented instructions
... relevantHistory C 0..* Reference(Provenance) Request provenance
ref-1: SHALL have a contained resource if a local reference is provided

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
ServiceRequest.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ServiceRequest.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
ServiceRequest.statusrequiredPattern: active
http://helsenorge.no/fhir/ValueSet/hn-extended-servicerequest-status
from this IG
ServiceRequest.intentrequiredPattern: order
http://hl7.org/fhir/ValueSet/request-intent|4.0.1
from the FHIR Standard
ServiceRequest.categorypreferredServiceRequestCategoryVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-category-vs
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.codeexampleProcedureCodes(SNOMEDCT)
http://hl7.org/fhir/ValueSet/procedure-code
from the FHIR Standard
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
from the FHIR Standard
ServiceRequest.subject.typeextensiblePattern: Patient
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
ServiceRequest.subject.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
ServiceRequest.subject.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
ServiceRequest.performerTyperequiredServiceRequestPerformerTypeVS
http://helsenorge.no/fhir/ValueSet/serviceRequest-performerType-vs
from this IG
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeexampleProcedureReasonCodes
http://hl7.org/fhir/ValueSet/procedure-reason
from the FHIR Standard
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
PriorityUrgentOrRoutineerrorServiceRequest.prioritypriority må være enten 'routine' eller 'urgent'.
: value='routine' or value='urgent'
ValidSubjectSystemURLerrorServiceRequest.subject.identifier.systemsystem URL må være enten urn:oid:2.16.578.1.12.4.1.4.1' eller 'urn:oid:2.16.578.1.12.4.1.4.2'.
: value='urn:oid:2.16.578.1.12.4.1.4.1' or value='urn:oid:2.16.578.1.12.4.1.4.2'
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** elementsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
per-1errorServiceRequest.identifier.period, ServiceRequest.subject.identifier.periodIf present, start SHALL have a lower value than end
: start.hasValue().not() or end.hasValue().not() or (start <= end)
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
ref-1errorServiceRequest.identifier.assigner, ServiceRequest.basedOn, ServiceRequest.replaces, ServiceRequest.subject, ServiceRequest.subject.identifier.assigner, ServiceRequest.encounter, ServiceRequest.requester, ServiceRequest.performer, ServiceRequest.locationReference, ServiceRequest.reasonReference, ServiceRequest.insurance, ServiceRequest.supportingInfo, ServiceRequest.specimen, ServiceRequest.relevantHistorySHALL have a contained resource if a local reference is provided
: reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from ServiceRequest

Summary

Mandatory: 4 elements
Prohibited: 1 element

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron