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

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

### 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 | Specimen.parent | Type Mismatch: Reference([CanonicalType[https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-specimen]]) vs Reference([CanonicalType[https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-specimen]])
Error | Specimen.request | 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]])
Information | Specimen.role | Example/preferred bindings differ at Specimen.role using binding from CsiroStarsSpecimenProfile

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Specimen |
copyright |  |
date | 2025-08-01T12:14:42+10:00 | 2025-10-15T22:25:59+11:00 | Values Differ
description | A specimen / sample |
experimental |  |
fhirVersion | 5.0.0 |
jurisdiction |  |
jurisdiction[0] |  | null#null | Added the item 'null#null'
kind | resource |
name | CsiroStarsSpecimenProfile |
publisher | ACDP Informatics CSIRO |
purpose |  |
status | active |
title | CSIRO STARS Specimen Profile |
type | Specimen |
url | https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-specimen |
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
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Specimen |  | 0..* | Specimen | Sample for analysis |  | 0..* | Specimen | Sample for analysis |
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..1 | code | Language of the resource content Binding: ?? (required): IETF language tag for a human language
Additional Bindings | Purpose
?? | Starter
|  | 0..1 | code | Language of the resource content Binding: ?? (required): IETF language tag for a human language
Additional Bindings | Purpose
?? | Starter
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 |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
identifier | S Σ | 0..* | Identifier | External Identifier | S Σ | 0..* | Identifier | External Identifier |
id |  |  |  |  |  | 0..1 | id | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
use |  |  |  |  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known . | Added this element
type |  |  |  |  | Σ | 0..1 | CodeableConcept | Description of identifier Binding: ?? (required) | Added this element
system |  |  |  |  | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | Added this element
value |  |  |  |  | Σ C | 0..1 | string | The value that is unique Example General: 123456 | Added this element
period |  |  |  |  | Σ | 0..1 | Period | Time period when id is/was valid for use | Added this element
assigner |  |  |  |  | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | Added this element
accessionIdentifier | Σ | 0..1 | Identifier | Identifier assigned by the lab | Σ | 0..1 | Identifier | Identifier assigned by the lab |
status | ?!Σ | 0..1 | code | available | unavailable | unsatisfactory | entered-in-error Binding: ?? (required): Codes providing the status/availability of a specimen. | ?!Σ | 0..1 | code | available | unavailable | unsatisfactory | entered-in-error Binding: ?? (required): Codes providing the status/availability of a specimen. |
type | S Σ | 0..1 | CodeableConcept | Kind of material that forms the specimen Binding: ?? (required) | S Σ | 0..1 | CodeableConcept | Kind of material that forms the specimen Binding: ?? (required) |
subject | Σ | 0..1 | Reference(CSIRO STARS Patient Profile | Group | Location) | Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance, a biologically-derived product, or a device | Σ | 0..1 | Reference(CSIRO STARS Patient Profile | Group | Location) | Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance, a biologically-derived product, or a device |
receivedTime | Σ | 0..0 |  |  | Σ | 0..0 |  |  |
parent |  | 0..* | Reference(CSIRO STARS Specimen Profile) | Specimen from which this specimen originated |  | 0..* | Reference(CSIRO STARS Specimen Profile) | Specimen from which this specimen originated | Type Mismatch: Reference([CanonicalType[https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-specimen]]) vs Reference([CanonicalType[https://starsapi.csiro.au/fhir-ig/stars/StructureDefinition/csiro-stars-specimen]])
request |  | 0..* | Reference(CSIRO STARS ServiceRequest Profile) | Why the specimen was collected |  | 0..* | Reference(CSIRO STARS ServiceRequest Profile) | Why the specimen was collected | 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]])
combined | Σ | 0..1 | code | grouped | pooled Binding: ?? (required): Codes for the combined status of a specimen. | Σ | 0..1 | code | grouped | pooled Binding: ?? (required): Codes for the combined status of a specimen. |
role |  | 0..* | CodeableConcept | The role the specimen serves Binding: ?? (preferred): Codes describing specimen role. |  | 0..* | CodeableConcept | The role the specimen serves Binding: ?? (preferred): Codes describing specimen role. | Example/preferred bindings differ at Specimen.role using binding from CsiroStarsSpecimenProfile
feature |  | 0..* | BackboneElement | The physical feature of a specimen |  | 0..* | BackboneElement | The physical feature of a specimen |
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 |
type |  | 1..1 | CodeableConcept | Highlighted feature Binding: ?? (example): SNOMED CT Body site concepts |  | 1..1 | CodeableConcept | Highlighted feature Binding: ?? (example): SNOMED CT Body site concepts |
description |  | 1..1 | string | Information about the feature |  | 1..1 | string | Information about the feature |
collection |  | 0..1 | BackboneElement | Collection details |  | 0..1 | BackboneElement | Collection details |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
collector | Σ | 0..1 | Reference(CSIRO STARS Practitioner Profile) | Who collected the specimen | Σ | 0..1 | Reference(CSIRO STARS Practitioner Profile) | Who collected the specimen |
Slices for collected[x] | Σ | 0..1 | dateTime, Period | Collection time Slice: Unordered, Open by type:$this | Σ | 0..1 | dateTime, Period | Collection time Slice: Unordered, Open by type:$this |
duration | Σ | 0..1 | Duration | How long it took to collect specimen | Σ | 0..1 | Duration | How long it took to collect specimen |
quantity |  | 0..1 | ?? | The quantity of specimen collected |  | 0..1 | ?? | The quantity of specimen collected |
method |  | 0..1 | CodeableConcept | Technique used to perform collection Binding: ?? (example): The technique that is used to perform the procedure. |  | 0..1 | CodeableConcept | Technique used to perform collection Binding: ?? (example): The technique that is used to perform the procedure. |
device |  | 0..1 | CodeableReference(Device) | Device used to perform collection Binding Description: (example): The device that was used to obtain the specimen (e.g. a catheter or catheter part used to draw the blood via a central line). |  | 0..1 | CodeableReference(Device) | Device used to perform collection Binding Description: (example): The device that was used to obtain the specimen (e.g. a catheter or catheter part used to draw the blood via a central line). |
procedure |  | 0..1 | Reference(Procedure) | The procedure that collects the specimen |  | 0..1 | Reference(Procedure) | The procedure that collects the specimen |
bodySite |  | 0..1 | CodeableReference(BodyStructure) | Anatomical collection site Binding: ?? (example): SNOMED CT Body site concepts |  | 0..1 | CodeableReference(BodyStructure) | Anatomical collection site Binding: ?? (example): SNOMED CT Body site concepts |
fastingStatus[x] | Σ | 0..1 | CodeableConcept, Duration | Whether or how long patient abstained from food and/or drink Binding: ?? (extensible): Codes describing the fasting status of the patient. | Σ | 0..1 | CodeableConcept, Duration | Whether or how long patient abstained from food and/or drink Binding: ?? (extensible): Codes describing the fasting status of the patient. |
processing | S | 0..* | BackboneElement | Processing and processing step details | S | 0..* | BackboneElement | Processing and processing step details |
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 |
description |  | 0..1 | string | Textual description of procedure |  | 0..1 | string | Textual description of procedure |
method |  | 0..1 | CodeableConcept | Indicates the treatment step applied to the specimen Binding: ?? (example): Type indicating the technique used to process the specimen. |  | 0..1 | CodeableConcept | Indicates the treatment step applied to the specimen Binding: ?? (example): Type indicating the technique used to process the specimen. |
additive |  | 0..* | Reference(Substance) | Material used in the processing step |  | 0..* | Reference(Substance) | Material used in the processing step |
time[x] |  | 0..1 | dateTime, Period | Date and time of specimen processing |  | 0..1 | dateTime, Period | Date and time of specimen processing |
container |  | 0..* | BackboneElement | Direct container of specimen (tube/slide, etc.) |  | 0..* | BackboneElement | Direct container of specimen (tube/slide, etc.) |
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 |
device |  | 1..1 | Reference(Device) | Device resource for the container |  | 1..1 | Reference(Device) | Device resource for the container |
location |  | 0..1 | Reference(Location) | Where the container is |  | 0..1 | Reference(Location) | Where the container is |
specimenQuantity |  | 0..1 | ?? | Quantity of specimen within container |  | 0..1 | ?? | Quantity of specimen within container |
condition | S Σ | 0..* | CodeableConcept | State of the specimen Binding: ?? (extensible): Codes describing the state of the specimen. | S Σ | 0..* | CodeableConcept | State of the specimen Binding: ?? (extensible): Codes describing the state of the specimen. |
note | S | 0..* | Annotation | Comments | S | 0..* | Annotation | Comments |
Documentation for this format