PackagesCanonicalsLogsProblems
    Packages
    duwel.nl.stu3.sandbox.dev@0.0.1-dev.1
    http://nictiz.nl/fhir/StructureDefinition/Test/mp-MedAgr-mp9-MBH200aanvullendeinformatiewensenMA
{
  "description": "Constrained profile for qualification purposes. Not suited for implementation.",
  "_filename": "mp-MedAgr-mp9-MBH200aanvullendeinformatiewensenMA.json",
  "package_name": "duwel.nl.stu3.sandbox.dev",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "mpMedAgrmp9MBH200aanvullendeinformatiewensenMA",
  "abstract": false,
  "type": "Bundle",
  "experimental": "true",
  "resourceType": "StructureDefinition",
  "title": "mp MedAgr mp9 MBH200aanvullendeinformatiewensenMA",
  "package_version": "0.0.1-dev.1",
  "status": "draft",
  "id": "eb95d715-3658-49bd-8586-50bf4773d503",
  "kind": "resource",
  "url": "http://nictiz.nl/fhir/StructureDefinition/Test/mp-MedAgr-mp9-MBH200aanvullendeinformatiewensenMA",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Bundle.type",
      "path": "Bundle.type",
      "fixedCode": "searchset"
    }, {
      "id": "Bundle.entry",
      "path": "Bundle.entry",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "resource",
          "type": "profile"
        } ]
      }
    }, {
      "id": "Bundle.entry:medicationrequest",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "sliceName": "medicationrequest"
    }, {
      "id": "Bundle.entry:medicationrequest.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": "http://nictiz.nl/fhir/StructureDefinition/mp-MedicationAgreement"
      } ]
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension",
      "min": 4,
      "path": "Bundle.entry.resource.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.extension",
      "sliceName": "medicationAgreementAdditionalInformation"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x]",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x]"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x].coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "code",
          "type": "value"
        }, {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding:requiredCoding",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x].coding",
      "sliceName": "requiredCoding"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding:requiredCoding.system",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x].coding.system",
      "fixedUri": "urn:oid:2.16.840.1.113883.2.4.3.11.60.20.77.5.2.14.2050"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding:requiredCoding.code",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x].coding.code",
      "fixedCode": "1"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding:requiredCoding.display",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x].coding.display"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:renderedDosageInstruction",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.extension",
      "sliceName": "renderedDosageInstruction"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:renderedDosageInstruction.value[x]",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x]",
      "fixedString": "Vanaf T - 4 dagen, tot en met T + 5 dagen, 3 maal per dag 1 stuk, Oraal"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:periodOfUse",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.extension",
      "sliceName": "periodOfUse"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:periodOfUse.value[x]",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x]",
      "constraint": [ {
        "key": "ma1",
        "human": "Period.start and Period.end must have a difference of 9 days, 23:59:59",
        "severity": "error",
        "expression": "start + 9 days + 23 hours + 59 minutes + 59 seconds = end"
      }, {
        "key": "ma2",
        "human": "Check if T-date works",
        "severity": "error",
        "expression": "start = @${DATE, T, D, -4}T00:00:00+02:00"
      } ]
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:pharmaceuticalTreatmentIdentifier",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.extension",
      "sliceName": "pharmaceuticalTreatmentIdentifier"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:pharmaceuticalTreatmentIdentifier.value[x]",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x]"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:pharmaceuticalTreatmentIdentifier.value[x].system",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x].system"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.extension:pharmaceuticalTreatmentIdentifier.value[x].value",
      "min": 1,
      "path": "Bundle.entry.resource.extension.value[x].value"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.identifier",
      "min": 1,
      "path": "Bundle.entry.resource.identifier"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.identifier.system",
      "min": 1,
      "path": "Bundle.entry.resource.identifier.system"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.identifier.value",
      "min": 1,
      "path": "Bundle.entry.resource.identifier.value"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.status",
      "min": 1,
      "path": "Bundle.entry.resource.status",
      "fixedCode": "unknown"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.intent",
      "min": 1,
      "path": "Bundle.entry.resource.intent",
      "fixedCode": "order"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.category",
      "min": 1,
      "path": "Bundle.entry.resource.category"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.category.coding",
      "min": 1,
      "path": "Bundle.entry.resource.category.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "code",
          "type": "value"
        }, {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.entry:medicationrequest.resource.category.coding:requiredCoding",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.category.coding",
      "sliceName": "requiredCoding"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.category.coding:requiredCoding.system",
      "min": 1,
      "path": "Bundle.entry.resource.category.coding.system",
      "fixedUri": "http://snomed.info/sct"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.category.coding:requiredCoding.code",
      "min": 1,
      "path": "Bundle.entry.resource.category.coding.code",
      "fixedCode": "33633005"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.category.coding:requiredCoding.display",
      "min": 1,
      "path": "Bundle.entry.resource.category.coding.display"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.medication[x]:medicationReference",
      "path": "Bundle.entry.resource.medication[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/nl-core-PharmaceuticalProduct"
      } ],
      "sliceName": "medicationReference"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.medication[x]:medicationReference.reference",
      "min": 1,
      "path": "Bundle.entry.resource.medication[x].reference"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.medication[x]:medicationReference.type",
      "min": 1,
      "path": "Bundle.entry.resource.medication[x].type",
      "fixedUri": "Medication"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.medication[x]:medicationReference.display",
      "min": 1,
      "path": "Bundle.entry.resource.medication[x].display"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.subject",
      "path": "Bundle.entry.resource.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient"
      } ]
    }, {
      "id": "Bundle.entry:medicationrequest.resource.subject.reference",
      "min": 1,
      "path": "Bundle.entry.resource.subject.reference"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.subject.type",
      "min": 1,
      "path": "Bundle.entry.resource.subject.type",
      "fixedUri": "Patient"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.subject.display",
      "min": 1,
      "path": "Bundle.entry.resource.subject.display"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.requester",
      "path": "Bundle.entry.resource.requester",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional"
      } ]
    }, {
      "id": "Bundle.entry:medicationrequest.resource.requester.reference",
      "min": 1,
      "path": "Bundle.entry.resource.requester.reference"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.requester.type",
      "min": 1,
      "path": "Bundle.entry.resource.requester.type",
      "fixedUri": "PractitionerRole"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.requester.display",
      "min": 1,
      "path": "Bundle.entry.resource.requester.display"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction",
      "sliceName": "requiredDosageInstruction"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.timing",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.timing"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.timing.repeat",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.timing.repeat"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.timing.repeat.frequency",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.timing.repeat.frequency",
      "fixedPositiveInt": 3
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.timing.repeat.period",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.timing.repeat.period",
      "fixedDecimal": 1
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.timing.repeat.periodUnit",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.timing.repeat.periodUnit",
      "fixedCode": "d"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.route",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.route"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.route.coding",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.route.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "code",
          "type": "value"
        }, {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.route.coding:requiredCoding",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.route.coding",
      "sliceName": "requiredCoding"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.route.coding:requiredCoding.system",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.route.coding.system",
      "fixedUri": "urn:oid:2.16.840.1.113883.2.4.4.9"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.route.coding:requiredCoding.code",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.route.coding.code",
      "fixedCode": "9"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.route.coding:requiredCoding.display",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.route.coding.display"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate",
      "sliceName": "requiredDoseAndRate"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x]",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x]"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].extension:gstdSimpleQuantity",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].extension",
      "sliceName": "gstdSimpleQuantity"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].extension:gstdSimpleQuantity.value[x]",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].extension.value[x]"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].extension:gstdSimpleQuantity.value[x].value",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].extension.value[x].value",
      "fixedDecimal": 1
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].extension:gstdSimpleQuantity.value[x].unit",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].extension.value[x].unit",
      "fixedString": "stuk"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].extension:gstdSimpleQuantity.value[x].system",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].extension.value[x].system",
      "fixedUri": "urn:oid:2.16.840.1.113883.2.4.4.1.900.2"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].extension:gstdSimpleQuantity.value[x].code",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].extension.value[x].code",
      "fixedCode": "245"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].value",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].value",
      "fixedDecimal": 1
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].unit",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].unit",
      "fixedString": "stuk"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].system",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].system",
      "fixedUri": "http://unitsofmeasure.org"
    }, {
      "id": "Bundle.entry:medicationrequest.resource.dosageInstruction:requiredDosageInstruction.doseAndRate:requiredDoseAndRate.dose[x].code",
      "min": 1,
      "path": "Bundle.entry.resource.dosageInstruction.doseAndRate.dose[x].code",
      "fixedCode": "1"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}