Physical Activity Implementation Guide
1.0.1 - STU Release 1 United States of America flag

Physical Activity Implementation Guide, published by HL7 International / Patient Care. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/physical-activity/ and changes regularly. See the Directory of published versions

Resource Profile: PA Service Request

Official URL: http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-servicerequest Version: 1.0.1
Standards status: Trial-use Maturity Level: 2 Computable Name: PAServiceRequest

Represents orders and referrals for interventions that help to improve or maintain a patient’s level of physical activity

This resource is used both for exercise prescriptions where the performer is the Patient, as well as for referrals, where the performer will be a Practitioner, PractitionerRole, Organization or unspecified. In the case of referrals, the resource will be used in the workflow described here.

Usage:

Formal Views of Profile Content

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

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
pa-sr-1: At least one of reasonCode or reasonReference must be provided
... implicitRules 0..0
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... pertainsToGoal S0..*Reference(Goal)Pertains to goal
URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal
.... value[x] 1..1ReferenceRest(PA Goal)Value of extension
.... value[x] 1..1Reference(PA Related Person)Value of extension
... modifierExtension 0..0
... status S1..1codedraft | active | on-hold | revoked | completed | entered-in-error
Binding: PA ServiceRequest Status (required)
... intent S1..1codeoriginal-order | order | filler-order
Binding: PA ServiceRequest Intents (required)
... Slices for category 1..*CodeableConceptClassification of service
Slice: Unordered, Open by pattern:$this
.... category:PA S1..1CodeableConceptClassification of service
Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
.... category:USCore 0..*CodeableConceptClassification of service
Binding: PA ServiceRequest Category - USCore (required)
... priority S0..1coderoutine | urgent | asap | stat
... doNotPerform 0..0
... code S1..1CodeableConceptWhat is being requested/ordered
Binding: PA ServiceRequest Intervention Codes (extensible)
... subject S1..1ReferenceRest(US Core Patient Profile)Individual or Entity the service is ordered for
... Slices for occurrence[x] S0..1When service should occur
Slice: Unordered, Open by type:$this
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod S
.... occurrenceTimingTiming
.... occurrence[x]:occurrencePeriod S0..1Period SWhen service should occur
..... start S0..1dateTimeStarting time with inclusive boundary
..... end S0..1dateTimeEnd time with inclusive boundary, if not ongoing
... authoredOn S1..1dateTimeDate request signed
... requester S1..1ReferenceRestOrLogical(US Core Practitioner Profile | US Core PractitionerRole Profile)Who/what is requesting service
... performer S0..*ReferenceRestOrLogical(US Core Patient Profile S | US Core Practitioner Profile S | US Core PractitionerRole Profile S | US Core Organization Profile S | PA Related Person)Requested performer
... reasonCode S0..*CodeableConceptExplanation/Justification for procedure or service
Binding: US Core Condition Code (extensible)
.... text S0..1stringPlain text representation of the concept
... Slices for reasonReference 0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Explanation/Justification for service or service
Slice: Unordered, Open by profile:resolve()
.... reasonReference:SupportedReasonReference S0..*Reference(US Core Condition Profile)Explanation/Justification for service or service
... Slices for supportingInfo 0..*ReferenceRest(Resource)Additional clinical information
Slice: Unordered, Open by profile:resolve()
.... supportingInfo:SupportedSupportingInfo S0..*ReferenceRest(PA Observation EVS Base)Additional clinical information
... specimen 0..0
... note 0..*AnnotationAdditional details about the service request
.... author[x] S1..1ReferenceRest(US Core Practitioner Profile S | US Core Organization Profile S)Individual responsible for the annotation
.... time S1..1dateTimeWhen the annotation was made
.... text S1..1markdownThe annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
ServiceRequest.statusrequiredPAServiceRequestStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-status
from this IG
ServiceRequest.intentrequiredPAServiceRequestIntent
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-intent
from this IG
ServiceRequest.category:USCorerequiredPAServiceRequestCategory
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-diagnosticreport-category
from this IG
ServiceRequest.codeextensiblePAServiceRequestInterventions
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-code
from this IG
ServiceRequest.reasonCodeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code

Constraints

