{
  "resourceType": "StructureDefinition",
  "id": "MessageBundlePatientQuery",
  "meta": {
    "lastUpdated": "2019-04-15T13:32:51.7175513+00:00"
  },
  "url": "http://spms.min-saude.pt/rnu/profiles/patient_query/v0100",
  "name": "MessageBundle_PatientQuery",
  "status": "draft",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.id",
        "path": "Bundle.id",
        "min": 1
      },
      {
        "id": "Bundle.meta.lastUpdated",
        "path": "Bundle.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "min": 1,
        "max": "1",
        "fixedUri": "http://spms.min-saude.pt/rnu/profiles/patient_query/v0100"
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "short": "message"
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "max": "0"
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "min": 1
      },
      {
        "id": "Bundle.entry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "definition": "The Resources for the entry",
        "type": [
          {
            "code": "ReferralRequest",
            "profile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "bdl-8"
        ]
      },
      {
        "id": "Bundle.entry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.signature",
        "path": "Bundle.signature",
        "max": "0"
      }
    ]
  }
}