{
  "resourceType": "StructureDefinition",
  "id": "bbs-lm-Patient-serve-image-report",
  "text": {
    "status": "empty",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>"
  },
  "url": "http://medmij.nl/fhir/StructureDefinition/bbs-lm-Patient-serve-image-report",
  "name": "BbsLmPatientServeImageReport",
  "title": "Patient (Serve image and report)",
  "status": "active",
  "publisher": "MedMij",
  "contact": [
    {
      "name": "MedMij",
      "telecom": [
        {
          "system": "email",
          "value": "info@medmij.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "The person on which an imaging study is performed.",
  "purpose": "This LogicalModel represents (the functional requirements of) the Patient building block in the 'Serve image and report' transaction within the context of the information standard [Image Availability (Beeldbeschikbaarheid)](https://informatiestandaarden.nictiz.nl/wiki/Landingspagina_Beeldbeschikbaarheid).",
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "http://medmij.nl/fhir/StructureDefinition/bbs-lm-Patient-serve-image-report",
  "baseDefinition": "http://medmij.nl/fhir/StructureDefinition/bbs-lm-Patient",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "bbs-lm-Patient-serve-image-report",
        "path": "bbs-lm-Patient-serve-image-report",
        "short": "Patient (Serve image and report)",
        "definition": "The person on which an imaging study is performed.",
        "alias": [
          "Patient"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "bbs-lm-Patient-serve-image-report",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-132",
            "comment": "Patient"
          },
          {
            "identity": "SNOMED",
            "map": "116154003",
            "comment": "patiënt"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.id",
        "path": "bbs-lm-Patient-serve-image-report.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.extension",
        "path": "bbs-lm-Patient-serve-image-report.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation",
        "short": "Name information",
        "definition": "Patient's full name.",
        "alias": [
          "Naamgegevens"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "bbs-lm-Patient.NameInformation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-133",
            "comment": "NameInformation"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.id",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.extension",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.modifierExtension",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.FirstNames",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.FirstNames",
        "short": "First names",
        "definition": "The first names of the patient.",
        "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "alias": [
          "Voornamen"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "bbs-lm-Patient.NameInformation.FirstNames",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-134",
            "comment": "FirstNames"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.Initials",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.Initials",
        "short": "Initials",
        "definition": "The initials of the patient.",
        "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "alias": [
          "Initialen"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "bbs-lm-Patient.NameInformation.Initials",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-135",
            "comment": "Initials"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.LastName",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.LastName",
        "short": "Last name",
        "definition": "Container of the LastName concept. This container contains all data elements of the LastName concept.",
        "alias": [
          "Geslachtsnaam"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "bbs-lm-Patient.NameInformation.LastName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-138",
            "comment": "LastName"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.id",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.extension",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.modifierExtension",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.Prefix",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.Prefix",
        "short": "Prefix",
        "definition": "Prefix to the last name of the patient.",
        "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "alias": [
          "Voorvoegsels"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "bbs-lm-Patient.NameInformation.LastName.Prefix",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-139",
            "comment": "Prefix"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.LastName",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.LastName",
        "short": "Last name",
        "definition": "The last name of the patient.",
        "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "alias": [
          "Achternaam"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "bbs-lm-Patient.NameInformation.LastName.LastName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-140",
            "comment": "LastName"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.PatientIdentificationNumber",
        "path": "bbs-lm-Patient-serve-image-report.PatientIdentificationNumber",
        "short": "Patient identification number",
        "definition": "The patient's identification number.",
        "alias": [
          "Identificatienummer"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "bbs-lm-Patient.PatientIdentificationNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
          },
          {
            "identity": "rim",
            "map": "II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]"
          },
          {
            "identity": "servd",
            "map": "Identifier"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-166",
            "comment": "PatientIdentificationNumber"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.DateOfBirth",
        "path": "bbs-lm-Patient-serve-image-report.DateOfBirth",
        "short": "Date of birth",
        "definition": "Patient's date of birth.",
        "alias": [
          "Geboortedatum"
        ],
        "min": 1,
        "max": "1",
        "base": {
          "path": "bbs-lm-Patient.DateOfBirth",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-167",
            "comment": "DateOfBirth"
          },
          {
            "identity": "LOINC",
            "map": "21112-8",
            "comment": "Geboortedatum [tijdstempel] in ^patiënt"
          }
        ]
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.Gender",
        "path": "bbs-lm-Patient-serve-image-report.Gender",
        "short": "Gender",
        "definition": "Patient's administrative gender.",
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "alias": [
          "Geslacht"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "bbs-lm-Patient.Gender",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.0.1.1--20200901000000"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CE/CNE/CWE"
          },
          {
            "identity": "rim",
            "map": "CD"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          },
          {
            "identity": "bbs-dataset-100-alpha2-20240208",
            "map": "bbs-dataelement-168",
            "comment": "Gender"
          },
          {
            "identity": "LOINC",
            "map": "46098-0",
            "comment": "Geslacht [type] in ^patiënt"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "bbs-lm-Patient-serve-image-report",
        "path": "bbs-lm-Patient-serve-image-report",
        "short": "Patient (Serve image and report)",
        "mustSupport": true
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.FirstNames",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.FirstNames",
        "mustSupport": true
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.Initials",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.Initials",
        "mustSupport": true
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.LastName",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.LastName",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.Prefix",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.Prefix",
        "mustSupport": true
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.LastName",
        "path": "bbs-lm-Patient-serve-image-report.NameInformation.LastName.LastName",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.PatientIdentificationNumber",
        "path": "bbs-lm-Patient-serve-image-report.PatientIdentificationNumber",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.DateOfBirth",
        "path": "bbs-lm-Patient-serve-image-report.DateOfBirth",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "bbs-lm-Patient-serve-image-report.Gender",
        "path": "bbs-lm-Patient-serve-image-report.Gender",
        "mustSupport": true
      }
    ]
  }
}