IdGradePath(s)DetailsRequirements
pa-sr-1errorServiceRequestAt least one of reasonCode or reasonReference must be provided
: reasonCode.exists() or reasonReference.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
pa-sr-1: At least one of reasonCode or reasonReference must be provided
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... pertainsToGoal S0..*Reference(Goal)Pertains to goal
URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal"
.... value[x] 1..1ReferenceRest(PA Goal)Value of extension
... observationFocus 0..1base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, MetaOptional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus"
.... value[x] 1..1Reference(PA Related Person)Value of extension
... intent ?!SΣ1..1codeoriginal-order | order | filler-order
Binding: PA ServiceRequest Intents (required)
... Slices for category Σ1..*CodeableConceptClassification of service
Slice: Unordered, Open by pattern:$this
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.


.... category:PA SΣ1..1CodeableConceptClassification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.



Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
.... category:USCore Σ0..*CodeableConceptClassification of service
Binding: PA ServiceRequest Category - USCore (required)
... priority SΣ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... code SΣ1..1CodeableConceptWhat is being requested/ordered
Binding: PA ServiceRequest Intervention Codes (extensible)
... subject SΣ1..1ReferenceRest(US Core Patient Profile)Individual or Entity the service is ordered for
... Slices for occurrence[x] SΣ0..1When service should occur
Slice: Unordered, Open by type:$this
.... occurrencePeriodPeriod
.... occurrence[x]:occurrencePeriod SΣ0..1PeriodWhen service should occur
..... start SΣC0..1dateTimeStarting time with inclusive boundary
..... end SΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
... authoredOn SΣ1..1dateTimeDate request signed
... requester SΣ1..1ReferenceRestOrLogical(US Core Practitioner Profile | US Core PractitionerRole Profile)Who/what is requesting service
... performer SΣ0..*ReferenceRestOrLogical(US Core Patient Profile | US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Organization Profile)Requested performer
... reasonCode SΣ0..*CodeableConceptExplanation/Justification for procedure or service
Binding: US Core Condition Code (extensible)
.... text SΣ0..1stringPlain text representation of the concept
... Slices for reasonReference Σ0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Explanation/Justification for service or service
Slice: Unordered, Open by profile:resolve()
.... reasonReference:SupportedReasonReference SΣ0..*Reference(US Core Condition Profile)Explanation/Justification for service or service
... Slices for supportingInfo 0..*ReferenceRest(Resource)Additional clinical information
Slice: Unordered, Open by profile:resolve()
.... supportingInfo:SupportedSupportingInfo S0..*ReferenceRest(PA Observation EVS Base)Additional clinical information
... note 0..*AnnotationAdditional details about the service request
.... author[x] SΣ1..1ReferenceRest(US Core Practitioner Profile | US Core Organization Profile)Individual responsible for the annotation
.... time SΣ1..1dateTimeWhen the annotation was made
.... text SΣ1..1markdownThe annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.statusrequiredPAServiceRequestStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-status
from this IG
ServiceRequest.intentrequiredPAServiceRequestIntent
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-intent
from this IG
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:PAexamplePattern: PhysicalActivity
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:USCorerequiredPAServiceRequestCategory
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-diagnosticreport-category
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.codeextensiblePAServiceRequestInterventions
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-code
from this IG
ServiceRequest.reasonCodeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
pa-sr-1errorServiceRequestAt least one of reasonCode or reasonReference must be provided
: reasonCode.exists() or reasonReference.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
pa-sr-1: At least one of reasonCode or reasonReference must be provided
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... pertainsToGoal S0..*Reference(Goal)Pertains to goal
URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal"
.... value[x] 1..1ReferenceRest(PA Goal)Value of extension
... observationFocus 0..1base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, MetaOptional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus"
.... value[x] 1..1Reference(PA Related Person)Value of extension
... 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
... status ?!SΣ1..1codedraft | active | on-hold | revoked | completed | entered-in-error
Binding: PA ServiceRequest Status (required)
... intent ?!SΣ1..1codeoriginal-order | order | filler-order
Binding: PA ServiceRequest Intents (required)
... Slices for category Σ1..*CodeableConceptClassification of service
Slice: Unordered, Open by pattern:$this
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.


