PackagesCanonicalsLogsProblems
    Packages
    myhealth.eu.fhir.laboratory@0.1.1
    http://fhir.ehdsi.eu/laboratory/StructureDefinition/Subject
{
  "description": "Identification of the patient/subject  and Patient/subject related contact information as defined by the MyHealth@EU business requirement '13.01 Create the MyHealth@EU Laboratory Result Report Content'.",
  "_filename": "StructureDefinition-Subject.json",
  "package_name": "myhealth.eu.fhir.laboratory",
  "date": "2025-03-20T14:16:21+01:00",
  "derivation": "specialization",
  "publisher": "MyHealth@Eu",
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "150",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "display": "Europe"
    } ]
  } ],
  "name": "SubjectLabMyHEU",
  "abstract": false,
  "type": "http://fhir.ehdsi.eu/laboratory/StructureDefinition/Subject",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Patient/subject",
  "package_version": "0.1.1",
  "snapshot": {
    "element": [ {
      "id": "Subject",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      },
      "path": "Subject",
      "short": "Patient/subject",
      "definition": "Identification of the patient/subject  and Patient/subject related contact information as defined by the MyHealth@EU business requirement '13.01 Create the MyHealth@EU Laboratory Result Report Content'.",
      "isModifier": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.identification",
      "min": 1,
      "definition": "Identification of the patient/subject",
      "short": "Identification of the patient/subject",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "max": "1",
      "id": "Subject.identification",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Subject.identification"
      }
    }, {
      "path": "Subject.identification.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Subject.identification.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Subject.identification.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Subject.identification.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Subject.identification.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Subject.identification.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "Subject.identification.familyName",
      "min": 1,
      "definition": "The family name/surname/last name of the patient. This field can contain more than one element or multiple fields could be present.",
      "short": "Family name/surname",
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "max": "*",
      "id": "Subject.identification.familyName",
      "base": {
        "max": "*",
        "min": 1,
        "path": "Subject.identification.familyName"
      }
    }, {
      "path": "Subject.identification.givenName",
      "min": 1,
      "definition": "The given name/first name of the patient (also known as forename or first name). This field can contain more than one element.",
      "short": "Given name",
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "max": "*",
      "id": "Subject.identification.givenName",
      "base": {
        "max": "*",
        "min": 1,
        "path": "Subject.identification.givenName"
      }
    }, {
      "path": "Subject.identification.dateOfBirth",
      "min": 1,
      "definition": "The date of birth of the patient [ISO TS 22220]. As age of the patient might be important for correct interpretation of the test result values, complete date of birth should be provided. - Preferred system(s): Complete date, without time, following the ISO 8601",
      "short": "Date of birth",
      "type": [ {
        "code": "dateTime"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "max": "1",
      "id": "Subject.identification.dateOfBirth",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Subject.identification.dateOfBirth"
      }
    }, {
      "path": "Subject.identification.identifier",
      "min": 0,
      "definition": "An identifier of the patient that is unique within a defined scope. Example: National ID (birth number) for Czech patient. Multiple identifiers could be provided.",
      "short": "Personal identifier",
      "type": [ {
        "code": "Identifier"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "max": "*",
      "id": "Subject.identification.identifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Subject.identification.identifier"
      }
    }, {
      "path": "Subject.identification.gender",
      "min": 0,
      "definition": "This field must contain a recognised valid value for 'administrative gender'. \nIf different, 'physiological gender' should be communicated elsewhere\nPreferred system(s): - Preferred system(s): HL7 Administrative Gender",
      "short": "Gender",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "max": "1",
      "id": "Subject.identification.gender",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Subject.identification.gender"
      }
    }, {
      "id": "Subject.identification.sex",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Subject.identification.sex"
      },
      "path": "Subject.identification.sex",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Sex for clinical use",
      "definition": "Sex for clinical use"
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom",
      "min": 0,
      "definition": "Patient/subject related contact information",
      "short": "Patient/subject related contact information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Subject.addressTelecom",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Subject.addressTelecom"
      }
    }, {
      "path": "Subject.addressTelecom.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Subject.addressTelecom.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Subject.addressTelecom.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Subject.addressTelecom.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Subject.addressTelecom.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Subject.addressTelecom.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address",
      "min": 0,
      "definition": "Mailing and home or office addresses. The addresses are always sequences of address parts (e.g. street address line, country, ZIP code, city) even if postal address formats may vary depending on the country. An address may or may not include a specific use code; if this attribute is not present it is assumed to be the default address useful for any purpose. - Preferred system(s):  ISO 3166",
      "short": "Address",
      "type": [ {
        "code": "Address"
      } ],
      "max": "*",
      "id": "Subject.addressTelecom.address",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Subject.addressTelecom.address"
      }
    }, {
      "path": "Subject.addressTelecom.address.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Subject.addressTelecom.address.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Subject.addressTelecom.address.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Subject.addressTelecom.address.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.use",
      "requirements": "Allows an appropriate address to be chosen from a list of many.",
      "min": 0,
      "definition": "home | work | temp | old | billing - purpose of this address",
      "isModifier": true,
      "short": "Use of Address",
      "mapping": [ {
        "map": "XAD.7",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "./AddressPurpose",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AddressUse"
        } ],
        "description": "The use of an address."
      },
      "max": "1",
      "id": "Subject.addressTelecom.address.use",
      "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.",
      "example": [ {
        "label": "General",
        "valueCode": "home"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.use"
      },
      "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.type",
      "min": 0,
      "definition": "postal | physical | both",
      "isModifier": false,
      "short": "Type of address",
      "mapping": [ {
        "map": "XAD.18",
        "identity": "v2"
      }, {
        "map": "unique(./use)",
        "identity": "rim"
      }, {
        "map": "address type parameter",
        "identity": "vcard"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AddressType"
        } ],
        "description": "The type of an address (physical / postal)."
      },
      "max": "1",
      "id": "Subject.addressTelecom.address.type",
      "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).",
      "example": [ {
        "label": "General",
        "valueCode": "both"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.type"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.text",
      "requirements": "A renderable, unencoded form.",
      "min": 0,
      "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.",
      "isModifier": false,
      "short": "Text representation of the address",
      "mapping": [ {
        "map": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6",
        "identity": "v2"
      }, {
        "map": "./formatted",
        "identity": "rim"
      }, {
        "map": "address label parameter",
        "identity": "vcard"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Subject.addressTelecom.address.text",
      "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that  when both text and parts are present,  no content is included in the text that isn't found in a part.",
      "example": [ {
        "label": "General",
        "valueString": "137 Nowhere Street, Erewhon 9132"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.line",
      "min": 0,
      "definition": "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.",
      "isModifier": false,
      "short": "Street name, number, direction & P.O. Box etc.",
      "mapping": [ {
        "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = AL]",
        "identity": "rim"
      }, {
        "map": "street",
        "identity": "vcard"
      }, {
        "map": "./StreetAddress (newline delimitted)",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Subject.addressTelecom.address.line",
      "example": [ {
        "label": "General",
        "valueString": "137 Nowhere Street"
      } ],
      "orderMeaning": "The order in which lines should appear in an address label",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Address.line"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.city",
      "min": 0,
      "definition": "The city where the patient has his/her domicile.\nExample: London",
      "isModifier": false,
      "short": "City",
      "mapping": [ {
        "map": "XAD.3",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CTY]",
        "identity": "rim"
      }, {
        "map": "locality",
        "identity": "vcard"
      }, {
        "map": "./Jurisdiction",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Municpality" ],
      "max": "1",
      "id": "Subject.addressTelecom.address.city",
      "example": [ {
        "label": "General",
        "valueString": "Erewhon"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.city"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.district",
      "min": 0,
      "definition": "The name of the administrative area (county).",
      "isModifier": false,
      "short": "District name (aka county)",
      "mapping": [ {
        "map": "XAD.9",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CNT | CPA]",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "County" ],
      "max": "1",
      "id": "Subject.addressTelecom.address.district",
      "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.",
      "example": [ {
        "label": "General",
        "valueString": "Madison"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.district"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.state",
      "min": 0,
      "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).",
      "isModifier": false,
      "short": "Sub-unit of country (abbreviations ok)",
      "mapping": [ {
        "map": "XAD.4",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = STA]",
        "identity": "rim"
      }, {
        "map": "region",
        "identity": "vcard"
      }, {
        "map": "./Region",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Province", "Territory" ],
      "max": "1",
      "id": "Subject.addressTelecom.address.state",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.state"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.postalCode",
      "min": 0,
      "definition": "The postal code where the patient has his/her domicile.\nExample: W1W 8LG",
      "isModifier": false,
      "short": "Postal Code",
      "mapping": [ {
        "map": "XAD.5",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = ZIP]",
        "identity": "rim"
      }, {
        "map": "code",
        "identity": "vcard"
      }, {
        "map": "./PostalIdentificationCode",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "Zip" ],
      "max": "1",
      "id": "Subject.addressTelecom.address.postalCode",
      "example": [ {
        "label": "General",
        "valueString": "9132"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.postalCode"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.country",
      "min": 0,
      "definition": "Country - a nation as commonly understood or generally accepted.",
      "isModifier": false,
      "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)",
      "mapping": [ {
        "map": "XAD.6",
        "identity": "v2"
      }, {
        "map": "AD.part[parttype = CNT]",
        "identity": "rim"
      }, {
        "map": "country",
        "identity": "vcard"
      }, {
        "map": "./Country",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Subject.addressTelecom.address.country",
      "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.country"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Subject.addressTelecom.address.period",
      "requirements": "Allows addresses to be placed in historical context.",
      "min": 0,
      "definition": "Time period when address was/is in use.",
      "isModifier": false,
      "short": "Time period when address was/is in use",
      "mapping": [ {
        "map": "XAD.12 / XAD.13 + XAD.14",
        "identity": "v2"
      }, {
        "map": "./usablePeriod[type=\"IVL\"]",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Subject.addressTelecom.address.period",
      "example": [ {
        "label": "General",
        "valuePeriod": {
          "end": "2010-07-01",
          "start": "2010-03-23"
        }
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Address.period"
      },
      "isSummary": true
    }, {
      "id": "Subject.addressTelecom.address.street",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Subject.addressTelecom.address.street"
      },
      "path": "Subject.addressTelecom.address.street",
      "type": [ {
        "code": "string"
      } ],
      "short": "Street",
      "definition": "The street where the patient has his/her domicile. Example: Oxford"
    }, {
      "id": "Subject.addressTelecom.address.houseNumber",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Subject.addressTelecom.address.houseNumber"
      },
      "path": "Subject.addressTelecom.address.houseNumber",
      "type": [ {
        "code": "string"
      } ],
      "short": "House Number",
      "definition": "The house number of the patient"
    }, {
      "id": "Subject.addressTelecom.address.postBox",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Subject.addressTelecom.address.postBox"
      },
      "path": "Subject.addressTelecom.address.postBox",
      "type": [ {
        "code": "string"
      } ],
      "short": "Post Box",
      "definition": "Letter box for the patient"
    }, {
      "id": "Subject.addressTelecom.address.stateOrProvince",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "Subject.addressTelecom.address.stateOrProvince"
      },
      "path": "Subject.addressTelecom.address.stateOrProvince",
      "type": [ {
        "code": "string"
      } ],
      "short": "State or Province",
      "definition": "The state or province where the patient has his/her domicile.\nExample: London"
    }, {
      "path": "Subject.addressTelecom.address.countryCode",
      "min": 1,
      "definition": "The country where the patient has his/her domicile (Country of affiliation).\nExample: UK",
      "short": "Country Code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "max": "1",
      "id": "Subject.addressTelecom.address.countryCode",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Subject.addressTelecom.address.countryCode"
      }
    }, {
      "id": "Subject.addressTelecom.telecom",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Subject.addressTelecom.telecom"
      },
      "path": "Subject.addressTelecom.telecom",
      "type": [ {
        "code": "ContactPoint"
      } ],
      "short": "Telecom",
      "definition": "Telecommunication contact information (addresses) associated to a person. Multiple telecommunication addresses might be provided. - Preferred system(s):"
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "4.0.1"
    } ]
  },
  "status": "active",
  "id": "3dccfedb-5fd3-4ef1-b254-79c0c62e0795",
  "kind": "logical",
  "url": "http://fhir.ehdsi.eu/laboratory/StructureDefinition/Subject",
  "version": "0.1.1",
  "differential": {
    "element": [ {
      "id": "Subject",
      "path": "Subject",
      "short": "Patient/subject",
      "definition": "Identification of the patient/subject  and Patient/subject related contact information as defined by the MyHealth@EU business requirement '13.01 Create the MyHealth@EU Laboratory Result Report Content'."
    }, {
      "id": "Subject.identification",
      "max": "1",
      "min": 1,
      "path": "Subject.identification",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Identification of the patient/subject",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "definition": "Identification of the patient/subject"
    }, {
      "id": "Subject.identification.familyName",
      "max": "*",
      "min": 1,
      "path": "Subject.identification.familyName",
      "type": [ {
        "code": "string"
      } ],
      "short": "Family name/surname",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "definition": "The family name/surname/last name of the patient. This field can contain more than one element or multiple fields could be present."
    }, {
      "id": "Subject.identification.givenName",
      "max": "*",
      "min": 1,
      "path": "Subject.identification.givenName",
      "type": [ {
        "code": "string"
      } ],
      "short": "Given name",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "definition": "The given name/first name of the patient (also known as forename or first name). This field can contain more than one element. "
    }, {
      "id": "Subject.identification.dateOfBirth",
      "max": "1",
      "min": 1,
      "path": "Subject.identification.dateOfBirth",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date of birth",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "definition": "The date of birth of the patient [ISO TS 22220]. As age of the patient might be important for correct interpretation of the test result values, complete date of birth should be provided. - Preferred system(s): Complete date, without time, following the ISO 8601 "
    }, {
      "id": "Subject.identification.identifier",
      "max": "*",
      "min": 0,
      "path": "Subject.identification.identifier",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Personal identifier",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "definition": "An identifier of the patient that is unique within a defined scope. Example: National ID (birth number) for Czech patient. Multiple identifiers could be provided. "
    }, {
      "id": "Subject.identification.gender",
      "max": "1",
      "min": 0,
      "path": "Subject.identification.gender",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Gender",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "definition": "This field must contain a recognised valid value for 'administrative gender'. \nIf different, 'physiological gender' should be communicated elsewhere\nPreferred system(s): - Preferred system(s): HL7 Administrative Gender "
    }, {
      "id": "Subject.identification.sex",
      "max": "1",
      "min": 0,
      "path": "Subject.identification.sex",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Sex for clinical use",
      "definition": "Sex for clinical use"
    }, {
      "id": "Subject.addressTelecom",
      "max": "*",
      "min": 0,
      "path": "Subject.addressTelecom",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Patient/subject related contact information",
      "definition": "Patient/subject related contact information"
    }, {
      "id": "Subject.addressTelecom.address",
      "max": "*",
      "min": 0,
      "path": "Subject.addressTelecom.address",
      "type": [ {
        "code": "Address"
      } ],
      "short": "Address",
      "definition": "Mailing and home or office addresses. The addresses are always sequences of address parts (e.g. street address line, country, ZIP code, city) even if postal address formats may vary depending on the country. An address may or may not include a specific use code; if this attribute is not present it is assumed to be the default address useful for any purpose. - Preferred system(s):  ISO 3166"
    }, {
      "id": "Subject.addressTelecom.address.street",
      "max": "1",
      "min": 0,
      "path": "Subject.addressTelecom.address.street",
      "type": [ {
        "code": "string"
      } ],
      "short": "Street",
      "definition": "The street where the patient has his/her domicile. Example: Oxford"
    }, {
      "id": "Subject.addressTelecom.address.houseNumber",
      "max": "1",
      "min": 0,
      "path": "Subject.addressTelecom.address.houseNumber",
      "type": [ {
        "code": "string"
      } ],
      "short": "House Number",
      "definition": "The house number of the patient"
    }, {
      "id": "Subject.addressTelecom.address.postBox",
      "max": "1",
      "min": 0,
      "path": "Subject.addressTelecom.address.postBox",
      "type": [ {
        "code": "string"
      } ],
      "short": "Post Box",
      "definition": "Letter box for the patient"
    }, {
      "id": "Subject.addressTelecom.address.postalCode",
      "max": "1",
      "min": 0,
      "path": "Subject.addressTelecom.address.postalCode",
      "type": [ {
        "code": "string"
      } ],
      "short": "Postal Code",
      "definition": "The postal code where the patient has his/her domicile.\nExample: W1W 8LG"
    }, {
      "id": "Subject.addressTelecom.address.stateOrProvince",
      "max": "1",
      "min": 0,
      "path": "Subject.addressTelecom.address.stateOrProvince",
      "type": [ {
        "code": "string"
      } ],
      "short": "State or Province",
      "definition": "The state or province where the patient has his/her domicile.\nExample: London"
    }, {
      "id": "Subject.addressTelecom.address.city",
      "max": "1",
      "min": 0,
      "path": "Subject.addressTelecom.address.city",
      "type": [ {
        "code": "string"
      } ],
      "short": "City",
      "definition": "The city where the patient has his/her domicile.\nExample: London"
    }, {
      "id": "Subject.addressTelecom.address.countryCode",
      "max": "1",
      "min": 1,
      "path": "Subject.addressTelecom.address.countryCode",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Country Code",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://hl7.eu/fhir/laboratory/actor-handler-eu-lab"
        } ]
      } ],
      "definition": "The country where the patient has his/her domicile (Country of affiliation).\nExample: UK"
    }, {
      "id": "Subject.addressTelecom.address.use",
      "max": "1",
      "min": 0,
      "path": "Subject.addressTelecom.address.use",
      "type": [ {
        "code": "code"
      } ],
      "short": "Use of Address",
      "definition": "home | work | temp | old | billing - purpose of this address"
    }, {
      "id": "Subject.addressTelecom.address.type",
      "max": "1",
      "min": 0,
      "path": "Subject.addressTelecom.address.type",
      "type": [ {
        "code": "code"
      } ],
      "short": "Type of address",
      "definition": "postal | physical | both"
    }, {
      "id": "Subject.addressTelecom.telecom",
      "max": "*",
      "min": 0,
      "path": "Subject.addressTelecom.telecom",
      "type": [ {
        "code": "ContactPoint"
      } ],
      "short": "Telecom",
      "definition": "Telecommunication contact information (addresses) associated to a person. Multiple telecommunication addresses might be provided. - Preferred system(s): "
    } ]
  },
  "contact": [ {
    "name": "MyHealth@Eu",
    "telecom": [ {
      "value": "https://health.ec.europa.eu/other-pages/basic-page/myhealtheu-flyer-addressed-patients-and-health-professionals_en",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base"
}