## Profile Comparison between http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest vs http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest

Left: | Questionnaire Service Request (http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest)
Right: | Questionnaire Service Request (http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest)

### Messages

Error | StructureDefinition.version | Values for version differ: '3.0.0' vs '4.0.0'
Information | StructureDefinition.status | Values for status differ: 'draft' vs 'active'
Information | StructureDefinition.date | Values for date differ: '2022-03-08T18:33:14+00:00' vs '2026-03-24T16:16:08+11:00'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - FHIR Infrastructure Work Group' vs 'HL7 International / FHIR Infrastructure'
Information | ServiceRequest.language | Example/preferred bindings differ at ServiceRequest.language using binding from SDCQuestionnaireServiceRequest
Information | ServiceRequest.extension | Element minimum cardinalities differ: '0' vs '1'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/ServiceRequest |
copyright |  |
date | 2022-03-08T18:33:14+00:00 | 2026-03-24T16:16:08+11:00 | Values Differ
description | Defines how ServiceRequest is used to ask for a Questionnaire to be completed |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 |
kind | resource |
name | SDCQuestionnaireServiceRequest |
publisher | HL7 International - FHIR Infrastructure Work Group | HL7 International / FHIR Infrastructure | Values Differ
purpose |  |
status | draft | active | Values Differ
title | Questionnaire Service Request |
type | ServiceRequest |
url | http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-servicerequest |
version | 3.0.0 | 4.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
ServiceRequest | C | 0..* | ServiceRequest | A request for a service to be performed | C | 0..* | ServiceRequest | A request for a service to be performed |
id | Σ | 0..1 | string | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
| Example/preferred bindings differ at ServiceRequest.language using binding from SDCQuestionnaireServiceRequest
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 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 |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url | Element minimum cardinalities differ: '0' vs '1'
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | Identifiers assigned to this order | Σ | 0..* | Identifier | Identifiers assigned to this order |
instantiatesCanonical | Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition |
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition | Σ | 0..* | uri | Instantiates external protocol or definition |
basedOn | Σ | 0..* | Reference(CarePlan | ServiceRequest | MedicationRequest) | What request fulfills | Σ | 0..* | Reference(CarePlan | ServiceRequest | MedicationRequest) | What request fulfills |
replaces | Σ | 0..* | Reference(ServiceRequest) | What request replaces | Σ | 0..* | Reference(ServiceRequest) | What request replaces |
requisition | Σ | 0..1 | Identifier | Composite Request ID | Σ | 0..1 | Identifier | Composite Request ID |
status | ?!S Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: ?? (required): The status of a service order. | ?!S Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: ?? (required): The status of a service order. |
intent | ?!S Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): The kind of service request. | ?!S Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): The kind of service request. |
category | Σ | 0..* | CodeableConcept | Classification of service Binding: ?? (example): Classification of the requested service. | Σ | 0..* | CodeableConcept | Classification of service Binding: ?? (example): Classification of the requested service. |
priority | Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request. | Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request. |
doNotPerform | ?!Σ | 0..1 | boolean | True if service/procedure should not be performed Fixed Value: false | ?!Σ | 0..1 | boolean | True if service/procedure should not be performed Fixed Value: false |
code | S Σ | 1..1 | CodeableConcept | What is being requested/ordered Binding: ?? (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is (preferred)[http://build.fhir.org/terminologies.html#preferred] and a valueset using LOINC Order codes is available here. Required Pattern: {"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"complete-questionnaire"}]} | S Σ | 1..1 | CodeableConcept | What is being requested/ordered Binding: ?? (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred. Required Pattern: {"coding":[{"system":"http://hl7.org/fhir/uv/sdc/CodeSystem/temp","code":"complete-questionnaire"}]} |
orderDetail | Σ C | 0..* | CodeableConcept | Additional order information Binding: ?? (example): Codified order entry details which are based on order context. | Σ C | 0..* | CodeableConcept | Additional order information Binding: ?? (example): Codified order entry details which are based on order context. |
quantity[x] | Σ | 0..1 | Quantity, Ratio, Range | Service amount | Σ | 0..1 | Quantity, Ratio, Range | Service amount |
subject | S Σ | 1..1 | Reference(Patient | Group | Location | Device) | Patient or other Questionnaire is for | S Σ | 1..1 | Reference(Patient | Group | Location | Device) | Patient or other Questionnaire is for |
encounter | Σ | 0..1 | Reference(Encounter) | Encounter in which the request was created | Σ | 0..1 | Reference(Encounter) | Encounter in which the request was created |
occurrence[x] | S Σ | 0..1 | dateTime, Period, Timing | When (and possibly how often) the Questionnaire needs to be completed | S Σ | 0..1 | dateTime, Period, Timing | When (and possibly how often) the Questionnaire needs to be completed |
asNeeded[x] | Σ | 0..1 | boolean, CodeableConcept | Preconditions for service Binding: ?? (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc. | Σ | 0..1 | boolean, CodeableConcept | Preconditions for service Binding: ?? (example): A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc. |
authoredOn | Σ | 0..1 | dateTime | Date request signed | Σ | 0..1 | dateTime | Date request signed |
requester | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/what is requesting service | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/what is requesting service |
performerType | Σ | 0..1 | CodeableConcept | Performer role Binding: ?? (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc. | Σ | 0..1 | CodeableConcept | Performer role Binding: ?? (example): Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc. |
performer | S Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Who should complete questionnaire | S Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Who should complete questionnaire |
locationCode | Σ | 0..* | CodeableConcept | Requested location Binding: ?? (example): A location type where services are delivered. | Σ | 0..* | CodeableConcept | Requested location Binding: ?? (example): A location type where services are delivered. |
locationReference | Σ | 0..* | Reference(Location) | Requested location | Σ | 0..* | Reference(Location) | Requested location |
reasonCode | S Σ | 0..* | CodeableConcept | Explanation/Justification for procedure or service Binding: ?? (example): Diagnosis or problem codes justifying the reason for requesting the service investigation. | S Σ | 0..* | CodeableConcept | Explanation/Justification for procedure or service Binding: ?? (example): Diagnosis or problem codes justifying the reason for requesting the service investigation. |
reasonReference | Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service | Σ | 0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | Explanation/Justification for service or service |
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
supportingInfo |  | 0..* | Reference(Resource) | Additional clinical information |  | 0..* | Reference(Resource) | Additional clinical information |
specimen | Σ | 0..* | Reference(Specimen) | Procedure Samples | Σ | 0..* | Reference(Specimen) | Procedure Samples |
bodySite | Σ | 0..* | CodeableConcept | Location on Body Binding: ?? (example): Codes describing anatomical locations. May include laterality. | Σ | 0..* | CodeableConcept | Location on Body Binding: ?? (example): Codes describing anatomical locations. May include laterality. |
note |  | 0..* | Annotation | Comments |  | 0..* | Annotation | Comments |
patientInstruction | Σ | 0..1 | string | Patient or consumer-oriented instructions | Σ | 0..1 | string | Patient or consumer-oriented instructions |
relevantHistory |  | 0..* | Reference(Provenance) | Request provenance |  | 0..* | Reference(Provenance) | Request provenance |
Documentation for this format