description: Composition profile for general composition use package_name: IdHIE.0v derivation: constraint name: CompositionIdCore type: Composition elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: locationRecorded: match: {url: null} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.id/StructureDefinition/location-recorded-id-core', index: 1} min: 0 type: binding: {strength: extensible, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/composition-type-id-core'} index: 2 category: index: 3 slicing: rules: open discriminator: - {path: coding.system, type: value} min: 1 slices: category: match: coding: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/composition-category-id-core'} schema: binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/composition-category-id-core'} index: 4 elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/composition-category-id-core'} index: 5 class: match: coding: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/composition-class-id-core'} schema: binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/composition-class-id-core'} index: 6 elements: coding: elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/composition-class-id-core'} index: 7 subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 8 confidentiality: binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification'} index: 9 event: index: 10 elements: code: binding: {strength: extensible, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/composition-event-id-core'} index: 11 section: index: 12 elements: code: index: 13 elements: coding: index: 14 elements: code: {index: 15} required: [code] required: [coding] required: [code] slicing: rules: open discriminator: - {path: code.coding.code, type: value} min: 1 slices: Problem_List: match: code: coding: {code: 11450-4} schema: short: Problem List index: 19 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 20 code: pattern: {type: Code, value: 11450-4} index: 21 entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Condition'] index: 22 Allergies_And_Intolerance: match: code: coding: {code: 48765-2} schema: short: Allergies And Intolerance index: 27 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 28 code: pattern: {type: Code, value: 48765-2} index: 29 entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/AdverseEvent', 'http://hl7.org/fhir/StructureDefinition/AllergyIntolerance'] index: 30 Vital_Sign: match: code: coding: {code: 8716-3} schema: short: Vital Sign index: 23 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 24 code: pattern: {type: Code, value: 8716-3} index: 25 entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Observation'] index: 26 Clinical_Information: match: code: coding: {code: 55752-0} schema: short: Clinical Information index: 16 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 17 code: pattern: {type: Code, value: 55752-0} index: 18 Plan_of_care: match: code: coding: {code: 18776-5} schema: short: Plan of care index: 51 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 52 code: pattern: {type: Code, value: 18776-5} index: 53 entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan'] index: 54 Assessment: match: code: coding: {code: 51848-0} schema: short: Assessment index: 47 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 48 code: pattern: {type: Code, value: 51848-0} index: 49 entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Condition'] index: 50 Form: match: code: coding: {code: LP199484-9} schema: index: 55 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 56 code: pattern: {type: Code, value: LP199484-9} index: 57 entry: {index: 58} required: [entry] Family_History: match: code: coding: {code: 10157-6} schema: short: Family History index: 39 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 40 code: pattern: {type: Code, value: 10157-6} index: 41 entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory'] index: 42 Social_History: match: code: coding: {code: 29762-2} schema: short: Social History index: 35 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 36 code: pattern: {type: Code, value: 29762-2} index: 37 entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Observation'] index: 38 Immunization: match: code: coding: {code: 11369-6} schema: index: 43 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 44 code: pattern: {type: Code, value: 11369-6} index: 45 entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Immunization'] index: 46 Medication_Section: match: code: coding: {code: 10160-0} schema: short: Medication Section index: 31 elements: code: elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 32 code: pattern: {type: Code, value: 10160-0} index: 33 entry: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationStatement'] index: 34 package_version: 0.0.1 extensions: locationRecorded: {url: 'http://fhir.hie.moh.gov.id/StructureDefinition/location-recorded-id-core', min: 0, type: Extension, isModifier: false, index: 1} class: profile kind: resource url: http://fhir.hie.moh.gov.id/StructureDefinition/Composition-id-core base: http://hl7.org/fhir/StructureDefinition/Composition version: 1.0.0 required: [event, section, subject, category]