description: This profile defines how to represent a vaccination certificate in FHIR by using a Composition resource package_name: hitstdio.tw.fhir.dcc derivation: constraint name: CompositionDCC type: Composition elements: date: {mustSupport: true, index: 7} section: short: Sections composing the Digital COVID-19 Certificate mustSupport: true index: 13 slicing: rules: open ordered: false discriminator: - {path: code, type: pattern} min: 1 slices: sectionImmunizations: match: code: coding: - {code: 11369-6, system: 'http://loinc.org'} schema: short: Immunizations Section array: true min: 1 _required: true index: 14 elements: title: {mustSupport: true, index: 15} code: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 11369-6, system: 'http://loinc.org'} index: 16 text: {mustSupport: true, index: 17} entry: short: Patient's immunization status and pertinent history. mustSupport: true array: true min: 2 index: 18 slicing: rules: open discriminator: - {path: $this.resolve(), type: profile} min: 2 slices: immunization: match: {} schema: type: Reference mustSupport: true refers: ['http://hitstdio.ntunhs.edu.tw/fhir/StructureDefinition/Immunization-dcc'] _required: true index: 19 min: 1 max: 1 immunizationRecommendation: match: {} schema: type: Reference mustSupport: true refers: ['http://hitstdio.ntunhs.edu.tw/fhir/StructureDefinition/ImmunizationRecommendation-dcc'] array: true index: 20 min: 0 documentReference: match: {} schema: type: Reference mustSupport: true refers: ['http://hitstdio.ntunhs.edu.tw/fhir/StructureDefinition/DocumentReference-dcc'] _required: true index: 21 min: 1 max: 1 emptyReason: {mustSupport: false, index: 22} section: {mustSupport: false, index: 23} required: [text, title, code] attester: mustSupport: true index: 10 elements: time: {mustSupport: true, index: 11} party: {mustSupport: true, index: 12} required: [party] type: {type: CodeableConcept, short: Kind of composition ("Digital COVID-19 Certificate"), mustSupport: true, index: 4} title: {short: Digital COVID-19 Certificate, mustSupport: true, index: 9} author: {short: Who and/or what authored the Digital COVID-19 Certificate, mustSupport: true, index: 8} status: {mustSupport: true, index: 3} identifier: mustSupport: true index: 1 elements: period: {mustSupport: true, index: 2} subject: type: Reference mustSupport: true refers: ['http://hitstdio.ntunhs.edu.tw/fhir/StructureDefinition/Patient-dcc'] index: 5 elements: reference: {mustSupport: true, index: 6} required: [reference] text: {mustSupport: true, index: 0} package_version: 0.0.1 class: profile kind: resource url: http://hitstdio.ntunhs.edu.tw/fhir/StructureDefinition/Composition-dcc base: http://hl7.org/fhir/StructureDefinition/clinicaldocument version: 0.0.1 required: [attester, section, identifier, subject]