0.1.0 - ci-build

SENAITEFHIRImplementationGuide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Senaite Instrument ServiceRequest

Official URL: https://fhir.senaite.org/StructureDefinition/SenaiteInstrumentServiceRequest Version: 0.1.0
Draft as of 2026-11-05 Computable Name: SenaiteInstrumentServiceRequest

A single analyte-level ServiceRequest generated by SENAITE and scoped to a specific laboratory instrument (Device). Instrument Middleware polls for these resources to build its worklist and routes each to the assigned instrument.

The instrument loop is self-contained at the analyte level: the middleware receives analyte + specimen + device, transmits to the instrument, and the instrument returns a result which the middleware posts as a SenaiteObservation with basedOn referencing this resource. Panel context is not required at any point in this loop.

basedOn is optional: present when the work originated from an external SenaiteServiceRequest, absent when the AnalysisRequest was created directly within SENAITE. The senaiteId identifier is the authoritative traceability link to the underlying SENAITE AnalysisRequest in all cases.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: bdystr-1, prr-1
ServiceRequest.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
ServiceRequest.contained 0..* Resource Contained, inline Resources
ServiceRequest.Slices for identifier This element is included in summaries. 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Closed by value:use
ServiceRequest.Slices for identifier.identifier:senaiteId This element is included in summaries. 1..1 Identifier SENAITE-assigned Analysis ID
ServiceRequest.Slices for identifier.identifier:senaiteId.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.Slices for identifier.identifier:senaiteId.use This element is a modifier element. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: usual (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Fixed Value: https://fhir.senaite.org/NamingSystem/analysis-id (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.value This element is included in summaries. C 1..1 string The value that is unique
Example General: 123456
ServiceRequest.basedOn This element is included in summaries. 0..1 Reference(SENAITE Service Request) Parent external order, if one exists
ServiceRequest.status This element is a modifier element. This element is included in summaries. 1..1 code active | completed | revoked | entered-in-error
Binding: RequestStatus (required): The status of a service order.
ServiceRequest.intent This element is a modifier element. This element is included in summaries. 1..1 code filler-order — SENAITE-generated, device-scoped work unit
Binding: RequestIntent (required): The kind of service request.
Fixed Value: filler-order (no extensions allowed)
ServiceRequest.category This element is included in summaries. 1..1 CodeableConcept Classification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.
ServiceRequest.category.text This element is included in summaries. 0..1 string Plain text representation of the concept
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.code This element is included in summaries. C 1..1 CodeableReference(ActivityDefinition | PlanDefinition) ​What is being requested/ordered
Binding: ProcedureCodesSNOMEDCT (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.
ServiceRequest.code.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.subject This element is included in summaries. 1..1 Reference(Patient | Group | Location | Device) Individual or Entity the service is ordered for
ServiceRequest.subject.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Constraints: subject-identified
ServiceRequest.performer This element is included in summaries. 1..1 Reference(Senaite Device) The laboratory instrument assigned to run this test
ServiceRequest.specimen This element is included in summaries. 1..1 Reference(Specimen) Procedure Samples
ServiceRequest.specimen.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ServiceRequest.identifier:senaiteId.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
ServiceRequest.status Base required RequestStatus 📍5.0.0 FHIR Std.
ServiceRequest.intent Base required RequestIntent 📍5.0.0 FHIR Std.
ServiceRequest.category Base example Service Request Category Codes 📍5.0.0 FHIR Std.
ServiceRequest.code Base example Procedure Codes (SNOMED CT) 📍5.0.0 FHIR Std.
ServiceRequest.orderDetail.​parameter.code Base example Servicerequest OrderDetail Parameter Code 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
bdystr-1 error ServiceRequest bodyStructure SHALL only be present if bodySite is not present bodySite.exists() implies bodyStructure.empty()
dom-2 error ServiceRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ServiceRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ServiceRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ServiceRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ServiceRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
prr-1 error ServiceRequest orderDetail SHALL only be present if code is present orderDetail.empty() or code.exists()
subject-identified error ServiceRequest.subject.reference If there is no identifier then it must have a key hasValue() or subject.identifier.count()

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraints    Filter: doco
ServiceRequest 0..* ServiceRequest A request for a service to be performed
ServiceRequest.extension 0..0 Extension
ServiceRequest.modifierExtension 0..0 Extension
ServiceRequest.Slices for identifier 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Closed by value:use
ServiceRequest.Slices for identifier.identifier:senaiteId 1..1 Identifier SENAITE-assigned Analysis ID
ServiceRequest.Slices for identifier.identifier:senaiteId.extension 0..0 Extension
ServiceRequest.Slices for identifier.identifier:senaiteId.use 1..1 code usual | official | temp | secondary | old (If known)
Fixed Value: usual (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.system 0..1 uri The namespace for the identifier value
Fixed Value: https://fhir.senaite.org/NamingSystem/analysis-id (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.value 1..1 string The value that is unique
ServiceRequest.Slices for identifier.identifier:senaiteId.period 0..0 Time period when id is/was valid for use
ServiceRequest.Slices for identifier.identifier:senaiteId.assigner 0..0 Organization that issued id (may be just text)
ServiceRequest.instantiatesCanonical 0..0 Instantiates FHIR protocol or definition
ServiceRequest.instantiatesUri 0..0 Instantiates external protocol or definition
ServiceRequest.basedOn 0..1 Reference(SENAITE Service Request) Parent external order, if one exists
ServiceRequest.replaces 0..0 What request replaces
ServiceRequest.requisition 0..0 Composite Request ID
ServiceRequest.status 1..1 code active | completed | revoked | entered-in-error
ServiceRequest.intent 1..1 code filler-order — SENAITE-generated, device-scoped work unit
Fixed Value: filler-order (no extensions allowed)
ServiceRequest.category 1..1 CodeableConcept Classification of service
ServiceRequest.category.coding
ServiceRequest.category.coding.system 0..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct (no extensions allowed)
ServiceRequest.category.coding.version 0..0 Version of the system - if relevant
ServiceRequest.category.coding.code 0..1 code Symbol in syntax defined by the system
Fixed Value: 108252007 (no extensions allowed)
ServiceRequest.category.coding.display 0..1 string Representation defined by the system
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.category.coding.userSelected 0..0 If this coding was chosen directly by the user
ServiceRequest.category.text 0..1 string Plain text representation of the concept
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.doNotPerform 0..0 True if service/procedure should not be performed
ServiceRequest.code 1..1 CodeableReference(ActivityDefinition | PlanDefinition) What is being requested/ordered
ServiceRequest.code.extension 0..0 Extension
ServiceRequest.code.concept
ServiceRequest.code.concept.Slices for coding 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ServiceRequest.code.concept.Slices for coding.coding:loinc 1..1 Coding Code defined by a terminology system
Binding: http://loinc.org (preferred)
ServiceRequest.code.concept.Slices for coding.coding:loinc.system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org (no extensions allowed)
ServiceRequest.code.concept.Slices for coding.coding:keyword 0..1 Coding Code defined by a terminology system
ServiceRequest.code.concept.Slices for coding.coding:keyword.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.senaite.org/CodeSystem/analysis-keyword (no extensions allowed)
ServiceRequest.orderDetail 0..0 Additional order information
ServiceRequest.quantity[x] 0..0 Service amount
ServiceRequest.subject
ServiceRequest.subject.reference C 0..1 string Literal reference, Relative, internal or absolute URL
Constraints: subject-identified
ServiceRequest.subject.type 0..0 Type the reference refers to (e.g. "Patient") - must be a resource in resources
ServiceRequest.subject.identifier 0..0 Logical reference, when literal reference is not known
ServiceRequest.encounter 0..0 Encounter in which the request was created
ServiceRequest.occurrence[x] 0..0 When service should occur
ServiceRequest.asNeeded[x] 0..0 Preconditions for service
ServiceRequest.requester 0..0 Who/what is requesting service
ServiceRequest.performerType 0..0 Performer role
ServiceRequest.performer 1..1 Reference(Senaite Device) The laboratory instrument assigned to run this test
ServiceRequest.location 0..0 Requested location
ServiceRequest.reason 0..0 Explanation/Justification for procedure or service
ServiceRequest.insurance 0..0 Associated insurance coverage
ServiceRequest.supportingInfo 0..0 Additional clinical information
ServiceRequest.specimen 1..1 Reference(Specimen) Procedure Samples
ServiceRequest.specimen.reference 1..1 string Literal reference, Relative, internal or absolute URL
ServiceRequest.bodySite 0..0 Coded location on Body
ServiceRequest.note
ServiceRequest.note.extension 0..0 Extension
ServiceRequest.note.author[x] 0..0 Individual responsible for the annotation
ServiceRequest.note.time 0..0 When the annotation was made
ServiceRequest.patientInstruction 0..0 Patient or consumer-oriented instructions
ServiceRequest.relevantHistory 0..0 Request provenance

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
ServiceRequest.code.​concept.coding:loinc Base preferred http://loinc.org Not State Unknown

Constraints

Id Grade Path(s) Description Expression
subject-identified error ServiceRequest.subject.reference If there is no identifier then it must have a key hasValue() or subject.identifier.count()
NameFlagsCard.TypeDescription & Constraints    Filter: doco
ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: bdystr-1, prr-1
ServiceRequest.id This element is included in summaries. 0..1 id Logical id of this artifact
ServiceRequest.meta This element is included in summaries. 0..1 Meta Metadata about the resource
ServiceRequest.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
ServiceRequest.language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
ServiceRequest.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
ServiceRequest.contained 0..* Resource Contained, inline Resources
ServiceRequest.Slices for identifier This element is included in summaries. 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Closed by value:use
ServiceRequest.Slices for identifier.identifier:senaiteId This element is included in summaries. 1..1 Identifier SENAITE-assigned Analysis ID
ServiceRequest.Slices for identifier.identifier:senaiteId.id 0..1 id Unique id for inter-element referencing
ServiceRequest.Slices for identifier.identifier:senaiteId.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.Slices for identifier.identifier:senaiteId.use This element is a modifier element. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: usual (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
ServiceRequest.Slices for identifier.identifier:senaiteId.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Fixed Value: https://fhir.senaite.org/NamingSystem/analysis-id (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.value This element is included in summaries. C 1..1 string The value that is unique
Example General: 123456
ServiceRequest.basedOn This element is included in summaries. 0..1 Reference(SENAITE Service Request) Parent external order, if one exists
ServiceRequest.status This element is a modifier element. This element is included in summaries. 1..1 code active | completed | revoked | entered-in-error
Binding: RequestStatus (required): The status of a service order.
ServiceRequest.intent This element is a modifier element. This element is included in summaries. 1..1 code filler-order — SENAITE-generated, device-scoped work unit
Binding: RequestIntent (required): The kind of service request.
Fixed Value: filler-order (no extensions allowed)
ServiceRequest.category This element is included in summaries. 1..1 CodeableConcept Classification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.
ServiceRequest.category.id 0..1 id Unique id for inter-element referencing
ServiceRequest.category.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.category.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
ServiceRequest.category.coding.id 0..1 id Unique id for inter-element referencing
ServiceRequest.category.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.category.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct (no extensions allowed)
ServiceRequest.category.coding.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Fixed Value: 108252007 (no extensions allowed)
ServiceRequest.category.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.category.text This element is included in summaries. 0..1 string Plain text representation of the concept
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.priority This element is included in summaries. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
ServiceRequest.code This element is included in summaries. C 1..1 CodeableReference(ActivityDefinition | PlanDefinition) ​What is being requested/ordered
Binding: ProcedureCodesSNOMEDCT (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.
ServiceRequest.code.id 0..1 id Unique id for inter-element referencing
ServiceRequest.code.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.code.concept This element is included in summaries. 0..1 CodeableConcept Reference to a concept (by class)
ServiceRequest.code.concept.id 0..1 id Unique id for inter-element referencing
ServiceRequest.code.concept.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.code.concept.Slices for coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ServiceRequest.code.concept.Slices for coding.coding:loinc This element is included in summaries. 1..1 Coding Code defined by a terminology system
Binding: http://loinc.org (preferred)
ServiceRequest.code.concept.Slices for coding.coding:loinc.id 0..1 id Unique id for inter-element referencing
ServiceRequest.code.concept.Slices for coding.coding:loinc.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.code.concept.Slices for coding.coding:loinc.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org (no extensions allowed)
ServiceRequest.code.concept.Slices for coding.coding:loinc.version This element is included in summaries. 0..1 string Version of the system - if relevant
ServiceRequest.code.concept.Slices for coding.coding:loinc.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
ServiceRequest.code.concept.Slices for coding.coding:loinc.display This element is included in summaries. C 0..1 string Representation defined by the system
ServiceRequest.code.concept.Slices for coding.coding:loinc.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
ServiceRequest.code.concept.Slices for coding.coding:keyword This element is included in summaries. 0..1 Coding Code defined by a terminology system
ServiceRequest.code.concept.Slices for coding.coding:keyword.id 0..1 id Unique id for inter-element referencing
ServiceRequest.code.concept.Slices for coding.coding:keyword.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.code.concept.Slices for coding.coding:keyword.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.senaite.org/CodeSystem/analysis-keyword (no extensions allowed)
ServiceRequest.code.concept.Slices for coding.coding:keyword.version This element is included in summaries. 0..1 string Version of the system - if relevant
ServiceRequest.code.concept.Slices for coding.coding:keyword.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
ServiceRequest.code.concept.Slices for coding.coding:keyword.display This element is included in summaries. C 0..1 string Representation defined by the system
ServiceRequest.code.concept.Slices for coding.coding:keyword.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
ServiceRequest.code.concept.text This element is included in summaries. 0..1 string Plain text representation of the concept
ServiceRequest.code.reference This element is included in summaries. 0..1 Reference() Reference to a resource (by instance)
ServiceRequest.subject This element is included in summaries. 1..1 Reference(Patient | Group | Location | Device) Individual or Entity the service is ordered for
ServiceRequest.subject.id 0..1 id Unique id for inter-element referencing
ServiceRequest.subject.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.subject.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Constraints: subject-identified
ServiceRequest.subject.display This element is included in summaries. C 0..1 string Text alternative for the resource
ServiceRequest.focus This element is included in summaries. 0..* Reference(Resource) What the service request is about, when it is not about the subject of record
ServiceRequest.authoredOn This element is included in summaries. 0..1 dateTime Date request signed
ServiceRequest.performer This element is included in summaries. 1..1 Reference(Senaite Device) The laboratory instrument assigned to run this test
ServiceRequest.specimen This element is included in summaries. 1..1 Reference(Specimen) Procedure Samples
ServiceRequest.specimen.id 0..1 id Unique id for inter-element referencing
ServiceRequest.specimen.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.specimen.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
ServiceRequest.specimen.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
ServiceRequest.specimen.identifier This element is included in summaries. C 0..1 Identifier Logical reference, when literal reference is not known
ServiceRequest.specimen.display This element is included in summaries. C 0..1 string Text alternative for the resource
ServiceRequest.bodyStructure This element is included in summaries. C 0..1 Reference(BodyStructure) BodyStructure-based location on the body
ServiceRequest.note 0..* Annotation Comments
ServiceRequest.note.id 0..1 id Unique id for inter-element referencing
ServiceRequest.note.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.note.text This element is included in summaries. 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ServiceRequest.language Base required All Languages 📍5.0.0 FHIR Std.
ServiceRequest.identifier:senaiteId.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
ServiceRequest.identifier:senaiteId.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
ServiceRequest.status Base required RequestStatus 📍5.0.0 FHIR Std.
ServiceRequest.intent Base required RequestIntent 📍5.0.0 FHIR Std.
ServiceRequest.category Base example Service Request Category Codes 📍5.0.0 FHIR Std.
ServiceRequest.priority Base required RequestPriority 📍5.0.0 FHIR Std.
ServiceRequest.code Base example Procedure Codes (SNOMED CT) 📍5.0.0 FHIR Std.
ServiceRequest.code.​concept.coding:loinc Base preferred http://loinc.org Not State Unknown
ServiceRequest.orderDetail.​parameter.code Base example Servicerequest OrderDetail Parameter Code 📍5.0.0 FHIR Std.
ServiceRequest.specimen.​type Base extensible Resource Types 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
bdystr-1 error ServiceRequest bodyStructure SHALL only be present if bodySite is not present bodySite.exists() implies bodyStructure.empty()
dom-2 error ServiceRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ServiceRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ServiceRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ServiceRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ServiceRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
prr-1 error ServiceRequest orderDetail SHALL only be present if code is present orderDetail.empty() or code.exists()
subject-identified error ServiceRequest.subject.reference If there is no identifier then it must have a key hasValue() or subject.identifier.count()

This structure is derived from ServiceRequest

Summary

Mandatory: 9 elements(4 nested mandatory elements)
Fixed: 9 elements
Prohibited: 32 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ServiceRequest.identifier (Closed)
  • The element 1 is sliced based on the value of ServiceRequest.code.concept.coding

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: bdystr-1, prr-1
ServiceRequest.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
ServiceRequest.contained 0..* Resource Contained, inline Resources
ServiceRequest.Slices for identifier This element is included in summaries. 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Closed by value:use
ServiceRequest.Slices for identifier.identifier:senaiteId This element is included in summaries. 1..1 Identifier SENAITE-assigned Analysis ID
ServiceRequest.Slices for identifier.identifier:senaiteId.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.Slices for identifier.identifier:senaiteId.use This element is a modifier element. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: usual (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Fixed Value: https://fhir.senaite.org/NamingSystem/analysis-id (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.value This element is included in summaries. C 1..1 string The value that is unique
Example General: 123456
ServiceRequest.basedOn This element is included in summaries. 0..1 Reference(SENAITE Service Request) Parent external order, if one exists
ServiceRequest.status This element is a modifier element. This element is included in summaries. 1..1 code active | completed | revoked | entered-in-error
Binding: RequestStatus (required): The status of a service order.
ServiceRequest.intent This element is a modifier element. This element is included in summaries. 1..1 code filler-order — SENAITE-generated, device-scoped work unit
Binding: RequestIntent (required): The kind of service request.
Fixed Value: filler-order (no extensions allowed)
ServiceRequest.category This element is included in summaries. 1..1 CodeableConcept Classification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.
ServiceRequest.category.text This element is included in summaries. 0..1 string Plain text representation of the concept
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.code This element is included in summaries. C 1..1 CodeableReference(ActivityDefinition | PlanDefinition) ​What is being requested/ordered
Binding: ProcedureCodesSNOMEDCT (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.
ServiceRequest.code.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.subject This element is included in summaries. 1..1 Reference(Patient | Group | Location | Device) Individual or Entity the service is ordered for
ServiceRequest.subject.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Constraints: subject-identified
ServiceRequest.performer This element is included in summaries. 1..1 Reference(Senaite Device) The laboratory instrument assigned to run this test
ServiceRequest.specimen This element is included in summaries. 1..1 Reference(Specimen) Procedure Samples
ServiceRequest.specimen.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ServiceRequest.identifier:senaiteId.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
ServiceRequest.status Base required RequestStatus 📍5.0.0 FHIR Std.
ServiceRequest.intent Base required RequestIntent 📍5.0.0 FHIR Std.
ServiceRequest.category Base example Service Request Category Codes 📍5.0.0 FHIR Std.
ServiceRequest.code Base example Procedure Codes (SNOMED CT) 📍5.0.0 FHIR Std.
ServiceRequest.orderDetail.​parameter.code Base example Servicerequest OrderDetail Parameter Code 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
bdystr-1 error ServiceRequest bodyStructure SHALL only be present if bodySite is not present bodySite.exists() implies bodyStructure.empty()
dom-2 error ServiceRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ServiceRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ServiceRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ServiceRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ServiceRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
prr-1 error ServiceRequest orderDetail SHALL only be present if code is present orderDetail.empty() or code.exists()
subject-identified error ServiceRequest.subject.reference If there is no identifier then it must have a key hasValue() or subject.identifier.count()

Differential View

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraints    Filter: doco
ServiceRequest 0..* ServiceRequest A request for a service to be performed
ServiceRequest.extension 0..0 Extension
ServiceRequest.modifierExtension 0..0 Extension
ServiceRequest.Slices for identifier 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Closed by value:use
ServiceRequest.Slices for identifier.identifier:senaiteId 1..1 Identifier SENAITE-assigned Analysis ID
ServiceRequest.Slices for identifier.identifier:senaiteId.extension 0..0 Extension
ServiceRequest.Slices for identifier.identifier:senaiteId.use 1..1 code usual | official | temp | secondary | old (If known)
Fixed Value: usual (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.system 0..1 uri The namespace for the identifier value
Fixed Value: https://fhir.senaite.org/NamingSystem/analysis-id (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.value 1..1 string The value that is unique
ServiceRequest.Slices for identifier.identifier:senaiteId.period 0..0 Time period when id is/was valid for use
ServiceRequest.Slices for identifier.identifier:senaiteId.assigner 0..0 Organization that issued id (may be just text)
ServiceRequest.instantiatesCanonical 0..0 Instantiates FHIR protocol or definition
ServiceRequest.instantiatesUri 0..0 Instantiates external protocol or definition
ServiceRequest.basedOn 0..1 Reference(SENAITE Service Request) Parent external order, if one exists
ServiceRequest.replaces 0..0 What request replaces
ServiceRequest.requisition 0..0 Composite Request ID
ServiceRequest.status 1..1 code active | completed | revoked | entered-in-error
ServiceRequest.intent 1..1 code filler-order — SENAITE-generated, device-scoped work unit
Fixed Value: filler-order (no extensions allowed)
ServiceRequest.category 1..1 CodeableConcept Classification of service
ServiceRequest.category.coding
ServiceRequest.category.coding.system 0..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct (no extensions allowed)
ServiceRequest.category.coding.version 0..0 Version of the system - if relevant
ServiceRequest.category.coding.code 0..1 code Symbol in syntax defined by the system
Fixed Value: 108252007 (no extensions allowed)
ServiceRequest.category.coding.display 0..1 string Representation defined by the system
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.category.coding.userSelected 0..0 If this coding was chosen directly by the user
ServiceRequest.category.text 0..1 string Plain text representation of the concept
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.doNotPerform 0..0 True if service/procedure should not be performed
ServiceRequest.code 1..1 CodeableReference(ActivityDefinition | PlanDefinition) What is being requested/ordered
ServiceRequest.code.extension 0..0 Extension
ServiceRequest.code.concept
ServiceRequest.code.concept.Slices for coding 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ServiceRequest.code.concept.Slices for coding.coding:loinc 1..1 Coding Code defined by a terminology system
Binding: http://loinc.org (preferred)
ServiceRequest.code.concept.Slices for coding.coding:loinc.system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org (no extensions allowed)
ServiceRequest.code.concept.Slices for coding.coding:keyword 0..1 Coding Code defined by a terminology system
ServiceRequest.code.concept.Slices for coding.coding:keyword.system 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.senaite.org/CodeSystem/analysis-keyword (no extensions allowed)
ServiceRequest.orderDetail 0..0 Additional order information
ServiceRequest.quantity[x] 0..0 Service amount
ServiceRequest.subject
ServiceRequest.subject.reference C 0..1 string Literal reference, Relative, internal or absolute URL
Constraints: subject-identified
ServiceRequest.subject.type 0..0 Type the reference refers to (e.g. "Patient") - must be a resource in resources
ServiceRequest.subject.identifier 0..0 Logical reference, when literal reference is not known
ServiceRequest.encounter 0..0 Encounter in which the request was created
ServiceRequest.occurrence[x] 0..0 When service should occur
ServiceRequest.asNeeded[x] 0..0 Preconditions for service
ServiceRequest.requester 0..0 Who/what is requesting service
ServiceRequest.performerType 0..0 Performer role
ServiceRequest.performer 1..1 Reference(Senaite Device) The laboratory instrument assigned to run this test
ServiceRequest.location 0..0 Requested location
ServiceRequest.reason 0..0 Explanation/Justification for procedure or service
ServiceRequest.insurance 0..0 Associated insurance coverage
ServiceRequest.supportingInfo 0..0 Additional clinical information
ServiceRequest.specimen 1..1 Reference(Specimen) Procedure Samples
ServiceRequest.specimen.reference 1..1 string Literal reference, Relative, internal or absolute URL
ServiceRequest.bodySite 0..0 Coded location on Body
ServiceRequest.note
ServiceRequest.note.extension 0..0 Extension
ServiceRequest.note.author[x] 0..0 Individual responsible for the annotation
ServiceRequest.note.time 0..0 When the annotation was made
ServiceRequest.patientInstruction 0..0 Patient or consumer-oriented instructions
ServiceRequest.relevantHistory 0..0 Request provenance

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
ServiceRequest.code.​concept.coding:loinc Base preferred http://loinc.org Not State Unknown

Constraints

Id Grade Path(s) Description Expression
subject-identified error ServiceRequest.subject.reference If there is no identifier then it must have a key hasValue() or subject.identifier.count()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
ServiceRequest C 0..* ServiceRequest A request for a service to be performed
Constraints: bdystr-1, prr-1
ServiceRequest.id This element is included in summaries. 0..1 id Logical id of this artifact
ServiceRequest.meta This element is included in summaries. 0..1 Meta Metadata about the resource
ServiceRequest.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
ServiceRequest.language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
ServiceRequest.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
ServiceRequest.contained 0..* Resource Contained, inline Resources
ServiceRequest.Slices for identifier This element is included in summaries. 1..* Identifier Identifiers assigned to this order
Slice: Unordered, Closed by value:use
ServiceRequest.Slices for identifier.identifier:senaiteId This element is included in summaries. 1..1 Identifier SENAITE-assigned Analysis ID
ServiceRequest.Slices for identifier.identifier:senaiteId.id 0..1 id Unique id for inter-element referencing
ServiceRequest.Slices for identifier.identifier:senaiteId.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.Slices for identifier.identifier:senaiteId.use This element is a modifier element. This element is included in summaries. 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: usual (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
ServiceRequest.Slices for identifier.identifier:senaiteId.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Fixed Value: https://fhir.senaite.org/NamingSystem/analysis-id (no extensions allowed)
ServiceRequest.Slices for identifier.identifier:senaiteId.value This element is included in summaries. C 1..1 string The value that is unique
Example General: 123456
ServiceRequest.basedOn This element is included in summaries. 0..1 Reference(SENAITE Service Request) Parent external order, if one exists
ServiceRequest.status This element is a modifier element. This element is included in summaries. 1..1 code active | completed | revoked | entered-in-error
Binding: RequestStatus (required): The status of a service order.
ServiceRequest.intent This element is a modifier element. This element is included in summaries. 1..1 code filler-order — SENAITE-generated, device-scoped work unit
Binding: RequestIntent (required): The kind of service request.
Fixed Value: filler-order (no extensions allowed)
ServiceRequest.category This element is included in summaries. 1..1 CodeableConcept Classification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.
ServiceRequest.category.id 0..1 id Unique id for inter-element referencing
ServiceRequest.category.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.category.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
ServiceRequest.category.coding.id 0..1 id Unique id for inter-element referencing
ServiceRequest.category.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.category.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct (no extensions allowed)
ServiceRequest.category.coding.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Fixed Value: 108252007 (no extensions allowed)
ServiceRequest.category.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.category.text This element is included in summaries. 0..1 string Plain text representation of the concept
Fixed Value: Laboratory procedure (no extensions allowed)
ServiceRequest.priority This element is included in summaries. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
ServiceRequest.code This element is included in summaries. C 1..1 CodeableReference(ActivityDefinition | PlanDefinition) ​What is being requested/ordered
Binding: ProcedureCodesSNOMEDCT (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.
ServiceRequest.code.id 0..1 id Unique id for inter-element referencing
ServiceRequest.code.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.code.concept This element is included in summaries. 0..1 CodeableConcept Reference to a concept (by class)
ServiceRequest.code.concept.id 0..1 id Unique id for inter-element referencing
ServiceRequest.code.concept.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.code.concept.Slices for coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
ServiceRequest.code.concept.Slices for coding.coding:loinc This element is included in summaries. 1..1 Coding Code defined by a terminology system
Binding: http://loinc.org (preferred)
ServiceRequest.code.concept.Slices for coding.coding:loinc.id 0..1 id Unique id for inter-element referencing
ServiceRequest.code.concept.Slices for coding.coding:loinc.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.code.concept.Slices for coding.coding:loinc.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org (no extensions allowed)
ServiceRequest.code.concept.Slices for coding.coding:loinc.version This element is included in summaries. 0..1 string Version of the system - if relevant
ServiceRequest.code.concept.Slices for coding.coding:loinc.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
ServiceRequest.code.concept.Slices for coding.coding:loinc.display This element is included in summaries. C 0..1 string Representation defined by the system
ServiceRequest.code.concept.Slices for coding.coding:loinc.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
ServiceRequest.code.concept.Slices for coding.coding:keyword This element is included in summaries. 0..1 Coding Code defined by a terminology system
ServiceRequest.code.concept.Slices for coding.coding:keyword.id 0..1 id Unique id for inter-element referencing
ServiceRequest.code.concept.Slices for coding.coding:keyword.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.code.concept.Slices for coding.coding:keyword.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: https://fhir.senaite.org/CodeSystem/analysis-keyword (no extensions allowed)
ServiceRequest.code.concept.Slices for coding.coding:keyword.version This element is included in summaries. 0..1 string Version of the system - if relevant
ServiceRequest.code.concept.Slices for coding.coding:keyword.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
ServiceRequest.code.concept.Slices for coding.coding:keyword.display This element is included in summaries. C 0..1 string Representation defined by the system
ServiceRequest.code.concept.Slices for coding.coding:keyword.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
ServiceRequest.code.concept.text This element is included in summaries. 0..1 string Plain text representation of the concept
ServiceRequest.code.reference This element is included in summaries. 0..1 Reference() Reference to a resource (by instance)
ServiceRequest.subject This element is included in summaries. 1..1 Reference(Patient | Group | Location | Device) Individual or Entity the service is ordered for
ServiceRequest.subject.id 0..1 id Unique id for inter-element referencing
ServiceRequest.subject.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.subject.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Constraints: subject-identified
ServiceRequest.subject.display This element is included in summaries. C 0..1 string Text alternative for the resource
ServiceRequest.focus This element is included in summaries. 0..* Reference(Resource) What the service request is about, when it is not about the subject of record
ServiceRequest.authoredOn This element is included in summaries. 0..1 dateTime Date request signed
ServiceRequest.performer This element is included in summaries. 1..1 Reference(Senaite Device) The laboratory instrument assigned to run this test
ServiceRequest.specimen This element is included in summaries. 1..1 Reference(Specimen) Procedure Samples
ServiceRequest.specimen.id 0..1 id Unique id for inter-element referencing
ServiceRequest.specimen.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
ServiceRequest.specimen.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
ServiceRequest.specimen.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
ServiceRequest.specimen.identifier This element is included in summaries. C 0..1 Identifier Logical reference, when literal reference is not known
ServiceRequest.specimen.display This element is included in summaries. C 0..1 string Text alternative for the resource
ServiceRequest.bodyStructure This element is included in summaries. C 0..1 Reference(BodyStructure) BodyStructure-based location on the body
ServiceRequest.note 0..* Annotation Comments
ServiceRequest.note.id 0..1 id Unique id for inter-element referencing
ServiceRequest.note.extension 0..0 Extension
Slice: Unordered, Open by value:url
ServiceRequest.note.text This element is included in summaries. 1..1 markdown The annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ServiceRequest.language Base required All Languages 📍5.0.0 FHIR Std.
ServiceRequest.identifier:senaiteId.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
ServiceRequest.identifier:senaiteId.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
ServiceRequest.status Base required RequestStatus 📍5.0.0 FHIR Std.
ServiceRequest.intent Base required RequestIntent 📍5.0.0 FHIR Std.
ServiceRequest.category Base example Service Request Category Codes 📍5.0.0 FHIR Std.
ServiceRequest.priority Base required RequestPriority 📍5.0.0 FHIR Std.
ServiceRequest.code Base example Procedure Codes (SNOMED CT) 📍5.0.0 FHIR Std.
ServiceRequest.code.​concept.coding:loinc Base preferred http://loinc.org Not State Unknown
ServiceRequest.orderDetail.​parameter.code Base example Servicerequest OrderDetail Parameter Code 📍5.0.0 FHIR Std.
ServiceRequest.specimen.​type Base extensible Resource Types 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
bdystr-1 error ServiceRequest bodyStructure SHALL only be present if bodySite is not present bodySite.exists() implies bodyStructure.empty()
dom-2 error ServiceRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ServiceRequest If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ServiceRequest If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ServiceRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ServiceRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
prr-1 error ServiceRequest orderDetail SHALL only be present if code is present orderDetail.empty() or code.exists()
subject-identified error ServiceRequest.subject.reference If there is no identifier then it must have a key hasValue() or subject.identifier.count()

This structure is derived from ServiceRequest

Summary

Mandatory: 9 elements(4 nested mandatory elements)
Fixed: 9 elements
Prohibited: 32 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ServiceRequest.identifier (Closed)
  • The element 1 is sliced based on the value of ServiceRequest.code.concept.coding

 

Other representations of profile: CSV, Excel, Schematron