.... category:PA SΣ1..1CodeableConceptClassification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.



Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... text0..1stringPlain text representation of the concept
.... category:USCore Σ0..*CodeableConceptClassification of service
Binding: PA ServiceRequest Category - USCore (required)
... priority SΣ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... code SΣ1..1CodeableConceptWhat is being requested/ordered
Binding: PA ServiceRequest Intervention Codes (extensible)
... orderDetail ΣC0..*CodeableConceptAdditional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... quantity[x] Σ0..1Service amount
.... quantityQuantityQuantity
.... quantityRatioRatio
.... quantityRangeRange
... subject SΣ1..1ReferenceRest(US Core Patient Profile)Individual or Entity the service is ordered for
... encounter Σ0..1Reference(Encounter)Encounter in which the request was created
... Slices for occurrence[x] SΣ0..1When service should occur
Slice: Unordered, Open by type:$this
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod S
.... occurrenceTimingTiming
.... occurrence[x]:occurrencePeriod SΣ0..1Period SWhen service should occur
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... start SΣC0..1dateTimeStarting time with inclusive boundary
..... end SΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
... asNeeded[x] Σ0..1Preconditions for service
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc.

.... asNeededBooleanboolean
.... asNeededCodeableConceptCodeableConcept
... authoredOn SΣ1..1dateTimeDate request signed
... requester SΣ1..1ReferenceRestOrLogical(US Core Practitioner Profile | US Core PractitionerRole Profile)Who/what is requesting service
... performerType Σ0..1CodeableConceptPerformer role
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.

... performer SΣ0..*ReferenceRestOrLogical(US Core Patient Profile S | US Core Practitioner Profile S | US Core PractitionerRole Profile S | US Core Organization Profile S | PA Related Person)Requested performer
... locationCode Σ0..*CodeableConceptRequested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.


... locationReference Σ0..*Reference(Location)Requested location
... reasonCode SΣ0..*CodeableConceptExplanation/Justification for procedure or service
Binding: US Core Condition Code (extensible)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text SΣ0..1stringPlain text representation of the concept
... Slices for reasonReference Σ0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Explanation/Justification for service or service
Slice: Unordered, Open by profile:resolve()
.... reasonReference:SupportedReasonReference SΣ0..*Reference(US Core Condition Profile)Explanation/Justification for service or service
... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... Slices for supportingInfo 0..*ReferenceRest(Resource)Additional clinical information
Slice: Unordered, Open by profile:resolve()
.... supportingInfo:SupportedSupportingInfo S0..*ReferenceRest(PA Observation EVS Base)Additional clinical information
... bodySite Σ0..*CodeableConceptLocation on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... note 0..*AnnotationAdditional details about the service request
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] SΣ1..1ReferenceRest(US Core Practitioner Profile S | US Core Organization Profile S)Individual responsible for the annotation
.... time SΣ1..1dateTimeWhen the annotation was made
.... text SΣ1..1markdownThe annotation - text content (as markdown)
... patientInstruction Σ0..1stringPatient or consumer-oriented instructions
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
ServiceRequest.statusrequiredPAServiceRequestStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-status
from this IG
ServiceRequest.intentrequiredPAServiceRequestIntent
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-intent
from this IG
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:PAexamplePattern: PhysicalActivity
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:USCorerequiredPAServiceRequestCategory
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-diagnosticreport-category
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.codeextensiblePAServiceRequestInterventions
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-code
from this IG
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
from the FHIR Standard
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
ServiceRequest.performerTypeexampleParticipantRoles
http://hl7.org/fhir/ValueSet/participant-role
from the FHIR Standard
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
pa-sr-1errorServiceRequestAt least one of reasonCode or reasonReference must be provided
: reasonCode.exists() or reasonReference.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

This structure is derived from ServiceRequest

Summary

Mandatory: 5 elements (2 nested mandatory elements)
Must-Support: 21 elements
Prohibited: 4 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element ServiceRequest.category is sliced based on the value of pattern:$this
  • The element ServiceRequest.occurrence[x] is sliced based on the value of type:$this
  • The element ServiceRequest.reasonReference is sliced based on the value of profile:resolve()
  • The element ServiceRequest.supportingInfo is sliced based on the value of profile:resolve()

Maturity: 2

Differential View

