FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/ED

Packageau.digitalhealth.cda.schema
TypeStructureDefinition
IdED
FHIR VersionR5
Sourcehttp://ns.electronichealth.net.au/cda/https://build.fhir.org/ig/AuDigitalHealth/cda-au-schema/StructureDefinition-ED.html
URLhttp://hl7.org/cda/stds/core/StructureDefinition/ED
Version1.0.0
Statusactive
Date2025-07-21T22:05:27+00:00
NameED
TitleED: EncapsulatedData (V3 Data Type)
Realmau
Authoritynational
DescriptionData that is primarily intended for human interpretation or for further machine processing outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information in as defined by a different standard (e.g., XML-signatures.) Instead of the data itself, an may contain only a reference (see .) Note that the data type is a specialization of the data type when the media type is text/plain.
Typehttp://hl7.org/cda/stds/core/StructureDefinition/ED
Kindlogical

Resources that use this resource

StructureDefinition
ActAct (CDA Class)
AuthenticatorAuthenticator (CDA Class)
CDCD: ConceptDescriptor (V3 Data Type)
CriterionCriterion (CDA Class)
EDED: EncapsulatedData (V3 Data Type)
EncounterEncounter (CDA Class)
EntityEntity (CDA Class)
ExternalActExternalAct (CDA Class)
ExternalDocumentExternalDocument (CDA Class)
ExternalObservationExternalObservation (CDA Class)
ExternalProcedureExternalProcedure (CDA Class)
LegalAuthenticatorLegalAuthenticator (CDA Class)
NonXMLBodyNonXMLBody (CDA Class)
ObservationObservation (CDA Class)
ObservationMediaObservationMedia (CDA Class)
ObservationRangeObservationRange (CDA Class)
OrganizerOrganizer (CDA Class)
ParentDocumentParentDocument (CDA Class)
PatientPatient (CDA Class)
PersonPerson (CDA Class)
PlayingEntityPlayingEntity (CDA Class)
ProcedureProcedure (CDA Class)
SubjectPersonSubjectPerson (CDA Class)
SubstanceAdministrationSubstanceAdministration (CDA Class)
SupplySupply (CDA Class)
asQualificationsADHA extension asEmployment
asQualifiedEntityADHA extension asQualifiedEntity
au-ActADHA Act (CDA Class)
au-EncounterADHA Encounter (CDA Class)
au-EntityADHA Entity (CDA Class)
au-ExternalActADHA ExternalAct (CDA Class)
au-ExternalDocumentADHA ExternalDocument (CDA Class)
au-ObservationADHA Observation (CDA Class)
au-ObservationMediaADHA ObservationMedia (CDA Class)
au-ObservationRangeADHA ObservationRange (CDA Class)
au-ParentDocumentADHA ParentDocument (CDA Class)
au-PlayingEntityADHA PlayingEntity (CDA Class)
au-ProcedureADHA Procedure (CDA Class)
au-SubstanceAdministrationADHA SubstanceAdministration (CDA Class)
au-SupplyADHA Supply (CDA Class)
controlActADHA extension controlAct
BrandNameObservationBrand Name Observation
CareExperiencePreferenceCare Experience Preference
CatalogNumberObservationCatalog Number Observation
CompanyNameObservationCompany Name Observation
DistinctIdentificationCodeObservationDistinct Identification Code Observation
InstructionObservationInstruction Observation
LotOrBatchNumberObservationLot or Batch Number Observation
ModelNumberObservationModel Number Observation
SerialNumberObservationSerial Number Observation
TreatmentInterventionPreferenceTreatment Intervention Preference

Resources that this resource uses

StructureDefinition
ANYANY: DataValue (V3 Data Type)
EDED: EncapsulatedData (V3 Data Type)
TELTEL: TelecommunicationAddress (V3 Data Type)
binbin: Binary Data
cs-simplecs: Coded Simple Value
st-simplest: Character String
ValueSet
BinaryDataEncodingBinary Data Encoding Value Set
CDACompressionAlgorithmCompressionAlgorithm
v3-IntegrityCheckAlgorithmIntegrityCheckAlgorithm
v3-MediaTypeMediaType
v3-IntegrityCheckAlgorithmIntegrityCheckAlgorithm
v3-MediaTypeMediaType

Narrative

Note: links and images are rebased to the (stated) source

Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.) Instead of the data itself, an ED may contain only a reference (see TEL.) Note that the ST data type is a specialization of the ED data type when the ED media type is text/plain.


Source

