{
  "resourceType": "StructureDefinition",
  "id": "423ddd43-e225-4ab4-b87b-7f1090d226d5",
  "meta": {
    "lastUpdated": "2019-04-16T20:20:37.1492391+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/ConsentPS",
  "name": "ConsentPS",
  "status": "draft",
  "date": "2019-04-16T20:20:37.2981317+00:00",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Consent",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Consent.category",
        "path": "Consent.category",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConsentCategory"
            }
          ],
          "strength": "preferred"
        }
      },
      {
        "id": "Consent.patient",
        "path": "Consent.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://example.org/fhir/StructureDefinition/PatientPS"
          }
        ]
      },
      {
        "id": "Consent.source[x]",
        "path": "Consent.source[x]",
        "type": [
          {
            "code": "Attachment"
          },
          {
            "code": "Identifier"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Consent"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      }
    ]
  }
}