This structure is derived from ServiceRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
pa-sr-1: At least one of reasonCode or reasonReference must be provided
... implicitRules 0..0
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... pertainsToGoal S0..*Reference(Goal)Pertains to goal
URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal
.... value[x] 1..1ReferenceRest(PA Goal)Value of extension
.... value[x] 1..1Reference(PA Related Person)Value of extension
... modifierExtension 0..0
... status S1..1codedraft | active | on-hold | revoked | completed | entered-in-error
Binding: PA ServiceRequest Status (required)
... intent S1..1codeoriginal-order | order | filler-order
Binding: PA ServiceRequest Intents (required)
... Slices for category 1..*CodeableConceptClassification of service
Slice: Unordered, Open by pattern:$this
.... category:PA S1..1CodeableConceptClassification of service
Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
.... category:USCore 0..*CodeableConceptClassification of service
Binding: PA ServiceRequest Category - USCore (required)
... priority S0..1coderoutine | urgent | asap | stat
... doNotPerform 0..0
... code S1..1CodeableConceptWhat is being requested/ordered
Binding: PA ServiceRequest Intervention Codes (extensible)
... subject S1..1ReferenceRest(US Core Patient Profile)Individual or Entity the service is ordered for
... Slices for occurrence[x] S0..1When service should occur
Slice: Unordered, Open by type:$this
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod S
.... occurrenceTimingTiming
.... occurrence[x]:occurrencePeriod S0..1Period SWhen service should occur
..... start S0..1dateTimeStarting time with inclusive boundary
..... end S0..1dateTimeEnd time with inclusive boundary, if not ongoing
... authoredOn S1..1dateTimeDate request signed
... requester S1..1ReferenceRestOrLogical(US Core Practitioner Profile | US Core PractitionerRole Profile)Who/what is requesting service
... performer S0..*ReferenceRestOrLogical(US Core Patient Profile S | US Core Practitioner Profile S | US Core PractitionerRole Profile S | US Core Organization Profile S | PA Related Person)Requested performer
... reasonCode S0..*CodeableConceptExplanation/Justification for procedure or service
Binding: US Core Condition Code (extensible)
.... text S0..1stringPlain text representation of the concept
... Slices for reasonReference 0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Explanation/Justification for service or service
Slice: Unordered, Open by profile:resolve()
.... reasonReference:SupportedReasonReference S0..*Reference(US Core Condition Profile)Explanation/Justification for service or service
... Slices for supportingInfo 0..*ReferenceRest(Resource)Additional clinical information
Slice: Unordered, Open by profile:resolve()
.... supportingInfo:SupportedSupportingInfo S0..*ReferenceRest(PA Observation EVS Base)Additional clinical information
... specimen 0..0
... note 0..*AnnotationAdditional details about the service request
.... author[x] S1..1ReferenceRest(US Core Practitioner Profile S | US Core Organization Profile S)Individual responsible for the annotation
.... time S1..1dateTimeWhen the annotation was made
.... text S1..1markdownThe annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
ServiceRequest.statusrequiredPAServiceRequestStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-status
from this IG
ServiceRequest.intentrequiredPAServiceRequestIntent
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-intent
from this IG
ServiceRequest.category:USCorerequiredPAServiceRequestCategory
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-diagnosticreport-category
from this IG
ServiceRequest.codeextensiblePAServiceRequestInterventions
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-code
from this IG
ServiceRequest.reasonCodeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code

Constraints

IdGradePath(s)DetailsRequirements
pa-sr-1errorServiceRequestAt least one of reasonCode or reasonReference must be provided
: reasonCode.exists() or reasonReference.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
pa-sr-1: At least one of reasonCode or reasonReference must be provided
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... pertainsToGoal S0..*Reference(Goal)Pertains to goal
URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal"
.... value[x] 1..1ReferenceRest(PA Goal)Value of extension
... observationFocus 0..1base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, MetaOptional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus"
.... value[x] 1..1Reference(PA Related Person)Value of extension
... intent ?!SΣ1..1codeoriginal-order | order | filler-order
Binding: PA ServiceRequest Intents (required)
... Slices for category Σ1..*CodeableConceptClassification of service
Slice: Unordered, Open by pattern:$this
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.


