| URL | http://hl7.org/fhir/5.0/StructureDefinition/extension-Attachment.size |
| Version | |
| Status | active |
| Description | Cross-Version Extension for Attachment.size. Valid in versions R2, R3, R4, R4B This is a valid extension because it has the types integer64 |
Context of Use
This extension may be used in the following contexts:
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | 0..1 | Extension | Number of bytes of content (if url provided) | |
![]() ![]() | ..0 | |||
![]() ![]() | 1.. | integer64 | ||
![]() ![]() | "http://hl7.org/fhir/5.0/StructureDefinition/extension-Attachment.size" | |||
Documentation for this format | ||||
{
"resourceType" : "StructureDefinition",
"id" : "xv-r5-att.size",
"url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Attachment.size",
"name" : "XVerExtensionAttachment.sizeR5",
"title" : "Cross-Version Extension for Attachment.size in R5",
"status" : "active",
"experimental" : false,
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Cross-Version Extension for Attachment.size. Valid in versions R2, R3, R4, R4B\r\n\r\nThis is a valid extension because it has the types integer64",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}]
}],
"fhirVersion" : "5.0.0",
"kind" : "complex-type",
"abstract" : false,
"context" : [{
"extension" : [{
"extension" : [{
"url" : "startFhirVersion",
"valueCode" : "4.3"
},
{
"url" : "endFhirVersion",
"valueCode" : "4.3"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
}],
"type" : "element",
"expression" : "Attachment"
},
{
"type" : "extension",
"expression" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-Attachment"
},
{
"extension" : [{
"extension" : [{
"url" : "startFhirVersion",
"valueCode" : "4.0"
},
{
"url" : "endFhirVersion",
"valueCode" : "4.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
}],
"type" : "element",
"expression" : "Attachment"
},
{
"type" : "extension",
"expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-Attachment"
},
{
"extension" : [{
"extension" : [{
"url" : "startFhirVersion",
"valueCode" : "3.0"
},
{
"url" : "endFhirVersion",
"valueCode" : "3.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
}],
"type" : "element",
"expression" : "Attachment"
},
{
"type" : "extension",
"expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-Attachment"
},
{
"extension" : [{
"extension" : [{
"url" : "startFhirVersion",
"valueCode" : "1.0"
},
{
"url" : "endFhirVersion",
"valueCode" : "1.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
}],
"type" : "element",
"expression" : "Attachment"
},
{
"type" : "extension",
"expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-Attachment"
}],
"type" : "Extension",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation" : "constraint",
"differential" : {
"element" : [{
"path" : "Extension",
"short" : "Number of bytes of content (if url provided)",
"definition" : "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).",
"comment" : "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.",
"requirements" : "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.",
"min" : 0,
"max" : "1",
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (needs data type R3 proposal)"
}]
},
{
"path" : "Extension.extension",
"max" : "0"
},
{
"path" : "Extension.value[x]",
"min" : 1,
"type" : [{
"code" : "integer64"
}]
},
{
"path" : "Extension.url",
"fixedUri" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Attachment.size"
}]
}
}