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
| Official URL: https://fhir.senaite.org/StructureDefinition/SenaiteServiceRequestRevocation | Version: 0.1.0 | |||
| Draft as of 2026-11-05 | Computable Name: SenaiteServiceRequestRevocation | |||
The ServiceRequest resource returned by the server in the 200 OK response body after a successful $revoke operation. Identical to SenaiteServiceRequest but with status fixed to revoked, meta.versionId and meta.lastUpdated required to confirm the update was applied, and note optionally populated with the plain-text reason supplied to the $revoke operation.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | SenaiteServiceRequest | A request for a service to be performed Constraints: bdystr-1, prr-1, status-revoked |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
1..1 | Reference(SenaiteOrganization) | The submitting client organisation URL: https://fhir.senaite.org/StructureDefinition/SenaiteClient | |
![]() ![]() |
1..1 | code | draft | active | on-hold | revoked | entered-in-error Binding: RequestStatus (required): The status of a service order. Fixed Value: revoked (no extensions allowed) | |
![]() ![]() |
1..1 | code | order | reflex-order Binding: RequestIntent (required): The kind of service request. Fixed Value: order (no extensions allowed) | |
![]() ![]() |
1..1 | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (required): Classification of the requested service. | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept Fixed Value: Laboratory procedure (no extensions allowed) | |
![]() ![]() |
C | 1..1 | CodeableReference(ActivityDefinition | PlanDefinition) | What is being requested/ordered Binding: http://loinc.org (preferred): For laboratory codes |
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | Reference(Patient | Group | Location | Device) | Individual or Entity the service is ordered for | |
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL Constraints: subject-identified |
![]() ![]() |
1..1 | Reference(Specimen) | Procedure Samples | |
![]() ![]() ![]() |
C | 1..1 | string | Literal reference, Relative, internal or absolute URL |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| ServiceRequest.status | Base | required | RequestStatus | 📍5.0.0 | FHIR Std. |
| ServiceRequest.intent | Base | required | RequestIntent | 📍5.0.0 | FHIR Std. |
| ServiceRequest.category | Base | required | Service Request Category Codes | 📦5.0.0 | FHIR Std. |
| ServiceRequest.code | Base | preferred | http://loinc.org | Not State | Unknown |
| 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()
|
| status-revoked | error | ServiceRequest | ServiceRequest.status must be revoked |
status = 'revoked'
|
| 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 SenaiteServiceRequest
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | SenaiteServiceRequest | A request for a service to be performed Constraints: status-revoked |
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | id | Version specific identifier | |
![]() ![]() ![]() |
1..1 | instant | When the resource version last changed | |
![]() ![]() |
1..1 | code | draft | active | on-hold | revoked | entered-in-error Fixed Value: revoked (no extensions allowed) | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| status-revoked | error | ServiceRequest | ServiceRequest.status must be revoked |
status = 'revoked'
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | SenaiteServiceRequest | A request for a service to be performed Constraints: bdystr-1, prr-1, status-revoked | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
1..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | Reference(SenaiteOrganization) | The submitting client organisation URL: https://fhir.senaite.org/StructureDefinition/SenaiteClient | |||||
![]() ![]() |
0..1 | Identifier | Order grouping identifier, shared by the ServiceRequests of one multi-tube order | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://fhir.senaite.org/NamingSystem/sample-group-id (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 1..1 | string | Requisition value — alphanumeric and hyphens only Example General: 123456 | ||||
![]() ![]() |
1..1 | code | draft | active | on-hold | revoked | entered-in-error Binding: RequestStatus (required): The status of a service order. Fixed Value: revoked (no extensions allowed) | |||||
![]() ![]() |
1..1 | code | order | reflex-order Binding: RequestIntent (required): The kind of service request. Fixed Value: order (no extensions allowed) | |||||
![]() ![]() |
1..1 | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (required): Classification of the requested service. | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system Fixed Value: 108252007 (no extensions allowed) | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system Fixed Value: Laboratory procedure (no extensions allowed) | ||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept Fixed Value: Laboratory procedure (no extensions allowed) | |||||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | |||||
![]() ![]() |
C | 1..1 | CodeableReference(ActivityDefinition | PlanDefinition) | What is being requested/ordered Binding: http://loinc.org (preferred): For laboratory codes | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reference to a concept (by class) | |||||
![]() ![]() ![]() |
0..1 | Reference() | Reference to a resource (by instance) | |||||
![]() ![]() |
C | 0..* | BackboneElement | Additional order information | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
1..* | BackboneElement | The parameter details for the service being requested | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The detail of the order being requested Binding: ServiceRequestOrderDetailParameterCode (example): Codes for order detail parameters. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The value for the order detail Binding: http://loinc.org (preferred): LOINC codes for individual laboratory tests | |||||
![]() ![]() |
1..1 | Reference(Patient | Group | Location | Device) | Individual or Entity the service is ordered for | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL Constraints: subject-identified | ||||
![]() ![]() ![]() |
C | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | Reference(Resource) | What the service request is about, when it is not about the subject of record | |||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/what is requesting service | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
C | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
1..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). Fixed Value: Practitioner (no extensions allowed) | |||||
![]() ![]() |
1..1 | Reference(Specimen) | Procedure Samples | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
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). | |||||
![]() ![]() ![]() |
C | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
C | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
C | 0..1 | Reference(BodyStructure) | BodyStructure-based location on the body | ||||
![]() ![]() |
0..* | Annotation | Comments | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
1..1 | markdown | The annotation - text content (as markdown) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| ServiceRequest.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | FHIR Std. |
| ServiceRequest.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| ServiceRequest.language | Base | required | All Languages | 📍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 | required | Service Request Category Codes | 📦5.0.0 | FHIR Std. |
| ServiceRequest.priority | Base | required | RequestPriority | 📍5.0.0 | FHIR Std. |
| ServiceRequest.code | Base | preferred | http://loinc.org | Not State | Unknown |
| ServiceRequest.orderDetail.parameter.code | Base | example | Servicerequest OrderDetail Parameter Code | 📍5.0.0 | FHIR Std. |
| ServiceRequest.orderDetail.parameter.value[x] | Base | preferred | http://loinc.org | Not State | Unknown |
| ServiceRequest.requester.type | Base | extensible | Resource Types | 📍5.0.0 | FHIR Std. |
| ServiceRequest.specimen.type | Base | extensible | Resource Types | 📍5.0.0 | FHIR Std. |
| 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()
|
| status-revoked | error | ServiceRequest | ServiceRequest.status must be revoked |
status = 'revoked'
|
| 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 SenaiteServiceRequest
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | SenaiteServiceRequest | A request for a service to be performed Constraints: bdystr-1, prr-1, status-revoked |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
1..1 | Reference(SenaiteOrganization) | The submitting client organisation URL: https://fhir.senaite.org/StructureDefinition/SenaiteClient | |
![]() ![]() |
1..1 | code | draft | active | on-hold | revoked | entered-in-error Binding: RequestStatus (required): The status of a service order. Fixed Value: revoked (no extensions allowed) | |
![]() ![]() |
1..1 | code | order | reflex-order Binding: RequestIntent (required): The kind of service request. Fixed Value: order (no extensions allowed) | |
![]() ![]() |
1..1 | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (required): Classification of the requested service. | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept Fixed Value: Laboratory procedure (no extensions allowed) | |
![]() ![]() |
C | 1..1 | CodeableReference(ActivityDefinition | PlanDefinition) | What is being requested/ordered Binding: http://loinc.org (preferred): For laboratory codes |
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | Reference(Patient | Group | Location | Device) | Individual or Entity the service is ordered for | |
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL Constraints: subject-identified |
![]() ![]() |
1..1 | Reference(Specimen) | Procedure Samples | |
![]() ![]() ![]() |
C | 1..1 | string | Literal reference, Relative, internal or absolute URL |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| ServiceRequest.status | Base | required | RequestStatus | 📍5.0.0 | FHIR Std. |
| ServiceRequest.intent | Base | required | RequestIntent | 📍5.0.0 | FHIR Std. |
| ServiceRequest.category | Base | required | Service Request Category Codes | 📦5.0.0 | FHIR Std. |
| ServiceRequest.code | Base | preferred | http://loinc.org | Not State | Unknown |
| 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()
|
| status-revoked | error | ServiceRequest | ServiceRequest.status must be revoked |
status = 'revoked'
|
| 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 SenaiteServiceRequest
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | SenaiteServiceRequest | A request for a service to be performed Constraints: status-revoked |
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | id | Version specific identifier | |
![]() ![]() ![]() |
1..1 | instant | When the resource version last changed | |
![]() ![]() |
1..1 | code | draft | active | on-hold | revoked | entered-in-error Fixed Value: revoked (no extensions allowed) | |
Documentation for this format | ||||
| Id | Grade | Path(s) | Description | Expression |
| status-revoked | error | ServiceRequest | ServiceRequest.status must be revoked |
status = 'revoked'
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | SenaiteServiceRequest | A request for a service to be performed Constraints: bdystr-1, prr-1, status-revoked | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
1..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | Reference(SenaiteOrganization) | The submitting client organisation URL: https://fhir.senaite.org/StructureDefinition/SenaiteClient | |||||
![]() ![]() |
0..1 | Identifier | Order grouping identifier, shared by the ServiceRequests of one multi-tube order | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://fhir.senaite.org/NamingSystem/sample-group-id (no extensions allowed) | |||||
![]() ![]() ![]() |
C | 1..1 | string | Requisition value — alphanumeric and hyphens only Example General: 123456 | ||||
![]() ![]() |
1..1 | code | draft | active | on-hold | revoked | entered-in-error Binding: RequestStatus (required): The status of a service order. Fixed Value: revoked (no extensions allowed) | |||||
![]() ![]() |
1..1 | code | order | reflex-order Binding: RequestIntent (required): The kind of service request. Fixed Value: order (no extensions allowed) | |||||
![]() ![]() |
1..1 | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (required): Classification of the requested service. | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identity of the terminology system Fixed Value: http://snomed.info/sct (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | code | Symbol in syntax defined by the system Fixed Value: 108252007 (no extensions allowed) | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | string | Representation defined by the system Fixed Value: Laboratory procedure (no extensions allowed) | ||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept Fixed Value: Laboratory procedure (no extensions allowed) | |||||
![]() ![]() |
0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | |||||
![]() ![]() |
C | 1..1 | CodeableReference(ActivityDefinition | PlanDefinition) | What is being requested/ordered Binding: http://loinc.org (preferred): For laboratory codes | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Reference to a concept (by class) | |||||
![]() ![]() ![]() |
0..1 | Reference() | Reference to a resource (by instance) | |||||
![]() ![]() |
C | 0..* | BackboneElement | Additional order information | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
1..* | BackboneElement | The parameter details for the service being requested | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The detail of the order being requested Binding: ServiceRequestOrderDetailParameterCode (example): Codes for order detail parameters. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The value for the order detail Binding: http://loinc.org (preferred): LOINC codes for individual laboratory tests | |||||
![]() ![]() |
1..1 | Reference(Patient | Group | Location | Device) | Individual or Entity the service is ordered for | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL Constraints: subject-identified | ||||
![]() ![]() ![]() |
C | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | Reference(Resource) | What the service request is about, when it is not about the subject of record | |||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/what is requesting service | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
C | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
1..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). Fixed Value: Practitioner (no extensions allowed) | |||||
![]() ![]() |
1..1 | Reference(Specimen) | Procedure Samples | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 1..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
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). | |||||
![]() ![]() ![]() |
C | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
C | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
C | 0..1 | Reference(BodyStructure) | BodyStructure-based location on the body | ||||
![]() ![]() |
0..* | Annotation | Comments | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() |
1..1 | markdown | The annotation - text content (as markdown) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| ServiceRequest.meta.security | Base | extensible | All Security Labels | 📍5.0.0 | FHIR Std. |
| ServiceRequest.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| ServiceRequest.language | Base | required | All Languages | 📍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 | required | Service Request Category Codes | 📦5.0.0 | FHIR Std. |
| ServiceRequest.priority | Base | required | RequestPriority | 📍5.0.0 | FHIR Std. |
| ServiceRequest.code | Base | preferred | http://loinc.org | Not State | Unknown |
| ServiceRequest.orderDetail.parameter.code | Base | example | Servicerequest OrderDetail Parameter Code | 📍5.0.0 | FHIR Std. |
| ServiceRequest.orderDetail.parameter.value[x] | Base | preferred | http://loinc.org | Not State | Unknown |
| ServiceRequest.requester.type | Base | extensible | Resource Types | 📍5.0.0 | FHIR Std. |
| ServiceRequest.specimen.type | Base | extensible | Resource Types | 📍5.0.0 | FHIR Std. |
| 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()
|
| status-revoked | error | ServiceRequest | ServiceRequest.status must be revoked |
status = 'revoked'
|
| 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 SenaiteServiceRequest
Other representations of profile: CSV, Excel, Schematron