.... category:PA SΣ1..1CodeableConceptClassification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.



Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
.... category:USCore Σ0..*CodeableConceptClassification of service
Binding: PA ServiceRequest Category - USCore (required)
... priority SΣ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... code SΣ1..1CodeableConceptWhat is being requested/ordered
Binding: PA ServiceRequest Intervention Codes (extensible)
... subject SΣ1..1ReferenceRest(US Core Patient Profile)Individual or Entity the service is ordered for
... Slices for occurrence[x] SΣ0..1When service should occur
Slice: Unordered, Open by type:$this
.... occurrencePeriodPeriod
.... occurrence[x]:occurrencePeriod SΣ0..1PeriodWhen service should occur
..... start SΣC0..1dateTimeStarting time with inclusive boundary
..... end SΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
... authoredOn SΣ1..1dateTimeDate request signed
... requester SΣ1..1ReferenceRestOrLogical(US Core Practitioner Profile | US Core PractitionerRole Profile)Who/what is requesting service
... performer SΣ0..*ReferenceRestOrLogical(US Core Patient Profile | US Core Practitioner Profile | US Core PractitionerRole Profile | US Core Organization Profile)Requested performer
... reasonCode SΣ0..*CodeableConceptExplanation/Justification for procedure or service
Binding: US Core Condition Code (extensible)
.... text SΣ0..1stringPlain text representation of the concept
... Slices for reasonReference Σ0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Explanation/Justification for service or service
Slice: Unordered, Open by profile:resolve()
.... reasonReference:SupportedReasonReference SΣ0..*Reference(US Core Condition Profile)Explanation/Justification for service or service
... Slices for supportingInfo 0..*ReferenceRest(Resource)Additional clinical information
Slice: Unordered, Open by profile:resolve()
.... supportingInfo:SupportedSupportingInfo S0..*ReferenceRest(PA Observation EVS Base)Additional clinical information
... note 0..*AnnotationAdditional details about the service request
.... author[x] SΣ1..1ReferenceRest(US Core Practitioner Profile | US Core Organization Profile)Individual responsible for the annotation
.... time SΣ1..1dateTimeWhen the annotation was made
.... text SΣ1..1markdownThe annotation - text content (as markdown)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.statusrequiredPAServiceRequestStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-status
from this IG
ServiceRequest.intentrequiredPAServiceRequestIntent
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-intent
from this IG
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:PAexamplePattern: PhysicalActivity
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:USCorerequiredPAServiceRequestCategory
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-diagnosticreport-category
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.codeextensiblePAServiceRequestInterventions
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-code
from this IG
ServiceRequest.reasonCodeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
pa-sr-1errorServiceRequestAt least one of reasonCode or reasonReference must be provided
: reasonCode.exists() or reasonReference.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ServiceRequest C0..*ServiceRequestA request for a service to be performed
prr-1: orderDetail SHALL only be present if code is present
pa-sr-1: At least one of reasonCode or reasonReference must be provided
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... pertainsToGoal S0..*Reference(Goal)Pertains to goal
URL: http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal"
.... value[x] 1..1ReferenceRest(PA Goal)Value of extension
... observationFocus 0..1base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, MetaOptional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.focus"
.... value[x] 1..1Reference(PA Related Person)Value of extension
... 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
... status ?!SΣ1..1codedraft | active | on-hold | revoked | completed | entered-in-error
Binding: PA ServiceRequest Status (required)
... intent ?!SΣ1..1codeoriginal-order | order | filler-order
Binding: PA ServiceRequest Intents (required)
... Slices for category Σ1..*CodeableConceptClassification of service
Slice: Unordered, Open by pattern:$this
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.


.... category:PA SΣ1..1CodeableConceptClassification of service
Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.



Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/physical-activity/CodeSystem/pa-temporary-codes
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: PhysicalActivity
...... display0..1stringRepresentation defined by the system
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... text0..1stringPlain text representation of the concept
.... category:USCore Σ0..*CodeableConceptClassification of service
Binding: PA ServiceRequest Category - USCore (required)
... priority SΣ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... code SΣ1..1CodeableConceptWhat is being requested/ordered
Binding: PA ServiceRequest Intervention Codes (extensible)
... orderDetail ΣC0..*CodeableConceptAdditional order information
Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.


... quantity[x] Σ0..1Service amount
.... quantityQuantityQuantity
.... quantityRatioRatio
.... quantityRangeRange
... subject SΣ1..1ReferenceRest(US Core Patient Profile)Individual or Entity the service is ordered for
... encounter Σ0..1Reference(Encounter)Encounter in which the request was created
... Slices for occurrence[x] SΣ0..1When service should occur
Slice: Unordered, Open by type:$this
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod S
.... occurrenceTimingTiming
.... occurrence[x]:occurrencePeriod SΣ0..1Period SWhen service should occur
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... start SΣC0..1dateTimeStarting time with inclusive boundary
..... end SΣC0..1dateTimeEnd time with inclusive boundary, if not ongoing
... asNeeded[x] Σ0..1Preconditions for service
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc.

