{
"description": "Binary data is a raw block of bits. Binary data is a protected type that MUST not be used outside the data type specification.",
"_filename": "StructureDefinition-bin.json",
"package_name": "hl7.cda.uv.core",
"date": "2023-12-16T11:59:27-05:00",
"derivation": "constraint",
"publisher": "Health Level 7",
"fhirVersion": "5.0.0",
"name": "bin",
"abstract": false,
"type": "base64Binary",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "bin: Binary Data",
"package_version": "2.0.0-sd-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
"valueUri": "urn:hl7-org:v3"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/logical-container",
"valueUri": "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
"valueCode": "has-size"
} ],
"snapshot": {
"element": [ {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "base64Binary",
"min": 0,
"definition": "A stream of bytes",
"isModifier": false,
"short": "Primitive Type base64Binary",
"max": "*",
"id": "base64Binary",
"comment": "A stream of bytes, base64 encoded",
"base": {
"max": "*",
"min": 0,
"path": "base64Binary"
},
"isSummary": false
}, {
"path": "base64Binary.id",
"min": 0,
"definition": "unique id for the element within a resource (for internal references)",
"isModifier": false,
"short": "xml:id (or equivalent in JSON)",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "0",
"id": "base64Binary.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "base64Binary.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"type": [ {
"code": "Extension"
} ],
"max": "0",
"id": "base64Binary.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "base64Binary.value",
"min": 0,
"definition": "The actual value",
"isModifier": false,
"short": "Primitive value for base64Binary",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "base64Binary"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "base64Binary.value",
"base": {
"max": "1",
"min": 0,
"path": "base64Binary.value"
},
"isSummary": false
} ]
},
"status": "active",
"id": "d3261eef-81b5-4932-bbf9-bcba13f5c1f1",
"kind": "primitive-type",
"url": "http://hl7.org/cda/stds/core/StructureDefinition/bin",
"version": "2.0.0-sd-snapshot1",
"differential": {
"element": [ {
"id": "base64Binary.id",
"max": "0",
"path": "base64Binary.id"
}, {
"id": "base64Binary.extension",
"max": "0",
"path": "base64Binary.extension"
} ]
},
"contact": [ {
"name": "HL7 International - Structured Documents",
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/structure",
"system": "url"
}, {
"value": "structdog@lists.HL7.org",
"system": "email"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/base64Binary"
}