## Profile Comparison between https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest vs https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest

Left: | CSIRO STARS ServiceRequest Profile (https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest)
Right: | CSIRO STARS ServiceRequest Profile (https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.5.0' vs '0.5.1'
Information | StructureDefinition.date | Values for date differ: '2025-08-01T12:14:42+10:00' vs '2025-10-15T22:25:59+11:00'
Information | StructureDefinition.jurisdiction | Added the item 'null#null'
Error | ServiceRequest.replaces | Type Mismatch: Reference([CanonicalType[https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest]]) vs Reference([CanonicalType[https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/ServiceRequest |
copyright |  |
date | 2025-08-01T12:14:42+10:00 | 2025-10-15T22:25:59+11:00 | Values Differ
description | A Service Request, no changes yet |
experimental |  |
fhirVersion | 5.0.0 |
jurisdiction |  |
jurisdiction[0] |  | null#null | Added the item 'null#null'
kind | resource |
name | CsiroStarsServiceRequestProfile |
publisher | ACDP Informatics CSIRO |
purpose |  |
status | active |
title | CSIRO STARS ServiceRequest Profile |
type | ServiceRequest |
url | https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest |
version | 0.5.0 | 0.5.1 | 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 | id | 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..0 |  |  |  | 0..0 |  |  |
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 |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 1..1 | Identifier | Identifiers assigned to this order | Σ | 1..1 | Identifier | Identifiers assigned to this order |
instantiatesCanonical | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
instantiatesUri | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
basedOn | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
replaces | Σ | 0..* | Reference(CSIRO STARS ServiceRequest Profile) | What request replaces | Σ | 0..* | Reference(CSIRO STARS ServiceRequest Profile) | What request replaces | Type Mismatch: Reference([CanonicalType[https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest]]) vs Reference([CanonicalType[https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-servicerequest]])
requisition | S Σ | 1..1 | Identifier | Composite Request ID | S Σ | 1..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 + Binding: ?? (required): The kind of service request. | ?!S Σ | 1..1 | code | proposal | plan | directive | order + Binding: ?? (required): The kind of service request. |
category | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
priority | S Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request. | S Σ | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): Identifies the level of importance to be assigned to actioning the request. |
doNotPerform | ?!Σ | 0..0 |  |  | ?!Σ | 0..0 |  |  |
code | Σ C | 0..1 | CodeableReference(ActivityDefinition | PlanDefinition) | 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 and a valueset using LOINC Order codes is available here. | Σ C | 0..1 | CodeableReference(ActivityDefinition | PlanDefinition) | 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 and a valueset using LOINC Order codes is available here. |
orderDetail | Σ C | 0..0 |  |  | Σ C | 0..0 |  |  |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
parameterFocus |  | 0..1 | CodeableReference(Device | DeviceDefinition | DeviceRequest | SupplyRequest | Medication | MedicationRequest | BiologicallyDerivedProduct | Substance) | The context of the order details by reference |  | 0..1 | CodeableReference(Device | DeviceDefinition | DeviceRequest | SupplyRequest | Medication | MedicationRequest | BiologicallyDerivedProduct | Substance) | The context of the order details by reference |
parameter | Σ | 1..* | BackboneElement | The parameter details for the service being requested | Σ | 1..* | BackboneElement | The parameter details for the service being requested |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | Σ | 1..1 | CodeableConcept | The detail of the order being requested Binding: ?? (example): Codes for order detail parameters. | Σ | 1..1 | CodeableConcept | The detail of the order being requested Binding: ?? (example): Codes for order detail parameters. |
value[x] | Σ | 1..1 | Quantity, Ratio, Range, boolean, CodeableConcept, string, Period | The value for the order detail | Σ | 1..1 | Quantity, Ratio, Range, boolean, CodeableConcept, string, Period | The value for the order detail |
quantity[x] | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
subject | Σ | 1..1 | Reference(CSIRO STARS Patient Profile | Group | Location) | Individual or Entity the service is ordered for | Σ | 1..1 | Reference(CSIRO STARS Patient Profile | Group | Location) | Individual or Entity the service is ordered for |
focus | Σ | 0..* | Reference(Resource) | What the service request is about, when it is not about the subject of record | Σ | 0..* | Reference(Resource) | What the service request is about, when it is not about the subject of record |
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] | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
asNeeded[x] | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
authoredOn | S Σ | 1..1 | dateTime | Date request signed | S Σ | 1..1 | dateTime | Date request signed |
requester | S Σ | 0..1 | Reference(CSIRO STARS Practitioner Profile) | Who/what is requesting service | S Σ | 0..1 | Reference(CSIRO STARS Practitioner Profile) | Who/what is requesting service |
performerType | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
performer | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
location | Σ | 0..* | CodeableReference(Location) | Requested location Binding: ?? (example): A location type where services are delivered. | Σ | 0..* | CodeableReference(Location) | Requested location Binding: ?? (example): A location type where services are delivered. |
reason | S Σ | 0..* | CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference | DetectedIssue) | Explanation/Justification for procedure or service Binding: ?? (example): SNOMED CT Condition/Problem/Diagnosis Codes | S Σ | 0..* | CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference | DetectedIssue) | Explanation/Justification for procedure or service Binding: ?? (example): SNOMED CT Condition/Problem/Diagnosis Codes |
insurance |  | 0..0 |  |  |  | 0..0 |  |  |
supportingInfo | S | 0..1 | CodeableReference(Resource) | Additional clinical information | S | 0..1 | CodeableReference(Resource) | Additional clinical information |
specimen | Σ | 1..* | Reference(CSIRO STARS Specimen Profile) | Procedure Samples | Σ | 1..* | Reference(CSIRO STARS Specimen Profile) | Procedure Samples |
bodySite | Σ C | 0..0 |  |  | Σ C | 0..0 |  |  |
bodyStructure | Σ C | 0..1 | Reference(BodyStructure) | BodyStructure-based location on the body | Σ C | 0..1 | Reference(BodyStructure) | BodyStructure-based location on the body |
note |  | 0..* | Annotation | Comments |  | 0..* | Annotation | Comments |
patientInstruction |  | 0..0 |  |  |  | 0..0 |  |  |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
instruction[x] | Σ | 0..1 | markdown, Reference(DocumentReference) | Patient or consumer-oriented instructions | Σ | 0..1 | markdown, Reference(DocumentReference) | Patient or consumer-oriented instructions |
relevantHistory |  | 0..0 |  |  |  | 0..0 |  |  |
Documentation for this format