{
  "resourceType": "StructureDefinition",
  "id": "ED",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/logical-target",
      "_valueBoolean": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
            "valueCode": "not-applicable"
          }
        ]
      }
    },
    {
      "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/cda/stds/core/StructureDefinition/ED",
  "version": "1.0.0",
  "name": "ED",
  "title": "ED: EncapsulatedData (V3 Data Type)",
  "status": "active",
  "experimental": false,
  "date": "2025-07-21T22:05:27+00:00",
  "publisher": "HL7",
  "description": "Data that is primarily intended for human interpretation or for further machine processing outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information in as defined by a different standard (e.g., XML-signatures.) Instead of the data itself, an may contain only a reference (see .) Note that the data type is a specialization of the data type when the media type is text/plain.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/cda/stds/core/StructureDefinition/ED",
  "baseDefinition": "http://hl7.org/cda/stds/core/StructureDefinition/ANY",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "1.0.0"
      }
    ],
    "element": [
      {
        "id": "ED",
        "path": "ED",
        "short": "Base for all types and resources",
        "definition": "Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.) Instead of the data itself, an ED may contain only a reference (see TEL.) Note that the ST data type is a specialization of when the is text/plain.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "ed-base64",
            "severity": "error",
            "human": "If @representation='B64', then xmlText SHALL be a base64binary string.",
            "expression": "(representation.empty() or representation != 'B64') or xmlText.empty() or xmlText.matches('^(?:[A-Za-z0-9+//]{4})*(?:[A-Za-z0-9+//]{2}==|[A-Za-z0-9+//]{3}=)?[%content%]#39;)"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "ED.nullFlavor",
        "path": "ED.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "label": "Exceptional Value Detail",
        "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "ED.compression",
        "path": "ED.compression",
        "representation": [
          "xmlAttr"
        ],
        "label": "Compression",
        "definition": "Indicates whether the raw byte data is compressed, and what compression algorithm was used.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.compression",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm"
        }
      },
      {
        "id": "ED.integrityCheck",
        "path": "ED.integrityCheck",
        "representation": [
          "xmlAttr"
        ],
        "label": "Integrity Check",
        "definition": "The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.integrityCheck",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bin"
            ]
          }
        ]
      },
      {
        "id": "ED.integrityCheckAlgorithm",
        "path": "ED.integrityCheckAlgorithm",
        "representation": [
          "xmlAttr"
        ],
        "label": "Integrity Check Algorithm",
        "definition": "Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.integrityCheckAlgorithm",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0"
        }
      },
      {
        "id": "ED.language",
        "path": "ED.language",
        "representation": [
          "xmlAttr"
        ],
        "label": "Language",
        "definition": "For character based information the language property specifies the human language of the text.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ]
      },
      {
        "id": "ED.mediaType",
        "path": "ED.mediaType",
        "representation": [
          "xmlAttr"
        ],
        "label": "Media Type",
        "definition": "Identifies the type of the encapsulated data and identifies a method to interpret or render the data.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.mediaType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-MediaType"
        }
      },
      {
        "id": "ED.representation",
        "path": "ED.representation",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.representation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding"
        }
      },
      {
        "id": "ED.xmlText",
        "path": "ED.xmlText",
        "representation": [
          "xmlText"
        ],
        "short": "Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.",
        "definition": "Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)",
        "comment": "This element is represented in XML as textual content. The actual name \"xmlText\" will not appear in a CDA instance.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.xmlText",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "ED.reference",
        "path": "ED.reference",
        "label": "Reference",
        "definition": "A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/TEL"
          }
        ]
      },
      {
        "id": "ED.thumbnail",
        "path": "ED.thumbnail",
        "label": "Thumbnail",
        "definition": "An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ED.thumbnail",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "ED",
        "path": "ED",
        "definition": "Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.) Instead of the data itself, an ED may contain only a reference (see TEL.) Note that the ST data type is a specialization of when the is text/plain.",
        "min": 1,
        "max": "*",
        "constraint": [
          {
            "key": "ed-base64",
            "severity": "error",
            "human": "If @representation='B64', then xmlText SHALL be a base64binary string.",
            "expression": "(representation.empty() or representation != 'B64') or xmlText.empty() or xmlText.matches('^(?:[A-Za-z0-9+//]{4})*(?:[A-Za-z0-9+//]{2}==|[A-Za-z0-9+//]{3}=)?[%content%]#39;)"
          }
        ]
      },
      {
        "id": "ED.compression",
        "path": "ED.compression",
        "representation": [
          "xmlAttr"
        ],
        "label": "Compression",
        "definition": "Indicates whether the raw byte data is compressed, and what compression algorithm was used.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm"
        }
      },
      {
        "id": "ED.integrityCheck",
        "path": "ED.integrityCheck",
        "representation": [
          "xmlAttr"
        ],
        "label": "Integrity Check",
        "definition": "The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "base64Binary",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/bin"
            ]
          }
        ]
      },
      {
        "id": "ED.integrityCheckAlgorithm",
        "path": "ED.integrityCheckAlgorithm",
        "representation": [
          "xmlAttr"
        ],
        "label": "Integrity Check Algorithm",
        "definition": "Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0"
        }
      },
      {
        "id": "ED.language",
        "path": "ED.language",
        "representation": [
          "xmlAttr"
        ],
        "label": "Language",
        "definition": "For character based information the language property specifies the human language of the text.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ]
      },
      {
        "id": "ED.mediaType",
        "path": "ED.mediaType",
        "representation": [
          "xmlAttr"
        ],
        "label": "Media Type",
        "definition": "Identifies the type of the encapsulated data and identifies a method to interpret or render the data.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-MediaType"
        }
      },
      {
        "id": "ED.representation",
        "path": "ED.representation",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding"
        }
      },
      {
        "id": "ED.xmlText",
        "path": "ED.xmlText",
        "representation": [
          "xmlText"
        ],
        "short": "Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.",
        "definition": "Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)",
        "comment": "This element is represented in XML as textual content. The actual name \"xmlText\" will not appear in a CDA instance.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"
            ]
          }
        ]
      },
      {
        "id": "ED.reference",
        "path": "ED.reference",
        "label": "Reference",
        "definition": "A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/TEL"
          }
        ]
      },
      {
        "id": "ED.thumbnail",
        "path": "ED.thumbnail",
        "label": "Thumbnail",
        "definition": "An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/cda/stds/core/StructureDefinition/ED"
          }
        ]
      }
    ]
  }
}