FHIR Artifacts > Structure Definition: Binary Profile

Structure Definition: Binary Profile

Canonical URL:`http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Binary

Simplifier project page: Binary

Derived from: Binary (R4)

Base FHIR from: Binary (R4)

Formal Views of Profile Content

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

Differential View

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
languageS0..1codeBinding
contentTypeS Σ1..1codeBinding
securityContextΣ C0..1Reference(Resource)
id0..1string
ext-attachment-metadataS C0..1Extension(Complex)
value0..1System.String

Hybrid View

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
languageS0..1codeBinding
contentTypeS Σ1..1codeBinding
securityContextΣ C0..1Reference(Resource)
id0..1string
ext-attachment-metadataS C0..1Extension(Complex)
value0..1System.String

Snapshot View

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
languageS0..1codeBinding
contentTypeS Σ1..1codeBinding
securityContextΣ C0..1Reference(Resource)
id0..1string
ext-attachment-metadataS C0..1Extension(Complex)
value0..1System.String

Table View

Binary..
Binary.language..
Binary.contentType..
Binary.data1..
Binary.data.extension..
Binary.data.extension:ext-attachment-metadataExtension0..1

JSON View

{
"resourceType": "StructureDefinition",
"id": "ca-on-eReferral-profile-binary",
"url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-binary",
"version": "1.1.0",
"name": "EReferralBinary",
"title": "Binary",
"status": "draft",
"description": "Binary profile",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "Binary",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Binary",
"derivation": "constraint",
"element": [
{
"id": "Binary.language",
"path": "Binary.language",
"short": "Language of the resource content. Currently, only English and French are supported.",
"mustSupport": true
},
{
"id": "Binary.contentType",
"path": "Binary.contentType",
"mustSupport": true,
"binding": {
"strength": "required",
"description": "Attachment mime type supported by Ontario Health interfaces.",
"valueSet": "http://ehealthontario.ca/fhir/ValueSet/mime-type"
}
},
{
"id": "Binary.data",
"path": "Binary.data",
"min": 1,
"mustSupport": true
},
{
"id": "Binary.data.extension",
"path": "Binary.data.extension",
"slicing": {
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
}
},
{
"id": "Binary.data.extension:ext-attachment-metadata",
"path": "Binary.data.extension",
"sliceName": "ext-attachment-metadata",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://ehealthontario.ca/fhir/StructureDefinition/ext-attachment-metadata"
]
}
],
"mustSupport": true
}
]
}
}

STABILITY RISK: This profile is undergoing Ontario Health harmonization and may be adjusted as part of this process (e.g., adjustments to Must Support obligations).

Usage

The binary resource captures the base64Encoded data in the document such as Text, PDF, image, etc. If they are present, they will be part of Composition.section.entry. File size limits will be determined by the HALO specification.

Notes

.contentType

  • SHALL contain the MIME code indicating the type of binary content, e.g. PDF, jpg, tiff, etc.

.data

  • SHALL not be populated as embedded attachments are not permitted by Ontario Health

.data.extension