description: This profile represents a catalog item that is a medication package_name: smart.who.int.pcmt derivation: constraint name: MedicationCatalogItem type: MedicationKnowledge elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: productID: match: {url: null} schema: type: Extension constraint: has-a-product-id-code: {human: 'Ensure there is a product id code. A more robust expression is needed here. Intended to be called on (a collection) of ProductId extensions. //to do: better expresssion: valueCoding or valueReference exists and meets the requisite profiles, etc.', source: 'http://smart.who.int/pcmt/StructureDefinition/MedicationCatalogItem', severity: error, expression: exists()} mustSupport: true url: http://smart.who.int/pcmt/StructureDefinition/ProductID index: 1 min: 1 max: 1 package_version: 0.1.0 extensions: productID: url: http://smart.who.int/pcmt/StructureDefinition/ProductID min: 1 max: 1 type: Extension constraint: has-a-product-id-code: {human: 'Ensure there is a product id code. A more robust expression is needed here. Intended to be called on (a collection) of ProductId extensions. //to do: better expresssion: valueCoding or valueReference exists and meets the requisite profiles, etc.', source: 'http://smart.who.int/pcmt/StructureDefinition/MedicationCatalogItem', severity: error, expression: exists()} mustSupport: true index: 1 class: profile kind: resource url: http://smart.who.int/pcmt/StructureDefinition/MedicationCatalogItem base: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge version: 0.1.0 required: [extension]