{
  "resourceType": "StructureDefinition",
  "id": "EPLabPrescriptionBundle-5b2f2e66-99cc-4d42-af64-0a6d87845468",
  "url": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle",
  "version": "1.2.0",
  "name": "EPLabPrescriptionBundle",
  "status": "active",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle",
        "path": "Bundle",
        "condition": [
          "val-SameDateLabPresc"
        ],
        "constraint": [
          {
            "key": "val-SameDateLabPresc",
            "severity": "error",
            "human": "The dates on the prescription shall be coherent",
            "expression": "Bundle.entry.resource.select(ofType(CarePlan).created|ofType(DocumentReference).date|ofType(CarePlan).period.start|ofType(ServiceRequest).authoredOn|ofType(CommunicationRequest).authoredOn|ofType(Consent).dateTime).select(toString().substring(0,10)).distinct().count() = 1",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
          }
        ]
      },
      {
        "id": "Bundle.id",
        "path": "Bundle.id",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.\r\nIs assigned by the server, do not provide a value."
      },
      {
        "id": "Bundle.meta",
        "path": "Bundle.meta",
        "min": 1
      },
      {
        "id": "Bundle.meta.id",
        "path": "Bundle.meta.id",
        "max": "0"
      },
      {
        "id": "Bundle.meta.versionId",
        "path": "Bundle.meta.versionId",
        "max": "0"
      },
      {
        "id": "Bundle.meta.lastUpdated",
        "path": "Bundle.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Bundle.meta.source",
        "path": "Bundle.meta.source",
        "max": "0"
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
      },
      {
        "id": "Bundle.meta.security",
        "path": "Bundle.meta.security",
        "max": "0"
      },
      {
        "id": "Bundle.meta.tag",
        "path": "Bundle.meta.tag",
        "max": "0"
      },
      {
        "id": "Bundle.implicitRules",
        "path": "Bundle.implicitRules",
        "max": "0"
      },
      {
        "id": "Bundle.language",
        "path": "Bundle.language",
        "max": "0"
      },
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "max": "0"
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "definition": "Constant value",
        "fixedCode": "transaction"
      },
      {
        "id": "Bundle.timestamp",
        "path": "Bundle.timestamp",
        "max": "0"
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "max": "0"
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "resource.meta.profile"
            }
          ],
          "rules": "closed"
        },
        "min": 5
      },
      {
        "id": "Bundle.entry:prescription",
        "path": "Bundle.entry",
        "sliceName": "prescription",
        "short": "The prescription",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:prescription.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescription.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescription.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "short": "UUID of the resource",
        "definition": "This is a UUID to identify the element inside the Bundle.\r\nIt SHALL start with urn:uuid: and then an UUID version 4 randomly generated. Its scope is only the Bundle, it is not linked outside from it and not saved.",
        "min": 1,
        "example": [
          {
            "label": "Valid example",
            "valueUri": "urn:uuid:d00069b7-1fc8-4397-bc7c-c9571319d890"
          }
        ],
        "condition": [
          "val-uuid"
        ],
        "constraint": [
          {
            "key": "val-uuid",
            "severity": "error",
            "human": "SHALL be a v4 UUID prefixed by urn:uuid:",
            "expression": "startsWith('urn:uuid:') and length()=45",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
          }
        ]
      },
      {
        "id": "Bundle.entry:prescription.resource",
        "path": "Bundle.entry.resource",
        "short": "The prescription",
        "min": 1,
        "type": [
          {
            "code": "CarePlan",
            "profile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescription"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:prescription.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescription.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:prescription.request.id",
        "path": "Bundle.entry.request.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescription.request.method",
        "path": "Bundle.entry.request.method",
        "definition": "Constant",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:prescription.request.url",
        "path": "Bundle.entry.request.url",
        "short": "Constant",
        "fixedUri": "CarePlan"
      },
      {
        "id": "Bundle.entry:prescription.request.ifNoneMatch",
        "path": "Bundle.entry.request.ifNoneMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescription.request.ifModifiedSince",
        "path": "Bundle.entry.request.ifModifiedSince",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescription.request.ifMatch",
        "path": "Bundle.entry.request.ifMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescription.request.ifNoneExist",
        "path": "Bundle.entry.request.ifNoneExist",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescription.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionLine",
        "path": "Bundle.entry",
        "sliceName": "prescriptionLine",
        "short": "Prescription lines",
        "min": 1,
        "max": "*"
      },
      {
        "id": "Bundle.entry:prescriptionLine.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionLine.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionLine.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "short": "UUID of the resource",
        "definition": "This is a UUID to identify the element inside the Bundle.\r\nIt SHALL start with urn:uuid: and then an UUID version 4 randomly generated. Its scope is only the Bundle, it is not linked outside from it and not saved.",
        "min": 1,
        "condition": [
          "val-uuid"
        ],
        "constraint": [
          {
            "key": "val-uuid",
            "severity": "error",
            "human": "SHALL be a v4 UUID prefixed by urn:uuid:",
            "expression": "startsWith('urn:uuid:') and length()=45",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
          }
        ]
      },
      {
        "id": "Bundle.entry:prescriptionLine.resource",
        "path": "Bundle.entry.resource",
        "short": "A prescription line",
        "min": 1,
        "type": [
          {
            "code": "ServiceRequest",
            "profile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionLine"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:prescriptionLine.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionLine.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:prescriptionLine.request.id",
        "path": "Bundle.entry.request.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionLine.request.method",
        "path": "Bundle.entry.request.method",
        "definition": "Constant",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:prescriptionLine.request.url",
        "path": "Bundle.entry.request.url",
        "short": "Constant",
        "fixedUri": "ServiceRequest"
      },
      {
        "id": "Bundle.entry:prescriptionLine.request.ifNoneMatch",
        "path": "Bundle.entry.request.ifNoneMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionLine.request.ifModifiedSince",
        "path": "Bundle.entry.request.ifModifiedSince",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionLine.request.ifMatch",
        "path": "Bundle.entry.request.ifMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionLine.request.ifNoneExist",
        "path": "Bundle.entry.request.ifNoneExist",
        "max": "0"
      },
      {
        "id": "Bundle.entry:prescriptionLine.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pdfDocument",
        "path": "Bundle.entry",
        "sliceName": "pdfDocument",
        "short": "The PDF representing this prescription",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:pdfDocument.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pdfDocument.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pdfDocument.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "short": "UUID of the resource",
        "definition": "This is a UUID to identify the element inside the Bundle.\r\nIt SHALL start with urn:uuid: and then an UUID version 4 randomly generated. Its scope is only the Bundle, it is not linked outside from it and not saved.",
        "min": 1,
        "condition": [
          "val-uuid"
        ],
        "constraint": [
          {
            "key": "val-uuid",
            "severity": "error",
            "human": "SHALL be a v4 UUID prefixed by urn:uuid:",
            "expression": "startsWith('urn:uuid:') and length()=45",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
          }
        ]
      },
      {
        "id": "Bundle.entry:pdfDocument.resource",
        "path": "Bundle.entry.resource",
        "short": "The PDF document",
        "min": 1,
        "type": [
          {
            "code": "DocumentReference",
            "profile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabDocumentRef"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:pdfDocument.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pdfDocument.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:pdfDocument.request.id",
        "path": "Bundle.entry.request.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pdfDocument.request.method",
        "path": "Bundle.entry.request.method",
        "definition": "Constant",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:pdfDocument.request.url",
        "path": "Bundle.entry.request.url",
        "definition": "Constant",
        "fixedUri": "DocumentReference"
      },
      {
        "id": "Bundle.entry:pdfDocument.request.ifNoneMatch",
        "path": "Bundle.entry.request.ifNoneMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pdfDocument.request.ifModifiedSince",
        "path": "Bundle.entry.request.ifModifiedSince",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pdfDocument.request.ifMatch",
        "path": "Bundle.entry.request.ifMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pdfDocument.request.ifNoneExist",
        "path": "Bundle.entry.request.ifNoneExist",
        "max": "0"
      },
      {
        "id": "Bundle.entry:pdfDocument.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:copies",
        "path": "Bundle.entry",
        "sliceName": "copies",
        "short": "The copy of the result",
        "definition": "The prescriber by default gets a copy, there is no need to write it here",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Bundle.entry:copies.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:copies.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:copies.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "short": "UUID of the resource",
        "definition": "This is a UUID to identify the element inside the Bundle.\r\nIt SHALL start with urn:uuid: and then an UUID version 4 randomly generated. Its scope is only the Bundle, it is not linked outside from it and not saved.",
        "min": 1,
        "example": [
          {
            "label": "Valid example",
            "valueUri": "urn:uuid:d00069b7-1fc8-4397-bc7c-c9571319d890"
          }
        ],
        "condition": [
          "val-uuid"
        ],
        "constraint": [
          {
            "key": "val-uuid",
            "severity": "error",
            "human": "SHALL be a v4 UUID prefixed by urn:uuid:",
            "expression": "startsWith('urn:uuid:') and length()=45",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
          }
        ]
      },
      {
        "id": "Bundle.entry:copies.resource",
        "path": "Bundle.entry.resource",
        "short": "The communication request for copies",
        "min": 1,
        "type": [
          {
            "code": "CommunicationRequest",
            "profile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/EPCommunicationRequest"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:copies.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:copies.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:copies.request.id",
        "path": "Bundle.entry.request.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:copies.request.method",
        "path": "Bundle.entry.request.method",
        "definition": "Constant",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:copies.request.url",
        "path": "Bundle.entry.request.url",
        "fixedUri": "CommunicationRequest"
      },
      {
        "id": "Bundle.entry:copies.request.ifNoneMatch",
        "path": "Bundle.entry.request.ifNoneMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:copies.request.ifModifiedSince",
        "path": "Bundle.entry.request.ifModifiedSince",
        "max": "0"
      },
      {
        "id": "Bundle.entry:copies.request.ifMatch",
        "path": "Bundle.entry.request.ifMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:copies.request.ifNoneExist",
        "path": "Bundle.entry.request.ifNoneExist",
        "max": "0"
      },
      {
        "id": "Bundle.entry:copies.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:unknownPract",
        "path": "Bundle.entry",
        "sliceName": "unknownPract",
        "short": "A prescripber not known by its eHealthID and in copy of results",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Bundle.entry:unknownPract.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:unknownPract.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:unknownPract.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "short": "UUID of the resource",
        "definition": "This is a UUID to identify the element inside the Bundle.\r\nIt SHALL start with urn:uuid: and then an UUID version 4 randomly generated. Its scope is only the Bundle, it is not linked outside from it and not saved.",
        "min": 1,
        "example": [
          {
            "label": "Valid example",
            "valueUri": "urn:uuid:d00069b7-1fc8-4397-bc7c-c9571319d890"
          }
        ],
        "condition": [
          "val-uuid"
        ],
        "constraint": [
          {
            "key": "val-uuid",
            "severity": "error",
            "human": "SHALL be a v4 UUID prefixed by urn:uuid:",
            "expression": "startsWith('urn:uuid:') and length()=45",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
          }
        ]
      },
      {
        "id": "Bundle.entry:unknownPract.resource",
        "path": "Bundle.entry.resource",
        "short": "The practitioner",
        "min": 1,
        "type": [
          {
            "code": "Practitioner",
            "profile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/EPPractitionerUnk"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:unknownPract.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:unknownPract.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:unknownPract.request.id",
        "path": "Bundle.entry.request.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:unknownPract.request.method",
        "path": "Bundle.entry.request.method",
        "definition": "Constant",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:unknownPract.request.url",
        "path": "Bundle.entry.request.url",
        "fixedUri": "Practitioner"
      },
      {
        "id": "Bundle.entry:unknownPract.request.ifNoneMatch",
        "path": "Bundle.entry.request.ifNoneMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:unknownPract.request.ifModifiedSince",
        "path": "Bundle.entry.request.ifModifiedSince",
        "max": "0"
      },
      {
        "id": "Bundle.entry:unknownPract.request.ifMatch",
        "path": "Bundle.entry.request.ifMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:unknownPract.request.ifNoneExist",
        "path": "Bundle.entry.request.ifNoneExist",
        "max": "0"
      },
      {
        "id": "Bundle.entry:unknownPract.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient",
        "path": "Bundle.entry",
        "sliceName": "patient",
        "short": "The patient",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:patient.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "short": "UUID of the resource",
        "definition": "This is a UUID to identify the element inside the Bundle.\r\nIt SHALL start with urn:uuid: and then an UUID version 4 randomly generated. Its scope is only the Bundle, it is not linked outside from it and not saved.",
        "min": 1,
        "example": [
          {
            "label": "Valid example",
            "valueUri": "urn:uuid:d00069b7-1fc8-4397-bc7c-c9571319d890"
          }
        ],
        "condition": [
          "val-uuid"
        ],
        "constraint": [
          {
            "key": "val-uuid",
            "severity": "error",
            "human": "SHALL be a v4 UUID prefixed by urn:uuid:",
            "expression": "startsWith('urn:uuid:') and length()=45",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
          }
        ]
      },
      {
        "id": "Bundle.entry:patient.resource",
        "path": "Bundle.entry.resource",
        "short": "The patient",
        "min": 1,
        "type": [
          {
            "code": "Patient",
            "profile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/EPPatient"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:patient.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:patient.request.id",
        "path": "Bundle.entry.request.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient.request.method",
        "path": "Bundle.entry.request.method",
        "definition": "Constant",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:patient.request.url",
        "path": "Bundle.entry.request.url",
        "short": "Constant",
        "fixedUri": "Patient"
      },
      {
        "id": "Bundle.entry:patient.request.ifNoneMatch",
        "path": "Bundle.entry.request.ifNoneMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient.request.ifModifiedSince",
        "path": "Bundle.entry.request.ifModifiedSince",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient.request.ifMatch",
        "path": "Bundle.entry.request.ifMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient.request.ifNoneExist",
        "path": "Bundle.entry.request.ifNoneExist",
        "max": "0"
      },
      {
        "id": "Bundle.entry:patient.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent",
        "path": "Bundle.entry",
        "sliceName": "consent",
        "short": "The consent",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Bundle.entry:consent.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "short": "UUID of the resource",
        "definition": "This is a UUID to identify the element inside the Bundle.\r\nIt SHALL start with urn:uuid: and then an UUID version 4 randomly generated. Its scope is only the Bundle, it is not linked outside from it and not saved.",
        "min": 1,
        "example": [
          {
            "label": "Valid example",
            "valueUri": "urn:uuid:d00069b7-1fc8-4397-bc7c-c9571319d890"
          }
        ],
        "condition": [
          "val-uuid"
        ],
        "constraint": [
          {
            "key": "val-uuid",
            "severity": "error",
            "human": "SHALL be a v4 UUID prefixed by urn:uuid:",
            "expression": "startsWith('urn:uuid:') and length()=45",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
          }
        ]
      },
      {
        "id": "Bundle.entry:consent.resource",
        "path": "Bundle.entry.resource",
        "short": "The consent",
        "min": 1,
        "type": [
          {
            "code": "Consent",
            "profile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/SendLabResultSubContConsent"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:consent.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:consent.request.id",
        "path": "Bundle.entry.request.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.request.method",
        "path": "Bundle.entry.request.method",
        "definition": "Constant",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:consent.request.url",
        "path": "Bundle.entry.request.url",
        "short": "Constant",
        "fixedUri": "Consent"
      },
      {
        "id": "Bundle.entry:consent.request.ifNoneMatch",
        "path": "Bundle.entry.request.ifNoneMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.request.ifModifiedSince",
        "path": "Bundle.entry.request.ifModifiedSince",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.request.ifMatch",
        "path": "Bundle.entry.request.ifMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.request.ifNoneExist",
        "path": "Bundle.entry.request.ifNoneExist",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitioner",
        "path": "Bundle.entry",
        "sliceName": "practitioner",
        "short": "The author",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:practitioner.id",
        "path": "Bundle.entry.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitioner.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitioner.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "short": "UUID of the resource",
        "definition": "This is a UUID to identify the element inside the Bundle.\r\nIt SHALL start with urn:uuid: and then an UUID version 4 randomly generated. Its scope is only the Bundle, it is not linked outside from it and not saved.",
        "min": 1,
        "example": [
          {
            "label": "Valid example",
            "valueUri": "urn:uuid:d00069b7-1fc8-4397-bc7c-c9571319d890"
          }
        ],
        "condition": [
          "val-uuid"
        ],
        "constraint": [
          {
            "key": "val-uuid",
            "severity": "error",
            "human": "SHALL be a v4 UUID prefixed by urn:uuid:",
            "expression": "startsWith('urn:uuid:') and length()=45",
            "source": "https://www.esante.lu/fhir-spec/StructureDefinition/EPLabPrescriptionBundle"
          }
        ]
      },
      {
        "id": "Bundle.entry:practitioner.resource",
        "path": "Bundle.entry.resource",
        "short": "The author",
        "min": 1,
        "type": [
          {
            "code": "Practitioner",
            "profile": [
              "https://www.esante.lu/fhir-spec/StructureDefinition/EPPractitioner"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:practitioner.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitioner.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:practitioner.request.id",
        "path": "Bundle.entry.request.id",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitioner.request.method",
        "path": "Bundle.entry.request.method",
        "definition": "Constant",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:practitioner.request.url",
        "path": "Bundle.entry.request.url",
        "short": "Constant",
        "fixedUri": "Practitioner"
      },
      {
        "id": "Bundle.entry:practitioner.request.ifNoneMatch",
        "path": "Bundle.entry.request.ifNoneMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitioner.request.ifModifiedSince",
        "path": "Bundle.entry.request.ifModifiedSince",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitioner.request.ifMatch",
        "path": "Bundle.entry.request.ifMatch",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitioner.request.ifNoneExist",
        "path": "Bundle.entry.request.ifNoneExist",
        "max": "0"
      },
      {
        "id": "Bundle.entry:practitioner.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.signature",
        "path": "Bundle.signature",
        "max": "0"
      }
    ]
  }
}