FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.xver-r4b.r3
Resource TypeStructureDefinition
IdStructureDefinition-profile-Library.json
FHIR VersionR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition profile-Library

NameFlagsCard.TypeDescription & Constraintsdoco
.. Library 0..*LibraryRepresents a library of quality improvement components
... meta
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:meta 0..1MetaR4B: meta additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.meta
... text
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:text 0..1(Complex)R4B: text additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.text
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:subtitle 0..1stringR4B: Subordinate title of the library (new)
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.subtitle
.... extension:subject 0..1CodeableConcept, Reference(Cross-version Profile for R4B.Group for use in FHIR STU3(0.1.0) | Group)R4B: Type of individual the library content is focused on (new)
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.subject
Binding: R4BSubjectTypeForR3 (0.1.0) (extensible): The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.).
... identifier
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:identifier 0..*IdentifierR4B: identifier additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.identifier
... effectivePeriod
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:effectivePeriod 0..1PeriodR4B: effectivePeriod additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.effectivePeriod
... useContext
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:useContext 0..*(Complex)R4B: The context that the content is intended to support additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.useContext
... contributor
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:author 0..*(Complex)R4B: Who authored the content additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.author
..... extension:editor 0..*(Complex)R4B: Who edited the content additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.editor
..... extension:reviewer 0..*(Complex)R4B: Who reviewed the content additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.reviewer
..... extension:endorser 0..*(Complex)R4B: Who endorsed the content additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.endorser
... contact
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:contact 0..*(Complex)R4B: contact additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.contact
... relatedArtifact
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:relatedArtifact 0..*(Complex)R4B: relatedArtifact additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.relatedArtifact
... parameter
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:parameter 0..*(Complex)R4B: parameter additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.parameter
... dataRequirement
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:dataRequirement 0..*(Complex)R4B: dataRequirement additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.dataRequirement
... content
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:content 0..*AttachmentR4B: content additional types
URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.content

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "profile-Library",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "extension": [
        {
          "url": "packageId",
          "valueId": "hl7.fhir.uv.xver-r4b.r3"
        },
        {
          "url": "version",
          "valueString": "0.1.0"
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/package-source"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r3"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r3"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/4.3/StructureDefinition/profile-Library",
  "version": "0.1.0",
  "name": "Profile_R4B_Library_R3",
  "title": "Cross-version Profile for R4B.Library for use in FHIR STU3",
  "status": "active",
  "experimental": false,
  "date": "2026-03-17T16:04:24.820445-05:00",
  "publisher": "FHIR Infrastructure",
  "contact": [
    {
      "name": "FHIR Infrastructure",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "This cross-version profile allows R4B Library content to be represented via FHIR STU3 Library resources.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "objimpl",
      "uri": "http://hl7.org/fhir/object-implementation",
      "name": "Object Implementation Information"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Library",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Library",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "Library",
        "path": "Library",
        "short": "Represents a library of quality improvement components",
        "definition": "The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library",
          "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-1",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression": "contained.text.empty()",
            "xpath": "not(parent::f:contained and f:text)",
            "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-3",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
            "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
            "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          },
          {
            "identity": "rim",
            "map": "Act[classCode=GROUPER;moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "clinical.general"
          }
        ]
      },
      {
        "id": "Library.id",
        "path": "Library.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": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.meta",
        "path": "Library.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 may 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"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.meta.id",
        "path": "Library.meta.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.meta.extension",
        "path": "Library.meta.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.meta.extension:meta",
        "path": "Library.meta.extension",
        "sliceName": "meta",
        "short": "R4B: meta additional types",
        "definition": "R4B: `Library.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, source, tag, versionId)",
        "comment": "Element `Library.meta` is mapped to FHIR STU3 element `Library.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.meta` do not cover the following types: Meta.\nThe mappings for `Library.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, source, tag, versionId.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.meta|0.1.0"
          }
        ]
      },
      {
        "id": "Library.meta.versionId",
        "path": "Library.meta.versionId",
        "short": "Version specific identifier",
        "definition": "The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.",
        "comment": "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Meta.versionId",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.meta.lastUpdated",
        "path": "Library.meta.lastUpdated",
        "short": "When the resource version last changed",
        "definition": "When the resource last changed - e.g. when the version changed.",
        "comment": "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Meta.lastUpdated",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "instant"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.meta.profile",
        "path": "Library.meta.profile",
        "short": "Profiles this resource claims to conform to",
        "definition": "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/STU3/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/STU3/).",
        "comment": "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Meta.profile",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.meta.security",
        "path": "Library.meta.security",
        "short": "Security Labels applied to this resource",
        "definition": "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
        "comment": "The security labels can be updated without changing the stated version of the resource  The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Meta.security",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SecurityLabels"
            }
          ],
          "strength": "extensible",
          "description": "Security Labels from the Healthcare Privacy and Security Classification System.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/security-labels|3.0.2"
          }
        }
      },
      {
        "id": "Library.meta.tag",
        "path": "Library.meta.tag",
        "short": "Tags applied to this resource",
        "definition": "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
        "comment": "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Meta.tag",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Tags"
            }
          ],
          "strength": "example",
          "description": "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/common-tags|3.0.2"
          }
        }
      },
      {
        "id": "Library.implicitRules",
        "path": "Library.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.",
        "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "id": "Library.language",
        "path": "Library.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"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference": {
                "reference": "http://hl7.org/fhir/ValueSet/all-languages|3.0.2"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            }
          ],
          "strength": "extensible",
          "description": "A human language.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/languages|3.0.2"
          }
        }
      },
      {
        "id": "Library.text",
        "path": "Library.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may 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 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 in formation is added later.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "id": "Library.text.id",
        "path": "Library.text.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.text.extension",
        "path": "Library.text.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.text.extension:text",
        "path": "Library.text.extension",
        "sliceName": "text",
        "short": "R4B: text additional types",
        "definition": "R4B: `Library.text` additional types (Narrative) additional types from child elements (div, status)",
        "comment": "Element `Library.text` is mapped to FHIR STU3 element `Library.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.text` do not cover the following types: Narrative.\nThe mappings for `Library.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have 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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.text|0.1.0"
          }
        ]
      },
      {
        "id": "Library.text.status",
        "path": "Library.text.status",
        "short": "generated | extensions | additional | empty",
        "definition": "The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Narrative.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "NarrativeStatus"
            }
          ],
          "strength": "required",
          "description": "The status of a resource narrative",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/narrative-status|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Library.text.div",
        "path": "Library.text.div",
        "short": "Limited xhtml content",
        "definition": "The actual narrative content, a stripped down version of XHTML.",
        "comment": "The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content may not contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Narrative.div",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "xhtml"
          }
        ],
        "constraint": [
          {
            "key": "txt-1",
            "severity": "error",
            "human": "The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes",
            "expression": "htmlchecks()",
            "xpath": "not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])",
            "source": "http://hl7.org/fhir/StructureDefinition/Library"
          },
          {
            "key": "txt-2",
            "severity": "error",
            "human": "The narrative SHALL have some non-whitespace content",
            "expression": "htmlchecks()",
            "xpath": "descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]",
            "source": "http://hl7.org/fhir/StructureDefinition/Library"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Library.contained",
        "path": "Library.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, and 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.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Library.extension",
        "path": "Library.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.extension:subtitle",
        "path": "Library.extension",
        "sliceName": "subtitle",
        "short": "R4B: Subordinate title of the library (new)",
        "definition": "R4B: `Library.subtitle` (new:string)",
        "comment": "Element `Library.subtitle` has a context of Library based on following the parent source element upwards and mapping to `Library`.\nElement `Library.subtitle` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.subtitle|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (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
      },
      {
        "id": "Library.extension:subject",
        "path": "Library.extension",
        "sliceName": "subject",
        "short": "R4B: Type of individual the library content is focused on (new)",
        "definition": "R4B: `Library.subject[x]` (new:CodeableConcept, Reference(Group))",
        "comment": "Element `Library.subject[x]` has a context of Library based on following the parent source element upwards and mapping to `Library`.\nElement `Library.subject[x]` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.subject|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (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
      },
      {
        "id": "Library.modifierExtension",
        "path": "Library.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. Usually modifier elements provide negation or qualification. In order 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.",
        "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.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Library.url",
        "path": "Library.url",
        "short": "Logical URI to reference this library (globally unique)",
        "definition": "An absolute URI that is used to identify this library when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this library is (or will be) published. The URL SHOULD include the major version of the library. For more information see [Technical and Business Versions](http://hl7.org/fhir/STU3/resource.html#versions).",
        "comment": "Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred.  Multiple instances may share the same url if they have a distinct version.",
        "requirements": "Allows the library to be referenced by a single globally unique identifier.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".identifier[scope=BUSN;reliability=ISS]"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "id": "Library.identifier",
        "path": "Library.identifier",
        "short": "Additional identifier for the library",
        "definition": "A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts.",
        "comment": "Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, e.g., to identify this library outside of FHIR, where it is not possible to use the logical URI.",
        "requirements": "Allows externally provided and/or usable business identifiers to be easily associated with the module.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".identifier"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "id": "Library.identifier.id",
        "path": "Library.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.identifier.extension",
        "path": "Library.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.identifier.extension:identifier",
        "path": "Library.identifier.extension",
        "sliceName": "identifier",
        "short": "R4B: identifier additional types",
        "definition": "R4B: `Library.identifier` additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)",
        "comment": "Element `Library.identifier` is mapped to FHIR STU3 element `Library.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.identifier` do not cover the following types: Identifier.\nThe mappings for `Library.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nTypically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.identifier|0.1.0"
          }
        ]
      },
      {
        "id": "Library.identifier.use",
        "path": "Library.identifier.use",
        "short": "usual | official | temp | secondary (If known)",
        "definition": "The purpose of this identifier.",
        "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.use",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierUse"
            }
          ],
          "strength": "required",
          "description": "Identifies the purpose for this identifier, if known .",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/identifier-use|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "Library.identifier.type",
        "path": "Library.identifier.type",
        "short": "Description of identifier",
        "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierType"
            }
          ],
          "strength": "extensible",
          "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/identifier-type|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.5"
          },
          {
            "identity": "rim",
            "map": "Role.code or implied by context"
          }
        ]
      },
      {
        "id": "Library.identifier.system",
        "path": "Library.identifier.system",
        "short": "The namespace for the identifier value",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
        "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/identifiers/patient"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "id": "Library.identifier.value",
        "path": "Library.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/STU3/extension-rendered-value.html).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "123456"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "id": "Library.identifier.period",
        "path": "Library.identifier.period",
        "short": "Time period when id is/was valid for use",
        "definition": "Time period during which identifier is/was valid for use.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.7 + CX.8"
          },
          {
            "identity": "rim",
            "map": "Role.effectiveTime or implied by context"
          },
          {
            "identity": "servd",
            "map": "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id": "Library.identifier.assigner",
        "path": "Library.identifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "definition": "Organization that issued/manages the identifier.",
        "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Identifier.assigner",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity": "rim",
            "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity": "servd",
            "map": "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id": "Library.version",
        "path": "Library.version",
        "short": "Business version of the library",
        "definition": "The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts.",
        "comment": "There may be different library instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a refrence to a particular business version of the library with the format [url]|[version].",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          },
          {
            "identity": "w5",
            "map": "id.version"
          }
        ]
      },
      {
        "id": "Library.name",
        "path": "Library.name",
        "short": "Name for this library (computer friendly)",
        "definition": "A natural language name identifying the library. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
        "comment": "The name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly.",
        "requirements": "Support human navigation and code generation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Library.title",
        "path": "Library.title",
        "short": "Name for this library (human friendly)",
        "definition": "A short, descriptive, user-friendly title for the library.",
        "comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.title",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".title"
          }
        ]
      },
      {
        "id": "Library.status",
        "path": "Library.status",
        "short": "draft | active | retired | unknown",
        "definition": "The status of this library. Enables tracking the life-cycle of the content.",
        "comment": "Allows filtering of librarys that are appropriate for use vs. not.  \nThis is labeled as \"Is Modifier\" because applications should not use a retired library without due consideration.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Library.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PublicationStatus"
            }
          ],
          "strength": "required",
          "description": "The lifecycle status of a Value Set or Concept Map.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/publication-status|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".status"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "id": "Library.experimental",
        "path": "Library.experimental",
        "short": "For testing purposes, not real usage",
        "definition": "A boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.",
        "comment": "Allows filtering of library that are appropriate for use vs. not. This is labeled as \"Is Modifier\" because applications should not use an experimental library in production.",
        "requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level library.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.experimental",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "id": "Library.type",
        "path": "Library.type",
        "short": "logic-library | model-definition | asset-collection | module-definition",
        "definition": "Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Library.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "LibraryType"
            }
          ],
          "strength": "extensible",
          "description": "The type of knowledge asset this library contains",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/library-type|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "Library.date",
        "path": "Library.date",
        "short": "Date this was last changed",
        "definition": "The date  (and optionally time) when the library was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes.",
        "comment": "Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.",
        "alias": [
          "Revision Date"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.date",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].time"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "id": "Library.publisher",
        "path": "Library.publisher",
        "short": "Name of the publisher (organization or individual)",
        "definition": "The name of the individual or organization that published the library.",
        "comment": "Usually an organization, but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the library. This item SHOULD be populated unless the information is available from context.",
        "requirements": "Helps establish the \"authority/credibility\" of the library.  May also allow for contact.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.publisher",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          },
          {
            "identity": "w5",
            "map": "who.witness"
          }
        ]
      },
      {
        "id": "Library.description",
        "path": "Library.description",
        "short": "Natural language description of the library",
        "definition": "A free text natural language description of the library from a consumer's perspective.",
        "comment": "This description can be used to capture details such as why the library was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the library as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the profile is presumed to be the predominant language in the place the profile was created).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "Library.purpose",
        "path": "Library.purpose",
        "short": "Why this library is defined",
        "definition": "Explaination of why this library is needed and why it has been designed as it has.",
        "comment": "This element does not describe the usage of the library Instead  it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.purpose",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".reasonCode.text"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          },
          {
            "identity": "w5",
            "map": "why"
          }
        ]
      },
      {
        "id": "Library.usage",
        "path": "Library.usage",
        "short": "Describes the clinical usage of the library",
        "definition": "A detailed description of how the library is used from a clinical perspective.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.usage",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "Library.approvalDate",
        "path": "Library.approvalDate",
        "short": "When the library was approved by publisher",
        "definition": "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
        "comment": "The 'date' element may be more recent than the approval date because of minor changes / editorial corrections.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.approvalDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=\"SUBJ\"].act[classCode=CACT;moodCode=EVN;code=\"approval\"].effectiveTime"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "Library.lastReviewDate",
        "path": "Library.lastReviewDate",
        "short": "When the library was last reviewed",
        "definition": "The date on which the resource content was last reviewed. Review happens periodically after approval, but doesn't change the original approval date.",
        "comment": "If specified, this is usually after the approval date.",
        "requirements": "Gives a sense of how \"current\" the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.lastReviewDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=\"SUBJ\"; subsetCode=\"RECENT\"].act[classCode=CACT;moodCode=EVN;code=\"review\"].effectiveTime"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "Library.effectivePeriod",
        "path": "Library.effectivePeriod",
        "short": "When the library is expected to be used",
        "definition": "The period during which the library content was or is planned to be in active use.",
        "comment": "The effective period for a library  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.",
        "requirements": "Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of a the library are or are expected to be used instead.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.effectivePeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "Library.effectivePeriod.id",
        "path": "Library.effectivePeriod.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.effectivePeriod.extension",
        "path": "Library.effectivePeriod.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.effectivePeriod.extension:effectivePeriod",
        "path": "Library.effectivePeriod.extension",
        "sliceName": "effectivePeriod",
        "short": "R4B: effectivePeriod additional types",
        "definition": "R4B: `Library.effectivePeriod` additional types (Period) additional types from child elements (end, start)",
        "comment": "Element `Library.effectivePeriod` is mapped to FHIR STU3 element `Library.effectivePeriod` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.effectivePeriod` do not cover the following types: Period.\nThe mappings for `Library.effectivePeriod` do not cover the following types based on type expansion: end, start.\nThe effective period for a library  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.effectivePeriod|0.1.0"
          }
        ]
      },
      {
        "id": "Library.effectivePeriod.start",
        "path": "Library.effectivePeriod.start",
        "short": "Starting time with inclusive boundary",
        "definition": "The start of the period. The boundary is inclusive.",
        "comment": "If the low element is missing, the meaning is that the low boundary is not known.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Period.start",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "per-1"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "DR.1"
          },
          {
            "identity": "rim",
            "map": "./low"
          }
        ]
      },
      {
        "id": "Library.effectivePeriod.end",
        "path": "Library.effectivePeriod.end",
        "short": "End time with inclusive boundary, if not ongoing",
        "definition": "The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.",
        "comment": "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Period.end",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing",
        "condition": [
          "per-1"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "DR.2"
          },
          {
            "identity": "rim",
            "map": "./high"
          }
        ]
      },
      {
        "id": "Library.useContext",
        "path": "Library.useContext",
        "short": "Context the content is intended to support",
        "definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching for appropriate library instances.",
        "comment": "When multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.",
        "requirements": "Assist in searching for appropriate content.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.useContext",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "UsageContext"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "Library.useContext.id",
        "path": "Library.useContext.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.useContext.extension",
        "path": "Library.useContext.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.useContext.extension:useContext",
        "path": "Library.useContext.extension",
        "sliceName": "useContext",
        "short": "R4B: The context that the content is intended to support additional types",
        "definition": "R4B: `Library.useContext` additional types (UsageContext) additional types from child elements (code, value[x])",
        "comment": "Element `Library.useContext` is mapped to FHIR STU3 element `Library.useContext` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.useContext` do not cover the following types: UsageContext.\nThe mappings for `Library.useContext` do not cover the following types based on type expansion: code, value[x].\nWhen multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.useContext|0.1.0"
          }
        ]
      },
      {
        "id": "Library.useContext.code",
        "path": "Library.useContext.code",
        "short": "Type of context being specified",
        "definition": "A code that identifies the type of context being specified by this usage context.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "UsageContext.code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UsageContextType"
            }
          ],
          "strength": "extensible",
          "description": "A code that specifies a type of context being specified by a usage context",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/usage-context-type|3.0.2"
          }
        }
      },
      {
        "id": "Library.useContext.value[x]",
        "path": "Library.useContext.value[x]",
        "short": "Value that defines the context",
        "definition": "A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "UsageContext.value[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UsageContextValue"
            }
          ],
          "strength": "example",
          "description": "A code that defines the specific value for the context being specified",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/use-context|3.0.2"
          }
        }
      },
      {
        "id": "Library.jurisdiction",
        "path": "Library.jurisdiction",
        "short": "Intended jurisdiction for library (if applicable)",
        "definition": "A legal or geographic region in which the library is intended to be used.",
        "comment": "It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.jurisdiction",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Jurisdiction"
            }
          ],
          "strength": "extensible",
          "description": "Countries and regions within which this artifact is targeted for use",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/jurisdiction|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "Library.topic",
        "path": "Library.topic",
        "short": "E.g. Education, Treatment, Assessment, etc",
        "definition": "Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.",
        "requirements": "Repositories must be able to determine how to categorize the library so that it can be found by topical searches.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.topic",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "DefinitionTopic"
            }
          ],
          "strength": "example",
          "description": "High-level categorization of the definition, used for searching, sorting, and filtering",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/definition-topic|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "Library.contributor",
        "path": "Library.contributor",
        "short": "A content contributor",
        "definition": "A contributor to the content of the library, including authors, editors, reviewers, and endorsers.",
        "requirements": "Consumers of the content must be able to quickly determine who contributed to the content of the library.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.contributor",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Contributor"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT,VRF] {No support yet for editor nor clear whether VRF best corresponds to reviewer or endorser}"
          }
        ]
      },
      {
        "id": "Library.contributor.id",
        "path": "Library.contributor.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.contributor.extension",
        "path": "Library.contributor.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.contributor.extension:author",
        "path": "Library.contributor.extension",
        "sliceName": "author",
        "short": "R4B: Who authored the content additional types",
        "definition": "R4B: `Library.author` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.author` is mapped to FHIR STU3 element `Library.contributor` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.author` do not cover the following types: ContactDetail.\nThe mappings for `Library.author` do not cover the following types based on type expansion: name, telecom.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.author|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contributor.extension:editor",
        "path": "Library.contributor.extension",
        "sliceName": "editor",
        "short": "R4B: Who edited the content additional types",
        "definition": "R4B: `Library.editor` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.editor` is mapped to FHIR STU3 element `Library.contributor` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.editor` do not cover the following types: ContactDetail.\nThe mappings for `Library.editor` do not cover the following types based on type expansion: name, telecom.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.editor|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contributor.extension:reviewer",
        "path": "Library.contributor.extension",
        "sliceName": "reviewer",
        "short": "R4B: Who reviewed the content additional types",
        "definition": "R4B: `Library.reviewer` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.reviewer` is mapped to FHIR STU3 element `Library.contributor` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.reviewer` do not cover the following types: ContactDetail.\nThe mappings for `Library.reviewer` do not cover the following types based on type expansion: name, telecom.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.reviewer|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contributor.extension:endorser",
        "path": "Library.contributor.extension",
        "sliceName": "endorser",
        "short": "R4B: Who endorsed the content additional types",
        "definition": "R4B: `Library.endorser` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.endorser` is mapped to FHIR STU3 element `Library.contributor` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.endorser` do not cover the following types: ContactDetail.\nThe mappings for `Library.endorser` do not cover the following types based on type expansion: name, telecom.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.endorser|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contributor.type",
        "path": "Library.contributor.type",
        "short": "author | editor | reviewer | endorser",
        "definition": "The type of contributor.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contributor.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ContributorType"
            }
          ],
          "strength": "required",
          "description": "The type of contributor",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/contributor-type|3.0.2"
          }
        }
      },
      {
        "id": "Library.contributor.name",
        "path": "Library.contributor.name",
        "short": "Who contributed the content",
        "definition": "The name of the individual or organization responsible for the contribution.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Contributor.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.contributor.contact",
        "path": "Library.contributor.contact",
        "short": "Contact details of the contributor",
        "definition": "Contact details to assist a user in finding and communicating with the contributor.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Contributor.contact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactDetail"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.contact",
        "path": "Library.contact",
        "short": "Contact details for the publisher",
        "definition": "Contact details to assist a user in finding and communicating with the publisher.",
        "comment": "May be a web site, an email address, a telephone number, etc.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.contact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactDetail"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=CALLBCK].role"
          }
        ]
      },
      {
        "id": "Library.contact.id",
        "path": "Library.contact.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.contact.extension",
        "path": "Library.contact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.contact.extension:contact",
        "path": "Library.contact.extension",
        "sliceName": "contact",
        "short": "R4B: contact additional types",
        "definition": "R4B: `Library.contact` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.contact` is mapped to FHIR STU3 element `Library.contact` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.contact` do not cover the following types: ContactDetail.\nThe mappings for `Library.contact` do not cover the following types based on type expansion: name, telecom.\nMay be a web site, an email address, a telephone number, etc.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.contact|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contact.name",
        "path": "Library.contact.name",
        "short": "Name of an individual to contact",
        "definition": "The name of an individual to contact.",
        "comment": "If there is no named individual, the telecom information is for the organization as a whole.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ContactDetail.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.contact.telecom",
        "path": "Library.contact.telecom",
        "short": "Contact details for individual or organization",
        "definition": "The contact details for the individual (if a name was provided) or the organization.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ContactDetail.telecom",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.copyright",
        "path": "Library.copyright",
        "short": "Use and/or publishing restrictions",
        "definition": "A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library.",
        "requirements": "Consumers must be able to determine any legal restrictions on the use of the library and/or its content.",
        "alias": [
          "License",
          "Restrictions"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "Library.copyright",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "markdown"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          },
          {
            "identity": "objimpl",
            "map": "no-gen-base"
          }
        ]
      },
      {
        "id": "Library.relatedArtifact",
        "path": "Library.relatedArtifact",
        "short": "Additional documentation, citations, etc.",
        "definition": "Related artifacts such as additional documentation, justification, or bibliographic references.",
        "comment": "Each related artifact is either an attachment, or a reference to another resource, but not both.",
        "requirements": "Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.relatedArtifact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "RelatedArtifact"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"
          }
        ]
      },
      {
        "id": "Library.relatedArtifact.id",
        "path": "Library.relatedArtifact.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.relatedArtifact.extension",
        "path": "Library.relatedArtifact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.relatedArtifact.extension:relatedArtifact",
        "path": "Library.relatedArtifact.extension",
        "sliceName": "relatedArtifact",
        "short": "R4B: relatedArtifact additional types",
        "definition": "R4B: `Library.relatedArtifact` additional types (RelatedArtifact) additional types from child elements (citation, display, document, label, resource, type, url)",
        "comment": "Element `Library.relatedArtifact` is mapped to FHIR STU3 element `Library.relatedArtifact` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.relatedArtifact` do not cover the following types: RelatedArtifact.\nThe mappings for `Library.relatedArtifact` do not cover the following types based on type expansion: citation, display, document, label, resource, type, url.\nEach related artifact is either an attachment, or a reference to another resource, but not both.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.relatedArtifact|0.1.0"
          }
        ]
      },
      {
        "id": "Library.relatedArtifact.type",
        "path": "Library.relatedArtifact.type",
        "short": "documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of",
        "definition": "The type of relationship to the related artifact.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "RelatedArtifactType"
            }
          ],
          "strength": "required",
          "description": "The type of relationship to the related artifact",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/related-artifact-type|3.0.2"
          }
        }
      },
      {
        "id": "Library.relatedArtifact.display",
        "path": "Library.relatedArtifact.display",
        "short": "Brief description of the related artifact",
        "definition": "A brief description of the document or knowledge resource being referenced, suitable for display to a consumer.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.relatedArtifact.citation",
        "path": "Library.relatedArtifact.citation",
        "short": "Bibliographic citation for the artifact",
        "definition": "A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format.",
        "comment": "Additional structured information about citations should be captured as extensions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.citation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.relatedArtifact.url",
        "path": "Library.relatedArtifact.url",
        "short": "Where the artifact can be accessed",
        "definition": "A url for the artifact that can be followed to access the actual content.",
        "comment": "If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.relatedArtifact.document",
        "path": "Library.relatedArtifact.document",
        "short": "What document is being referenced",
        "definition": "The document being referenced, represented as an attachment. This is exclusive with the resource element.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.document",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.relatedArtifact.resource",
        "path": "Library.relatedArtifact.resource",
        "short": "What resource is being referenced",
        "definition": "The related resource, such as a library, value set, profile, or other knowledge resource.",
        "comment": "If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "RelatedArtifact.resource",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.parameter",
        "path": "Library.parameter",
        "short": "Parameters defined by the library",
        "definition": "The parameter element defines parameters used by the library.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.parameter",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "ParameterDefinition"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "Library.parameter.id",
        "path": "Library.parameter.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.parameter.extension",
        "path": "Library.parameter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.parameter.extension:parameter",
        "path": "Library.parameter.extension",
        "sliceName": "parameter",
        "short": "R4B: parameter additional types",
        "definition": "R4B: `Library.parameter` additional types (ParameterDefinition) additional types from child elements (documentation, max, min, name, profile, type, use)",
        "comment": "Element `Library.parameter` is mapped to FHIR STU3 element `Library.parameter` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.parameter` do not cover the following types: ParameterDefinition.\nThe mappings for `Library.parameter` do not cover the following types based on type expansion: documentation, max, min, name, profile, type, use.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.parameter|0.1.0"
          }
        ]
      },
      {
        "id": "Library.parameter.name",
        "path": "Library.parameter.name",
        "short": "Name used to access the parameter value",
        "definition": "The name of the parameter used to allow access to the value of the parameter in evaluation contexts.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ParameterDefinition.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.parameter.use",
        "path": "Library.parameter.use",
        "short": "in | out",
        "definition": "Whether the parameter is input or output for the module.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ParameterDefinition.use",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ParameterUse"
            }
          ],
          "strength": "required",
          "description": "Whether the parameter is input or output",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/operation-parameter-use|3.0.2"
          }
        }
      },
      {
        "id": "Library.parameter.min",
        "path": "Library.parameter.min",
        "short": "Minimum cardinality",
        "definition": "The minimum number of times this parameter SHALL appear in the request or response.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ParameterDefinition.min",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.parameter.max",
        "path": "Library.parameter.max",
        "short": "Maximum cardinality (a number of *)",
        "definition": "The maximum number of times this element is permitted to appear in the request or response.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ParameterDefinition.max",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.parameter.documentation",
        "path": "Library.parameter.documentation",
        "short": "A brief description of the parameter",
        "definition": "A brief discussion of what the parameter is for and how it is used by the module.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ParameterDefinition.documentation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.parameter.type",
        "path": "Library.parameter.type",
        "short": "What type of value",
        "definition": "The type of the parameter.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ParameterDefinition.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "FHIRAllTypes"
            }
          ],
          "strength": "required",
          "description": "Either an abstract type, a resource or a data type.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-types|3.0.2"
          }
        }
      },
      {
        "id": "Library.parameter.profile",
        "path": "Library.parameter.profile",
        "short": "What profile the value is expected to be",
        "definition": "If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ParameterDefinition.profile",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement",
        "path": "Library.dataRequirement",
        "short": "What data is referenced by this library",
        "definition": "Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.dataRequirement",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "DataRequirement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (to add?)"
          }
        ]
      },
      {
        "id": "Library.dataRequirement.id",
        "path": "Library.dataRequirement.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.dataRequirement.extension",
        "path": "Library.dataRequirement.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.dataRequirement.extension:dataRequirement",
        "path": "Library.dataRequirement.extension",
        "sliceName": "dataRequirement",
        "short": "R4B: dataRequirement additional types",
        "definition": "R4B: `Library.dataRequirement` additional types (DataRequirement) additional types from child elements (codeFilter, code, path, searchParam, valueSet, dateFilter, value[x], limit, mustSupport, profile, sort, direction, subject[x], type)",
        "comment": "Element `Library.dataRequirement` is mapped to FHIR STU3 element `Library.dataRequirement` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.dataRequirement` do not cover the following types: DataRequirement.\nThe mappings for `Library.dataRequirement` do not cover the following types based on type expansion: code, codeFilter, dateFilter, direction, limit, mustSupport, path, profile, searchParam, sort, subject[x], type, value[x], valueSet.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.dataRequirement|0.1.0"
          }
        ]
      },
      {
        "id": "Library.dataRequirement.type",
        "path": "Library.dataRequirement.type",
        "short": "The type of the required data",
        "definition": "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataRequirement.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "FHIRAllTypes"
            }
          ],
          "strength": "required",
          "description": "Either an abstract type, a resource or a data type.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-types|3.0.2"
          }
        }
      },
      {
        "id": "Library.dataRequirement.profile",
        "path": "Library.dataRequirement.profile",
        "short": "The profile of the required data",
        "definition": "The profile of the required data, specified as the uri of the profile definition.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.profile",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.mustSupport",
        "path": "Library.dataRequirement.mustSupport",
        "short": "Indicates that specific structure elements are referenced by the knowledge module",
        "definition": "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. Note that the value for this element can be a path to allow references to nested elements. In that case, all the elements along the path must be supported.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.mustSupport",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.codeFilter",
        "path": "Library.dataRequirement.codeFilter",
        "short": "What codes are expected",
        "definition": "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.codeFilter",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.codeFilter.id",
        "path": "Library.dataRequirement.codeFilter.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.dataRequirement.codeFilter.extension",
        "path": "Library.dataRequirement.codeFilter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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. In order 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.",
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.dataRequirement.codeFilter.path",
        "path": "Library.dataRequirement.codeFilter.path",
        "short": "The code-valued attribute of the filter",
        "definition": "The code-valued attribute of the filter. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataRequirement.codeFilter.path",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.codeFilter.valueSet[x]",
        "path": "Library.dataRequirement.codeFilter.valueSet[x]",
        "short": "Valueset for the filter",
        "definition": "The valueset for the code filter. The valueSet and value elements are exclusive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.codeFilter.valueSet[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ValueSet"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.codeFilter.valueCode",
        "path": "Library.dataRequirement.codeFilter.valueCode",
        "short": "What code is expected",
        "definition": "The codes for the code filter. Only one of valueSet, valueCode, valueCoding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.codeFilter.valueCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.codeFilter.valueCoding",
        "path": "Library.dataRequirement.codeFilter.valueCoding",
        "short": "What Coding is expected",
        "definition": "The Codings for the code filter. Only one of valueSet, valueCode, valueConding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified Codings.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.codeFilter.valueCoding",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.codeFilter.valueCodeableConcept",
        "path": "Library.dataRequirement.codeFilter.valueCodeableConcept",
        "short": "What CodeableConcept is expected",
        "definition": "The CodeableConcepts for the code filter. Only one of valueSet, valueCode, valueConding, or valueCodeableConcept may be specified. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified CodeableConcepts.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.codeFilter.valueCodeableConcept",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.dateFilter",
        "path": "Library.dataRequirement.dateFilter",
        "short": "What dates/date ranges are expected",
        "definition": "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DataRequirement.dateFilter",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.dateFilter.id",
        "path": "Library.dataRequirement.dateFilter.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.dataRequirement.dateFilter.extension",
        "path": "Library.dataRequirement.dateFilter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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. In order 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.",
        "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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.dataRequirement.dateFilter.path",
        "path": "Library.dataRequirement.dateFilter.path",
        "short": "The date-valued attribute of the filter",
        "definition": "The date-valued attribute of the filter. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant. The path must resolve to an element of type dateTime, Period, Schedule, or Timing.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DataRequirement.dateFilter.path",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.dataRequirement.dateFilter.value[x]",
        "path": "Library.dataRequirement.dateFilter.value[x]",
        "short": "The value of the filter, as a Period, DateTime, or Duration value",
        "definition": "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration from now.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DataRequirement.dateFilter.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          },
          {
            "code": "Duration"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Library.content",
        "path": "Library.content",
        "short": "Contents of the library, either embedded or referenced",
        "definition": "The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Library.content",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "Library.content.id",
        "path": "Library.content.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "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": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Library.content.extension",
        "path": "Library.content.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Library.content.extension:content",
        "path": "Library.content.extension",
        "sliceName": "content",
        "short": "R4B: content additional types",
        "definition": "R4B: `Library.content` additional types (Attachment) additional types from child elements (contentType, creation, data, hash, language, size, title, url)",
        "comment": "Element `Library.content` is mapped to FHIR STU3 element `Library.content` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.content` do not cover the following types: Attachment.\nThe mappings for `Library.content` do not cover the following types based on type expansion: contentType, creation, data, hash, language, size, title, url.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.content|0.1.0"
          }
        ]
      },
      {
        "id": "Library.content.contentType",
        "path": "Library.content.contentType",
        "short": "Mime type of the content, with charset etc.",
        "definition": "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.",
        "requirements": "Processors of the data need to be able to know how to interpret the data.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Attachment.contentType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueCode": "text/plain; charset=UTF-8, image/png"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "MimeType"
            }
          ],
          "strength": "required",
          "description": "The mime type of an attachment. Any valid mime type is allowed.",
          "valueSetUri": "http://www.rfc-editor.org/bcp/bcp13.txt"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"
          },
          {
            "identity": "rim",
            "map": "./mediaType, ./charset"
          }
        ]
      },
      {
        "id": "Library.content.language",
        "path": "Library.content.language",
        "short": "Human language of the content (BCP-47)",
        "definition": "The human language of the content. The value can be any valid value according to BCP 47.",
        "requirements": "Users need to be able to choose between the languages in a set of attachments.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Attachment.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueCode": "en-AU"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference": {
                "reference": "http://hl7.org/fhir/ValueSet/all-languages|3.0.2"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            }
          ],
          "strength": "extensible",
          "description": "A human language.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/languages|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "./language"
          }
        ]
      },
      {
        "id": "Library.content.data",
        "path": "Library.content.data",
        "short": "Data inline, base64ed",
        "definition": "The actual data of the attachment - a sequence of bytes. In XML, represented using base64.",
        "comment": "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.",
        "requirements": "The data needs to able to be transmitted inline.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Attachment.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "ED.5"
          },
          {
            "identity": "rim",
            "map": "./data"
          }
        ]
      },
      {
        "id": "Library.content.url",
        "path": "Library.content.url",
        "short": "Uri where the data can be found",
        "definition": "An alternative location where the data can be accessed.",
        "comment": "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.",
        "requirements": "The data needs to be transmitted by reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Attachment.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueUri": "http://www.acme.com/logo-small.png"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "RP.1+RP.2 - if they refer to a URL (see v2.6)"
          },
          {
            "identity": "rim",
            "map": "./reference/literal"
          }
        ]
      },
      {
        "id": "Library.content.size",
        "path": "Library.content.size",
        "short": "Number of bytes of content (if url provided)",
        "definition": "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).",
        "comment": "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.",
        "requirements": "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Attachment.size",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "unsignedInt"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (needs data type R3 proposal)"
          }
        ]
      },
      {
        "id": "Library.content.hash",
        "path": "Library.content.hash",
        "short": "Hash of the data (sha-1, base64ed)",
        "definition": "The calculated hash of the data using SHA-1. Represented using base64.",
        "comment": "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded.",
        "requirements": "Included so that applications can verify that the contents of a location have not changed and so that a signature of the content can implicitly sign the content of an image without having to include the data in the instance or reference the url in the signature.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Attachment.hash",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]"
          }
        ]
      },
      {
        "id": "Library.content.title",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Library.content.title",
        "short": "Label to display in place of the data",
        "definition": "A label or set of text to display in place of the data.",
        "requirements": "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Attachment.title",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueString": "Official Corporate Logo"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "./title/data"
          }
        ]
      },
      {
        "id": "Library.content.creation",
        "path": "Library.content.creation",
        "short": "Date attachment was first created",
        "definition": "The date that the attachment was first created.",
        "requirements": "This is often tracked as an integrity issue for use of the attachment.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Attachment.creation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (needs data type R3 proposal)"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Library",
        "path": "Library"
      },
      {
        "id": "Library.meta.extension",
        "path": "Library.meta.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.meta.extension:meta",
        "path": "Library.meta.extension",
        "sliceName": "meta",
        "short": "R4B: meta additional types",
        "definition": "R4B: `Library.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, source, tag, versionId)",
        "comment": "Element `Library.meta` is mapped to FHIR STU3 element `Library.meta` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.meta` do not cover the following types: Meta.\nThe mappings for `Library.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, source, tag, versionId.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.meta|0.1.0"
          }
        ]
      },
      {
        "id": "Library.text.extension",
        "path": "Library.text.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.text.extension:text",
        "path": "Library.text.extension",
        "sliceName": "text",
        "short": "R4B: text additional types",
        "definition": "R4B: `Library.text` additional types (Narrative) additional types from child elements (div, status)",
        "comment": "Element `Library.text` is mapped to FHIR STU3 element `Library.text` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.text` do not cover the following types: Narrative.\nThe mappings for `Library.text` do not cover the following types based on type expansion: div, status.\nContained resources do not have 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.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.text|0.1.0"
          }
        ]
      },
      {
        "id": "Library.extension",
        "path": "Library.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.extension:subtitle",
        "path": "Library.extension",
        "sliceName": "subtitle",
        "short": "R4B: Subordinate title of the library (new)",
        "definition": "R4B: `Library.subtitle` (new:string)",
        "comment": "Element `Library.subtitle` has a context of Library based on following the parent source element upwards and mapping to `Library`.\nElement `Library.subtitle` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.subtitle|0.1.0"
          }
        ]
      },
      {
        "id": "Library.extension:subject",
        "path": "Library.extension",
        "sliceName": "subject",
        "short": "R4B: Type of individual the library content is focused on (new)",
        "definition": "R4B: `Library.subject[x]` (new:CodeableConcept, Reference(Group))",
        "comment": "Element `Library.subject[x]` has a context of Library based on following the parent source element upwards and mapping to `Library`.\nElement `Library.subject[x]` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.subject|0.1.0"
          }
        ]
      },
      {
        "id": "Library.identifier.extension",
        "path": "Library.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.identifier.extension:identifier",
        "path": "Library.identifier.extension",
        "sliceName": "identifier",
        "short": "R4B: identifier additional types",
        "definition": "R4B: `Library.identifier` additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)",
        "comment": "Element `Library.identifier` is mapped to FHIR STU3 element `Library.identifier` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.identifier` do not cover the following types: Identifier.\nThe mappings for `Library.identifier` do not cover the following types based on type expansion: assigner, period, system, type, use, value.\nTypically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.identifier|0.1.0"
          }
        ]
      },
      {
        "id": "Library.effectivePeriod.extension",
        "path": "Library.effectivePeriod.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.effectivePeriod.extension:effectivePeriod",
        "path": "Library.effectivePeriod.extension",
        "sliceName": "effectivePeriod",
        "short": "R4B: effectivePeriod additional types",
        "definition": "R4B: `Library.effectivePeriod` additional types (Period) additional types from child elements (end, start)",
        "comment": "Element `Library.effectivePeriod` is mapped to FHIR STU3 element `Library.effectivePeriod` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.effectivePeriod` do not cover the following types: Period.\nThe mappings for `Library.effectivePeriod` do not cover the following types based on type expansion: end, start.\nThe effective period for a library  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.effectivePeriod|0.1.0"
          }
        ]
      },
      {
        "id": "Library.useContext.extension",
        "path": "Library.useContext.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.useContext.extension:useContext",
        "path": "Library.useContext.extension",
        "sliceName": "useContext",
        "short": "R4B: The context that the content is intended to support additional types",
        "definition": "R4B: `Library.useContext` additional types (UsageContext) additional types from child elements (code, value[x])",
        "comment": "Element `Library.useContext` is mapped to FHIR STU3 element `Library.useContext` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.useContext` do not cover the following types: UsageContext.\nThe mappings for `Library.useContext` do not cover the following types based on type expansion: code, value[x].\nWhen multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.useContext|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contributor.extension",
        "path": "Library.contributor.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.contributor.extension:author",
        "path": "Library.contributor.extension",
        "sliceName": "author",
        "short": "R4B: Who authored the content additional types",
        "definition": "R4B: `Library.author` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.author` is mapped to FHIR STU3 element `Library.contributor` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.author` do not cover the following types: ContactDetail.\nThe mappings for `Library.author` do not cover the following types based on type expansion: name, telecom.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.author|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contributor.extension:editor",
        "path": "Library.contributor.extension",
        "sliceName": "editor",
        "short": "R4B: Who edited the content additional types",
        "definition": "R4B: `Library.editor` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.editor` is mapped to FHIR STU3 element `Library.contributor` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.editor` do not cover the following types: ContactDetail.\nThe mappings for `Library.editor` do not cover the following types based on type expansion: name, telecom.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.editor|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contributor.extension:reviewer",
        "path": "Library.contributor.extension",
        "sliceName": "reviewer",
        "short": "R4B: Who reviewed the content additional types",
        "definition": "R4B: `Library.reviewer` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.reviewer` is mapped to FHIR STU3 element `Library.contributor` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.reviewer` do not cover the following types: ContactDetail.\nThe mappings for `Library.reviewer` do not cover the following types based on type expansion: name, telecom.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.reviewer|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contributor.extension:endorser",
        "path": "Library.contributor.extension",
        "sliceName": "endorser",
        "short": "R4B: Who endorsed the content additional types",
        "definition": "R4B: `Library.endorser` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.endorser` is mapped to FHIR STU3 element `Library.contributor` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.endorser` do not cover the following types: ContactDetail.\nThe mappings for `Library.endorser` do not cover the following types based on type expansion: name, telecom.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.endorser|0.1.0"
          }
        ]
      },
      {
        "id": "Library.contact.extension",
        "path": "Library.contact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.contact.extension:contact",
        "path": "Library.contact.extension",
        "sliceName": "contact",
        "short": "R4B: contact additional types",
        "definition": "R4B: `Library.contact` additional types (ContactDetail) additional types from child elements (name, telecom)",
        "comment": "Element `Library.contact` is mapped to FHIR STU3 element `Library.contact` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.contact` do not cover the following types: ContactDetail.\nThe mappings for `Library.contact` do not cover the following types based on type expansion: name, telecom.\nMay be a web site, an email address, a telephone number, etc.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.contact|0.1.0"
          }
        ]
      },
      {
        "id": "Library.relatedArtifact.extension",
        "path": "Library.relatedArtifact.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.relatedArtifact.extension:relatedArtifact",
        "path": "Library.relatedArtifact.extension",
        "sliceName": "relatedArtifact",
        "short": "R4B: relatedArtifact additional types",
        "definition": "R4B: `Library.relatedArtifact` additional types (RelatedArtifact) additional types from child elements (citation, display, document, label, resource, type, url)",
        "comment": "Element `Library.relatedArtifact` is mapped to FHIR STU3 element `Library.relatedArtifact` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.relatedArtifact` do not cover the following types: RelatedArtifact.\nThe mappings for `Library.relatedArtifact` do not cover the following types based on type expansion: citation, display, document, label, resource, type, url.\nEach related artifact is either an attachment, or a reference to another resource, but not both.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.relatedArtifact|0.1.0"
          }
        ]
      },
      {
        "id": "Library.parameter.extension",
        "path": "Library.parameter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.parameter.extension:parameter",
        "path": "Library.parameter.extension",
        "sliceName": "parameter",
        "short": "R4B: parameter additional types",
        "definition": "R4B: `Library.parameter` additional types (ParameterDefinition) additional types from child elements (documentation, max, min, name, profile, type, use)",
        "comment": "Element `Library.parameter` is mapped to FHIR STU3 element `Library.parameter` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.parameter` do not cover the following types: ParameterDefinition.\nThe mappings for `Library.parameter` do not cover the following types based on type expansion: documentation, max, min, name, profile, type, use.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.parameter|0.1.0"
          }
        ]
      },
      {
        "id": "Library.dataRequirement.extension",
        "path": "Library.dataRequirement.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.dataRequirement.extension:dataRequirement",
        "path": "Library.dataRequirement.extension",
        "sliceName": "dataRequirement",
        "short": "R4B: dataRequirement additional types",
        "definition": "R4B: `Library.dataRequirement` additional types (DataRequirement) additional types from child elements (codeFilter, code, path, searchParam, valueSet, dateFilter, value[x], limit, mustSupport, profile, sort, direction, subject[x], type)",
        "comment": "Element `Library.dataRequirement` is mapped to FHIR STU3 element `Library.dataRequirement` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.dataRequirement` do not cover the following types: DataRequirement.\nThe mappings for `Library.dataRequirement` do not cover the following types based on type expansion: code, codeFilter, dateFilter, direction, limit, mustSupport, path, profile, searchParam, sort, subject[x], type, value[x], valueSet.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.dataRequirement|0.1.0"
          }
        ]
      },
      {
        "id": "Library.content.extension",
        "path": "Library.content.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "Library.content.extension:content",
        "path": "Library.content.extension",
        "sliceName": "content",
        "short": "R4B: content additional types",
        "definition": "R4B: `Library.content` additional types (Attachment) additional types from child elements (contentType, creation, data, hash, language, size, title, url)",
        "comment": "Element `Library.content` is mapped to FHIR STU3 element `Library.content` as `SourceIsBroaderThanTarget`.\nThe mappings for `Library.content` do not cover the following types: Attachment.\nThe mappings for `Library.content` do not cover the following types based on type expansion: contentType, creation, data, hash, language, size, title, url.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/4.3/StructureDefinition/extension-Library.content|0.1.0"
          }
        ]
      }
    ]
  }
}