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

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

[] a fhir:StructureDefinition ;
  fhir:id [ fhir:v "ProvenanceAssemblerParticipation"] ;
  fhir:meta [
     fhir:versionId [ fhir:v "4" ] ;
     fhir:lastUpdated [ fhir:v "2023-07-11T23:42:05.979Z" ]
  ] ;
  fhir:text [
     fhir:status [ fhir:v "extensions" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target" ] ;
     fhir:value [
       fhir:v "" ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ] ;
         fhir:value [ fhir:v "not-applicable" ]
       ] )
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
     fhir:value [ fhir:v "urn:hl7-org:v3" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
     fhir:value [ fhir:v "participant" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/ProvenanceAssemblerParticipation"], [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/ProvenanceAssemblerParticipation"] ;
  fhir:identifier ( [
     fhir:value [ fhir:v "urn:hl7ii:2.16.840.1.113883.10.20.22.5.7:2020-05-19" ]
  ] [
     fhir:value [ fhir:v "urn:hl7ii:2.16.840.1.113883.10.20.22.5.7:2020-05-19" ]
  ] ) ;
  fhir:version [ fhir:v "2.1"], [ fhir:v "2.1"] ;
  fhir:name [ fhir:v "ProvenanceAssemblerParticipation"], [ fhir:v "ProvenanceAssemblerParticipation"] ;
  fhir:title [ fhir:v "Provenance - Assembler Participation"], [ fhir:v "Provenance - Assembler Participation"] ;
  fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
  fhir:date [ fhir:v "2023-09-29T16:20:44+00:00"], [ fhir:v "2023-09-29T16:20:44+00:00"] ;
  fhir:publisher [ fhir:v "Health Level Seven"], [ fhir:v "Health Level Seven"] ;
  fhir:contact ( [
     fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structure" ]
     ] )
  ] [
     fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structure" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "This template represents the organization that supported generation of a CDA document. The Assembler Organization may be different than the Author Organization, and may be different from the Organization that developed the software used to generate the document. \n\nThis Participation is only for use in the CDA Header because it applies to the entire content in the document.\n\nThis template is consistent with the prior Assembler Document Participant  (2.16.840.1.113883.3.5019.1.1) in the 2016 HL7 Data Provenance guide, however, makes no claim about representing the software organization. All constraints for conformance are defined in this template.\n\nNote: The CDA Participant does not support a software device or the organization that created the software. The Assembler role can only be expressed at the level of organization. This is a known issue with the current CDA R2 model.\nNote: The Provenance template title includes a version 2 to support moving from the 'Basic Provenance' guide to the this Companion Guide, so the templateId has not changed."], [ fhir:v "This template represents the organization that supported generation of a CDA document. The Assembler Organization may be different than the Author Organization, and may be different from the Organization that developed the software used to generate the document. \n\nThis Participation is only for use in the CDA Header because it applies to the entire content in the document.\n\nThis template is consistent with the prior Assembler Document Participant  (2.16.840.1.113883.3.5019.1.1) in the 2016 HL7 Data Provenance guide, however, makes no claim about representing the software organization. All constraints for conformance are defined in this template.\n\nNote: The CDA Participant does not support a software device or the organization that created the software. The Assembler role can only be expressed at the level of organization. This is a known issue with the current CDA R2 model.\nNote: The Provenance template title includes a version 2 to support moving from the 'Basic Provenance' guide to the this Companion Guide, so the templateId has not changed."] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166" ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166" ] ;
       fhir:code [ fhir:v "US" ]
     ] )
  ] ) ;
  fhir:fhirVersion [ fhir:v "5.0.0"] ;
  fhir:mapping ( [
     fhir:identity [ fhir:v "rim" ] ;
     fhir:uri [ fhir:v "http://hl7.org/v3" ] ;
     fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ;
  fhir:kind [ fhir:v "logical"] ;
  fhir:abstract [ fhir:v "false"] ;
  fhir:type [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Participant1"] ;
  fhir:baseDefinition [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Participant1"] ;
  fhir:derivation [ fhir:v "constraint"] ;
  fhir:snapshot [
     fhir:element ( [
       fhir:id [ fhir:v "Participant1" ] ;
       fhir:path [ fhir:v "Participant1" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Base" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [ ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.nullFlavor" ] ;
       fhir:path [ fhir:v "Participant1.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.typeCode" ] ;
       fhir:path [ fhir:v "Participant1.typeCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"DEV\" Device (CONF:4537-55)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.typeCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "DEV" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ParticipationType" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.contextControlCode" ] ;
       fhir:path [ fhir:v "Participant1.contextControlCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.contextControlCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "OP" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-ContextControl" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.realmCode" ] ;
       fhir:path [ fhir:v "Participant1.realmCode" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.realmCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.typeId" ] ;
       fhir:path [ fhir:v "Participant1.typeId" ] ;
       fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.typeId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.templateId" ] ;
       fhir:path [ fhir:v "Participant1.templateId" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "root" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "extension" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:definition [ fhir:v "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:comment [ fhir:v "SHALL contain exactly one [1..1] templateId (CONF:4537-40) such that it" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.templateId:templateId1" ] ;
       fhir:path [ fhir:v "Participant1.templateId" ] ;
       fhir:sliceName [ fhir:v "templateId1" ] ;
       fhir:short [ fhir:v "templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.templateId:templateId1.nullFlavor" ] ;
       fhir:path [ fhir:v "Participant1.templateId.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.templateId:templateId1.assigningAuthorityName" ] ;
       fhir:path [ fhir:v "Participant1.templateId.assigningAuthorityName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Assigning Authority Name" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.assigningAuthorityName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.templateId:templateId1.displayable" ] ;
       fhir:path [ fhir:v "Participant1.templateId.displayable" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Displayable" ] ;
       fhir:definition [ fhir:v "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.displayable" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.templateId:templateId1.root" ] ;
       fhir:path [ fhir:v "Participant1.templateId.root" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Root" ] ;
       fhir:definition [ fhir:v "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier." ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.5.7\" (CONF:4537-44)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.root" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid" ] )
       ] ) ;
       fhir:pattern [ fhir:v "2.16.840.1.113883.10.20.22.5.7" ]
     ] [
       fhir:id [ fhir:v "Participant1.templateId:templateId1.extension" ] ;
       fhir:path [ fhir:v "Participant1.templateId.extension" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Extension" ] ;
       fhir:definition [ fhir:v "A character string as a unique identifier within the scope of the identifier root." ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @extension=\"2020-05-19\" (CONF:4537-33025)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "II.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] ) ;
       fhir:pattern [ fhir:v "2020-05-19" ]
     ] [
       fhir:id [ fhir:v "Participant1.functionCode" ] ;
       fhir:path [ fhir:v "Participant1.functionCode" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] functionCode (CONF:4537-38)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.functionCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.nullFlavor" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.code" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.code" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code" ] ;
       fhir:definition [ fhir:v "The plain code symbol defined by the code system. For example, \"784.0\" is the code symbol of the ICD-9 code \"784.0\" for headache." ] ;
       fhir:comment [ fhir:v "This functionCode SHALL contain exactly one [1..1] @code=\"assembler\" Assembler (CONF:4537-32972)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:pattern [ fhir:v "assembler" ]
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.codeSystem" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.codeSystem" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System" ] ;
       fhir:definition [ fhir:v "Specifies the code system that defines the code." ] ;
       fhir:comment [ fhir:v "This functionCode SHALL contain exactly one [1..1] @codeSystem (CodeSystem: ProvenanceParticipantType urn:oid:2.16.840.1.113883.4.642.4.1131) (CONF:4537-41)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystem" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid" ] [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.codeSystemName" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.codeSystemName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System Name" ] ;
       fhir:definition [ fhir:v "The common name of the coding system." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystemName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.codeSystemVersion" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.codeSystemVersion" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Code System Version" ] ;
       fhir:definition [ fhir:v "If applicable, a version descriptor defined specifically for the given code system." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.codeSystemVersion" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.displayName" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.displayName" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Display Name" ] ;
       fhir:definition [ fhir:v "A name or title for the code, under which the sending system shows the code value to its users." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.displayName" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.sdtcValueSet" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "valueSet" ]
       ] ) ;
       fhir:path [ fhir:v "Participant1.functionCode.sdtcValueSet" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.valueSet" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.sdtcValueSetVersion" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "valueSetVersion" ]
       ] ) ;
       fhir:path [ fhir:v "Participant1.functionCode.sdtcValueSetVersion" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:definition [ fhir:v "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.sdtcValueSetVersion" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple" ] )
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.originalText" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.originalText" ] ;
       fhir:label [ fhir:v "Original Text" ] ;
       fhir:definition [ fhir:v "The text or phrase used as the basis for the coding." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.originalText" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.qualifier" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.qualifier" ] ;
       fhir:label [ fhir:v "Qualifier" ] ;
       fhir:definition [ fhir:v "Specifies additional codes that increase the specificity of the the primary code." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "0" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.qualifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CR" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.translation" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.translation" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:label [ fhir:v "Translation" ] ;
       fhir:definition [ fhir:v "A set of other concept descriptors that translate this concept descriptor into other code systems." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "CD.translation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.time" ] ;
       fhir:path [ fhir:v "Participant1.time" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] time (CONF:4537-42)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.time" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity" ] ;
       fhir:short [ fhir:v "The template does not require any elements from the associatedEntity since the information is recorded in the scopingOrganization." ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] associatedEntity (CONF:4537-39)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Participant1.associatedEntity" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AssociatedEntity" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.classCode" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.classCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:comment [ fhir:v "This associatedEntity SHALL contain exactly one [1..1] @classCode=\"OWN\" Owned Entity (CONF:4537-32973)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AssociatedEntity.classCode" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "OWN" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-RoleClassAssociative" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.templateId" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AssociatedEntity.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.id" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.id" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AssociatedEntity.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.sdtcIdentifiedBy" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ] ;
         fhir:value [ fhir:v "urn:hl7-org:sdtc" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name" ] ;
         fhir:value [ fhir:v "identifiedBy" ]
       ] ) ;
       fhir:path [ fhir:v "Participant1.associatedEntity.sdtcIdentifiedBy" ] ;
       fhir:definition [ fhir:v "Element AssociatedEntity.sdtcIdentifiedBy" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AssociatedEntity.sdtcIdentifiedBy" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.code" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.code" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AssociatedEntity.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-RoleCode" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.addr" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.addr" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AssociatedEntity.addr" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.telecom" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.telecom" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "AssociatedEntity.telecom" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TEL" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.associatedPerson" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.associatedPerson" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AssociatedEntity.associatedPerson" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Person" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization" ] ;
       fhir:comment [ fhir:v "This associatedEntity SHALL contain exactly one [1..1] scopingOrganization (CONF:4537-43)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "AssociatedEntity.scopingOrganization" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Organization" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.nullFlavor" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.nullFlavor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.classCode" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.classCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.classCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "ORG" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.determinerCode" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.determinerCode" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.determinerCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple" ] )
       ] ) ;
       fhir:fixed [ fhir:v "INSTANCE" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.realmCode" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.realmCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.realmCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.typeId" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.typeId" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.typeId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.templateId" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.templateId" ] ;
       fhir:definition [ fhir:v "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:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.templateId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.id" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.id" ] ;
       fhir:comment [ fhir:v "This scopingOrganization SHALL contain at least one [1..*] id (CONF:4537-50)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.name" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.name" ] ;
       fhir:comment [ fhir:v "This scopingOrganization SHALL contain at least one [1..*] name (CONF:4537-51)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.name" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ON" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.telecom" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.telecom" ] ;
       fhir:comment [ fhir:v "This scopingOrganization SHOULD contain zero or more [0..*] telecom (CONF:4537-52)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.telecom" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TEL" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.addr" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.addr" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc." ] ;
       fhir:comment [ fhir:v "This scopingOrganization SHOULD contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-47)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.addr" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "81-7296" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "**SHALL NOT** have mixed content except for white space (CONF:81-7296)." ] ;
         fhir:source [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.standardIndustryClassCode" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.standardIndustryClassCode" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.standardIndustryClassCode" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE" ]
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v3-OrganizationIndustryClassNAICS" ]
       ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.asOrganizationPartOf" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.asOrganizationPartOf" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Organization.asOrganizationPartOf" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/OrganizationPartOf" ]
       ] )
     ] )
  ] ;
  fhir:differential [
     fhir:element ( [
       fhir:id [ fhir:v "Participant1" ] ;
       fhir:path [ fhir:v "Participant1" ]
     ] [
       fhir:id [ fhir:v "Participant1.typeCode" ] ;
       fhir:path [ fhir:v "Participant1.typeCode" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"DEV\" Device (CONF:4537-55)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:fixed [ fhir:v "DEV" ]
     ] [
       fhir:id [ fhir:v "Participant1.templateId" ] ;
       fhir:path [ fhir:v "Participant1.templateId" ] ;
       fhir:slicing [
         fhir:discriminator ( [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "root" ]
         ] [
           fhir:type [ fhir:v "value" ] ;
           fhir:path [ fhir:v "extension" ]
         ] ) ;
         fhir:rules [ fhir:v "open" ]
       ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] templateId (CONF:4537-40) such that it" ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Participant1.templateId:templateId1" ] ;
       fhir:path [ fhir:v "Participant1.templateId" ] ;
       fhir:sliceName [ fhir:v "templateId1" ] ;
       fhir:short [ fhir:v "templateId" ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Participant1.templateId:templateId1.root" ] ;
       fhir:path [ fhir:v "Participant1.templateId.root" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.5.7\" (CONF:4537-44)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:pattern [ fhir:v "2.16.840.1.113883.10.20.22.5.7" ]
     ] [
       fhir:id [ fhir:v "Participant1.templateId:templateId1.extension" ] ;
       fhir:path [ fhir:v "Participant1.templateId.extension" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @extension=\"2020-05-19\" (CONF:4537-33025)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:pattern [ fhir:v "2020-05-19" ]
     ] [
       fhir:id [ fhir:v "Participant1.functionCode" ] ;
       fhir:path [ fhir:v "Participant1.functionCode" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] functionCode (CONF:4537-38)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.code" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.code" ] ;
       fhir:comment [ fhir:v "This functionCode SHALL contain exactly one [1..1] @code=\"assembler\" Assembler (CONF:4537-32972)." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:pattern [ fhir:v "assembler" ]
     ] [
       fhir:id [ fhir:v "Participant1.functionCode.codeSystem" ] ;
       fhir:path [ fhir:v "Participant1.functionCode.codeSystem" ] ;
       fhir:comment [ fhir:v "This functionCode SHALL contain exactly one [1..1] @codeSystem (CodeSystem: ProvenanceParticipantType urn:oid:2.16.840.1.113883.4.642.4.1131) (CONF:4537-41)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Participant1.time" ] ;
       fhir:path [ fhir:v "Participant1.time" ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] time (CONF:4537-42)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity" ] ;
       fhir:short [ fhir:v "The template does not require any elements from the associatedEntity since the information is recorded in the scopingOrganization." ] ;
       fhir:comment [ fhir:v "SHALL contain exactly one [1..1] associatedEntity (CONF:4537-39)." ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.classCode" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.classCode" ] ;
       fhir:comment [ fhir:v "This associatedEntity SHALL contain exactly one [1..1] @classCode=\"OWN\" Owned Entity (CONF:4537-32973)." ] ;
       fhir:fixed [ fhir:v "OWN" ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization" ] ;
       fhir:comment [ fhir:v "This associatedEntity SHALL contain exactly one [1..1] scopingOrganization (CONF:4537-43)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.id" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.id" ] ;
       fhir:comment [ fhir:v "This scopingOrganization SHALL contain at least one [1..*] id (CONF:4537-50)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.name" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.name" ] ;
       fhir:comment [ fhir:v "This scopingOrganization SHALL contain at least one [1..*] name (CONF:4537-51)." ] ;
       fhir:min [ fhir:v "1" ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.telecom" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.telecom" ] ;
       fhir:comment [ fhir:v "This scopingOrganization SHOULD contain zero or more [0..*] telecom (CONF:4537-52)." ]
     ] [
       fhir:id [ fhir:v "Participant1.associatedEntity.scopingOrganization.addr" ] ;
       fhir:path [ fhir:v "Participant1.associatedEntity.scopingOrganization.addr" ] ;
       fhir:comment [ fhir:v "This scopingOrganization SHOULD contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-47)." ] ;
       fhir:type ( [
         fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/AD" ] ;
         fhir:profile ( [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED" ] )
       ] )
     ] )
  ] .

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

