{
  "resourceType": "StructureDefinition",
  "id": "fa93420c-84c0-4f49-827e-418c85661114",
  "meta": {
    "versionId": "4",
    "lastUpdated": "2020-01-27T12:18:21.281+00:00"
  },
  "url": "https://fhir.graphnethealth.com/STU3/StructureDefinition/Beacon-DocumentReference",
  "name": "Beacon-DocumentReference",
  "status": "draft",
  "date": "2020-01-27T12:18:20.9998438Z",
  "publisher": "Graphnet Health Ltd",
  "contact": [
    {
      "name": "Interoperability Product Team",
      "telecom": [
        {
          "system": "email",
          "value": "product@graphnethealth.net",
          "use": "work"
        }
      ]
    }
  ],
  "copyright": "Copyright © 2020 Graphnet Health",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "DocumentReference",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DocumentReference.id",
        "path": "DocumentReference.id",
        "min": 1
      },
      {
        "id": "DocumentReference.type.coding",
        "path": "DocumentReference.type.coding",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "https://fhir.graphnethealth.com/STU3/ValueSet/Beacon-DocumentType"
          }
        }
      },
      {
        "id": "DocumentReference.type.coding.system",
        "path": "DocumentReference.type.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "DocumentReference.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "DocumentReference.type.text",
        "min": 1
      },
      {
        "id": "DocumentReference.subject",
        "path": "DocumentReference.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "DocumentReference.subject.reference",
        "path": "DocumentReference.subject.reference",
        "min": 1
      },
      {
        "id": "DocumentReference.subject.identifier",
        "path": "DocumentReference.subject.identifier",
        "max": "0"
      },
      {
        "id": "DocumentReference.created",
        "path": "DocumentReference.created",
        "min": 1
      },
      {
        "id": "DocumentReference.author.reference",
        "path": "DocumentReference.author.reference",
        "max": "0"
      },
      {
        "id": "DocumentReference.author.identifier",
        "path": "DocumentReference.author.identifier",
        "max": "0"
      },
      {
        "id": "DocumentReference.author.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "DocumentReference.author.display",
        "min": 1
      },
      {
        "id": "DocumentReference.authenticator",
        "path": "DocumentReference.authenticator",
        "min": 1
      },
      {
        "id": "DocumentReference.authenticator.reference",
        "path": "DocumentReference.authenticator.reference",
        "max": "0"
      },
      {
        "id": "DocumentReference.authenticator.identifier",
        "path": "DocumentReference.authenticator.identifier",
        "max": "0"
      },
      {
        "id": "DocumentReference.authenticator.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "DocumentReference.authenticator.display",
        "min": 1
      },
      {
        "id": "DocumentReference.relatesTo",
        "path": "DocumentReference.relatesTo",
        "max": "0"
      },
      {
        "id": "DocumentReference.securityLabel",
        "path": "DocumentReference.securityLabel",
        "max": "0"
      },
      {
        "id": "DocumentReference.content.attachment.contentType",
        "path": "DocumentReference.content.attachment.contentType",
        "min": 1
      },
      {
        "id": "DocumentReference.content.attachment.language",
        "path": "DocumentReference.content.attachment.language",
        "min": 1
      },
      {
        "id": "DocumentReference.content.attachment.data",
        "path": "DocumentReference.content.attachment.data",
        "min": 1
      },
      {
        "id": "DocumentReference.content.attachment.url",
        "path": "DocumentReference.content.attachment.url",
        "max": "0"
      },
      {
        "id": "DocumentReference.content.attachment.hash",
        "path": "DocumentReference.content.attachment.hash",
        "max": "0"
      },
      {
        "id": "DocumentReference.content.format",
        "path": "DocumentReference.content.format",
        "max": "0"
      },
      {
        "id": "DocumentReference.context",
        "path": "DocumentReference.context",
        "min": 1
      },
      {
        "id": "DocumentReference.context.period",
        "path": "DocumentReference.context.period",
        "min": 1
      },
      {
        "id": "DocumentReference.context.practiceSetting",
        "path": "DocumentReference.context.practiceSetting",
        "min": 1
      },
      {
        "id": "DocumentReference.context.practiceSetting.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "DocumentReference.context.practiceSetting.text",
        "min": 1
      }
    ]
  }
}