{
  "resourceType": "StructureDefinition",
  "id": "ext-pcm-service",
  "url": "http://pcm.fhir.health.gov.il/StructureDefinition/ext-pcm-service",
  "version": "0.1.6",
  "name": "ExtPcmService",
  "title": "Ext: PCM Service (HealthcareService instance) referenced by the Consent",
  "status": "active",
  "description": "Reference to the PCM HealthcareService *instance* for which the patient is giving consent (set when creating the Consent).",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Element"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Ext: PCM Service (HealthcareService instance) referenced by the Consent",
        "definition": "Reference to the PCM HealthcareService *instance* for which the patient is giving consent (set when creating the Consent)."
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://pcm.fhir.health.gov.il/StructureDefinition/ext-pcm-service"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "The HealthcareService instance that is being consented to.",
        "comment": "This points to a PCM HealthcareService instance (association of Provider Organization + Catalog service).",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-healthcareservice-instance"
            ]
          }
        ]
      }
    ]
  }
}