.... asNeededBooleanboolean
.... asNeededCodeableConceptCodeableConcept
... authoredOn SΣ1..1dateTimeDate request signed
... requester SΣ1..1ReferenceRestOrLogical(US Core Practitioner Profile | US Core PractitionerRole Profile)Who/what is requesting service
... performerType Σ0..1CodeableConceptPerformer role
Binding: ParticipantRoles (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.

... performer SΣ0..*ReferenceRestOrLogical(US Core Patient Profile S | US Core Practitioner Profile S | US Core PractitionerRole Profile S | US Core Organization Profile S | PA Related Person)Requested performer
... locationCode Σ0..*CodeableConceptRequested location
Binding: ServiceDeliveryLocationRoleType (example): A location type where services are delivered.


... locationReference Σ0..*Reference(Location)Requested location
... reasonCode SΣ0..*CodeableConceptExplanation/Justification for procedure or service
Binding: US Core Condition Code (extensible)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text SΣ0..1stringPlain text representation of the concept
... Slices for reasonReference Σ0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)Explanation/Justification for service or service
Slice: Unordered, Open by profile:resolve()
.... reasonReference:SupportedReasonReference SΣ0..*Reference(US Core Condition Profile)Explanation/Justification for service or service
... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... Slices for supportingInfo 0..*ReferenceRest(Resource)Additional clinical information
Slice: Unordered, Open by profile:resolve()
.... supportingInfo:SupportedSupportingInfo S0..*ReferenceRest(PA Observation EVS Base)Additional clinical information
... bodySite Σ0..*CodeableConceptLocation on Body
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.


... note 0..*AnnotationAdditional details about the service request
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] SΣ1..1ReferenceRest(US Core Practitioner Profile S | US Core Organization Profile S)Individual responsible for the annotation
.... time SΣ1..1dateTimeWhen the annotation was made
.... text SΣ1..1markdownThe annotation - text content (as markdown)
... patientInstruction Σ0..1stringPatient or consumer-oriented instructions
... relevantHistory 0..*Reference(Provenance)Request provenance

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
ServiceRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
ServiceRequest.statusrequiredPAServiceRequestStatus
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-status
from this IG
ServiceRequest.intentrequiredPAServiceRequestIntent
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-intent
from this IG
ServiceRequest.categoryexampleServiceRequestCategoryCodes
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:PAexamplePattern: PhysicalActivity
http://hl7.org/fhir/ValueSet/servicerequest-category
from the FHIR Standard
ServiceRequest.category:USCorerequiredPAServiceRequestCategory
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-diagnosticreport-category
from this IG
ServiceRequest.priorityrequiredRequestPriority
http://hl7.org/fhir/ValueSet/request-priority|4.0.1
from the FHIR Standard
ServiceRequest.codeextensiblePAServiceRequestInterventions
http://hl7.org/fhir/us/physical-activity/ValueSet/pa-servicerequest-code
from this IG
ServiceRequest.orderDetailexampleServiceRequestOrderDetailsCodes
http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
from the FHIR Standard
ServiceRequest.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
http://hl7.org/fhir/ValueSet/medication-as-needed-reason
from the FHIR Standard
ServiceRequest.performerTypeexampleParticipantRoles
http://hl7.org/fhir/ValueSet/participant-role
from the FHIR Standard
ServiceRequest.locationCodeexampleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
ServiceRequest.reasonCodeextensibleUSCoreConditionCode
http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
ServiceRequest.bodySiteexampleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorServiceRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorServiceRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorServiceRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceServiceRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
pa-sr-1errorServiceRequestAt least one of reasonCode or reasonReference must be provided
: reasonCode.exists() or reasonReference.exists()
prr-1errorServiceRequestorderDetail SHALL only be present if code is present
: orderDetail.empty() or code.exists()

This structure is derived from ServiceRequest

Summary

Mandatory: 5 elements (2 nested mandatory elements)
Must-Support: 21 elements
Prohibited: 4 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element ServiceRequest.category is sliced based on the value of pattern:$this
  • The element ServiceRequest.occurrence[x] is sliced based on the value of type:$this
  • The element ServiceRequest.reasonReference is sliced based on the value of profile:resolve()
  • The element ServiceRequest.supportingInfo is sliced based on the value of profile:resolve()

Maturity: 2

 

Other representations of profile: CSV, Excel, Schematron