{
  "resourceType": "StructureDefinition",
  "id": "MyConsentMCDT",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2019-05-23T16:41:35.34+00:00"
  },
  "url": "http://spms.min-saude.pt/spms/STU3/StructureDefinition/ConsentMCDT",
  "name": "MyConsent_MCDT",
  "status": "draft",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Consent",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Consent.patient",
        "path": "Consent.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://spms.min-saude.pt/fhir/StructureDefinition/PatientMCDT",
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "Consent.patient.reference",
        "path": "Consent.patient.reference",
        "min": 1
      },
      {
        "id": "Consent.dateTime",
        "path": "Consent.dateTime",
        "min": 1
      },
      {
        "id": "Consent.policyRule",
        "path": "Consent.policyRule",
        "min": 1,
        "fixedUri": "http://spms.min-saude.pt/rse/consent/mcdt/patient-consent"
      }
    ]
  }
}