Data Sharing Framework (DSF) Implementation Guide
2.0.0 - ci-build

Data Sharing Framework (DSF) Implementation Guide - Local Development build (v2.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Binary

Official URL: http://dsf.dev/fhir/StructureDefinition/binary Version: 2.0.0
Active as of 2025-11-26 Computable Name: Binary

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Binary C 0..* Binary Pure binary content defined by a format other than FHIR
Constraints: must-have-meta-tag-or-security-context
... meta ΣC 0..1 Meta Metadata about the resource
Constraints: organization-implies-local, role-implies-local, all-implies-no-local, all-implies-no-organization, all-implies-no-role
.... Slices for tag Σ 0..* Coding Tags applied to this resource
Slice: Unordered, Open by value:system, value:code
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... tag:all Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ALL
..... tag:local Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: LOCAL
..... tag:organization Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... Slices for extension 1..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:organization-extension 1..1 Identifier Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-organization
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ORGANIZATION
..... tag:read-access-parent-organization-role Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... Slices for extension 1..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:role-extension 1..1 (Complex) Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-parent-organization-role
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ROLE
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contentType Σ 1..1 code MimeType of the binary content
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Binary.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:all Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:local Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:organization Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:read-access-parent-organization-role Base example Common Tags 📍4.0.1 FHIR Std.
Binary.contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
all-implies-no-local error Binary.meta ALL tag can not be used with LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists().not()
all-implies-no-organization error Binary.meta ALL tag can not be used with ORGANIZATION tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists().not()
all-implies-no-role error Binary.meta ALL tag can not be used with ROLE tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists().not()
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()
must-have-meta-tag-or-security-context error Binary At least one meta.tag from system 'http://dsf.dev/fhir/CodeSystem/read-access-tag' or Binary.securityContext required meta.tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag').exists() xor securityContext.exists()
organization-implies-local error Binary.meta ORGANIZATION tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()
role-implies-local error Binary.meta ROLE tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()

This structure is derived from Binary

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Binary C 0..* Binary Pure binary content defined by a format other than FHIR
Constraints: must-have-meta-tag-or-security-context
... meta C 0..1 Meta Metadata about the resource
Constraints: organization-implies-local, role-implies-local, all-implies-no-local, all-implies-no-organization, all-implies-no-role
.... Slices for tag 0..* Coding Tags applied to this resource
Slice: Unordered, Open by value:system, value:code
..... tag:all 0..1 Coding Tags applied to this resource
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ALL
..... tag:local 0..1 Coding Tags applied to this resource
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: LOCAL
..... tag:organization 0..* Coding Tags applied to this resource
...... Slices for extension Content/Rules for all slices
....... extension:organization-extension 1..1 Identifier Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-organization
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ORGANIZATION
..... tag:read-access-parent-organization-role 0..* Coding Tags applied to this resource
...... Slices for extension Content/Rules for all slices
....... extension:role-extension 1..1 (Complex) Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-parent-organization-role
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ROLE

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
all-implies-no-local error Binary.meta ALL tag can not be used with LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists().not()
all-implies-no-organization error Binary.meta ALL tag can not be used with ORGANIZATION tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists().not()
all-implies-no-role error Binary.meta ALL tag can not be used with ROLE tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists().not()
must-have-meta-tag-or-security-context error Binary At least one meta.tag from system 'http://dsf.dev/fhir/CodeSystem/read-access-tag' or Binary.securityContext required meta.tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag').exists() xor securityContext.exists()
organization-implies-local error Binary.meta ORGANIZATION tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()
role-implies-local error Binary.meta ROLE tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Binary C 0..* Binary Pure binary content defined by a format other than FHIR
Constraints: must-have-meta-tag-or-security-context
... id Σ 0..1 id Logical id of this artifact
... meta ΣC 0..1 Meta Metadata about the resource
Constraints: organization-implies-local, role-implies-local, all-implies-no-local, all-implies-no-organization, all-implies-no-role
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... Slices for tag Σ 0..* Coding Tags applied to this resource
Slice: Unordered, Open by value:system, value:code
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... tag:all Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ALL
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... tag:local Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: LOCAL
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... tag:organization Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... Slices for extension 1..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:organization-extension 1..1 Identifier Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-organization
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ORGANIZATION
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... tag:read-access-parent-organization-role Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... Slices for extension 1..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:role-extension 1..1 (Complex) Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-parent-organization-role
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ROLE
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contentType Σ 1..1 code MimeType of the binary content
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
... securityContext Σ 0..1 Reference(Resource) Identifies another resource to use as proxy when enforcing access control
... data 0..1 base64Binary The actual content

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Binary.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Binary.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:all Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:local Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:organization Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:read-access-parent-organization-role Base example Common Tags 📍4.0.1 FHIR Std.
Binary.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Binary.contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
all-implies-no-local error Binary.meta ALL tag can not be used with LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists().not()
all-implies-no-organization error Binary.meta ALL tag can not be used with ORGANIZATION tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists().not()
all-implies-no-role error Binary.meta ALL tag can not be used with ROLE tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists().not()
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()
must-have-meta-tag-or-security-context error Binary At least one meta.tag from system 'http://dsf.dev/fhir/CodeSystem/read-access-tag' or Binary.securityContext required meta.tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag').exists() xor securityContext.exists()
organization-implies-local error Binary.meta ORGANIZATION tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()
role-implies-local error Binary.meta ROLE tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()

This structure is derived from Binary

Summary

Mandatory: 0 element(10 nested mandatory elements)
Fixed: 8 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 2 is sliced based on the values of Binary.meta.tag

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Binary C 0..* Binary Pure binary content defined by a format other than FHIR
Constraints: must-have-meta-tag-or-security-context
... meta ΣC 0..1 Meta Metadata about the resource
Constraints: organization-implies-local, role-implies-local, all-implies-no-local, all-implies-no-organization, all-implies-no-role
.... Slices for tag Σ 0..* Coding Tags applied to this resource
Slice: Unordered, Open by value:system, value:code
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... tag:all Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ALL
..... tag:local Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: LOCAL
..... tag:organization Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... Slices for extension 1..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:organization-extension 1..1 Identifier Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-organization
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ORGANIZATION
..... tag:read-access-parent-organization-role Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... Slices for extension 1..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:role-extension 1..1 (Complex) Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-parent-organization-role
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ROLE
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contentType Σ 1..1 code MimeType of the binary content
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Binary.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:all Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:local Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:organization Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:read-access-parent-organization-role Base example Common Tags 📍4.0.1 FHIR Std.
Binary.contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
all-implies-no-local error Binary.meta ALL tag can not be used with LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists().not()
all-implies-no-organization error Binary.meta ALL tag can not be used with ORGANIZATION tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists().not()
all-implies-no-role error Binary.meta ALL tag can not be used with ROLE tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists().not()
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()
must-have-meta-tag-or-security-context error Binary At least one meta.tag from system 'http://dsf.dev/fhir/CodeSystem/read-access-tag' or Binary.securityContext required meta.tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag').exists() xor securityContext.exists()
organization-implies-local error Binary.meta ORGANIZATION tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()
role-implies-local error Binary.meta ROLE tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()

Differential View

This structure is derived from Binary

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Binary C 0..* Binary Pure binary content defined by a format other than FHIR
Constraints: must-have-meta-tag-or-security-context
... meta C 0..1 Meta Metadata about the resource
Constraints: organization-implies-local, role-implies-local, all-implies-no-local, all-implies-no-organization, all-implies-no-role
.... Slices for tag 0..* Coding Tags applied to this resource
Slice: Unordered, Open by value:system, value:code
..... tag:all 0..1 Coding Tags applied to this resource
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ALL
..... tag:local 0..1 Coding Tags applied to this resource
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: LOCAL
..... tag:organization 0..* Coding Tags applied to this resource
...... Slices for extension Content/Rules for all slices
....... extension:organization-extension 1..1 Identifier Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-organization
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ORGANIZATION
..... tag:read-access-parent-organization-role 0..* Coding Tags applied to this resource
...... Slices for extension Content/Rules for all slices
....... extension:role-extension 1..1 (Complex) Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-parent-organization-role
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ROLE

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
all-implies-no-local error Binary.meta ALL tag can not be used with LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists().not()
all-implies-no-organization error Binary.meta ALL tag can not be used with ORGANIZATION tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists().not()
all-implies-no-role error Binary.meta ALL tag can not be used with ROLE tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists().not()
must-have-meta-tag-or-security-context error Binary At least one meta.tag from system 'http://dsf.dev/fhir/CodeSystem/read-access-tag' or Binary.securityContext required meta.tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag').exists() xor securityContext.exists()
organization-implies-local error Binary.meta ORGANIZATION tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()
role-implies-local error Binary.meta ROLE tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Binary C 0..* Binary Pure binary content defined by a format other than FHIR
Constraints: must-have-meta-tag-or-security-context
... id Σ 0..1 id Logical id of this artifact
... meta ΣC 0..1 Meta Metadata about the resource
Constraints: organization-implies-local, role-implies-local, all-implies-no-local, all-implies-no-organization, all-implies-no-role
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... Slices for tag Σ 0..* Coding Tags applied to this resource
Slice: Unordered, Open by value:system, value:code
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... tag:all Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ALL
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... tag:local Σ 0..1 Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: LOCAL
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... tag:organization Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... Slices for extension 1..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:organization-extension 1..1 Identifier Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-organization
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ORGANIZATION
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... tag:read-access-parent-organization-role Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
...... id 0..1 string Unique id for inter-element referencing
...... Slices for extension 1..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:role-extension 1..1 (Complex) Optional Extensions Element
URL: http://dsf.dev/fhir/StructureDefinition/extension-read-access-parent-organization-role
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://dsf.dev/fhir/CodeSystem/read-access-tag
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
Fixed Value: ROLE
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contentType Σ 1..1 code MimeType of the binary content
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
... securityContext Σ 0..1 Reference(Resource) Identifies another resource to use as proxy when enforcing access control
... data 0..1 base64Binary The actual content

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Binary.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Binary.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:all Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:local Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:organization Base example Common Tags 📍4.0.1 FHIR Std.
Binary.meta.tag:read-access-parent-organization-role Base example Common Tags 📍4.0.1 FHIR Std.
Binary.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Binary.contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
all-implies-no-local error Binary.meta ALL tag can not be used with LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists().not()
all-implies-no-organization error Binary.meta ALL tag can not be used with ORGANIZATION tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists().not()
all-implies-no-role error Binary.meta ALL tag can not be used with ROLE tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ALL').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists().not()
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()
must-have-meta-tag-or-security-context error Binary At least one meta.tag from system 'http://dsf.dev/fhir/CodeSystem/read-access-tag' or Binary.securityContext required meta.tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag').exists() xor securityContext.exists()
organization-implies-local error Binary.meta ORGANIZATION tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ORGANIZATION').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()
role-implies-local error Binary.meta ROLE tag requires LOCAL tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'ROLE').exists() implies tag.where(system = 'http://dsf.dev/fhir/CodeSystem/read-access-tag' and code = 'LOCAL').exists()

This structure is derived from Binary

Summary

Mandatory: 0 element(10 nested mandatory elements)
Fixed: 8 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 2 is sliced based on the values of Binary.meta.tag

 

Other representations of profile: CSV, Excel, Schematron