Skip to main content

ServiceRequest

ResourceClinical · Care ProvisionTrial useMaturity 2

A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
21 of 21 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..*IdentifierIdentifiers assigned to this order
instantiatesCanonicalΣ
0..*canonical(ActivityDefinition | PlanDefinition)Instantiates FHIR protocol or definition
instantiatesUriΣ
0..*uriInstantiates external protocol or definition
basedOnΣ
0..*Reference(CarePlan | ServiceRequest | MedicationRequest)What request fulfills
replacesΣ
0..*Reference(ServiceRequest)What request replaces
requisitionΣ
0..1IdentifierComposite Request ID
statusRequired?!Σ
1..1codedraft | active | on-hold | revoked | completed | entered-in-error | unknownBinding (required): request-status
intentRequired?!Σ
1..1codeproposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | optionBinding (required): request-intent
categoryΣ
0..*CodeableConceptClassification of serviceBinding (example): servicerequest-category
priorityΣ
0..1coderoutine | urgent | asap | statBinding (required): request-priority
doNotPerform?!Σ
0..1booleanTrue if service/procedure should not be performed
codeΣ
0..1CodeableConceptWhat is being requested/orderedBinding (example): procedure-code
orderDetailΣ
0..*CodeableConceptAdditional order informationBinding (example): servicerequest-orderdetail
quantity[x]Σ
0..1Quantity | Ratio | RangeService amount
subjectRequiredΣ
1..1Reference(Patient | Group | Location | Device)Individual or Entity the service is ordered for
encounterΣ
0..1Reference(Encounter)Encounter in which the request was created
occurrence[x]Σ
0..1dateTime | Period | TimingWhen service should occur
asNeeded[x]Σ
0..1boolean | CodeableConceptPreconditions for serviceBinding (example): medication-as-needed-reason
authoredOnΣ
0..1dateTimeDate request signed
requesterΣ
0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Who/what is requesting service
performerTypeΣ
0..1CodeableConceptPerformer roleBinding (example): participant-role
performerΣ
0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson)Requested performer
locationCodeΣ
0..*CodeableConceptRequested locationBinding (example): v3-ServiceDeliveryLocationRoleType
locationReferenceΣ
0..*Reference(Location)Requested location
reasonCodeΣ
0..*CodeableConceptExplanation/Justification for procedure or serviceBinding (example): procedure-reason
reasonReferenceΣ
0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Explanation/Justification for service or service
insurance
0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
supportingInfo
0..*Reference(Resource)Additional clinical information
specimenΣ
0..*Reference(Specimen)Procedure Samples
bodySiteΣ
0..*CodeableConceptLocation on BodyBinding (example): body-site
note
0..*AnnotationComments
patientInstructionΣ
0..1stringPatient or consumer-oriented instructions
relevantHistory
0..*Reference(Provenance)Request provenance

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/ServiceRequest?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
authoreddate

Date request signed

ServiceRequest.authoredOn
based-onreference

What request fulfills

ServiceRequest.basedOn
body-sitetoken

Where procedure is going to be done

ServiceRequest.bodySite
categorytoken

Classification of service

ServiceRequest.category
codetoken

What is being requested/ordered

ServiceRequest.code
encounterreference

An encounter in which this request is made

ServiceRequest.encounter
identifiertoken

Identifiers assigned to this order

ServiceRequest.identifier
instantiates-canonicalreference

Instantiates FHIR protocol or definition

ServiceRequest.instantiatesCanonical
instantiates-uriuri

Instantiates external protocol or definition

ServiceRequest.instantiatesUri
intenttoken

proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option

ServiceRequest.intent
occurrencedate

When service should occur

ServiceRequest.occurrence
patientreference

Search by subject - a patient

ServiceRequest.subject.where(resolve() is Patient)
performerreference

Requested performer

ServiceRequest.performer
performer-typetoken

Performer role

ServiceRequest.performerType
prioritytoken

routine | urgent | asap | stat

ServiceRequest.priority
replacesreference

What request replaces

ServiceRequest.replaces
requesterreference

Who/what is requesting service

ServiceRequest.requester
requisitiontoken

Composite Request ID

ServiceRequest.requisition
specimenreference

Specimen to be tested

ServiceRequest.specimen
statustoken

draft | active | on-hold | revoked | completed | entered-in-error | unknown

ServiceRequest.status
subjectreference

Search by subject

ServiceRequest.subject

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition