{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2019-01-09T09:04:09.215+00:00"
  },
  "url": "http://healthyme.philips.com/fhir/StructureDefinition/RelatedQuestionnaire",
  "version": "1",
  "name": "RelatedQuestionnaire",
  "title": "Related Questionnaire",
  "status": "draft",
  "date": "2019-01-09",
  "publisher": "Philips",
  "description": "This is a special case of a RelatedArtifact, which specifies a Questionnaire.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "type": "RelatedArtifact",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedArtifact",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedArtifact",
        "path": "RelatedArtifact",
        "short": "Questionnaire related to care plan",
        "definition": "This is a special case of a RelatedArtifact, which specifies a Questionnaire to be used in a care plan.",
        "comment": "Each related artifact is either an attachment, or a reference to another knowledge resource, but not both.",
        "base": {
          "path": "Element",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "RelatedArtifact.type",
        "path": "RelatedArtifact.type",
        "fixedCode": "depends-on"
      },
      {
        "id": "RelatedArtifact.document",
        "path": "RelatedArtifact.document",
        "max": "0"
      },
      {
        "id": "RelatedArtifact.resource",
        "path": "RelatedArtifact.resource",
        "short": "Reference to Questionnaire",
        "definition": "a reference to the Questionnaire resource that defines the questionnaire to be filled in by the patient",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire"
          }
        ]
      }
    ]
  }
}