description: The IE Core ADI (Advance Directive Interoperability) DocumentReference profile sets minimum expectations for the DocumentReference resource to record, search, and fetch advance directive documents associated with a patient, based on Irish requirements. package_name: nostalgic-ie.fhir.core derivation: constraint name: IECoreADIDocumentReference type: DocumentReference elements: type: {index: 0} category: index: 1 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: adi: match: coding: - {code: 42348-3, system: 'http://loinc.org', display: Advance healthcare directives} schema: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 42348-3, system: 'http://loinc.org', display: Advance healthcare directives} _required: true index: 2 min: 1 max: 1 subject: {index: 3} content: elements: attachment: elements: contentType: {mustSupport: true, index: 4} url: {mustSupport: true, index: 5} required: [url, contentType] package_version: 0.2.0 class: profile kind: resource url: https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-adi-documentreference base: https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-documentreference version: 0.2.0 required: [subject, type, category]