Release 5 Draft Ballot

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Medicinalproductdefinition.profile.json

Biomedical Research and Regulation Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw JSON (canonical form + also see JSON Format Specification)

StructureDefinition for medicinalproductdefinition

{
  "resourceType" : "StructureDefinition",
  "id" : "MedicinalProductDefinition",
  "meta" : {
    "lastUpdated" : "2022-07-05T19:02:37.015+00:00"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div>!-- Snipped for Brevity --></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 1
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
    "valueCode" : "anonymous"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "brr"
  }],
  "url" : "http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition",
  "version" : "4.6.0",
  "name" : "MedicinalProductDefinition",
  "status" : "draft",
  "date" : "2022-07-05T19:02:37+00:00",
  "publisher" : "Health Level Seven International (Biomedical Research and Regulation)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/rcrim/index.cfm"
    }]
  }],
  "description" : "Detailed definition of a medicinal product, typically for uses other than direct patient care (e.g. regulatory use, drug catalogs, to support prescribing, adverse events management etc.).",
  "fhirVersion" : "4.6.0",
  "mapping" : [{
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "idmp",
    "uri" : "https://en.wikipedia.org/wiki/Identification_of_medicinal_products",
    "name" : "IDMP Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "MedicinalProductDefinition",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation" : "specialization",
  "snapshot" : {
    "element" : [{
      "id" : "MedicinalProductDefinition",
      "path" : "MedicinalProductDefinition",
      "short" : "Detailed definition of a medicinal product",
      "definition" : "A medicinal product, being a substance or combination of substances that is intended to treat, prevent or diagnose a disease, or to restore, correct or modify physiological functions by exerting a pharmacological, immunological or metabolic action. This resource is intended to define and detail such products and their properties, for uses other than direct patient care (e.g. regulatory use, or drug catalogs).",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition",
        "min" : 0,
        "max" : "*"
      },
      "constraint" : [{
        "key" : "dom-2",
        "severity" : "error",
        "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "expression" : "contained.contained.empty()",
        "xpath" : "not(parent::f:contained and f:contained)",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      },
      {
        "key" : "dom-3",
        "severity" : "error",
        "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "expression" : "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
        "xpath" : "not(exists(for $contained in f:contained return $contained[not(exists(parent::*/descendant::f:reference/@value=concat('#', $contained/*/f:id/@value)) or exists(descendant::f:reference[@value='#']))]))",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      },
      {
        "key" : "dom-4",
        "severity" : "error",
        "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
        "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      },
      {
        "key" : "dom-5",
        "severity" : "error",
        "human" : "If a resource is contained in another resource, it SHALL NOT have a security label",
        "expression" : "contained.meta.security.empty()",
        "xpath" : "not(exists(f:contained/*/f:meta/f:security))",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown" : "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
        }],
        "key" : "dom-6",
        "severity" : "warning",
        "human" : "A resource should have narrative for robust management",
        "expression" : "text.`div`.exists()",
        "xpath" : "exists(f:text/h:div)",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "Entity. Role, or Act"
      },
      {
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT']"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product and Investigational Medicinal Product"
      },
      {
        "identity" : "w5",
        "map" : "administrative.medication"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.id",
      "path" : "MedicinalProductDefinition.id",
      "short" : "Logical id of this artifact",
      "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "comment" : "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "id"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "MedicinalProductDefinition.meta",
      "path" : "MedicinalProductDefinition.meta",
      "short" : "Metadata about the resource",
      "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.meta",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Meta"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "MedicinalProductDefinition.implicitRules",
      "path" : "MedicinalProductDefinition.implicitRules",
      "short" : "A set of rules under which this content was created",
      "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
      "comment" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.implicitRules",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "uri"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
      "isSummary" : true
    },
    {
      "id" : "MedicinalProductDefinition.language",
      "path" : "MedicinalProductDefinition.language",
      "short" : "Language of the resource content",
      "definition" : "The base language in which the resource is written.",
      "comment" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.language",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Language"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "IETF language tag",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      }
    },
    {
      "id" : "MedicinalProductDefinition.text",
      "path" : "MedicinalProductDefinition.text",
      "short" : "Text summary of the resource, for human interpretation",
      "definition" : "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "comment" : "Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
      "alias" : ["narrative",
      "html",
      "xhtml",
      "display"],
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DomainResource.text",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Narrative"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "Act.text?"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contained",
      "path" : "MedicinalProductDefinition.contained",
      "short" : "Contained, inline Resources",
      "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope.",
      "comment" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
      "alias" : ["inline resources",
      "anonymous resources",
      "contained resources"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.contained",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Resource"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.extension",
      "path" : "MedicinalProductDefinition.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.modifierExtension",
      "path" : "MedicinalProductDefinition.modifierExtension",
      "short" : "Extensions that cannot be ignored",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "mustSupport" : false,
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.identifier",
      "path" : "MedicinalProductDefinition.identifier",
      "short" : "Business identifier for this product. Could be an MPID",
      "definition" : "Business identifier for this product. Could be an MPID. When in development or being regulated, products are typically referenced by official identifiers, assigned by a manufacturer or regulator, and unique to a product (which, when compared to a product instance being prescribed, is actually a product type). See also MedicinalProductDefinition.code.",
      "alias" : ["MPID"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.identifier",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Identifier"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      },
      {
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].code"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.MPID, Investigational Medicinal Product.IMPID"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.type",
      "path" : "MedicinalProductDefinition.type",
      "short" : "Regulatory type, e.g. Investigational or Authorized",
      "definition" : "Regulatory type, e.g. Investigational or Authorized.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicinalProductType"
        }],
        "strength" : "example",
        "description" : "Overall defining type of this medicinal product.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asSpecializedKind.generalizedMaterialKind.code"
      },
      {
        "identity" : "idmp",
        "map" : "(indicates if this is Medicinal Product or an Investigational Medicinal Product)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.domain",
      "path" : "MedicinalProductDefinition.domain",
      "short" : "If this medicine applies to human or veterinary uses",
      "definition" : "If this medicine applies to human or veterinary uses.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.domain",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicinalProductType"
        }],
        "strength" : "example",
        "description" : "Applicable domain for this product (e.g. human, veterinary).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-domain"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.characteristic[@code='{domain}'].value"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.version",
      "path" : "MedicinalProductDefinition.version",
      "short" : "A business identifier relating to a specific version of the product",
      "definition" : "A business identifier relating to a specific version of the product, this is commonly used to support revisions to an existing product.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.version",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Header.Version Number"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.status",
      "path" : "MedicinalProductDefinition.status",
      "short" : "The status within the lifecycle of this product record",
      "definition" : "The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.status",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : true,
      "isModifierReason" : "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PublicationStatus"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "The lifecycle status of an artifact.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/publication-status"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.statusDate",
      "path" : "MedicinalProductDefinition.statusDate",
      "short" : "The date at which the given status became applicable",
      "definition" : "The date at which the given status became applicable.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.statusDate",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.description",
      "path" : "MedicinalProductDefinition.description",
      "short" : "General description of this product",
      "definition" : "General description of this product.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "markdown"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].desc"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.combinedPharmaceuticalDoseForm",
      "path" : "MedicinalProductDefinition.combinedPharmaceuticalDoseForm",
      "short" : "The dose form for a single part product, or combined form of a multiple part product",
      "definition" : "The dose form for a single part product, or combined form of a multiple part product. This is one concept that describes all the components. It does not represent the form with components physically mixed, if that might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.combinedPharmaceuticalDoseForm",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "CombinedDoseForm"
        }],
        "strength" : "example",
        "description" : "Dose forms for a product as a whole, considering all individual parts, but before any mixing",
        "valueSet" : "http://hl7.org/fhir/ValueSet/combined-dose-form"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].formCode"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Combined Pharmaceutical Dose Form"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.route",
      "path" : "MedicinalProductDefinition.route",
      "short" : "The path by which the product is taken into or makes contact with the body",
      "definition" : "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route is the same concept as AdministrableProductDefinition.routeOfAdministration.code, and they cannot be used together.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.route",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SNOMEDCTRouteCodes"
        }],
        "strength" : "example",
        "description" : "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/route-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].productOf.reconstitution.consumable.administerableMaterial.consumedIn.substanceAdministration1.routeCode"
      },
      {
        "identity" : "idmp",
        "map" : "Pharmaceutical Product.Route of Administration"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.indication",
      "path" : "MedicinalProductDefinition.indication",
      "short" : "Description of indication(s) for this product, used when structured indications are not required",
      "definition" : "Description of indication(s) for this product, used when structured indications are not required. In cases where structured indications are required, they are captured using the ClinicalUseDefinition resource. An indication is a medical situation for which using the product is appropriate.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.indication",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "markdown"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].consumedIn.substanceAdministration1.reason.indicationObservationCriterion[@code='{Observation_MedicalProblem}'].value.originalText.@value"
      },
      {
        "identity" : "idmp",
        "map" : "(roll up of all text in Therapeutic Indication.Indication Text, for common case where information is not granular)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.legalStatusOfSupply",
      "path" : "MedicinalProductDefinition.legalStatusOfSupply",
      "short" : "The legal status of supply of the medicinal product as classified by the regulator",
      "definition" : "The legal status of supply of the medicinal product as classified by the regulator.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.legalStatusOfSupply",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "LegalStatusOfSupply"
        }],
        "strength" : "example",
        "description" : "The prescription supply types appropriate to a medicinal product",
        "valueSet" : "http://hl7.org/fhir/ValueSet/legal-status-of-supply"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.approval[@code='{Approval_MarketingAuthorisation}'].pertinentInformation.policy.code"
      },
      {
        "identity" : "idmp",
        "map" : "Marketing Authorisation.Legal Status of Supply (moved here for practicality)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.additionalMonitoringIndicator",
      "path" : "MedicinalProductDefinition.additionalMonitoringIndicator",
      "short" : "Whether the Medicinal Product is subject to additional monitoring for regulatory reasons",
      "definition" : "Whether the Medicinal Product is subject to additional monitoring for regulatory reasons, such as heightened reporting requirements.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.additionalMonitoringIndicator",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdditionalMonitoring"
        }],
        "strength" : "example",
        "description" : "Extra measures defined for a Medicinal Product, such as heightened reporting requirements (e.g. Black Triangle Monitoring).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-additional-monitoring"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.policy.code"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Additional Monitoring Indicator"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.specialMeasures",
      "path" : "MedicinalProductDefinition.specialMeasures",
      "short" : "Whether the Medicinal Product is subject to special measures for regulatory reasons",
      "definition" : "Whether the Medicinal Product is subject to special measures for regulatory reasons, such as a requirement to conduct post-authorisation studies.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.specialMeasures",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SpecialMeasures"
        }],
        "strength" : "example",
        "description" : "Extra measures defined for a Medicinal Product, such as a requirement to conduct post-authorisation studies.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-special-measures"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.policy.code[@nullFlavor='OTH'].displayName"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Special Measures"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.pediatricUseIndicator",
      "path" : "MedicinalProductDefinition.pediatricUseIndicator",
      "short" : "If authorised for use in children",
      "definition" : "If authorised for use in children, or infants, neonates etc.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.pediatricUseIndicator",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PediatricUse"
        }],
        "strength" : "example",
        "description" : "Suitability for age groups, in particular children.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-pediatric-use"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.policy.code"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Pediatric Use Indicator"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.classification",
      "path" : "MedicinalProductDefinition.classification",
      "short" : "Allows the product to be classified by various systems",
      "definition" : "Allows the product to be classified by various systems, commonly WHO ATC.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.classification",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductClassification"
        }],
        "strength" : "example",
        "description" : "This value set includes codes from the Anatomical Therapeutic Chemical Classification System - provided as an exemplar value set.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/product-classification-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct/asSpecializedKind/generalizedMaterialKind/code"
      },
      {
        "identity" : "idmp",
        "map" : "Product Classification.Value"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.marketingStatus",
      "path" : "MedicinalProductDefinition.marketingStatus",
      "short" : "Marketing status of the medicinal product, in contrast to marketing authorization",
      "definition" : "Marketing status of the medicinal product, in contrast to marketing authorization. This refers to the product being actually 'on the market' as opposed to being allowed to be on the market (which is an authorization).",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.marketingStatus",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "MarketingStatus"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.approval[@code='{Approval_MarketingAuthorisation}'].statusCode"
      },
      {
        "identity" : "idmp",
        "map" : "Marketing Status"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.packagedMedicinalProduct",
      "path" : "MedicinalProductDefinition.packagedMedicinalProduct",
      "short" : "Package type for the product",
      "definition" : "Package type for the product. See also the PackagedProductDefinition resource.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.packagedMedicinalProduct",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicinalProductPackageType"
        }],
        "strength" : "example",
        "description" : "Types of medicinal product packs",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-package-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asContent.containerPackagedProduct.asContent.containerPackagedProduct.code"
      },
      {
        "identity" : "idmp",
        "map" : "Packaged Medicinal Product"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.comprisedOf",
      "path" : "MedicinalProductDefinition.comprisedOf",
      "short" : "A medicinal manufactured item that this product consists of, such as a tablet or capsule",
      "definition" : "A medicinal manufactured item that this product consists of, such as a tablet or capsule. Used as a direct link when the item's packaging is not being recorded (see also PackagedProductDefinition.package.containedItem.item).",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.comprisedOf",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.formCode"
      },
      {
        "identity" : "idmp",
        "map" : "Manufactured Item"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.ingredient",
      "path" : "MedicinalProductDefinition.ingredient",
      "short" : "The ingredients of this medicinal product - when not detailed in other resources",
      "definition" : "The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.ingredient",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SNOMEDCTSubstanceCodes"
        }],
        "strength" : "example",
        "description" : "This value set includes all substance codes from SNOMED CT - provided as an exemplar value set.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/substance-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].ingredient.ingredientSubstance.code"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Ingredient (see also FHIR Ingredient resource)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.impurity",
      "path" : "MedicinalProductDefinition.impurity",
      "short" : "Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product",
      "definition" : "Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.impurity",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableReference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SNOMEDCTSubstanceCodes"
        }],
        "strength" : "example",
        "description" : "This value set includes all substance codes from SNOMED CT - provided as an exemplar value set.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/substance-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "(to do)"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.attachedDocument",
      "path" : "MedicinalProductDefinition.attachedDocument",
      "short" : "Additional documentation about the medicinal product",
      "definition" : "Additional information or supporting documentation about the medicinal product.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.attachedDocument",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.document"
      },
      {
        "identity" : "idmp",
        "map" : "Attached Document"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.masterFile",
      "path" : "MedicinalProductDefinition.masterFile",
      "short" : "A master file for the medicinal product (e.g. Pharmacovigilance System Master File)",
      "definition" : "A master file for the medicinal product (e.g. Pharmacovigilance System Master File). Drug master files (DMFs) are documents submitted to regulatory agencies to provide confidential detailed information about facilities, processes or articles used in the manufacturing, processing, packaging and storing of drug products.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.masterFile",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.document"
      },
      {
        "identity" : "idmp",
        "map" : "Master File"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contact",
      "path" : "MedicinalProductDefinition.contact",
      "short" : "A product specific contact, person (in a role), or an organization",
      "definition" : "A product specific contact, person (in a role), or an organization.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.contact",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.assignedEntity.assignedOrganization.contactParty"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contact.id",
      "path" : "MedicinalProductDefinition.contact.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "id"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contact.extension",
      "path" : "MedicinalProductDefinition.contact.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contact.modifierExtension",
      "path" : "MedicinalProductDefinition.contact.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contact.type",
      "path" : "MedicinalProductDefinition.contact.type",
      "short" : "Allows the contact to be classified, for example QPPV, Pharmacovigilance Enquiry Information",
      "definition" : "Allows the contact to be classified, for example QPPV, Pharmacovigilance Enquiry Information.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.contact.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductContactType"
        }],
        "strength" : "example",
        "description" : "Extra measures defined for a Medicinal Product, such as heightened reporting requirements.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-contact-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.assignedEntity.assignedOrganization.contactParty.code"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contact.contact",
      "path" : "MedicinalProductDefinition.contact.contact",
      "short" : "A product specific contact, person (in a role), or an organization",
      "definition" : "A product specific contact, person (in a role), or an organization.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.contact.contact",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.assignedEntity.assignedOrganization.contactParty"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.clinicalTrial",
      "path" : "MedicinalProductDefinition.clinicalTrial",
      "short" : "Clinical trials or studies that this product is involved in",
      "definition" : "Clinical trials or studies that this product is involved in.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.clinicalTrial",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ResearchStudy"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.monitoringProgram"
      },
      {
        "identity" : "idmp",
        "map" : "Investigational Medicinal Product.Clinical Trial Status"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.code",
      "path" : "MedicinalProductDefinition.code",
      "short" : "A code that this product is known by, within some formal terminology",
      "definition" : "A code that this product is known by, usually within some formal terminology, perhaps assigned by a third party (i.e. not the manufacturer or regulator). Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.code",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Coding"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicationFormalRepresentation"
        }],
        "strength" : "example",
        "description" : "A coded concept that defines the type of a medication.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medication-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].code"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name",
      "path" : "MedicinalProductDefinition.name",
      "short" : "The product's name, including full name and possibly coded parts",
      "definition" : "The product's name, including full name and possibly coded parts.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.name",
        "min" : 1,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.name"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product Name"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.id",
      "path" : "MedicinalProductDefinition.name.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "id"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.extension",
      "path" : "MedicinalProductDefinition.name.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.modifierExtension",
      "path" : "MedicinalProductDefinition.name.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.productName",
      "path" : "MedicinalProductDefinition.name.productName",
      "short" : "The full product name",
      "definition" : "The full product name.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.name.productName",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.name"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product Name.Full Name"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.type",
      "path" : "MedicinalProductDefinition.name.type",
      "short" : "Type of product name, such as rINN, BAN, Proprietary, Non-Proprietary",
      "definition" : "Type of product name, such as rINN, BAN, Proprietary, Non-Proprietary.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.name.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductNameType"
        }],
        "strength" : "example",
        "description" : "Type of a name for a Medicinal Product.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-name-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.code"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.namePart",
      "path" : "MedicinalProductDefinition.name.namePart",
      "short" : "Coding words or phrases of the name",
      "definition" : "Coding words or phrases of the name.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.name.namePart",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.name.suffix"
      },
      {
        "identity" : "idmp",
        "map" : "(any and all of the name parts e.g. Medicinal Product Name.Formulation Part)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.namePart.id",
      "path" : "MedicinalProductDefinition.name.namePart.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "id"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.namePart.extension",
      "path" : "MedicinalProductDefinition.name.namePart.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.namePart.modifierExtension",
      "path" : "MedicinalProductDefinition.name.namePart.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.namePart.part",
      "path" : "MedicinalProductDefinition.name.namePart.part",
      "short" : "A fragment of a product name",
      "definition" : "A fragment of a product name.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.name.namePart.part",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.name.suffix"
      },
      {
        "identity" : "idmp",
        "map" : "(text of any of the name parts e.g. Medicinal Product Name.Formulation Part)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.namePart.type",
      "path" : "MedicinalProductDefinition.name.namePart.type",
      "short" : "Identifying type for this part of the name (e.g. strength part)",
      "definition" : "Identifying type for this part of the name (e.g. strength part).",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.name.namePart.type",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductNamePartType"
        }],
        "strength" : "example",
        "description" : "Type of part of a name for a Medicinal Product.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-name-part-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.code"
      },
      {
        "identity" : "idmp",
        "map" : "(which of the name parts this is e.g. Formulation Part)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage",
      "path" : "MedicinalProductDefinition.name.countryLanguage",
      "short" : "Country and jurisdiction where the name applies",
      "definition" : "Country and jurisdiction where the name applies, and associated language.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.name.countryLanguage",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity"
      },
      {
        "identity" : "idmp",
        "map" : "Country / Language"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage.id",
      "path" : "MedicinalProductDefinition.name.countryLanguage.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "id"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage.extension",
      "path" : "MedicinalProductDefinition.name.countryLanguage.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage.modifierExtension",
      "path" : "MedicinalProductDefinition.name.countryLanguage.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage.country",
      "path" : "MedicinalProductDefinition.name.countryLanguage.country",
      "short" : "Country code for where this name applies",
      "definition" : "Country code for where this name applies.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.name.countryLanguage.country",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Country"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "Jurisdiction codes",
        "valueSet" : "http://hl7.org/fhir/ValueSet/country"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.assigningTerritory.code"
      },
      {
        "identity" : "idmp",
        "map" : "Country / Language.Country"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage.jurisdiction",
      "path" : "MedicinalProductDefinition.name.countryLanguage.jurisdiction",
      "short" : "Jurisdiction code for where this name applies",
      "definition" : "Jurisdiction code for where this name applies. A jurisdiction may be a sub- or supra-national entity (e.g. a state or a geographic region).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.name.countryLanguage.jurisdiction",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Jurisdiction"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "Jurisdiction codes",
        "valueSet" : "http://hl7.org/fhir/ValueSet/jurisdiction"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.assigningTerritory.code"
      },
      {
        "identity" : "idmp",
        "map" : "Country / Language.Jurisdiction"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage.language",
      "path" : "MedicinalProductDefinition.name.countryLanguage.language",
      "short" : "Language code for this name",
      "definition" : "Language code for this name.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.name.countryLanguage.language",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Language"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "IETF language tag",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.name.@xml:lang"
      },
      {
        "identity" : "idmp",
        "map" : "Country / Language.Language"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.crossReference",
      "path" : "MedicinalProductDefinition.crossReference",
      "short" : "Reference to another product, e.g. for linking authorised to investigational product",
      "definition" : "Reference to another product, e.g. for linking authorised to investigational product, or a virtual product.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.crossReference",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asEquivalentEntity"
      },
      {
        "identity" : "idmp",
        "map" : "Product Cross-Reference"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.crossReference.id",
      "path" : "MedicinalProductDefinition.crossReference.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "id"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.crossReference.extension",
      "path" : "MedicinalProductDefinition.crossReference.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.crossReference.modifierExtension",
      "path" : "MedicinalProductDefinition.crossReference.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.crossReference.product",
      "path" : "MedicinalProductDefinition.crossReference.product",
      "short" : "Reference to another product, e.g. for linking authorised to investigational product",
      "definition" : "Reference to another product, e.g. for linking authorised to investigational product.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.crossReference.product",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableReference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asEquivalentEntity.definingMaterialKind.code"
      },
      {
        "identity" : "idmp",
        "map" : "Product Cross-Reference"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.crossReference.type",
      "path" : "MedicinalProductDefinition.crossReference.type",
      "short" : "The type of relationship, for instance branded to generic or virtual to actual product",
      "definition" : "The type of relationship, for instance branded to generic, virtual to actual product, product to development product (investigational), parallel import version.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.crossReference.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductCrossReferenceType"
        }],
        "strength" : "example",
        "description" : "Extra measures defined for a Medicinal Product, such as heightened reporting requirements.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-cross-reference-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asEquivalentEntity.code"
      },
      {
        "identity" : "idmp",
        "map" : "Product Cross-Reference"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation",
      "path" : "MedicinalProductDefinition.operation",
      "short" : "A manufacturing or administrative process for the medicinal product",
      "definition" : "A manufacturing or administrative process or step associated with (or performed on) the medicinal product.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.operation",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturing / Business Operation"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.id",
      "path" : "MedicinalProductDefinition.operation.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "id"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.extension",
      "path" : "MedicinalProductDefinition.operation.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.modifierExtension",
      "path" : "MedicinalProductDefinition.operation.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.type",
      "path" : "MedicinalProductDefinition.operation.type",
      "short" : "The type of manufacturing operation e.g. manufacturing itself, re-packaging",
      "definition" : "The type of manufacturing operation e.g. manufacturing itself, re-packaging. For the authorization of this, a RegulatedAuthorization would point to the same plan or activity referenced here.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.operation.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableReference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ActivityDefinition",
        "http://hl7.org/fhir/StructureDefinition/PlanDefinition"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action.code"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturing / Business Operation.Operation Type"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.effectiveDate",
      "path" : "MedicinalProductDefinition.operation.effectiveDate",
      "short" : "Date range of applicability",
      "definition" : "Date range of applicability.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.operation.effectiveDate",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Period"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action.effectiveTime"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturing / Business Operation.Effective Date"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.organization",
      "path" : "MedicinalProductDefinition.operation.organization",
      "short" : "The organization responsible for the particular process, e.g. the manufacturer or importer",
      "definition" : "The organization or establishment responsible for (or associated with) the particular process or step, examples include the manufacturer, importer, agent.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.operation.organization",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action.participation.organzation"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturer / Establishment (Organisation)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.confidentialityIndicator",
      "path" : "MedicinalProductDefinition.operation.confidentialityIndicator",
      "short" : "Specifies whether this process is considered proprietary or confidential",
      "definition" : "Specifies whether this particular business or manufacturing process is considered proprietary or confidential.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.operation.confidentialityIndicator",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductConfidentiality"
        }],
        "strength" : "example",
        "description" : "Confidentiality rating, e.g. commercial sensitivity for a Medicinal Product.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-confidentiality"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action.confidentialityCode"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturing / Business Operation.Confidentiality Indicator"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.characteristic",
      "path" : "MedicinalProductDefinition.characteristic",
      "short" : "Key product features such as \"sugar free\", \"modified release\"",
      "definition" : "Allows the key product features to be recorded, such as \"sugar free\", \"modified release\", \"parallel import\".",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "MedicinalProductDefinition.characteristic",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.characteristic"
      },
      {
        "identity" : "idmp",
        "map" : "Package Item (Container).Physical Characteristics"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.characteristic.id",
      "path" : "MedicinalProductDefinition.characteristic.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "id"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.characteristic.extension",
      "path" : "MedicinalProductDefinition.characteristic.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.characteristic.modifierExtension",
      "path" : "MedicinalProductDefinition.characteristic.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.characteristic.type",
      "path" : "MedicinalProductDefinition.characteristic.type",
      "short" : "A code expressing the type of characteristic",
      "definition" : "A code expressing the type of characteristic.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.characteristic.type",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductCharacteristic"
        }],
        "strength" : "example",
        "description" : "This value set includes all observable entity codes from SNOMED CT - provided as an exemplar value set.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/product-characteristic-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.characteristic[@code='{type}']"
      },
      {
        "identity" : "idmp",
        "map" : "Physical Characteristics, all attributes"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.characteristic.value[x]",
      "path" : "MedicinalProductDefinition.characteristic.value[x]",
      "short" : "A value for the characteristic",
      "definition" : "A value for the characteristic.text.",
      "comment" : "String is intended to be used only when the item cannot ever reasonably be coded. Otherwise, for cases where a code is not available, but is feasible, use CodeableConcept. (temporary text to make build work: The usage of CodeableConcept is for concepts that are normally coded but for which a code is not available - for example a device implant size that is not standardized. The property string is for text characteristics, e.g. long descriptions, warnings, etc.).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "MedicinalProductDefinition.characteristic.value[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "string"
      },
      {
        "code" : "Quantity"
      },
      {
        "code" : "integer"
      },
      {
        "code" : "date"
      },
      {
        "code" : "boolean"
      },
      {
        "code" : "Attachment"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.characteristic[@code='{type}'].value"
      },
      {
        "identity" : "idmp",
        "map" : "Physical Characteristics, attribute's value"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "MedicinalProductDefinition",
      "path" : "MedicinalProductDefinition",
      "short" : "Detailed definition of a medicinal product",
      "definition" : "A medicinal product, being a substance or combination of substances that is intended to treat, prevent or diagnose a disease, or to restore, correct or modify physiological functions by exerting a pharmacological, immunological or metabolic action. This resource is intended to define and detail such products and their properties, for uses other than direct patient care (e.g. regulatory use, or drug catalogs).",
      "min" : 0,
      "max" : "*",
      "mustSupport" : false,
      "isModifier" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT']"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product and Investigational Medicinal Product"
      },
      {
        "identity" : "w5",
        "map" : "administrative.medication"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.identifier",
      "path" : "MedicinalProductDefinition.identifier",
      "short" : "Business identifier for this product. Could be an MPID",
      "definition" : "Business identifier for this product. Could be an MPID. When in development or being regulated, products are typically referenced by official identifiers, assigned by a manufacturer or regulator, and unique to a product (which, when compared to a product instance being prescribed, is actually a product type). See also MedicinalProductDefinition.code.",
      "alias" : ["MPID"],
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      },
      {
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].code"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.MPID, Investigational Medicinal Product.IMPID"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.type",
      "path" : "MedicinalProductDefinition.type",
      "short" : "Regulatory type, e.g. Investigational or Authorized",
      "definition" : "Regulatory type, e.g. Investigational or Authorized.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicinalProductType"
        }],
        "strength" : "example",
        "description" : "Overall defining type of this medicinal product.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asSpecializedKind.generalizedMaterialKind.code"
      },
      {
        "identity" : "idmp",
        "map" : "(indicates if this is Medicinal Product or an Investigational Medicinal Product)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.domain",
      "path" : "MedicinalProductDefinition.domain",
      "short" : "If this medicine applies to human or veterinary uses",
      "definition" : "If this medicine applies to human or veterinary uses.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicinalProductType"
        }],
        "strength" : "example",
        "description" : "Applicable domain for this product (e.g. human, veterinary).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-domain"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.characteristic[@code='{domain}'].value"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.version",
      "path" : "MedicinalProductDefinition.version",
      "short" : "A business identifier relating to a specific version of the product",
      "definition" : "A business identifier relating to a specific version of the product, this is commonly used to support revisions to an existing product.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Header.Version Number"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.status",
      "path" : "MedicinalProductDefinition.status",
      "short" : "The status within the lifecycle of this product record",
      "definition" : "The status within the lifecycle of this product record. A high-level status, this is not intended to duplicate details carried elsewhere such as legal status, or authorization status.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : true,
      "isModifierReason" : "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PublicationStatus"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "The lifecycle status of an artifact.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/publication-status"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.statusDate",
      "path" : "MedicinalProductDefinition.statusDate",
      "short" : "The date at which the given status became applicable",
      "definition" : "The date at which the given status became applicable.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.description",
      "path" : "MedicinalProductDefinition.description",
      "short" : "General description of this product",
      "definition" : "General description of this product.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "markdown"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].desc"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.combinedPharmaceuticalDoseForm",
      "path" : "MedicinalProductDefinition.combinedPharmaceuticalDoseForm",
      "short" : "The dose form for a single part product, or combined form of a multiple part product",
      "definition" : "The dose form for a single part product, or combined form of a multiple part product. This is one concept that describes all the components. It does not represent the form with components physically mixed, if that might be necessary, for which see (AdministrableProductDefinition.administrableDoseForm).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "CombinedDoseForm"
        }],
        "strength" : "example",
        "description" : "Dose forms for a product as a whole, considering all individual parts, but before any mixing",
        "valueSet" : "http://hl7.org/fhir/ValueSet/combined-dose-form"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].formCode"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Combined Pharmaceutical Dose Form"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.route",
      "path" : "MedicinalProductDefinition.route",
      "short" : "The path by which the product is taken into or makes contact with the body",
      "definition" : "The path by which the product is taken into or makes contact with the body. In some regions this is referred to as the licenced or approved route. See also AdministrableProductDefinition resource. MedicinalProductDefinition.route is the same concept as AdministrableProductDefinition.routeOfAdministration.code, and they cannot be used together.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SNOMEDCTRouteCodes"
        }],
        "strength" : "example",
        "description" : "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/route-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].productOf.reconstitution.consumable.administerableMaterial.consumedIn.substanceAdministration1.routeCode"
      },
      {
        "identity" : "idmp",
        "map" : "Pharmaceutical Product.Route of Administration"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.indication",
      "path" : "MedicinalProductDefinition.indication",
      "short" : "Description of indication(s) for this product, used when structured indications are not required",
      "definition" : "Description of indication(s) for this product, used when structured indications are not required. In cases where structured indications are required, they are captured using the ClinicalUseDefinition resource. An indication is a medical situation for which using the product is appropriate.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "markdown"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].consumedIn.substanceAdministration1.reason.indicationObservationCriterion[@code='{Observation_MedicalProblem}'].value.originalText.@value"
      },
      {
        "identity" : "idmp",
        "map" : "(roll up of all text in Therapeutic Indication.Indication Text, for common case where information is not granular)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.legalStatusOfSupply",
      "path" : "MedicinalProductDefinition.legalStatusOfSupply",
      "short" : "The legal status of supply of the medicinal product as classified by the regulator",
      "definition" : "The legal status of supply of the medicinal product as classified by the regulator.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "LegalStatusOfSupply"
        }],
        "strength" : "example",
        "description" : "The prescription supply types appropriate to a medicinal product",
        "valueSet" : "http://hl7.org/fhir/ValueSet/legal-status-of-supply"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.approval[@code='{Approval_MarketingAuthorisation}'].pertinentInformation.policy.code"
      },
      {
        "identity" : "idmp",
        "map" : "Marketing Authorisation.Legal Status of Supply (moved here for practicality)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.additionalMonitoringIndicator",
      "path" : "MedicinalProductDefinition.additionalMonitoringIndicator",
      "short" : "Whether the Medicinal Product is subject to additional monitoring for regulatory reasons",
      "definition" : "Whether the Medicinal Product is subject to additional monitoring for regulatory reasons, such as heightened reporting requirements.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdditionalMonitoring"
        }],
        "strength" : "example",
        "description" : "Extra measures defined for a Medicinal Product, such as heightened reporting requirements (e.g. Black Triangle Monitoring).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-additional-monitoring"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.policy.code"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Additional Monitoring Indicator"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.specialMeasures",
      "path" : "MedicinalProductDefinition.specialMeasures",
      "short" : "Whether the Medicinal Product is subject to special measures for regulatory reasons",
      "definition" : "Whether the Medicinal Product is subject to special measures for regulatory reasons, such as a requirement to conduct post-authorisation studies.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SpecialMeasures"
        }],
        "strength" : "example",
        "description" : "Extra measures defined for a Medicinal Product, such as a requirement to conduct post-authorisation studies.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-special-measures"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.policy.code[@nullFlavor='OTH'].displayName"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Special Measures"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.pediatricUseIndicator",
      "path" : "MedicinalProductDefinition.pediatricUseIndicator",
      "short" : "If authorised for use in children",
      "definition" : "If authorised for use in children, or infants, neonates etc.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PediatricUse"
        }],
        "strength" : "example",
        "description" : "Suitability for age groups, in particular children.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-pediatric-use"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.policy.code"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Pediatric Use Indicator"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.classification",
      "path" : "MedicinalProductDefinition.classification",
      "short" : "Allows the product to be classified by various systems",
      "definition" : "Allows the product to be classified by various systems, commonly WHO ATC.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductClassification"
        }],
        "strength" : "example",
        "description" : "This value set includes codes from the Anatomical Therapeutic Chemical Classification System - provided as an exemplar value set.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/product-classification-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct/asSpecializedKind/generalizedMaterialKind/code"
      },
      {
        "identity" : "idmp",
        "map" : "Product Classification.Value"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.marketingStatus",
      "path" : "MedicinalProductDefinition.marketingStatus",
      "short" : "Marketing status of the medicinal product, in contrast to marketing authorization",
      "definition" : "Marketing status of the medicinal product, in contrast to marketing authorization. This refers to the product being actually 'on the market' as opposed to being allowed to be on the market (which is an authorization).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "MarketingStatus"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.approval[@code='{Approval_MarketingAuthorisation}'].statusCode"
      },
      {
        "identity" : "idmp",
        "map" : "Marketing Status"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.packagedMedicinalProduct",
      "path" : "MedicinalProductDefinition.packagedMedicinalProduct",
      "short" : "Package type for the product",
      "definition" : "Package type for the product. See also the PackagedProductDefinition resource.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicinalProductPackageType"
        }],
        "strength" : "example",
        "description" : "Types of medicinal product packs",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-package-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asContent.containerPackagedProduct.asContent.containerPackagedProduct.code"
      },
      {
        "identity" : "idmp",
        "map" : "Packaged Medicinal Product"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.comprisedOf",
      "path" : "MedicinalProductDefinition.comprisedOf",
      "short" : "A medicinal manufactured item that this product consists of, such as a tablet or capsule",
      "definition" : "A medicinal manufactured item that this product consists of, such as a tablet or capsule. Used as a direct link when the item's packaging is not being recorded (see also PackagedProductDefinition.package.containedItem.item).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition"]
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.formCode"
      },
      {
        "identity" : "idmp",
        "map" : "Manufactured Item"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.ingredient",
      "path" : "MedicinalProductDefinition.ingredient",
      "short" : "The ingredients of this medicinal product - when not detailed in other resources",
      "definition" : "The ingredients of this medicinal product - when not detailed in other resources. This is only needed if the ingredients are not specified by incoming references from the Ingredient resource, or indirectly via incoming AdministrableProductDefinition, PackagedProductDefinition or ManufacturedItemDefinition references. In cases where those levels of detail are not used, the ingredients may be specified directly here as codes.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SNOMEDCTSubstanceCodes"
        }],
        "strength" : "example",
        "description" : "This value set includes all substance codes from SNOMED CT - provided as an exemplar value set.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/substance-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].ingredient.ingredientSubstance.code"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product.Ingredient (see also FHIR Ingredient resource)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.impurity",
      "path" : "MedicinalProductDefinition.impurity",
      "short" : "Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product",
      "definition" : "Any component of the drug product which is not the chemical entity defined as the drug substance, or an excipient in the drug product. This includes process-related impurities and contaminants, product-related impurities including degradation products.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableReference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"]
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SNOMEDCTSubstanceCodes"
        }],
        "strength" : "example",
        "description" : "This value set includes all substance codes from SNOMED CT - provided as an exemplar value set.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/substance-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "(to do)"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.attachedDocument",
      "path" : "MedicinalProductDefinition.attachedDocument",
      "short" : "Additional documentation about the medicinal product",
      "definition" : "Additional information or supporting documentation about the medicinal product.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.document"
      },
      {
        "identity" : "idmp",
        "map" : "Attached Document"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.masterFile",
      "path" : "MedicinalProductDefinition.masterFile",
      "short" : "A master file for the medicinal product (e.g. Pharmacovigilance System Master File)",
      "definition" : "A master file for the medicinal product (e.g. Pharmacovigilance System Master File). Drug master files (DMFs) are documents submitted to regulatory agencies to provide confidential detailed information about facilities, processes or articles used in the manufacturing, processing, packaging and storing of drug products.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.document"
      },
      {
        "identity" : "idmp",
        "map" : "Master File"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contact",
      "path" : "MedicinalProductDefinition.contact",
      "short" : "A product specific contact, person (in a role), or an organization",
      "definition" : "A product specific contact, person (in a role), or an organization.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.assignedEntity.assignedOrganization.contactParty"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contact.type",
      "path" : "MedicinalProductDefinition.contact.type",
      "short" : "Allows the contact to be classified, for example QPPV, Pharmacovigilance Enquiry Information",
      "definition" : "Allows the contact to be classified, for example QPPV, Pharmacovigilance Enquiry Information.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductContactType"
        }],
        "strength" : "example",
        "description" : "Extra measures defined for a Medicinal Product, such as heightened reporting requirements.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-contact-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.assignedEntity.assignedOrganization.contactParty.code"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.contact.contact",
      "path" : "MedicinalProductDefinition.contact.contact",
      "short" : "A product specific contact, person (in a role), or an organization",
      "definition" : "A product specific contact, person (in a role), or an organization.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.assignedEntity.assignedOrganization.contactParty"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.clinicalTrial",
      "path" : "MedicinalProductDefinition.clinicalTrial",
      "short" : "Clinical trials or studies that this product is involved in",
      "definition" : "Clinical trials or studies that this product is involved in.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ResearchStudy"]
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.monitoringProgram"
      },
      {
        "identity" : "idmp",
        "map" : "Investigational Medicinal Product.Clinical Trial Status"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.code",
      "path" : "MedicinalProductDefinition.code",
      "short" : "A code that this product is known by, within some formal terminology",
      "definition" : "A code that this product is known by, usually within some formal terminology, perhaps assigned by a third party (i.e. not the manufacturer or regulator). Products (types of medications) tend to be known by identifiers during development and within regulatory process. However when they are prescribed they tend to be identified by codes. The same product may be have multiple codes, applied to it by multiple organizations.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Coding"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MedicationFormalRepresentation"
        }],
        "strength" : "example",
        "description" : "A coded concept that defines the type of a medication.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medication-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct[classCode='MMAT'].code"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name",
      "path" : "MedicinalProductDefinition.name",
      "short" : "The product's name, including full name and possibly coded parts",
      "definition" : "The product's name, including full name and possibly coded parts.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.name"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product Name"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.productName",
      "path" : "MedicinalProductDefinition.name.productName",
      "short" : "The full product name",
      "definition" : "The full product name.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.name"
      },
      {
        "identity" : "idmp",
        "map" : "Medicinal Product Name.Full Name"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.type",
      "path" : "MedicinalProductDefinition.name.type",
      "short" : "Type of product name, such as rINN, BAN, Proprietary, Non-Proprietary",
      "definition" : "Type of product name, such as rINN, BAN, Proprietary, Non-Proprietary.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductNameType"
        }],
        "strength" : "example",
        "description" : "Type of a name for a Medicinal Product.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-name-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.code"
      },
      {
        "identity" : "idmp",
        "map" : "n/a"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.namePart",
      "path" : "MedicinalProductDefinition.name.namePart",
      "short" : "Coding words or phrases of the name",
      "definition" : "Coding words or phrases of the name.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.name.suffix"
      },
      {
        "identity" : "idmp",
        "map" : "(any and all of the name parts e.g. Medicinal Product Name.Formulation Part)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.namePart.part",
      "path" : "MedicinalProductDefinition.name.namePart.part",
      "short" : "A fragment of a product name",
      "definition" : "A fragment of a product name.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.name.suffix"
      },
      {
        "identity" : "idmp",
        "map" : "(text of any of the name parts e.g. Medicinal Product Name.Formulation Part)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.namePart.type",
      "path" : "MedicinalProductDefinition.name.namePart.type",
      "short" : "Identifying type for this part of the name (e.g. strength part)",
      "definition" : "Identifying type for this part of the name (e.g. strength part).",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductNamePartType"
        }],
        "strength" : "example",
        "description" : "Type of part of a name for a Medicinal Product.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-name-part-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.code"
      },
      {
        "identity" : "idmp",
        "map" : "(which of the name parts this is e.g. Formulation Part)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage",
      "path" : "MedicinalProductDefinition.name.countryLanguage",
      "short" : "Country and jurisdiction where the name applies",
      "definition" : "Country and jurisdiction where the name applies, and associated language.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity"
      },
      {
        "identity" : "idmp",
        "map" : "Country / Language"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage.country",
      "path" : "MedicinalProductDefinition.name.countryLanguage.country",
      "short" : "Country code for where this name applies",
      "definition" : "Country code for where this name applies.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Country"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "Jurisdiction codes",
        "valueSet" : "http://hl7.org/fhir/ValueSet/country"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.assigningTerritory.code"
      },
      {
        "identity" : "idmp",
        "map" : "Country / Language.Country"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage.jurisdiction",
      "path" : "MedicinalProductDefinition.name.countryLanguage.jurisdiction",
      "short" : "Jurisdiction code for where this name applies",
      "definition" : "Jurisdiction code for where this name applies. A jurisdiction may be a sub- or supra-national entity (e.g. a state or a geographic region).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Jurisdiction"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "Jurisdiction codes",
        "valueSet" : "http://hl7.org/fhir/ValueSet/jurisdiction"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.assigningTerritory.code"
      },
      {
        "identity" : "idmp",
        "map" : "Country / Language.Jurisdiction"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.name.countryLanguage.language",
      "path" : "MedicinalProductDefinition.name.countryLanguage.language",
      "short" : "Language code for this name",
      "definition" : "Language code for this name.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Language"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "IETF language tag",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asNamedEntity.name.@xml:lang"
      },
      {
        "identity" : "idmp",
        "map" : "Country / Language.Language"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.crossReference",
      "path" : "MedicinalProductDefinition.crossReference",
      "short" : "Reference to another product, e.g. for linking authorised to investigational product",
      "definition" : "Reference to another product, e.g. for linking authorised to investigational product, or a virtual product.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asEquivalentEntity"
      },
      {
        "identity" : "idmp",
        "map" : "Product Cross-Reference"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.crossReference.product",
      "path" : "MedicinalProductDefinition.crossReference.product",
      "short" : "Reference to another product, e.g. for linking authorised to investigational product",
      "definition" : "Reference to another product, e.g. for linking authorised to investigational product.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableReference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"]
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asEquivalentEntity.definingMaterialKind.code"
      },
      {
        "identity" : "idmp",
        "map" : "Product Cross-Reference"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.crossReference.type",
      "path" : "MedicinalProductDefinition.crossReference.type",
      "short" : "The type of relationship, for instance branded to generic or virtual to actual product",
      "definition" : "The type of relationship, for instance branded to generic, virtual to actual product, product to development product (investigational), parallel import version.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductCrossReferenceType"
        }],
        "strength" : "example",
        "description" : "Extra measures defined for a Medicinal Product, such as heightened reporting requirements.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-cross-reference-type"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].manufacturedProduct.asEquivalentEntity.code"
      },
      {
        "identity" : "idmp",
        "map" : "Product Cross-Reference"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation",
      "path" : "MedicinalProductDefinition.operation",
      "short" : "A manufacturing or administrative process for the medicinal product",
      "definition" : "A manufacturing or administrative process or step associated with (or performed on) the medicinal product.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturing / Business Operation"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.type",
      "path" : "MedicinalProductDefinition.operation.type",
      "short" : "The type of manufacturing operation e.g. manufacturing itself, re-packaging",
      "definition" : "The type of manufacturing operation e.g. manufacturing itself, re-packaging. For the authorization of this, a RegulatedAuthorization would point to the same plan or activity referenced here.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableReference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ActivityDefinition",
        "http://hl7.org/fhir/StructureDefinition/PlanDefinition"]
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action.code"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturing / Business Operation.Operation Type"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.effectiveDate",
      "path" : "MedicinalProductDefinition.operation.effectiveDate",
      "short" : "Date range of applicability",
      "definition" : "Date range of applicability.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Period"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action.effectiveTime"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturing / Business Operation.Effective Date"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.organization",
      "path" : "MedicinalProductDefinition.operation.organization",
      "short" : "The organization responsible for the particular process, e.g. the manufacturer or importer",
      "definition" : "The organization or establishment responsible for (or associated with) the particular process or step, examples include the manufacturer, importer, agent.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action.participation.organzation"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturer / Establishment (Organisation)"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.operation.confidentialityIndicator",
      "path" : "MedicinalProductDefinition.operation.confidentialityIndicator",
      "short" : "Specifies whether this process is considered proprietary or confidential",
      "definition" : "Specifies whether this particular business or manufacturing process is considered proprietary or confidential.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductConfidentiality"
        }],
        "strength" : "example",
        "description" : "Confidentiality rating, e.g. commercial sensitivity for a Medicinal Product.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medicinal-product-confidentiality"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.action.confidentialityCode"
      },
      {
        "identity" : "idmp",
        "map" : "Manufacturing / Business Operation.Confidentiality Indicator"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.characteristic",
      "path" : "MedicinalProductDefinition.characteristic",
      "short" : "Key product features such as \"sugar free\", \"modified release\"",
      "definition" : "Allows the key product features to be recorded, such as \"sugar free\", \"modified release\", \"parallel import\".",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.characteristic"
      },
      {
        "identity" : "idmp",
        "map" : "Package Item (Container).Physical Characteristics"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.characteristic.type",
      "path" : "MedicinalProductDefinition.characteristic.type",
      "short" : "A code expressing the type of characteristic",
      "definition" : "A code expressing the type of characteristic.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProductCharacteristic"
        }],
        "strength" : "example",
        "description" : "This value set includes all observable entity codes from SNOMED CT - provided as an exemplar value set.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/product-characteristic-codes"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.characteristic[@code='{type}']"
      },
      {
        "identity" : "idmp",
        "map" : "Physical Characteristics, all attributes"
      }]
    },
    {
      "id" : "MedicinalProductDefinition.characteristic.value[x]",
      "path" : "MedicinalProductDefinition.characteristic.value[x]",
      "short" : "A value for the characteristic",
      "definition" : "A value for the characteristic.text.",
      "comment" : "String is intended to be used only when the item cannot ever reasonably be coded. Otherwise, for cases where a code is not available, but is feasible, use CodeableConcept. (temporary text to make build work: The usage of CodeableConcept is for concepts that are normally coded but for which a code is not available - for example a device implant size that is not standardized. The property string is for text characteristics, e.g. long descriptions, warnings, etc.).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "string"
      },
      {
        "code" : "Quantity"
      },
      {
        "code" : "integer"
      },
      {
        "code" : "date"
      },
      {
        "code" : "boolean"
      },
      {
        "code" : "Attachment"
      }],
      "mustSupport" : false,
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "ManufacturedProduct[classCode='MANU'].subjectOf.characteristic[@code='{type}'].value"
      },
      {
        "identity" : "idmp",
        "map" : "Physical Characteristics, attribute's value"
      }]
    }]
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.