1.0.0 - release
            
          
CambioOpenServicesIG - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.cambio.se/StructureDefinition/ServiceRequestMicrobiology | Version: 1.0.0 | |||
| Active as of 2024-02-29 | Computable Name: ServiceRequestMicrobiology | |||
The ServiceRequestMicrobiology profile is used for retrieving data about a microbiology request. This profile is based on the FHIR resource ServiceRequest. The profile includes information like requester, status of the request, category and the code of the requested microbiology report, etc.The data available from COSMIC to this profile is only starting from R8.3.03 COSMIC release, information created before this release cannot be taken from this API.
This profile is created as a referenced profile for the DiagnosticReport profile related to microbiology. The microbiology request is the starting point of the microbiology report, so the request information is added to this profile and referenced in the basedOn field of the DiagnosticReport FHIR profile.
The intended use for reading data with this API is in first hand that the API is applied for direct access and should not be used to transfer data between caregivers. If it should be used for "data copying" between care providers, patient consent must be handled outside the API.
| Type | Description | 
|---|---|
| Rule | External user should not be someone else than the patient of which record the referral data belongs. E.g. A healthcare professional is not the intended user of the API. | 
| Rule | The consumer of the API is responsible for making sure data retrieved is filtered in compliance with laws and regulations prior to presenting it to any end-users. | 
| Rule | For reading microbiology requests, the external system needs to be able to evaluate PDL. This means whether the information can be displayed for a healthcare professional with a specific assignment. PDL data needed (HSA care unit and HSA care provider) is retrieved by including the organization referenced from ServiceRequest.performer.organization (OrganizationSEVendorLite). | 
| COS version | Profile version | Required COSMIC version | Date | Description | 
|---|---|---|---|---|
| 3.0.0 | 1.0.0 | R8.3.05 | May 2022 | initial version, support for GET | 
| FHIR status | Status in COSMIC | 
|---|---|
| Preliminary | Unsigned | 
| Active | Signed, Sent, Received, Booked, PreliminaryResultReceived | 
| Completed | ResultReceived, AdditionalResultReceived | 
| Revoked | Cancelled | 
| HTTP Method | Description | 
|---|---|
| GET | Support for retrieving ServiceRequestMicrobiology by ID | 
GET [baseURL]/ServiceRequest/[id] (Read)No specific error codes for ServiceRequestMicrobiology.
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..* | ServiceRequestRadiology | A request for a service to be performed Constraints: prr-1  | 
![]() ![]()  | 
Σ | 1..1 | id | Logical id of this artifact | 
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order.  | 
![]() ![]()  | 
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request.  | 
![]() ![]()  | 
?!Σ | 0..1 | boolean | True if service/procedure should not be performed | 
![]() ![]()  | 
Σ | 1..1 | Reference(Patient) | Individual or Entity the service is ordered for | 
![]() ![]()  | 
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Device) | Who/what is requesting service | 
![]() ![]()  | 
Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Requested performer | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1From the FHIR Standard  | |
| ServiceRequest.intent | required | RequestIntenthttp://hl7.org/fhir/ValueSet/request-intent|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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().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-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()  | 
This structure is derived from ServiceRequestRadiology
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | ServiceRequestRadiology | A request for a service to be performed | |
![]() ![]()  | 
0..1 | Reference(Practitioner | PractitionerRole | Organization | Device) | Who/what is requesting service | |
![]() ![]()  | 
0..* | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Requested performer | |
  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
C | 0..* | ServiceRequestRadiology | A request for a service to be performed Constraints: prr-1  | ||||
![]() ![]()  | 
Σ | 1..1 | id | Logical id of this artifact | ||||
![]() ![]()  | 
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]()  | 
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): 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 | |||||
![]() ![]()  | 
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]()  | 
Σ | 0..* | Identifier | Identifiers assigned to this order | ||||
![]() ![]()  | 
Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]()  | 
Σ | 0..1 | Identifier | Composite Request ID | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order.  | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request.  | ||||
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.  | ||||
![]() ![]()  | 
Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.  | ||||
![]() ![]()  | 
?!Σ | 0..1 | boolean | True if service/procedure should not be performed | ||||
![]() ![]()  | 
Σ | 0..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred.  | ||||
![]() ![]()  | 
ΣC | 0..* | CodeableConcept | Additional order information Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.  | ||||
![]() ![]()  | 
Σ | 1..1 | Reference(Patient) | Individual or Entity the service is ordered for | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Encounter) | Encounter in which the request was created | ||||
![]() ![]()  | 
Σ | 0..1 | When service should occur | |||||
![]() ![]() ![]()  | 
dateTime | |||||||
![]() ![]() ![]()  | 
Period | |||||||
![]() ![]() ![]()  | 
Timing | |||||||
![]() ![]()  | 
Σ | 0..1 | Preconditions for service Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc.  | |||||
![]() ![]() ![]()  | 
boolean | |||||||
![]() ![]() ![]()  | 
CodeableConcept | |||||||
![]() ![]()  | 
Σ | 0..1 | dateTime | Date request signed | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Device) | Who/what is requesting service | ||||
![]() ![]()  | 
Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Requested performer | ||||
![]() ![]()  | 
Σ | 0..* | Reference(Location) | Requested location | ||||
![]() ![]()  | 
Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service | ||||
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Location on Body Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.  | ||||
![]() ![]()  | 
0..* | Annotation | Comments | |||||
![]() ![]()  | 
Σ | 0..1 | string | Patient or consumer-oriented instructions | ||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet | URI | |||
| ServiceRequest.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1From the FHIR Standard  | ||||
| ServiceRequest.intent | required | RequestIntenthttp://hl7.org/fhir/ValueSet/request-intent|4.0.1From the FHIR Standard  | ||||
| ServiceRequest.category | example | ServiceRequestCategoryCodeshttp://hl7.org/fhir/ValueSet/servicerequest-categoryFrom the FHIR Standard  | ||||
| ServiceRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1From the FHIR Standard  | ||||
| ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-codeFrom the FHIR Standard  | ||||
| ServiceRequest.orderDetail | example | ServiceRequestOrderDetailsCodeshttp://hl7.org/fhir/ValueSet/servicerequest-orderdetailFrom the FHIR Standard  | ||||
| ServiceRequest.asNeeded[x] | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reasonFrom the FHIR Standard  | ||||
| ServiceRequest.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-siteFrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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().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-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()  | 
This structure is derived from ServiceRequestRadiology
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
C | 0..* | ServiceRequestRadiology | A request for a service to be performed Constraints: prr-1  | 
![]() ![]()  | 
Σ | 1..1 | id | Logical id of this artifact | 
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order.  | 
![]() ![]()  | 
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request.  | 
![]() ![]()  | 
?!Σ | 0..1 | boolean | True if service/procedure should not be performed | 
![]() ![]()  | 
Σ | 1..1 | Reference(Patient) | Individual or Entity the service is ordered for | 
![]() ![]()  | 
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Device) | Who/what is requesting service | 
![]() ![]()  | 
Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Requested performer | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1From the FHIR Standard  | |
| ServiceRequest.intent | required | RequestIntenthttp://hl7.org/fhir/ValueSet/request-intent|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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().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-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()  | 
Differential View
This structure is derived from ServiceRequestRadiology
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | ServiceRequestRadiology | A request for a service to be performed | |
![]() ![]()  | 
0..1 | Reference(Practitioner | PractitionerRole | Organization | Device) | Who/what is requesting service | |
![]() ![]()  | 
0..* | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Requested performer | |
  Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
