description: Medication in Lab Order package_name: ch.fhir.ig.ch-lab-order derivation: constraint name: ChLabOrderMedication type: Medication elements: code: elements: coding: short: Code of the medication index: 0 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: GTIN: match: {system: 'urn:oid:2.51.1.1'} schema: short: Use GTIN for Swiss products mustSupport: true array: true index: 1 elements: system: short: Global Trade Item Number (GS1) pattern: {type: uri, value: 'urn:oid:2.51.1.1'} type: uri index: 2 code: {index: 3} required: [code, system] ATC: match: {system: 'http://www.whocc.no/atc'} schema: short: Use ATC for foreign products array: true index: 4 elements: system: short: Anatomical Therapeutic Chemical (ATC) Classification pattern: {type: uri, value: 'http://www.whocc.no/atc'} type: uri index: 5 code: {index: 6} required: [code, system] text: {short: Medication name, mustSupport: true, index: 7} required: [text] package_version: 3.0.0-ballot class: profile kind: resource url: http://fhir.ch/ig/ch-lab-order/StructureDefinition/ChLabOrderMedication base: http://hl7.org/fhir/StructureDefinition/Medication version: 3.0.0-ballot