0.1.0 - ci-build
SENAITEFHIRImplementationGuide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.senaite.org/StructureDefinition/SenaiteSpecimenBarcode | Version: 0.1.0 | |||
| Draft as of 2026-11-05 | Computable Name: SenaiteSpecimenBarcode | |||
The barcode label for the specimen container, as a base64-encoded PDF or image. The barcode encodes the Sample ID by default, or the Client Sample ID where the deployment is configured to use it. Populated by SENAITE on every Specimen it returns; never accepted on create.
Context of Use
This extension may be used on the following element(s)
Specimen
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..1 | Extension | Barcode label for the specimen container (base64 PDF or image) | |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "https://fhir.senaite.org/StructureDefinition/SenaiteSpecimenBarcode" | |
![]() ![]() |
1..1 | Attachment | Barcode label (PDF or image) | |
![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() |
1..1 | code | application/pdf or an image MIME type (e.g. image/png, image/svg+xml) | |
![]() ![]() ![]() |
0..0 | Human language of the content (BCP-47) | ||
![]() ![]() ![]() |
1..1 | base64Binary | Base64-encoded PDF or image barcode label | |
![]() ![]() ![]() |
0..0 | Uri where the data can be found | ||
![]() ![]() ![]() |
0..0 | Number of bytes of content (if url provided) | ||
![]() ![]() ![]() |
0..0 | Hash of the data (sha-1, base64ed) | ||
![]() ![]() ![]() |
0..0 | Label to display in place of the data | ||
![]() ![]() ![]() |
0..0 | Date attachment was first created | ||
![]() ![]() ![]() |
0..0 | Height of the image in pixels (photo/video) | ||
![]() ![]() ![]() |
0..0 | Width of the image in pixels (photo/video) | ||
![]() ![]() ![]() |
0..0 | Number of frames if > 1 (photo) | ||
![]() ![]() ![]() |
0..0 | Length in seconds (audio / video) | ||
![]() ![]() ![]() |
0..0 | Number of printed pages | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..1 | Extension | Barcode label for the specimen container (base64 PDF or image) | |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | uri | "https://fhir.senaite.org/StructureDefinition/SenaiteSpecimenBarcode" | |
![]() ![]() |
1..1 | Attachment | Barcode label (PDF or image) | |
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() |
C | 1..1 | code | application/pdf or an image MIME type (e.g. image/png, image/svg+xml) Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png |
![]() ![]() ![]() |
C | 1..1 | base64Binary | Base64-encoded PDF or image barcode label |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Simple Extension with the type Attachment: The barcode label for the specimen container, as a base64-encoded PDF or image. The barcode encodes the Sample ID by default, or the Client Sample ID where the deployment is configured to use it. Populated by SENAITE on every Specimen it returns; never accepted on create.
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..1 | Extension | Barcode label for the specimen container (base64 PDF or image) | |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "https://fhir.senaite.org/StructureDefinition/SenaiteSpecimenBarcode" | |
![]() ![]() |
1..1 | Attachment | Barcode label (PDF or image) | |
![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() |
1..1 | code | application/pdf or an image MIME type (e.g. image/png, image/svg+xml) | |
![]() ![]() ![]() |
0..0 | Human language of the content (BCP-47) | ||
![]() ![]() ![]() |
1..1 | base64Binary | Base64-encoded PDF or image barcode label | |
![]() ![]() ![]() |
0..0 | Uri where the data can be found | ||
![]() ![]() ![]() |
0..0 | Number of bytes of content (if url provided) | ||
![]() ![]() ![]() |
0..0 | Hash of the data (sha-1, base64ed) | ||
![]() ![]() ![]() |
0..0 | Label to display in place of the data | ||
![]() ![]() ![]() |
0..0 | Date attachment was first created | ||
![]() ![]() ![]() |
0..0 | Height of the image in pixels (photo/video) | ||
![]() ![]() ![]() |
0..0 | Width of the image in pixels (photo/video) | ||
![]() ![]() ![]() |
0..0 | Number of frames if > 1 (photo) | ||
![]() ![]() ![]() |
0..0 | Length in seconds (audio / video) | ||
![]() ![]() ![]() |
0..0 | Number of printed pages | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..1 | Extension | Barcode label for the specimen container (base64 PDF or image) | |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | uri | "https://fhir.senaite.org/StructureDefinition/SenaiteSpecimenBarcode" | |
![]() ![]() |
1..1 | Attachment | Barcode label (PDF or image) | |
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() |
C | 1..1 | code | application/pdf or an image MIME type (e.g. image/png, image/svg+xml) Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: text/plain; charset=UTF-8, image/png |
![]() ![]() ![]() |
C | 1..1 | base64Binary | Base64-encoded PDF or image barcode label |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Simple Extension with the type Attachment: The barcode label for the specimen container, as a base64-encoded PDF or image. The barcode encodes the Sample ID by default, or the Client Sample ID where the deployment is configured to use it. Populated by SENAITE on every Specimen it returns; never accepted on create.
Other representations of profile: CSV, Excel, Schematron
| Path | Status | Usage | ValueSet | Version | Source |
| Extension.value[x].contentType | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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()
|