Argonaut Data Query Implementation Guide Version 1.0.0

This page is part of the Argonaut Data Query Implementation Guide (v1.0.0: Release) based on FHIR R2. This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Profile-resource association extension

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<StructureDefinition/argo-profile-link> a fhir:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:StructureDefinition.id [ fhir:value "argo-profile-link"];
  fhir:StructureDefinition.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link"];
  fhir:StructureDefinition.name [ fhir:value "Profile-resource association extension"];
  fhir:StructureDefinition.display [ fhir:value "Profile-Resource  Association"];
  fhir:StructureDefinition.status [ fhir:value "draft"];
  fhir:StructureDefinition.publisher [ fhir:value "Argonaut Project"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:StructureDefinition.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "other" ];
       fhir:ContactPoint.value [ fhir:value "http://argonautwiki.hl7.org" ];
       fhir:ContactPoint.rank [ fhir:value "0"^^xsd:positiveInteger ]     ]
  ];
  fhir:StructureDefinition.date [ fhir:value "2016-10-18T11:00:00+11:00"^^xsd:dateTime];
  fhir:StructureDefinition.description [ fhir:value "Used in the Conformance resource to link profiles to the resources they are based upon for the purpose of describing profile specific capababilties such as specific search criteria or operations which are supported on a profile by profile bases.  It is a code that references a  resource listed in Conformance.rest.resource.  For more information on how the Conformance resource describes profiles on resources, see [Two uses of Profiles] (http://hl7.org/fhir/profiling.html#profile-uses)."];
  fhir:StructureDefinition.requirements [ fhir:value "To allow profiles to be associated with resources in CapabilityStatements."];
  fhir:StructureDefinition.fhirVersion [ fhir:value "1.0.2"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "datatype"];
  fhir:StructureDefinition.constrainedType [ fhir:value "Extension"];
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.contextType [ fhir:value "resource"];
  fhir:StructureDefinition.context [
     fhir:value "Conformance.profile";
     fhir:index 0
  ];
  fhir:StructureDefinition.base [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:ElementDefinition.id [ fhir:value "profile-link" ];
       fhir:ElementDefinition.path [ fhir:value "Extension" ];
       fhir:ElementDefinition.name [ fhir:value "profile-link" ];
       fhir:ElementDefinition.short [ fhir:value "Profile-resource association extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Used in the Conformance resource to link profiles to the resources they are based upon for the purpose of describing profile specific capababilties such as specific search criteria or operations which are supported on a profile by profile bases.  It is a code that references a  resource listed in Conformance.rest.resource.  For more information on how the Conformance resource describes profiles on resources, see [Two uses of Profiles] (http://hl7.org/fhir/profiling.html#profile-uses)." ];
       fhir:ElementDefinition.comments [ fhir:value "This is helpful for publishing the CapabilityResource narrative." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "No v2 equivalent" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "No RIM equivalent" ]       ]     ], [
       fhir:index 1;
       fhir:ElementDefinition.id [ fhir:value "Extension:profile-link.id" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "Extension:profile-link.id" ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 2;
       fhir:ElementDefinition.id [ fhir:value "Extension:profile-link.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.extension" ];
       fhir:ElementDefinition.name [ fhir:value "Extension:profile-link.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comments [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 3;
       fhir:ElementDefinition.id [ fhir:value "Extension:profile-link.url" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.url" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "Extension:profile-link.url" ];
       fhir:ElementDefinition.short [ fhir:value "identifies the meaning of the extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Source of the definition for the extension code - a logical name or a URL." ];
       fhir:ElementDefinition.comments [ fhir:value "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.url" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link" ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 4;
       fhir:ElementDefinition.id [ fhir:value "Extension:profile-link.valueCode" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.valueCode" ];
       fhir:ElementDefinition.name [ fhir:value "Extension:profile-link.valueCode" ];
       fhir:ElementDefinition.short [ fhir:value "Value of extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.value[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/resource-types>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/resource-types" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:ElementDefinition.id [ fhir:value "profile-link" ];
       fhir:ElementDefinition.path [ fhir:value "Extension" ];
       fhir:ElementDefinition.name [ fhir:value "profile-link" ];
       fhir:ElementDefinition.short [ fhir:value "Profile-resource association extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Used in the Conformance resource to link profiles to the resources they are based upon for the purpose of describing profile specific capababilties such as specific search criteria or operations which are supported on a profile by profile bases.  It is a code that references a  resource listed in Conformance.rest.resource.  For more information on how the Conformance resource describes profiles on resources, see [Two uses of Profiles] (http://hl7.org/fhir/profiling.html#profile-uses)." ];
       fhir:ElementDefinition.comments [ fhir:value "This is helpful for publishing the CapabilityResource narrative." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "No v2 equivalent" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "No RIM equivalent" ]       ]     ], [
       fhir:index 1;
       fhir:ElementDefinition.id [ fhir:value "Extension:profile-link.url" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.url" ];
       fhir:ElementDefinition.name [ fhir:value "Extension:profile-link.url" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link" ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 2;
       fhir:ElementDefinition.id [ fhir:value "Extension:profile-link.valueCode" ];
       fhir:ElementDefinition.path [ fhir:value "Extension.valueCode" ];
       fhir:ElementDefinition.name [ fhir:value "Extension:profile-link.valueCode" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/resource-types>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/resource-types" ]         ]       ]     ]
  ].

<http://hl7.org/fhir/ValueSet/resource-types> a fhir:ValueSet, fhir:ValueSet.