UMC IDMP Request and Publish API
0.1.0 - CI Build

UMC IDMP Request and Publish API, published by Uppsala Monitoring Centre. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Uppsala-Monitoring-Centre/WHO-UMC-IDMP-Service/ and changes regularly. See the Directory of published versions

## : Example of a completed Task - TTL Representation

Raw ttl | Download

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

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

     a fhir:Task ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "task-completed-phpid"] ; #
      fhir:meta [
    fhir:versionId [ fhir:v "1" ] ;
    fhir:lastUpdated [ fhir:v "2021-03-21T08:24:09.8508147+00:00"^^xsd:dateTime ] ;
    fhir:source [
    fhir:v "https://poc-idmp.who-umc.org/fhir"^^xsd:anyURI ;
    fhir:l <https://poc-idmp.who-umc.org/fhir>     ] ;
        ( fhir:profile [
    fhir:v "http://who-umc.org/idmp/StructureDefinition/Task-who-php-phpid-status"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/StructureDefinition/Task-who-php-phpid-status>     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "empty" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Template for PhPID request Task</div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:contained ( [
    a fhir:MedicinalProductDefinition ;
    fhir:id [ fhir:v "3e8d3895-d37c-41da-8372-face4978b4d5" ] ;
    fhir:meta [
    fhir:source [
    fhir:v "https://poc-idmp.who-umc.org/fhir"^^xsd:anyURI ;
    fhir:l <https://poc-idmp.who-umc.org/fhir>       ] ;
          ( fhir:profile [
    fhir:v "http://who-umc.org/idmp/StructureDefinition/MedicinalProductDefinition-who-php-req"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/StructureDefinition/MedicinalProductDefinition-who-php-req>       ] )     ] ;
        ( fhir:identifier [
    fhir:system [
    fhir:v "http://ema.europa.eu/example/mpid"^^xsd:anyURI ;
    fhir:l <http://ema.europa.eu/example/mpid>       ] ;
    fhir:value [ fhir:v "MPID-123" ]     ] ) ;
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/medicinal-product-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/medicinal-product-type>         ] ;
    fhir:code [ fhir:v "MedicinalProduct" ]       ] )     ] ;
    fhir:domain [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/medicinal-product-domain"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/medicinal-product-domain>         ] ;
    fhir:code [ fhir:v "Human" ]       ] ) ;
    fhir:text [ fhir:v "Human use" ]     ] ;
    fhir:status [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/publication-status"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/publication-status>         ] ;
    fhir:code [ fhir:v "active" ]       ] ) ;
    fhir:text [ fhir:v "Active" ]     ] ;
    fhir:combinedPharmaceuticalDoseForm [
    fhir:text [ fhir:v "tablet" ]     ] ;
        ( fhir:attachedDocument [
    fhir:display [ fhir:v "SPC/123" ]     ] ) ;
        ( fhir:name [
    fhir:productName [ fhir:v "Marvelol" ] ;
          ( fhir:usage [
    fhir:country [
              ( fhir:coding [
    fhir:system [
    fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
    fhir:l <urn:iso:std:iso:3166>             ] ;
    fhir:code [ fhir:v "NLD" ]           ] )         ] ;
    fhir:jurisdiction [
              ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/jurisdiction"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/jurisdiction>             ] ;
    fhir:code [ fhir:v "EU" ]           ] )         ] ;
    fhir:language [
              ( fhir:coding [
    fhir:system [
    fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ;
    fhir:l <urn:ietf:bcp:47>             ] ;
    fhir:code [ fhir:v "nl" ]           ] )         ]       ] )     ] )
      ] [
    a fhir:Ingredient ;
    fhir:id [ fhir:v "cd7f7d98-75eb-4a6f-9252-dc57c0ee9e34" ] ;
    fhir:meta [
    fhir:source [
    fhir:v "https://poc-idmp.who-umc.org/fhir"^^xsd:anyURI ;
    fhir:l <https://poc-idmp.who-umc.org/fhir>       ] ;
          ( fhir:profile [
    fhir:v "http://who-umc.org/idmp/StructureDefinition/Ingredient-who-php"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/StructureDefinition/Ingredient-who-php>       ] )     ] ;
    fhir:status [ fhir:v "active" ] ;
        ( fhir:for [
    fhir:l <#3e8d3895-d37c-41da-8372-face4978b4d5> ;
    fhir:reference [ fhir:v "#3e8d3895-d37c-41da-8372-face4978b4d5" ]     ] ) ;
    fhir:role [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://hl7.org/fhir/ingredient-role"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ingredient-role>         ] ;
    fhir:code [ fhir:v "100000072072" ]       ] ) ;
    fhir:text [ fhir:v "Active" ]     ] ;
    fhir:substance [
    fhir:code [
    fhir:concept [
              ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/gsid"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/gsid>             ] ;
    fhir:code [ fhir:v "GSID23G92UMX93H45" ]           ] ) ;
    fhir:text [ fhir:v "Methotrexate" ]         ]       ] ;
          ( fhir:strength [
    fhir:presentation [
    a fhir:Ratio ;
    fhir:numerator [
    fhir:value [ fhir:v 1.5 ] ;
    fhir:unit [ fhir:v "mg" ] ;
    fhir:system [
    fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
    fhir:l <http://unitsofmeasure.org>             ] ;
    fhir:code [ fhir:v "mg" ]           ] ;
    fhir:denominator [
    fhir:value [ fhir:v "1"^^xsd:decimal ] ;
    fhir:unit [ fhir:v "IU" ] ;
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/strengthUnit"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/strengthUnit>             ] ;
    fhir:code [ fhir:v "IU" ]           ]         ] ;
    fhir:textPresentation [ fhir:v "1,5 mg" ]       ] )     ]
      ] [
    a fhir:Organization ;
    fhir:id [ fhir:v "acmeinc" ] ;
    fhir:meta [
    fhir:source [
    fhir:v "https://poc-idmp.who-umc.org/fhir"^^xsd:anyURI ;
    fhir:l <https://poc-idmp.who-umc.org/fhir>       ] ;
          ( fhir:profile [
    fhir:v "http://who-umc.org/idmp/StructureDefinition/MarketingAuthorizationHolder-who-php"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/StructureDefinition/MarketingAuthorizationHolder-who-php>       ] )     ] ;
    fhir:active [ fhir:v true ] ;
        ( fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://terminology.hl7.org/CodeSystem/organization-type"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/CodeSystem/organization-type>         ] ;
    fhir:code [ fhir:v "bus" ]       ] ) ;
    fhir:text [ fhir:v "Non-Healthcare Business or Corporation" ]     ] ) ;
    fhir:name [ fhir:v "Acme Inc" ]
      ] [
    a fhir:RegulatedAuthorization ;
    fhir:id [ fhir:v "066bb2b6-5b34-4ea8-9c73-6d95d402672d" ] ;
        ( fhir:identifier [
    fhir:system [
    fhir:v "http://ema.europa.eu/ema/"^^xsd:anyURI ;
    fhir:l <http://ema.europa.eu/ema/>       ] ;
    fhir:value [ fhir:v "EU/1/20/XXXX" ]     ] ) ;
        ( fhir:subject [
    fhir:l <#3e8d3895-d37c-41da-8372-face4978b4d5> ;
    fhir:reference [ fhir:v "#3e8d3895-d37c-41da-8372-face4978b4d5" ]     ] ) ;
    fhir:holder [
    fhir:l <#acmeinc> ;
    fhir:reference [ fhir:v "#acmeinc" ]     ]
      ] ) ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "http://requester.org/phpidreqid"^^xsd:anyURI ;
    fhir:l <http://requester.org/phpidreqid>     ] ;
    fhir:value [ fhir:v "123456" ]
      ] ) ; #
      fhir:status [ fhir:v "completed"] ; #
      fhir:intent [ fhir:v "proposal"] ; #
      fhir:priority [ fhir:v "routine"] ; #
      fhir:code [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/task-request-code"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/task-request-code>       ] ;
    fhir:code [ fhir:v "phpid-request" ]     ] )
      ] ; #
      fhir:authoredOn [ fhir:v "2025-06-18"^^xsd:date] ; #
      fhir:lastModified [ fhir:v "2025-06-18"^^xsd:date] ; #
      fhir:input ( [
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/task-input-type"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/task-input-type>         ] ;
    fhir:code [ fhir:v "mpd-request-resource" ] ;
    fhir:display [ fhir:v "Medicinal Product for PhPID request" ]       ] )     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l <#3e8d3895-d37c-41da-8372-face4978b4d5> ;
    fhir:reference [ fhir:v "#3e8d3895-d37c-41da-8372-face4978b4d5" ]     ]
      ] [
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/task-input-type"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/task-input-type>         ] ;
    fhir:code [ fhir:v "ingredient-request-resource" ] ;
    fhir:display [ fhir:v "Ingredient for PhPID request" ]       ] )     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l <#cd7f7d98-75eb-4a6f-9252-dc57c0ee9e34> ;
    fhir:reference [ fhir:v "#cd7f7d98-75eb-4a6f-9252-dc57c0ee9e34" ]     ]
      ] [
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/task-input-type"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/task-input-type>         ] ;
    fhir:code [ fhir:v "organization-request-resource" ] ;
    fhir:display [ fhir:v "Marketing Auth Holder for PhPID request" ]       ] )     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l <#acmeinc> ;
    fhir:reference [ fhir:v "#acmeinc" ]     ]
      ] [
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/task-input-type"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/task-input-type>         ] ;
    fhir:code [ fhir:v "regauth-request-resource" ] ;
    fhir:display [ fhir:v "Regulated Authorization for PhPID request" ]       ] )     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l <#066bb2b6-5b34-4ea8-9c73-6d95d402672d> ;
    fhir:reference [ fhir:v "#066bb2b6-5b34-4ea8-9c73-6d95d402672d" ]     ]
      ] ) ; #
      fhir:output ( [
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/task-output-type"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/task-output-type>         ] ;
    fhir:code [ fhir:v "phpid" ] ;
    fhir:display [ fhir:v "PhPID" ]       ] )     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:l fhir:AdministrableProductDefinition/91B3CA582581F57E4092F13AAF476215 ;
    fhir:reference [ fhir:v "AdministrableProductDefinition/91B3CA582581F57E4092F13AAF476215" ] ;
    fhir:identifier [
    fhir:type [
              ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/php-level"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/php-level>             ] ;
    fhir:code [ fhir:v "PhPIDLevel4" ] ;
    fhir:display [ fhir:v "Level 4" ]           ] )         ] ;
    fhir:system [
    fhir:v "http://who-umc.org/idmp/phpid"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/phpid>         ] ;
    fhir:value [ fhir:v "91B3CA582581F57E4092F13AAF476215" ]       ]     ]
      ] [
    fhir:type [
          ( fhir:coding [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/CodeSystem/task-output-type"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/CodeSystem/task-output-type>         ] ;
    fhir:code [ fhir:v "whodrugid" ] ;
    fhir:display [ fhir:v "Medicinal Product (WHODrug) ID" ]       ] )     ] ;
    fhir:value [
    a fhir:Reference ;
    fhir:identifier [
    fhir:system [
    fhir:v "http://who-umc.org/idmp/whodrugid"^^xsd:anyURI ;
    fhir:l <http://who-umc.org/idmp/whodrugid>         ] ;
    fhir:value [ fhir:v "XXXXXX" ]       ]     ]
      ] ) . #