C | 0..* | ServiceRequestRadiology | A request for a service to be performed Constraints: prr-1  | ||||
![]() ![]()  | 
Σ | 1..1 | id | Logical id of this artifact | ||||
![]() ![]()  | 
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]()  | 
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): 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 | |||||
![]() ![]()  | 
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]()  | 
Σ | 0..* | Identifier | Identifiers assigned to this order | ||||
![]() ![]()  | 
Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]()  | 
Σ | 0..1 | Identifier | Composite Request ID | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order.  | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request.  | ||||
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Classification of service Binding: ServiceRequestCategoryCodes (example): Classification of the requested service.  | ||||
![]() ![]()  | 
Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.  | ||||
![]() ![]()  | 
?!Σ | 0..1 | boolean | True if service/procedure should not be performed | ||||
![]() ![]()  | 
Σ | 0..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred.  | ||||
![]() ![]()  | 
ΣC | 0..* | CodeableConcept | Additional order information Binding: ServiceRequestOrderDetailsCodes (example): Codified order entry details which are based on order context.  | ||||
![]() ![]()  | 
Σ | 1..1 | Reference(Patient) | Individual or Entity the service is ordered for | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Encounter) | Encounter in which the request was created | ||||
![]() ![]()  | 
Σ | 0..1 | When service should occur | |||||
![]() ![]() ![]()  | 
dateTime | |||||||
![]() ![]() ![]()  | 
Period | |||||||
![]() ![]() ![]()  | 
Timing | |||||||
![]() ![]()  | 
Σ | 0..1 | Preconditions for service Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc.  | |||||
![]() ![]() ![]()  | 
boolean | |||||||
![]() ![]() ![]()  | 
CodeableConcept | |||||||
![]() ![]()  | 
Σ | 0..1 | dateTime | Date request signed | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Device) | Who/what is requesting service | ||||
![]() ![]()  | 
Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Requested performer | ||||
![]() ![]()  | 
Σ | 0..* | Reference(Location) | Requested location | ||||
![]() ![]()  | 
Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service | ||||
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Location on Body Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.  | ||||
![]() ![]()  | 
0..* | Annotation | Comments | |||||
![]() ![]()  | 
Σ | 0..1 | string | Patient or consumer-oriented instructions | ||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet | URI | |||
| ServiceRequest.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| ServiceRequest.status | required | RequestStatushttp://hl7.org/fhir/ValueSet/request-status|4.0.1From the FHIR Standard  | ||||
| ServiceRequest.intent | required | RequestIntenthttp://hl7.org/fhir/ValueSet/request-intent|4.0.1From the FHIR Standard  | ||||
| ServiceRequest.category | example | ServiceRequestCategoryCodeshttp://hl7.org/fhir/ValueSet/servicerequest-categoryFrom the FHIR Standard  | ||||
| ServiceRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|4.0.1From the FHIR Standard  | ||||
| ServiceRequest.code | example | ProcedureCodes(SNOMEDCT)http://hl7.org/fhir/ValueSet/procedure-codeFrom the FHIR Standard  | ||||
| ServiceRequest.orderDetail | example | ServiceRequestOrderDetailsCodeshttp://hl7.org/fhir/ValueSet/servicerequest-orderdetailFrom the FHIR Standard  | ||||
| ServiceRequest.asNeeded[x] | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reasonFrom the FHIR Standard  | ||||
| ServiceRequest.bodySite | example | SNOMEDCTBodyStructureshttp://hl7.org/fhir/ValueSet/body-siteFrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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().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-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()  | 
This structure is derived from ServiceRequestRadiology
Other representations of profile: CSV, Excel, Schematron