@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:StructureDefinition;
  fhir:Resource.id [ fhir:value "2.16.840.1.113883.10.20.22.4.32"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.32"];
  fhir:StructureDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.10.20.22.4.32" ]
  ];
  fhir:StructureDefinition.version [ fhir:value "2.2"];
  fhir:StructureDefinition.name [ fhir:value "ServiceDeliveryLocation"];
  fhir:StructureDefinition.title [ fhir:value "Service Delivery Location"];
  fhir:StructureDefinition.status [ fhir:value "active"];
  fhir:StructureDefinition.date [ fhir:value "2022-05-13T15:50:12+00:00"];
  fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 International - Structured Documents" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/structure" ]
     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "This clinical statement represents the location of a service event where an act, observation or procedure took place."];
  fhir:StructureDefinition.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ]
     ]
  ];
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.abstract [ fhir:value "false"];
  fhir:StructureDefinition.type [ fhir:value "ParticipantRole"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ParticipantRole"];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "ParticipantRole" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Base" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "ParticipantRole.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.classCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @classCode=\"SDLOC\" (CodeSystem: HL7RoleCode urn:oid:2.16.840.1.113883.5.111 STATIC) (CONF:81-7758)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.classCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "ROL" ];
       fhir:ElementDefinition.pattern [ fhir:value "SDLOC" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-RoleClassRoot" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "root" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.definition [ fhir:value "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId" ];
       fhir:ElementDefinition.sliceName [ fhir:value "primary" ];
       fhir:ElementDefinition.definition [ fhir:value "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] templateId (CONF:81-7635) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId:primary.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId.nullFlavor" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Exceptional Value Detail" ];
       fhir:ElementDefinition.definition [ fhir:value "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ANY.nullFlavor" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId:primary.assigningAuthorityName" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId.assigningAuthorityName" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Assigning Authority Name" ];
       fhir:ElementDefinition.definition [ fhir:value "A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.assigningAuthorityName" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId:primary.displayable" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId.displayable" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Displayable" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.displayable" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "boolean" ]
       ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId.root" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Root" ];
       fhir:ElementDefinition.definition [ fhir:value "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.32\" (CONF:81-10524)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.root" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.10.20.22.4.32" ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId:primary.extension" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId.extension" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.label [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "A character string as a unique identifier within the scope of the identifier root." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "II.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "ParticipantRole.id" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.id" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "ParticipantRole.sdtcIdentifiedBy" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ];
         fhir:Extension.value [ fhir:value "urn:hl7-org:sdtc" ]
       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ];
         fhir:Extension.value [ fhir:value "identifiedBy" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.sdtcIdentifiedBy" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.sdtcIdentifiedBy" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IdentifiedBy" ]
       ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "ParticipantRole.code" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet HealthcareServiceLocation urn:oid:2.16.840.1.113883.1.11.20275 DYNAMIC (CONF:81-16850)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.code" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20275" ]
       ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "ParticipantRole.addr" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.addr" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] addr (CONF:81-7760)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.addr" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/AD" ]
       ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "ParticipantRole.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.telecom" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] telecom (CONF:81-7761)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.telecom" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/TEL" ]
       ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "ParticipantRole.playingDevice" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingDevice" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingDevice" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Device" ]
       ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or one [0..1] playingEntity (CONF:81-7762)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PlayingEntity" ]
       ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity.classCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.requirements [ fhir:value "The playingEntity, if present, SHALL contain exactly one [1..1] @classCode=\"PLC\" (CodeSystem: HL7EntityClass urn:oid:2.16.840.1.113883.5.41 STATIC) (CONF:81-7763)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.classCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "ENT" ];
       fhir:ElementDefinition.pattern [ fhir:value "PLC" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-EntityClassRoot" ]
       ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity.determinerCode" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity.determinerCode" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.determinerCode" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.defaultValue [ fhir:value "INSTANCE" ];
       fhir:ElementDefinition.fixed [ fhir:value "INSTANCE" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer" ]
       ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity.templateId" ];
       fhir:ElementDefinition.definition [ fhir:value "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.templateId" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/II" ]
       ]
     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity.code" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity.code" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.code" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CE" ]
       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v3-EntityCode" ]
       ]
     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity.quantity" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity.quantity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.quantity" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ]
       ]
     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity.name" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity.name" ];
       fhir:ElementDefinition.requirements [ fhir:value "The playingEntity, if present, MAY contain zero or one [0..1] name (CONF:81-16037)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.name" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/EN" ]
       ]
     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity.desc" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity.desc" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "PlayingEntity.desc" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ED" ]
       ]
     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "ParticipantRole.scopingEntity" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.scopingEntity" ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "ParticipantRole.scopingEntity" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Entity" ]
       ]
     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "ParticipantRole" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole" ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "ParticipantRole.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.classCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @classCode=\"SDLOC\" (CodeSystem: HL7RoleCode urn:oid:2.16.840.1.113883.5.111 STATIC) (CONF:81-7758)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "SDLOC" ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "root" ]
         ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId:primary" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId" ];
       fhir:ElementDefinition.sliceName [ fhir:value "primary" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] templateId (CONF:81-7635) such that it" ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "ParticipantRole.templateId:primary.root" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.templateId.root" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.32\" (CONF:81-10524)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "2.16.840.1.113883.10.20.22.4.32" ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "ParticipantRole.code" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.code" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet HealthcareServiceLocation urn:oid:2.16.840.1.113883.1.11.20275 DYNAMIC (CONF:81-16850)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20275" ]
       ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "ParticipantRole.addr" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.addr" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] addr (CONF:81-7760)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "ParticipantRole.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.telecom" ];
       fhir:ElementDefinition.requirements [ fhir:value "SHOULD contain zero or more [0..*] telecom (CONF:81-7761)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity" ];
       fhir:ElementDefinition.requirements [ fhir:value "MAY contain zero or one [0..1] playingEntity (CONF:81-7762)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity.classCode" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity.classCode" ];
       fhir:ElementDefinition.requirements [ fhir:value "The playingEntity, if present, SHALL contain exactly one [1..1] @classCode=\"PLC\" (CodeSystem: HL7EntityClass urn:oid:2.16.840.1.113883.5.41 STATIC) (CONF:81-7763)." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.pattern [ fhir:value "PLC" ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "ParticipantRole.playingEntity.name" ];
       fhir:ElementDefinition.path [ fhir:value "ParticipantRole.playingEntity.name" ];
       fhir:ElementDefinition.requirements [ fhir:value "The playingEntity, if present, MAY contain zero or one [0..1] name (CONF:81-16037)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ]
     ]
  ] .

# -------------------------------------------------------------------------------------

